diff --git a/Jenkinsfile b/Jenkinsfile
index 666ab27916..6c359ec96e 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,7 +17,7 @@
env.label = "jakartaee-tck-pod-${UUID.randomUUID().toString()}"
default_suites=[ "samples", "signaturetest/javaee" ]
-default_tcks=["caj", "concurrency", "connector", "el", "jacc", "jaspic", "jaxws", "jms", "jpa", "jsf", "jsp", "jstl", "jta", "saaj", "securityapi", "servlet", "websocket"]
+default_tcks=["caj", "concurrency", "connector", "el", "jacc", "jaspic", "jaxws", "jms", "jpa", "jsp", "jstl", "jta", "saaj", "securityapi", "servlet", "websocket"]
def cts_suites = params.test_suites != null ? params.test_suites.split() : default_suites
def tcks = params.standalone_tcks != null ? params.standalone_tcks.split() : default_tcks
@@ -188,9 +188,9 @@ spec:
description: 'Database to be used for running CTS. Currently only JavaDB is supported.' )
choice(name: 'BUILD_TYPE', choices: 'CTS\nSTANDALONE-TCK',
description: 'Run the full EE compliance testsuite or a standalone tck' )
- string(name: 'test_suites', defaultValue: 'concurrency connector ejb ejb30/bb ejb30/lite/appexception ejb30/lite/async ejb30/lite/basic ejb30/lite/ejbcontext ejb30/lite/enventry ejb30/lite/interceptor ejb30/lite/lookup ejb30/lite/naming ejb30/lite/nointerface ejb30/lite/packaging ejb30/lite/singleton ejb30/lite/stateful ejb30/lite/tx ejb30/lite/view ejb30/lite/xmloverride ejb30/assembly ejb30/timer ejb30/webservice ejb30/zombie ejb30/misc ejb30/sec ejb32 el integration jacc jaspic javaee javamail jaxrs jdbc_appclient jdbc_ejb jdbc_jsp jdbc_servlet jms_appclient jms_ejb jms_jsp jms_servlet jpa_appmanaged jpa_appmanagedNoTx jpa_pmservlet jpa_puservlet jpa_stateful3 jpa_stateless3 jsf jsonb jsonp jsp jstl jta jws samples securityapi servlet signaturetest/javaee webservices12 webservices13 websocket xa',
+ string(name: 'test_suites', defaultValue: 'concurrency connector ejb ejb30/bb ejb30/lite/appexception ejb30/lite/async ejb30/lite/basic ejb30/lite/ejbcontext ejb30/lite/enventry ejb30/lite/interceptor ejb30/lite/lookup ejb30/lite/naming ejb30/lite/nointerface ejb30/lite/packaging ejb30/lite/singleton ejb30/lite/stateful ejb30/lite/tx ejb30/lite/view ejb30/lite/xmloverride ejb30/assembly ejb30/timer ejb30/webservice ejb30/zombie ejb30/misc ejb30/sec ejb32 el integration jacc jaspic javaee javamail jaxrs jdbc_appclient jdbc_ejb jdbc_jsp jdbc_servlet jms_appclient jms_ejb jms_jsp jms_servlet jpa_appmanaged jpa_appmanagedNoTx jpa_pmservlet jpa_puservlet jpa_stateful3 jpa_stateless3 jsonb jsonp jsp jstl jta jws samples securityapi servlet signaturetest/javaee webservices12 webservices13 websocket xa',
description: 'Space separated list of Test suites to run')
- string(name: 'standalone_tcks', defaultValue: 'caj concurrency connector el jacc jaspic jaxws jms jpa jsf jsp jstl jta saaj securityapi servlet websocket',
+ string(name: 'standalone_tcks', defaultValue: 'caj concurrency connector el jacc jaspic jaxws jms jpa jsp jstl jta saaj securityapi servlet websocket',
description: 'Space separated list of standalone TCKs to build and run')
string(name: 'USER_KEYWORDS',
defaultValue: '',
diff --git a/docker/build_standalone-tcks.sh b/docker/build_standalone-tcks.sh
index 904cc9463f..c6feb25d44 100755
--- a/docker/build_standalone-tcks.sh
+++ b/docker/build_standalone-tcks.sh
@@ -68,7 +68,7 @@ fi
echo "The option selected to build is $TCK_NAME TCK"
if [ "All" == "$TCK_NAME" ];then
- TCK_LIST=( websocket el concurrency connector jacc jaspic caj jms jsp jstl jaxws saaj servlet jsf securityapi jpa jta )
+ TCK_LIST=( websocket el concurrency connector jacc jaspic caj jms jsp jstl jaxws saaj servlet securityapi jpa jta )
else
TCK_LIST=( ${TCK_NAME} )
fi
@@ -121,11 +121,6 @@ for tck in ${TCK_LIST[@]}; do
TCK_SPECIFIC_PROPS="-Djta.classes=$JAKARTA_JARS/modules/jakarta.transaction-api.jar:$JAKARTA_JARS/modules/jakarta.servlet-api.jar:$JAKARTA_JARS/modules/glassfish-corba-omgapi.jar"
DOC_SPECIFIC_PROPS=""
JAXWS_SPECIFIC_PROPS=""
- elif [ "jsf" == "$tck" ]
- then
- TCK_SPECIFIC_PROPS="-Djsf.classes=$JAKARTA_JARS/modules/jakarta.enterprise.cdi-api.jar:$JAKARTA_JARS/modules/jakarta.servlet.jsp.jstl-api.jar:$JAKARTA_JARS/modules/jakarta.inject-api.jar:$JAKARTA_JARS/modules/jakarta.faces-api.jar:$JAKARTA_JARS/modules/jakarta.servlet.jsp-api.jar:$JAKARTA_JARS/modules/jakarta.servlet-api.jar:$JAKARTA_JARS/modules/jakarta.el-api.jar:$JAKARTA_JARS/modules/jakarta.annotation-api.jar:$JAKARTA_JARS/modules/glassfish-corba-omgapi.jar"
- DOC_SPECIFIC_PROPS=""
- JAXWS_SPECIFIC_PROPS=""
elif [ "websocket" == "$tck" ]
then
TCK_SPECIFIC_PROPS="-Dwebsocket.classes=$JAKARTA_JARS/modules/jakarta.websocket-client-api.jar:$JAKARTA_JARS/modules/jakarta.websocket-api.jar:$JAKARTA_JARS/modules/jakarta.servlet-api.jar:$JAKARTA_JARS/modules/jakarta.inject-api.jar:$JAKARTA_JARS/modules/jakarta.enterprise.cdi-api.jar:$JAKARTA_JARS/modules/jakarta.activation-api.jar:$JAKARTA_JARS/modules/glassfish-corba-omgapi.jar:$JAKARTA_JARS/modules/jakarta.xml.bind-api.jar"
diff --git a/docker/jsftck.sh b/docker/jsftck.sh
deleted file mode 100644
index 4f7f390831..0000000000
--- a/docker/jsftck.sh
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/bin/bash -xe
-
-# Copyright (c) 2018, 2022 Oracle and/or its affiliates. All rights reserved.
-#
-# This program and the accompanying materials are made available under the
-# terms of the Eclipse Public License v. 2.0, which is available at
-# http://www.eclipse.org/legal/epl-2.0.
-#
-# This Source Code may also be made available under the following Secondary
-# Licenses when the conditions for such availability set forth in the
-# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
-# version 2 with the GNU Classpath Exception, which is available at
-# https://www.gnu.org/software/classpath/license.html.
-#
-# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-
-export TCK_HOME=${WORKSPACE}
-echo "TCK_HOME in jsftck.sh $TCK_HOME"
-echo "ANT_HOME in jsftck.sh $ANT_HOME"
-echo "PATH in jsftck.sh $PATH"
-echo "ANT_OPTS in jsftck.sh $ANT_OPTS"
-
-cd $TCK_HOME
-
-if ls ${WORKSPACE}/standalone-bundles/*jsftck*.zip 1> /dev/null 2>&1; then
- echo "Using stashed bundle for jsftck created during the build phase"
- unzip -q ${WORKSPACE}/standalone-bundles/*jsftck*.zip -d ${TCK_HOME}
- TCK_NAME=jsftck
-elif ls ${WORKSPACE}/standalone-bundles/*faces-tck*.zip 1> /dev/null 2>&1; then
- echo "Using stashed bundle for faces-tck created during the build phase"
- unzip -q ${WORKSPACE}/standalone-bundles/*faces-tck*.zip -d ${TCK_HOME}
- TCK_NAME=faces-tck
-else
- echo "[ERROR] TCK bundle not found"
- exit 1
-fi
-
-if [ -z "$GF_TOPLEVEL_DIR" ]; then
- export GF_TOPLEVEL_DIR=glassfish7
-fi
-
-##### installRI.sh starts here #####
-echo "Download and install GlassFish 7.0.0 ..."
-if [ -z "${GF_BUNDLE_URL}" ]; then
- echo "[ERROR] GF_BUNDLE_URL not set"
- exit 1
-fi
-wget --progress=bar:force --no-cache $GF_BUNDLE_URL -O latest-glassfish.zip
-unzip -q ${TCK_HOME}/latest-glassfish.zip -d ${TCK_HOME}
-
-TS_HOME=$TCK_HOME/$TCK_NAME
-echo "TS_HOME $TS_HOME"
-
-cd $TS_HOME/bin
-
-if [[ "$JDK" == "JDK17" || "$JDK" == "jdk17" ]];then
- export JAVA_HOME=${JDK17_HOME}
-fi
-export PATH=$JAVA_HOME/bin:$PATH
-
-which java
-java -version
-
-# to avoid OOM error while deployment
-sed -i.bak 's/-Xmx512m/-Xmx1024m/g' $TCK_HOME/$GF_TOPLEVEL_DIR/glassfish/domains/domain1/config/domain.xml
-
-cd $TCK_HOME/$GF_TOPLEVEL_DIR/bin
-./asadmin start-domain
-
-cd $TS_HOME/bin
-
-webServerHome=$TCK_HOME/$GF_TOPLEVEL_DIR/glassfish
-
-sed -i "s#webServerHome=.*#webServerHome=$TCK_HOME/$GF_TOPLEVEL_DIR/glassfish#g" ts.jte
-sed -i "s#^webServerHost=.*#webServerHost=localhost#g" ts.jte
-sed -i "s#^webServerPort=.*#webServerPort=8080#g" ts.jte
-sed -i "s#^impl.vi=.*#impl.vi=glassfish#g" ts.jte
-sed -i "s#^impl.vi.deploy.dir=.*#impl.vi.deploy.dir=$TCK_HOME/$GF_TOPLEVEL_DIR/glassfish/domains/domain1/autodeploy#g" ts.jte
-sed -i "s#^jsf.classes=.*#jsf.classes=${webServerHome}/modules/jakarta.enterprise.cdi-api.jar;${webServerHome}/modules/jakarta.servlet.jsp.jstl-api.jar;${webServerHome}/modules/jakarta.inject-api.jar;${webServerHome}/modules/jakarta.faces.jar;${webServerHome}/modules/jakarta.servlet.jsp-api.jar;${webServerHome}/modules/jakarta.servlet-api.jar;${webServerHome}/modules/jakarta.el.jar#g" ts.jte
-sed -i 's/^impl\.deploy\.timeout\.multiplier=.*/impl\.deploy\.timeout\.multiplier=960/g' ts.jte
-
-sed -i "s#^report.dir=.*#report.dir=$TCK_HOME/${TCK_NAME}report/${TCK_NAME}#g" ts.jte
-sed -i "s#^work.dir=.*#work.dir=$TCK_HOME/${TCK_NAME}work/${TCK_NAME}#g" ts.jte
-
-if [[ "$PROFILE" == "web" || "$PROFILE" == "WEB" ]]; then
- echo "javaee.level=web" >> ts.jte
-fi
-
-mkdir -p $TCK_HOME/${TCK_NAME}report/${TCK_NAME}/
-mkdir -p $TCK_HOME/${TCK_NAME}work/${TCK_NAME}/
-
-cd $TS_HOME/src/com/sun/ts/tests/jsf
-ant -Dutil.dir=$TS_HOME deploy.all
-ant -Dutil.dir=$TS_HOME runclient
-echo "Test run complete"
-
-
-JT_REPORT_DIR=$TCK_HOME/${TCK_NAME}report
-export HOST=`hostname -f`
-echo "1 ${TCK_NAME} ${HOST}" > ${WORKSPACE}/args.txt
-mkdir -p ${WORKSPACE}/results/junitreports/
-${JAVA_HOME}/bin/java -Djunit.embed.sysout=true -jar ${WORKSPACE}/docker/JTReportParser/JTReportParser.jar ${WORKSPACE}/args.txt ${JT_REPORT_DIR} ${WORKSPACE}/results/junitreports/
-
-tar zcvf ${WORKSPACE}/${TCK_NAME}-results.tar.gz ${TCK_HOME}/${TCK_NAME}report ${TCK_HOME}/${TCK_NAME}work ${WORKSPACE}/results/junitreports/ ${TCK_HOME}/$GF_TOPLEVEL_DIR/glassfish/domains/domain1 $TCK_HOME/$TCK_NAME/bin/ts.*
diff --git a/install/jsf/LICENSE.md b/install/jsf/LICENSE.md
deleted file mode 100644
index 5de3d1b40c..0000000000
--- a/install/jsf/LICENSE.md
+++ /dev/null
@@ -1,637 +0,0 @@
-# Eclipse Public License - v 2.0
-
- THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
- PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
- OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
-
- 1. DEFINITIONS
-
- "Contribution" means:
-
- a) in the case of the initial Contributor, the initial content
- Distributed under this Agreement, and
-
- b) in the case of each subsequent Contributor:
- i) changes to the Program, and
- ii) additions to the Program;
- where such changes and/or additions to the Program originate from
- and are Distributed by that particular Contributor. A Contribution
- "originates" from a Contributor if it was added to the Program by
- such Contributor itself or anyone acting on such Contributor's behalf.
- Contributions do not include changes or additions to the Program that
- are not Modified Works.
-
- "Contributor" means any person or entity that Distributes the Program.
-
- "Licensed Patents" mean patent claims licensable by a Contributor which
- are necessarily infringed by the use or sale of its Contribution alone
- or when combined with the Program.
-
- "Program" means the Contributions Distributed in accordance with this
- Agreement.
-
- "Recipient" means anyone who receives the Program under this Agreement
- or any Secondary License (as applicable), including Contributors.
-
- "Derivative Works" shall mean any work, whether in Source Code or other
- form, that is based on (or derived from) the Program and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship.
-
- "Modified Works" shall mean any work in Source Code or other form that
- results from an addition to, deletion from, or modification of the
- contents of the Program, including, for purposes of clarity any new file
- in Source Code form that contains any contents of the Program. Modified
- Works shall not include works that contain only declarations,
- interfaces, types, classes, structures, or files of the Program solely
- in each case in order to link to, bind by name, or subclass the Program
- or Modified Works thereof.
-
- "Distribute" means the acts of a) distributing or b) making available
- in any manner that enables the transfer of a copy.
-
- "Source Code" means the form of a Program preferred for making
- modifications, including but not limited to software source code,
- documentation source, and configuration files.
-
- "Secondary License" means either the GNU General Public License,
- Version 2.0, or any later versions of that license, including any
- exceptions or additional permissions as identified by the initial
- Contributor.
-
- 2. GRANT OF RIGHTS
-
- a) Subject to the terms of this Agreement, each Contributor hereby
- grants Recipient a non-exclusive, worldwide, royalty-free copyright
- license to reproduce, prepare Derivative Works of, publicly display,
- publicly perform, Distribute and sublicense the Contribution of such
- Contributor, if any, and such Derivative Works.
-
- b) Subject to the terms of this Agreement, each Contributor hereby
- grants Recipient a non-exclusive, worldwide, royalty-free patent
- license under Licensed Patents to make, use, sell, offer to sell,
- import and otherwise transfer the Contribution of such Contributor,
- if any, in Source Code or other form. This patent license shall
- apply to the combination of the Contribution and the Program if, at
- the time the Contribution is added by the Contributor, such addition
- of the Contribution causes such combination to be covered by the
- Licensed Patents. The patent license shall not apply to any other
- combinations which include the Contribution. No hardware per se is
- licensed hereunder.
-
- c) Recipient understands that although each Contributor grants the
- licenses to its Contributions set forth herein, no assurances are
- provided by any Contributor that the Program does not infringe the
- patent or other intellectual property rights of any other entity.
- Each Contributor disclaims any liability to Recipient for claims
- brought by any other entity based on infringement of intellectual
- property rights or otherwise. As a condition to exercising the
- rights and licenses granted hereunder, each Recipient hereby
- assumes sole responsibility to secure any other intellectual
- property rights needed, if any. For example, if a third party
- patent license is required to allow Recipient to Distribute the
- Program, it is Recipient's responsibility to acquire that license
- before distributing the Program.
-
- d) Each Contributor represents that to its knowledge it has
- sufficient copyright rights in its Contribution, if any, to grant
- the copyright license set forth in this Agreement.
-
- e) Notwithstanding the terms of any Secondary License, no
- Contributor makes additional grants to any Recipient (other than
- those set forth in this Agreement) as a result of such Recipient's
- receipt of the Program under the terms of a Secondary License
- (if permitted under the terms of Section 3).
-
- 3. REQUIREMENTS
-
- 3.1 If a Contributor Distributes the Program in any form, then:
-
- a) the Program must also be made available as Source Code, in
- accordance with section 3.2, and the Contributor must accompany
- the Program with a statement that the Source Code for the Program
- is available under this Agreement, and informs Recipients how to
- obtain it in a reasonable manner on or through a medium customarily
- used for software exchange; and
-
- b) the Contributor may Distribute the Program under a license
- different than this Agreement, provided that such license:
- i) effectively disclaims on behalf of all other Contributors all
- warranties and conditions, express and implied, including
- warranties or conditions of title and non-infringement, and
- implied warranties or conditions of merchantability and fitness
- for a particular purpose;
-
- ii) effectively excludes on behalf of all other Contributors all
- liability for damages, including direct, indirect, special,
- incidental and consequential damages, such as lost profits;
-
- iii) does not attempt to limit or alter the recipients' rights
- in the Source Code under section 3.2; and
-
- iv) requires any subsequent distribution of the Program by any
- party to be under a license that satisfies the requirements
- of this section 3.
-
- 3.2 When the Program is Distributed as Source Code:
-
- a) it must be made available under this Agreement, or if the
- Program (i) is combined with other material in a separate file or
- files made available under a Secondary License, and (ii) the initial
- Contributor attached to the Source Code the notice described in
- Exhibit A of this Agreement, then the Program may be made available
- under the terms of such Secondary Licenses, and
-
- b) a copy of this Agreement must be included with each copy of
- the Program.
-
- 3.3 Contributors may not remove or alter any copyright, patent,
- trademark, attribution notices, disclaimers of warranty, or limitations
- of liability ("notices") contained within the Program from any copy of
- the Program which they Distribute, provided that Contributors may add
- their own appropriate notices.
-
- 4. COMMERCIAL DISTRIBUTION
-
- Commercial distributors of software may accept certain responsibilities
- with respect to end users, business partners and the like. While this
- license is intended to facilitate the commercial use of the Program,
- the Contributor who includes the Program in a commercial product
- offering should do so in a manner which does not create potential
- liability for other Contributors. Therefore, if a Contributor includes
- the Program in a commercial product offering, such Contributor
- ("Commercial Contributor") hereby agrees to defend and indemnify every
- other Contributor ("Indemnified Contributor") against any losses,
- damages and costs (collectively "Losses") arising from claims, lawsuits
- and other legal actions brought by a third party against the Indemnified
- Contributor to the extent caused by the acts or omissions of such
- Commercial Contributor in connection with its distribution of the Program
- in a commercial product offering. The obligations in this section do not
- apply to any claims or Losses relating to any actual or alleged
- intellectual property infringement. In order to qualify, an Indemnified
- Contributor must: a) promptly notify the Commercial Contributor in
- writing of such claim, and b) allow the Commercial Contributor to control,
- and cooperate with the Commercial Contributor in, the defense and any
- related settlement negotiations. The Indemnified Contributor may
- participate in any such claim at its own expense.
-
- For example, a Contributor might include the Program in a commercial
- product offering, Product X. That Contributor is then a Commercial
- Contributor. If that Commercial Contributor then makes performance
- claims, or offers warranties related to Product X, those performance
- claims and warranties are such Commercial Contributor's responsibility
- alone. Under this section, the Commercial Contributor would have to
- defend claims against the other Contributors related to those performance
- claims and warranties, and if a court requires any other Contributor to
- pay any damages as a result, the Commercial Contributor must pay
- those damages.
-
- 5. NO WARRANTY
-
- EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
- PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS"
- BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
- IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
- TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
- PURPOSE. Each Recipient is solely responsible for determining the
- appropriateness of using and distributing the Program and assumes all
- risks associated with its exercise of rights under this Agreement,
- including but not limited to the risks and costs of program errors,
- compliance with applicable laws, damage to or loss of data, programs
- or equipment, and unavailability or interruption of operations.
-
- 6. DISCLAIMER OF LIABILITY
-
- EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
- PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS
- SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
- PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
- EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGES.
-
- 7. GENERAL
-
- If any provision of this Agreement is invalid or unenforceable under
- applicable law, it shall not affect the validity or enforceability of
- the remainder of the terms of this Agreement, and without further
- action by the parties hereto, such provision shall be reformed to the
- minimum extent necessary to make such provision valid and enforceable.
-
- If Recipient institutes patent litigation against any entity
- (including a cross-claim or counterclaim in a lawsuit) alleging that the
- Program itself (excluding combinations of the Program with other software
- or hardware) infringes such Recipient's patent(s), then such Recipient's
- rights granted under Section 2(b) shall terminate as of the date such
- litigation is filed.
-
- All Recipient's rights under this Agreement shall terminate if it
- fails to comply with any of the material terms or conditions of this
- Agreement and does not cure such failure in a reasonable period of
- time after becoming aware of such noncompliance. If all Recipient's
- rights under this Agreement terminate, Recipient agrees to cease use
- and distribution of the Program as soon as reasonably practicable.
- However, Recipient's obligations under this Agreement and any licenses
- granted by Recipient relating to the Program shall continue and survive.
-
- Everyone is permitted to copy and distribute copies of this Agreement,
- but in order to avoid inconsistency the Agreement is copyrighted and
- may only be modified in the following manner. The Agreement Steward
- reserves the right to publish new versions (including revisions) of
- this Agreement from time to time. No one other than the Agreement
- Steward has the right to modify this Agreement. The Eclipse Foundation
- is the initial Agreement Steward. The Eclipse Foundation may assign the
- responsibility to serve as the Agreement Steward to a suitable separate
- entity. Each new version of the Agreement will be given a distinguishing
- version number. The Program (including Contributions) may always be
- Distributed subject to the version of the Agreement under which it was
- received. In addition, after a new version of the Agreement is published,
- Contributor may elect to Distribute the Program (including its
- Contributions) under the new version.
-
- Except as expressly stated in Sections 2(a) and 2(b) above, Recipient
- receives no rights or licenses to the intellectual property of any
- Contributor under this Agreement, whether expressly, by implication,
- estoppel or otherwise. All rights in the Program not expressly granted
- under this Agreement are reserved. Nothing in this Agreement is intended
- to be enforceable by any entity that is not a Contributor or Recipient.
- No third-party beneficiary rights are created under this Agreement.
-
- Exhibit A - Form of Secondary Licenses Notice
-
- "This Source Code may also be made available under the following
- Secondary Licenses when the conditions for such availability set forth
- in the Eclipse Public License, v. 2.0 are satisfied: {name license(s),
- version(s), and exceptions or additional permissions here}."
-
- Simply including a copy of this Agreement, including this Exhibit A
- is not sufficient to license the Source Code under Secondary Licenses.
-
- If it is not possible or desirable to put the notice in a particular
- file, then You may include the notice in a location (such as a LICENSE
- file in a relevant directory) where a recipient would be likely to
- look for such a notice.
-
- You may add additional accurate notices of copyright ownership.
-
----
-
-## The GNU General Public License (GPL) Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 51 Franklin Street, Fifth Floor
- Boston, MA 02110-1335
- USA
-
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
- Preamble
-
- The licenses for most software are designed to take away your freedom to
- share and change it. By contrast, the GNU General Public License is
- intended to guarantee your freedom to share and change free software--to
- make sure the software is free for all its users. This General Public
- License applies to most of the Free Software Foundation's software and
- to any other program whose authors commit to using it. (Some other Free
- Software Foundation software is covered by the GNU Library General
- Public License instead.) You can apply it to your programs, too.
-
- When we speak of free software, we are referring to freedom, not price.
- Our General Public Licenses are designed to make sure that you have the
- freedom to distribute copies of free software (and charge for this
- service if you wish), that you receive source code or can get it if you
- want it, that you can change the software or use pieces of it in new
- free programs; and that you know you can do these things.
-
- To protect your rights, we need to make restrictions that forbid anyone
- to deny you these rights or to ask you to surrender the rights. These
- restrictions translate to certain responsibilities for you if you
- distribute copies of the software, or if you modify it.
-
- For example, if you distribute copies of such a program, whether gratis
- or for a fee, you must give the recipients all the rights that you have.
- You must make sure that they, too, receive or can get the source code.
- And you must show them these terms so they know their rights.
-
- We protect your rights with two steps: (1) copyright the software, and
- (2) offer you this license which gives you legal permission to copy,
- distribute and/or modify the software.
-
- Also, for each author's protection and ours, we want to make certain
- that everyone understands that there is no warranty for this free
- software. If the software is modified by someone else and passed on, we
- want its recipients to know that what they have is not the original, so
- that any problems introduced by others will not reflect on the original
- authors' reputations.
-
- Finally, any free program is threatened constantly by software patents.
- We wish to avoid the danger that redistributors of a free program will
- individually obtain patent licenses, in effect making the program
- proprietary. To prevent this, we have made it clear that any patent must
- be licensed for everyone's free use or not licensed at all.
-
- The precise terms and conditions for copying, distribution and
- modification follow.
-
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License applies to any program or other work which contains a
- notice placed by the copyright holder saying it may be distributed under
- the terms of this General Public License. The "Program", below, refers
- to any such program or work, and a "work based on the Program" means
- either the Program or any derivative work under copyright law: that is
- to say, a work containing the Program or a portion of it, either
- verbatim or with modifications and/or translated into another language.
- (Hereinafter, translation is included without limitation in the term
- "modification".) Each licensee is addressed as "you".
-
- Activities other than copying, distribution and modification are not
- covered by this License; they are outside its scope. The act of running
- the Program is not restricted, and the output from the Program is
- covered only if its contents constitute a work based on the Program
- (independent of having been made by running the Program). Whether that
- is true depends on what the Program does.
-
- 1. You may copy and distribute verbatim copies of the Program's source
- code as you receive it, in any medium, provided that you conspicuously
- and appropriately publish on each copy an appropriate copyright notice
- and disclaimer of warranty; keep intact all the notices that refer to
- this License and to the absence of any warranty; and give any other
- recipients of the Program a copy of this License along with the Program.
-
- You may charge a fee for the physical act of transferring a copy, and
- you may at your option offer warranty protection in exchange for a fee.
-
- 2. You may modify your copy or copies of the Program or any portion of
- it, thus forming a work based on the Program, and copy and distribute
- such modifications or work under the terms of Section 1 above, provided
- that you also meet all of these conditions:
-
- a) You must cause the modified files to carry prominent notices
- stating that you changed the files and the date of any change.
-
- b) You must cause any work that you distribute or publish, that in
- whole or in part contains or is derived from the Program or any part
- thereof, to be licensed as a whole at no charge to all third parties
- under the terms of this License.
-
- c) If the modified program normally reads commands interactively
- when run, you must cause it, when started running for such
- interactive use in the most ordinary way, to print or display an
- announcement including an appropriate copyright notice and a notice
- that there is no warranty (or else, saying that you provide a
- warranty) and that users may redistribute the program under these
- conditions, and telling the user how to view a copy of this License.
- (Exception: if the Program itself is interactive but does not
- normally print such an announcement, your work based on the Program
- is not required to print an announcement.)
-
- These requirements apply to the modified work as a whole. If
- identifiable sections of that work are not derived from the Program, and
- can be reasonably considered independent and separate works in
- themselves, then this License, and its terms, do not apply to those
- sections when you distribute them as separate works. But when you
- distribute the same sections as part of a whole which is a work based on
- the Program, the distribution of the whole must be on the terms of this
- License, whose permissions for other licensees extend to the entire
- whole, and thus to each and every part regardless of who wrote it.
-
- Thus, it is not the intent of this section to claim rights or contest
- your rights to work written entirely by you; rather, the intent is to
- exercise the right to control the distribution of derivative or
- collective works based on the Program.
-
- In addition, mere aggregation of another work not based on the Program
- with the Program (or with a work based on the Program) on a volume of a
- storage or distribution medium does not bring the other work under the
- scope of this License.
-
- 3. You may copy and distribute the Program (or a work based on it,
- under Section 2) in object code or executable form under the terms of
- Sections 1 and 2 above provided that you also do one of the following:
-
- a) Accompany it with the complete corresponding machine-readable
- source code, which must be distributed under the terms of Sections 1
- and 2 above on a medium customarily used for software interchange; or,
-
- b) Accompany it with a written offer, valid for at least three
- years, to give any third party, for a charge no more than your cost
- of physically performing source distribution, a complete
- machine-readable copy of the corresponding source code, to be
- distributed under the terms of Sections 1 and 2 above on a medium
- customarily used for software interchange; or,
-
- c) Accompany it with the information you received as to the offer to
- distribute corresponding source code. (This alternative is allowed
- only for noncommercial distribution and only if you received the
- program in object code or executable form with such an offer, in
- accord with Subsection b above.)
-
- The source code for a work means the preferred form of the work for
- making modifications to it. For an executable work, complete source code
- means all the source code for all modules it contains, plus any
- associated interface definition files, plus the scripts used to control
- compilation and installation of the executable. However, as a special
- exception, the source code distributed need not include anything that is
- normally distributed (in either source or binary form) with the major
- components (compiler, kernel, and so on) of the operating system on
- which the executable runs, unless that component itself accompanies the
- executable.
-
- If distribution of executable or object code is made by offering access
- to copy from a designated place, then offering equivalent access to copy
- the source code from the same place counts as distribution of the source
- code, even though third parties are not compelled to copy the source
- along with the object code.
-
- 4. You may not copy, modify, sublicense, or distribute the Program
- except as expressly provided under this License. Any attempt otherwise
- to copy, modify, sublicense or distribute the Program is void, and will
- automatically terminate your rights under this License. However, parties
- who have received copies, or rights, from you under this License will
- not have their licenses terminated so long as such parties remain in
- full compliance.
-
- 5. You are not required to accept this License, since you have not
- signed it. However, nothing else grants you permission to modify or
- distribute the Program or its derivative works. These actions are
- prohibited by law if you do not accept this License. Therefore, by
- modifying or distributing the Program (or any work based on the
- Program), you indicate your acceptance of this License to do so, and all
- its terms and conditions for copying, distributing or modifying the
- Program or works based on it.
-
- 6. Each time you redistribute the Program (or any work based on the
- Program), the recipient automatically receives a license from the
- original licensor to copy, distribute or modify the Program subject to
- these terms and conditions. You may not impose any further restrictions
- on the recipients' exercise of the rights granted herein. You are not
- responsible for enforcing compliance by third parties to this License.
-
- 7. If, as a consequence of a court judgment or allegation of patent
- infringement or for any other reason (not limited to patent issues),
- conditions are imposed on you (whether by court order, agreement or
- otherwise) that contradict the conditions of this License, they do not
- excuse you from the conditions of this License. If you cannot distribute
- so as to satisfy simultaneously your obligations under this License and
- any other pertinent obligations, then as a consequence you may not
- distribute the Program at all. For example, if a patent license would
- not permit royalty-free redistribution of the Program by all those who
- receive copies directly or indirectly through you, then the only way you
- could satisfy both it and this License would be to refrain entirely from
- distribution of the Program.
-
- If any portion of this section is held invalid or unenforceable under
- any particular circumstance, the balance of the section is intended to
- apply and the section as a whole is intended to apply in other
- circumstances.
-
- It is not the purpose of this section to induce you to infringe any
- patents or other property right claims or to contest validity of any
- such claims; this section has the sole purpose of protecting the
- integrity of the free software distribution system, which is implemented
- by public license practices. Many people have made generous
- contributions to the wide range of software distributed through that
- system in reliance on consistent application of that system; it is up to
- the author/donor to decide if he or she is willing to distribute
- software through any other system and a licensee cannot impose that choice.
-
- This section is intended to make thoroughly clear what is believed to be
- a consequence of the rest of this License.
-
- 8. If the distribution and/or use of the Program is restricted in
- certain countries either by patents or by copyrighted interfaces, the
- original copyright holder who places the Program under this License may
- add an explicit geographical distribution limitation excluding those
- countries, so that distribution is permitted only in or among countries
- not thus excluded. In such case, this License incorporates the
- limitation as if written in the body of this License.
-
- 9. The Free Software Foundation may publish revised and/or new
- versions of the General Public License from time to time. Such new
- versions will be similar in spirit to the present version, but may
- differ in detail to address new problems or concerns.
-
- Each version is given a distinguishing version number. If the Program
- specifies a version number of this License which applies to it and "any
- later version", you have the option of following the terms and
- conditions either of that version or of any later version published by
- the Free Software Foundation. If the Program does not specify a version
- number of this License, you may choose any version ever published by the
- Free Software Foundation.
-
- 10. If you wish to incorporate parts of the Program into other free
- programs whose distribution conditions are different, write to the
- author to ask for permission. For software which is copyrighted by the
- Free Software Foundation, write to the Free Software Foundation; we
- sometimes make exceptions for this. Our decision will be guided by the
- two goals of preserving the free status of all derivatives of our free
- software and of promoting the sharing and reuse of software generally.
-
- NO WARRANTY
-
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
- WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
- EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
- OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
- EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
- ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH
- YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
- NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
- WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
- AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
- DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
- DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
- (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
- INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
- THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR
- OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
-
- If you develop a new program, and you want it to be of the greatest
- possible use to the public, the best way to achieve this is to make it
- free software which everyone can redistribute and change under these terms.
-
- To do so, attach the following notices to the program. It is safest to
- attach them to the start of each source file to most effectively convey
- the exclusion of warranty; and each file should have at least the
- "copyright" line and a pointer to where the full notice is found.
-
- One line to give the program's name and a brief idea of what it does.
- Copyright (C)
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program 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
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA
-
- Also add information on how to contact you by electronic and paper mail.
-
- If the program is interactive, make it output a short notice like this
- when it starts in an interactive mode:
-
- Gnomovision version 69, Copyright (C) year name of author
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type
- `show w'. This is free software, and you are welcome to redistribute
- it under certain conditions; type `show c' for details.
-
- The hypothetical commands `show w' and `show c' should show the
- appropriate parts of the General Public License. Of course, the commands
- you use may be called something other than `show w' and `show c'; they
- could even be mouse-clicks or menu items--whatever suits your program.
-
- You should also get your employer (if you work as a programmer) or your
- school, if any, to sign a "copyright disclaimer" for the program, if
- necessary. Here is a sample; alter the names:
-
- Yoyodyne, Inc., hereby disclaims all copyright interest in the
- program `Gnomovision' (which makes passes at compilers) written by
- James Hacker.
-
- signature of Ty Coon, 1 April 1989
- Ty Coon, President of Vice
-
- This General Public License does not permit incorporating your program
- into proprietary programs. If your program is a subroutine library, you
- may consider it more useful to permit linking proprietary applications
- with the library. If this is what you want to do, use the GNU Library
- General Public License instead of this License.
-
----
-
-## CLASSPATH EXCEPTION
-
- Linking this library statically or dynamically with other modules is
- making a combined work based on this library. Thus, the terms and
- conditions of the GNU General Public License version 2 cover the whole
- combination.
-
- As a special exception, the copyright holders of this library give you
- permission to link this library with independent modules to produce an
- executable, regardless of the license terms of these independent
- modules, and to copy and distribute the resulting executable under
- terms of your choice, provided that you also meet, for each linked
- independent module, the terms and conditions of the license of that
- module. An independent module is a module which is not derived from or
- based on this library. If you modify this library, you may extend this
- exception to your version of the library, but you are not obligated to
- do so. If you do not wish to do so, delete this exception statement
- from your version.
diff --git a/install/jsf/bin/build.xml b/install/jsf/bin/build.xml
deleted file mode 100644
index 8feb7afbbf..0000000000
--- a/install/jsf/bin/build.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/install/jsf/bin/harness.policy b/install/jsf/bin/harness.policy
deleted file mode 100644
index 16a8bfabdd..0000000000
--- a/install/jsf/bin/harness.policy
+++ /dev/null
@@ -1,4 +0,0 @@
-grant {
- // "standard" properies that can be read by anyone
- permission java.security.AllPermission ;
-};
diff --git a/install/jsf/bin/java.policy b/install/jsf/bin/java.policy
deleted file mode 100644
index 35733e010f..0000000000
--- a/install/jsf/bin/java.policy
+++ /dev/null
@@ -1,5 +0,0 @@
-grant {
- // "standard" properies that can be read by anyone
- permission java.security.AllPermission ;
-};
-
diff --git a/install/jsf/bin/sig-test-pkg-list.txt b/install/jsf/bin/sig-test-pkg-list.txt
deleted file mode 100644
index 4cecd466f3..0000000000
--- a/install/jsf/bin/sig-test-pkg-list.txt
+++ /dev/null
@@ -1,58 +0,0 @@
-#
-# Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.
-#
-# This program and the accompanying materials are made available under the
-# terms of the Eclipse Public License v. 2.0, which is available at
-# http://www.eclipse.org/legal/epl-2.0.
-#
-# This Source Code may also be made available under the following Secondary
-# Licenses when the conditions for such availability set forth in the
-# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
-# version 2 with the GNU Classpath Exception, which is available at
-# https://www.gnu.org/software/classpath/license.html.
-#
-# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-#
-
-##
-# This file contains a list of all the packages
-# contained in the signature files for this
-# deliverable. This file is used to exclude valid
-# sub-packages from being verified when their
-# parent package's signature is checked.
-##
-
-java.io
-java.lang
-java.lang.Enum<{java.lang
-java.lang.annotation
-java.util
-jakarta.el
-jakarta.enterprise.context
-jakarta.faces
-jakarta.faces.annotation
-jakarta.faces.application
-jakarta.faces.bean
-jakarta.faces.component
-jakarta.faces.component.behavior
-jakarta.faces.component.html
-jakarta.faces.component.search
-jakarta.faces.component.visit
-jakarta.faces.context
-jakarta.faces.convert
-jakarta.faces.el
-jakarta.faces.event
-jakarta.faces.flow
-jakarta.faces.flow.builder
-jakarta.faces.lifecycle
-jakarta.faces.model
-jakarta.faces.push
-jakarta.faces.render
-jakarta.faces.validator
-jakarta.faces.view
-jakarta.faces.view.facelets
-jakarta.faces.webapp
-jakarta.inject
-jakarta.servlet
-jakarta.servlet.annotation
-jakarta.servlet.jsp.tagext
diff --git a/install/jsf/bin/sig-test.map b/install/jsf/bin/sig-test.map
deleted file mode 100644
index 6c17463f90..0000000000
--- a/install/jsf/bin/sig-test.map
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# Copyright (c) 2018, 2021 Oracle and/or its affiliates. All rights reserved.
-#
-# This program and the accompanying materials are made available under the
-# terms of the Eclipse Public License v. 2.0, which is available at
-# http://www.eclipse.org/legal/epl-2.0.
-#
-# This Source Code may also be made available under the following Secondary
-# Licenses when the conditions for such availability set forth in the
-# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
-# version 2 with the GNU Classpath Exception, which is available at
-# https://www.gnu.org/software/classpath/license.html.
-#
-# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-#
-
-###############################################################
-# The signature test mapping file for the JSF TCK. This file
-# should be formatted as a standard java properties file. The
-# name is the package name and the value is the version of the
-# package that should be tested by the signature tests.
-###############################################################
-
-jakarta.faces=4.0
diff --git a/install/jsf/bin/ts.jte b/install/jsf/bin/ts.jte
deleted file mode 100644
index 6e6a41b74f..0000000000
--- a/install/jsf/bin/ts.jte
+++ /dev/null
@@ -1,267 +0,0 @@
-#
-# Copyright (c) 2006, 2021 Oracle and/or its affiliates. All rights reserved.
-#
-# This program and the accompanying materials are made available under the
-# terms of the Eclipse Public License v. 2.0, which is available at
-# http://www.eclipse.org/legal/epl-2.0.
-#
-# This Source Code may also be made available under the following Secondary
-# Licenses when the conditions for such availability set forth in the
-# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
-# version 2 with the GNU Classpath Exception, which is available at
-# https://www.gnu.org/software/classpath/license.html.
-#
-# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-#
-
-#########################################################################
-#
-# JavaTest Environment file for JSF Compatibility Test Suite
-#
-# Environment specific properties in this file will likely
-# have to be modified prior to running the JSF TCK. Instructions
-# for modifying these properties are contained in this file.
-#
-#########################################################################
-
-#########################################################################
-## @jte.version This version denotes the bundle this JTE was
-## originally included with. The version matches the ID
-## in the bundle name. It can be used to identify a
-## mismatched JTE file. This value is filled in during
-## the build process as part of sanitizing the jte file.
-#########################################################################
-jte.version=@JTE_VERSION@
-
-#########################################################################
-# The following properties MUST be set prior to running the
-# TCK for JavaServer Faces.
-# ---------------------------------
-# webServerHost - Specifies the host of the target container
-# webServerPort - Specifies the port the container is bound
-# webServerHome - Specifies the installation directory of the container
-#
-# The web.deployment.handler property must refer to an ANT file containing
-# at least a single target named 'deploy'. When 'ant deploy' is invoked,
-# this target will be invoked to handle the deployment of the web
-# applications to the target server.
-#
-# If using a custom handler, copy the handler to TS_HOME/bin/deploy and
-# provide only the filename as the property value.
-#
-# The JSF TCK includes 3 handlers:
-# - none (no deployment occurs)
-# - glassfish (deployment to SJSAS/Glassfish)
-# - tomcat (Tomcat)
-#
-# jsf.classes - Specifies the JSF API and implementation classes that
-# are under test
-#
-# jspservlet.classes - Specifies the path to the Servlet & JSP API classes.
-#
-#
-# Here are some example configurations.
-#
-# Glassfish V4 Example:
-# webServerHost=localhost
-# webServerPort=8080
-# webServerHome=/sun/glassfish3/glassfish
-# impl.vi=glassfish
-# impl.vi.deploy.dir=${webServerHome}/domains/domain1/autodeploy
-# impl.deploy.timeout.multiplier=20
-# jsf.classes=${webServerHome}/modules/jakarta.faces.jar${pathsep} \
-# ${webServerHome}/modules/weld-osgi-bundle.jar
-# jspservlet.classes=${webServerHome}/modules/jakarta.servlet.jsp.jar${pathsep} \
-# ${webServerHome}/modules/jakarta.servlet.jsp.jstl-api.jar${pathsep} \
-# ${webServerHome}/modules/jakarta.servlet.jsp.jstl.jar${pathsep} \
-# ${webServerHome}/modules/jakarta.servlet-api.jar${pathsep} \
-# ${webServerHome}/modules/jakarta.el.jar${pathsep} \
-# ${webServerHome}/modules/jakarta.servlet.jsp-api.jar
-#
-#########################################################################
-webServerHost=localhost
-webServerPort=8080
-webServerHome=/ri/glassfish3/glassfish
-impl.vi=glassfish
-impl.vi.deploy.dir=${webServerHome}/domains/domain1/autodeploy
-impl.deploy.timeout.multiplier=20
-jsf.classes=${webServerHome}/modules/jakarta.faces.jar${pathsep}${webServerHome}/modules/weld-osgi-bundle.jar
-jspservlet.classes=${webServerHome}/modules/jakarta.servlet.jsp.jar${pathsep}${webServerHome}/modules/jakarta.servlet.jsp.jstl.jar${pathsep}${webServerHome}/modules/jakarta.servlet.jsp.jstl-api.jar${pathsep}${webServerHome}/modules/jakarta.servlet-api.jar${pathsep}${webServerHome}/modules/jakarta.el.jar${pathsep}${webServerHome}/modules/jakarta.servlet.jsp-api.jar
-
-########################################################################
-# @javatest.timeout.factor This property specifies the scale factor used by
-# Javatest to adjust the time JavaTest will wait for a given test to
-# complete before returning failure. For instance if the default test timeout
-# is 5 minutes, this value will be multiplied by 5 minutes to determine
-# the total timeout delay. Note: this value only works with Javatest's
-# batch mode (runclient). When using the Javatest GUI users must change
-# this timeout factor in the GUI. Configure -> Edit Configuration -> View
-# -> choose Standard Values -> select tab Execution -> set Time Factor.
-########################################################################
-javatest.timeout.factor=2.0
-
-########################################################################
-#
-# @jimage.dir: This property specifies the directory where Java 11+
-# modules will be expanded by the jimage tool for use
-# in sigTestClasspath
-#
-# @sigTestClasspath: This property must be set when running signature
-# tests. This property should be set to a list of
-# jar files and/or directories which contain your
-# Java EE and Java SE classes. Paths must be
-# separated by the appropriate path separator
-# (';' windows, ':' Unixes).
-#
-########################################################################
-jimage.dir=${ts.home}/tmp/jdk-bundles
-
-sigTestClasspath=${jsf.classes}${pathsep}${jspservlet.classes}${pathsep}${jimage.dir}/java.base${pathsep}${jimage.dir}/java.rmi${pathsep}${jimage.dir}/java.sql${pathsep}${jimage.dir}/java.naming
-
-########################################################################
-#These properties must be set to tell the Javatest harness the
-#class names of your porting class implementations. By default
-#the property settings below point to Sun RI specific classes.
-########################################################################
-porting.ts.url.class.1=com.sun.ts.lib.implementation.sun.common.SunRIURL
-
-
-########################################################################
-# Javatest batch mode work directory and report directory, and policy for
-# handling existing work and report directories. These properties affects
-# runclient and report targets, but not gui target.
-# To disable generating test report, unset report.dir, or set it to "none"
-# either here or from command line, as in the following command:
-# ant runclient -Dreport.dir="none"
-#
-# if.existing.work.report.dirs specifies how existing work.dir and
-# report.dir will be handled, and it must be one of the following values:
-# overwrite overwrites all content in work.dir and report.dir
-# backup moves all content in work.dir and report.dir to
-# work.dir_time_day_bak and report.dir_time_day_bak,
-# respectively
-# append reuses and preserves the existing work.dir and report.dir
-########################################################################
-work.dir=/tmp/JTwork
-report.dir=/tmp/JTreport
-if.existing.work.report.dirs=overwrite
-
-########################################################################
-## Common environment for both ts_unix and ts_win32
-#
-# @command.testExecute - This command is used to execute any test
-# clients which are not run inside an
-# application client container. For example,
-# any URL clients or standalone java clients
-# would be executed with this command. Some
-# test directories which make use of this command
-# are servlet and jsp.
-########################################################################
-command.testExecute=com.sun.ts.lib.harness.ExecTSTestCmd \
- CLASSPATH=${JAVA_HOME}/lib/rt.jar${pathsep}\
- ${LOCAL_CLASSES} \
- HOME="${user.home}" \
- windir=${windir} \
- SYSTEMROOT=${SYSTEMROOT} \
- ${JAVA_HOME}/bin/java \
- ${JAVA_OPTIONS} $testExecuteClass $testExecuteArgs
-
-########################################################################
-# Environment ts_unix
-########################################################################
-env.ts_unix.menu=true
-
-########################################################################
-# Environment ts_win32
-########################################################################
-env.ts_win32.menu=true
-
-##########################################################################
-# Include the TS harness libs - tsharness.jar,
-# javatest.jar - the test classes and any tck specific jars.
-# DO NOT EDIT
-##########################################################################
-local.classes=${ts.home}/lib/tsharness.jar${pathsep}\
-${ts.home}/lib/jsftck.jar${pathsep}\
-${ts.home}/lib/sigtest.jar${pathsep}\
-${ts.home}/lib/javatest.jar${pathsep}\
-${ts.home}/classes${pathsep}\
-${jsf.classes}${pathsep}\
-${jspservlet.classes}${pathsep}\
-${ts.home}/lib/commons-logging-1.1.3.jar${pathsep}\
-${ts.home}/lib/commons-io-2.4.jar${pathsep}\
-${ts.home}/lib/commons-lang3-3.3.2.jar${pathsep}\
-${ts.home}/lib/commons-codec-1.9.jar${pathsep}\
-${ts.home}/lib/commons-collections-3.2.1.jar${pathsep}\
-${ts.home}/lib/commons-httpclient-3.1.jar${pathsep}\
-${ts.home}/lib/cssparser-0.9.25.jar${pathsep}\
-${ts.home}/lib/htmlunit-2.15.jar${pathsep}\
-${ts.home}/lib/htmlunit-core-js-2.15.jar${pathsep}\
-${ts.home}/lib/httpcore-4.4.9.jar${pathsep}\
-${ts.home}/lib/httpclient-4.5.5.jar${pathsep}\
-${ts.home}/lib/httpmime-4.5.5.jar${pathsep}\
-${ts.home}/lib/nekohtml-1.9.21.jar${pathsep}\
-${ts.home}/lib/sac-1.3.jar${pathsep}\
-${ts.home}/lib/saxpath.jar${pathsep}\
-${ts.home}/lib/jaxen-1.1.6.jar${pathsep}\
-${ts.home}/lib/jaxen-core-1.0.jar${pathsep}\
-${ts.home}/lib/jdom-1.1.3.jar${pathsep}\
-${ts.home}/lib/xercesImpl-2.11.0.jar${pathsep}\
-${ts.home}/lib/xalan-2.7.2.jar${pathsep}\
-${ts.home}/lib/serializer-2.7.2.jar${pathsep}\
-${ts.home}/lib/xml-apis-1.4.01.jar${pathsep}\
-
-##########################################################################
-# Final classpath
-# DO NOT EDIT
-##########################################################################
-ts.classpath=${local.classes}${pathsep}${ant.home}/lib/ant.jar
-ts.harness.classpath=${ts.classpath}
-
-########################################################################
-#These properties are used by the harness. "harness.log.port"
-#specifies the port that server components use to send logging
-#output back to JavaTest. If the default port # is not available
-#on the machine running JavaTest, then you can set it here.
-#
-#"harness.log.traceflag" is used to turn on/off verbose debugging output
-#for the tests.
-#
-# "harness.executeMode" is used to run the harness in the following modes
-# of execution (DO NOT EDIT):
-# 2 - run only
-########################################################################
-harness.temp.directory=${ts.home}/tmp
-harness.log.port=2000
-harness.log.mode=silent
-harness.log.traceflag=true
-harness.executeMode=2
-harness.log.delayseconds=1
-harness.socket.retry.count=10
-ts_home=${TS_HOME}
-
-##########################################################################
-# Set your local timezone. For valid values, consult your Operating System
-# documentation.
-##########################################################################
-tz=US/Eastern
-
-########################################################################
-# This property specifies the type of archive that is generated.
-# DO NOT EDIT
-########################################################################
-build.level=2
-
-##########################################################################
-# The alt.schema.dir and alt.dtd.dir properties specifu the location of
-# the Schemas used to package the TCK tests (web, Java EE, etc). These
-# properties need not be set if only running the tests.
-# DO NOT EDIT
-##########################################################################
-alt.dtd.dir=${ts.home}/lib/dtds
-alt.schema.dir=${ts.home}/lib/schemas
-
-##########################################################################
-# Needed for building/packaging
-##########################################################################
-deliverable.class=com.sun.ts.lib.deliverable.tck.TCKDeliverable
diff --git a/install/jsf/bin/ts.jtx b/install/jsf/bin/ts.jtx
deleted file mode 100644
index dd61c47088..0000000000
--- a/install/jsf/bin/ts.jtx
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright (c) 2006, 2018 Oracle and/or its affiliates. All rights reserved.
-#
-# This program and the accompanying materials are made available under the
-# terms of the Eclipse Public License v. 2.0, which is available at
-# http://www.eclipse.org/legal/epl-2.0.
-#
-# This Source Code may also be made available under the following Secondary
-# Licenses when the conditions for such availability set forth in the
-# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
-# version 2 with the GNU Classpath Exception, which is available at
-# https://www.gnu.org/software/classpath/license.html.
-#
-# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-#
-
diff --git a/install/jsf/docs/README.txt b/install/jsf/docs/README.txt
deleted file mode 100644
index e0ecaa2f27..0000000000
--- a/install/jsf/docs/README.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.
-#
-# This program and the accompanying materials are made available under the
-# terms of the Eclipse Public License v. 2.0, which is available at
-# http://www.eclipse.org/legal/epl-2.0.
-#
-# This Source Code may also be made available under the following Secondary
-# Licenses when the conditions for such availability set forth in the
-# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
-# version 2 with the GNU Classpath Exception, which is available at
-# https://www.gnu.org/software/classpath/license.html.
-#
-# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-#
-The Java Server Faces Technology Compatibility Kit 3.0 User's Guide provides
-the information you need to install, configure, and run the Server Faces
-TCK. The User's Guide also contains the rules you need to pass for
-certification. The guide is available in PDF format at
-pdf-usersguide/Jakarta-Server-Faces-TCK-Users-Guide.pdf relative to this README file.
diff --git a/install/jsf/docs/ReleaseNotes.html b/install/jsf/docs/ReleaseNotes.html
deleted file mode 100644
index 787ad68b1b..0000000000
--- a/install/jsf/docs/ReleaseNotes.html
+++ /dev/null
@@ -1,198 +0,0 @@
-
-
-
-
- Jakarta EE Server Faces TCK Release Notes
-
-
-
-
-
-
Jakarta EE Server Faces Technology Compatibility Kit, Version 3.0
-
Release Notes, May 2021
-
-
-
-
-
-
-
Note
-
-
-
These notes are for the 3.0 release of the
- Jakarta EE Server Faces TCK 3.0 product.
-
-
-
-
-
-
Kit Contents
-
The Jakarta EE Server Faces Version 3.0, Technology Compatibility Kit
- (TCK) includes the following items:
-
-
-
Jakarta EE Server Faces TCK signature, API and specification
- tests:
-
-
-
A signature test that checks that all of the
- public APIs are supported or defined in the Jakarta EE Server
- Faces Version 3.0 implementation that is under test.
-
-
-
Specification tests for the testable assertions
- required by the Jakarta EE Server Faces 3.0 Revision A
- Specification.
-
-
-
API tests for the public APIs and language
- elements defined by the Jakarta EE Server Faces 3.0 Specification.
-
-
-
-
-
-
Platform Notes
-
The Jakarta EE Server Faces TCK tests have been built with JDK 8 (1.8)
- and tested with a Jakarta EE Compatible Implementation (Eclipse GlassFish
- 6.0 or 6.1) , running on the JavaTM Standard
- Edition (Java SE) version 8 and 11. If you are using a different web
- server, you will need to make adjustments to the procedures outlined in
- this document.
-
Refer to the Jakarta EE Server Faces TCK 3.0 User's Guide (HMTL,
- PDF)
- for platform compatibility requirements and notes.
-
-
Compatible Implementation
-
A compatible implementation for this release is Eclipse Mojarra which
- includes Jakarta EE Server Faces 3.0. To run the TCK, you will need to use
- a Web container or a Jakarta EE 9.1 compatible server that has integrated
- Mojarra 3.0. For the current Jakarta EE 9.1 server, you will need to perform
- the integration manually. Download Mojarra 3.0 from maven using the
- following GAV:
and replace the existing jakarta.faces.jar with the
- downloaded jar. This step will not be necessary for Jakarta EE 8
- compatible server releases if they will come with Mojarra 3.0
- preintegrated.
Refer to the Jakarta EE Server Faces TCK 3.0 User's Guide (HMTL,
- PDF),
- for complete instructions on installing, setting up, and running the
- Jakarta EE Server Faces TCK. The online version of the JT Harness version
- 5.0 documentation is available here.
- Return the ResponseStream to which components should direct their binary output. Within
- a given response, components can use either the ResponseStream or the ResponseWriter, but not both.
-
-
- Return the ResponseWriter to which components should direct their character-based
- output. Within a given response, components can use either the ResponseStream or the ResponseWriter,
- but not both.
-
- Write whatever text should end a response. If there is an open element that has been
- created by a call to startElement(), that element will be closed first.
-
- Convert the specified model object value, which is associated with the specified
- UIComponent, into a String that is suitable for being included in the response generated during the
- Render Response phase of the request processing lifeycle.
-
- Compare this PhaseId instance to the specified one. Returns a negative integer, zero,
- or a positive integer if this object is less than, equal to, or greater than the specified object.
-
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:1903
-
-
- int
-
-
- jakarta.faces.event.PhaseId.getOrdinal
-
-
-
-
- Return the ordinal value of this PhaseId instance.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:1904
-
-
- String
-
-
- jakarta.faces.event.PhaseId.toString
-
-
-
-
- Return a String representation of this PhaseId instance.
-
- Register a new Lifecycle instance, associated with the specified lifecycleId, to be
- supported by this LifecycleFactory. This method may be called at any time, and makes the
- corresponding Lifecycle instance available throughout the remaining lifetime of this web
- application.
-
- Create (if needed) and return a Lifecycle instance for the specified lifecycle
- identifier. The set of available lifecycle identifiers is available via the getLifecycleIds()
- method. Each call to getLifecycle() for the same lifecycleId, from within the same web application,
- must return the same Lifecycle instance.
-
- Return an Iterator over the set of lifecycle identifiers supported by this factory.
- This set must include the value specified by LifecycleFactory.DEFAULT_LIFECYCLE.
-
- Render the child components of this UIComponent, following the rules described for
- encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if
- the rendersChildren property of this component is true.
-
- Render the ending of the current state of the specified UIComponent, following the
- rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
- Create (if necessary) and return a per-web-application instance of the appropriate
- implementation class for the specified JavaServer Faces factory class, based on the discovery
- algorithm described in the class description.
-
- Create (if necessary) and return a per-web-application instance of the appropriate
- implementation class for the specified Jakarta Faces factory class, based on the discovery algorithm
- described in the class description. The standard injectionProvider and wrappers in Jakarta Faces all
- implement the interface FacesWrapper. If the returned Object is an implementation of one of the
- standard injectionProvider, it must be legal to cast it to an instance of FacesWrapper and call
- FacesWrapper#getWrapped on the instance.
-
- Release any references to factory instances associated with the class loader for the
- calling web application. This method should be called as apart of web application shutdown in a
- container where the JavaServer Faces API classes are part of the container itself, rather than being
- included inside the web application.
-
- Release any references to factory instances associated with the class loader for the
- calling web application. This method must be called during of web application shutdown.
-
- Return the ActionListener that will be the default ActionListener to be registered with
- relevant components during the Reconstitute Component Tree phase of the request processing
- lifecycle. The default implementation will perform the following functions: The getPhaseId() method
- of this listener instance must return PhaseId.INVOKE_APPLICATION. If the source component has a
- non-null action property, return that value. If the source component has a non-null actionRef
- property, evaluate this value reference to retrieve the corresponding object. If there is no such
- corresponding object, or if this object does not implement Action, throw an
- IllegalArgumentException. Call the invoke() method of the returned object, and return the return
- value from that method call.
-
- Return the default ActionListener to be registered for all
- jakarta.faces.component.ActionSource components in this application. If not explicitly set, a
- default implementation must be provided that performs the functions as specified in the section
- 7.1.1 "ActionListener Property" in the chapter 7 "Application Integration" of the Jakarta Faces
- Specification Document. Note that the specification for the default ActionListener contiues to call
- for the use of a deprecated property (action) and class (MethodBinding). Unfortunately, this is
- necessary because the default ActionListener must continue to work with components that do not
- implement jakarta.faces.component.ActionSource2, and only implement
- jakarta.faces.component.ActionSource.
-
- Return the NavigationHandler instance that will be passed the outcome returned by any
- invoked Action for this web application. The default implementation must provide the behavior
- described in the NavigationHandler class description.
-
- Return the NavigationHandler instance that will be passed the outcome returned by any
- invoked application action for this web application. If not explicitly set, a default implementation
- must be provided that performs the functions described in the NavigationHandler class description.
- The NavigationHandler implementation is declared in the application configuration resources by
- giving the fully qualified class name as the value of the element within the element. The runtime
- must employ the decorator pattern as for every other pluggable artifact in Jakarta Faces.
-
- Replace the default ActionListener that will be registered with relevant components
- during the Reconstitute Component Tree phase of the requset processing lifecycle. This listener must
- return PhaseId.INVOKE_APPLICATION from its getPhaseId() method.
-
- Decode the current state of this UIComponent from the request contained in the
- specified FacesContext, and attempt to convert this state information into an object of the required
- type for this component (optionally using the registered jakarta.faces.convert.Converter for this
- component, if there is one. If conversion is successful: Save the new local value of this component
- by calling setValue() and passing the new value. Set the valid property of this component to true.
- If conversion is not successful: Save state information in such a way that encoding can reproduce
- the previous input (even though it was syntactically or semantically incorrect) Add an appropriate
- conversion failure error message by calling context.addMessage(). Set the valid property of this
- comonent to false. During decoding, events may be enqueued for later processing (by event listeners
- who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
- Decode any new state of this UIComponent from the request contained in the specified
- FacesContext, and store this state as needed. During decoding, events may be enqueued for later
- processing (by event listeners who have registered an interest), by calling queueEvent().
-
- Render the beginning of the current state of this UIComponent to the response contained
- in the specified FacesContext. If the conversion attempted in a previous call to decode() for this
- component failed, the state information saved during execution of decode() should be utilized to
- reproduce the incorrect input. If the conversion was successful, or if there was no previous call to
- decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the
- value as appropriate.
-
- If our rendered property is true, render the beginning of the current state of this
- UIComponent to the response contained in the specified FacesContext. Call
- #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent). Call
- jakarta.faces.application.Application#publishEvent, passing
- jakarta.faces.event.PreRenderComponentEvent.class as the first argument and the component instance
- to be rendered as the second argument. If a Renderer is associated with this UIComponent, the actual
- encoding will be delegated to Renderer#encodeBegin(FacesContext, UIComponent). If our rendered
- property is false, call
- #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent) and
- return immediately.
-
- Render the child UIComponents of this UIComponent, following the rules described for
- encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if
- the rendersChildren property is true.
-
- If our rendered property is true, render the child UIComponents of this UIComponent.
- This method will only be called if the rendersChildren property is true. If a Renderer is associated
- with this UIComponent, the actual encoding will be delegated to
- Renderer#encodeChildren(FacesContext, UIComponent). If no Renderer is associated with this
- UIComponent, iterate over each of the children of this component and call
- #encodeAll(jakarta.faces.context.FacesContext).
-
- Render the ending of the current state of this UIComponent, following the rules
- described for encodeBegin() to acquire the appropriate value to be rendered.
-
- If our rendered property is true, render the ending of the current state of this
- UIComponent. If a Renderer is associated with this UIComponent, the actual encoding will be
- delegated to Renderer#encodeEnd(FacesContext, UIComponent). Call UIComponent#popComponentFromEL.
- before returning regardless of the value of the rendered property.
-
- Find the UIComponent named by the specified expression, if any is found. This is done
- by locating the closest parent UIComponent that is a NamingContainer, and calling its
- findComponentInNamespace() method. The specified expr may contain either a component identifier, or
- a set of component identifiers separated by SEPARATOR_CHAR characters.
-
- Search for and return the UIComponent with an id that matches the specified search
- expression (if any), according to the algorithm described below. WARNING: The found UIComponent
- instance, if any, is returned without regard for its tree traversal context. Retrieving an Jakarta
- Expression Language-bound attribute from the component is not safe. Jakarta Expression Language
- expressions can contain implicit objects, such as #{component}, which assume they are being
- evaluated within the scope of a tree traversal context. Evaluating expressions with these kinds of
- implicit objects outside of a tree traversal context produces undefined results. See
- #invokeOnComponent for a method that does correctly account for the tree traversal context when
- operating on the found UIComponent instance. #invokeOnComponent is also useful to find components
- given a simple clientId. Component identifiers are required to be unique within the scope of the
- closest ancestor NamingContainer that encloses this component (which might be this component
- itself). If there are no NamingContainer components in the ancestry of this component, the root
- component in the tree is treated as if it were a NamingContainer, whether or not its class actually
- implements the NamingContainer interface. A search expression consists of either an identifier
- (which is matched exactly against the id property of a UIComponent, or a series of such identifiers
- linked by the UINamingContainer#getSeparatorChar character value. The search algorithm should
- operates as follows, though alternate alogrithms may be used as long as the end result is the same:
- Identify the UIComponent that will be the base for searching, by stopping as soon as one of the
- following conditions is met: If the search expression begins with the the separator character
- (called an "absolute" search expression), the base will be the root UIComponent of the component
- tree. The leading separator character will be stripped off, and the remainder of the search
- expression will be treated as a "relative" search expression as described below. Otherwise, if this
- UIComponent is a NamingContainer it will serve as the basis. Otherwise, search up the parents of
- this component. If a NamingContainer is encountered, it will be the base. Otherwise (if no
- NamingContainer is encountered) the root UIComponent will be the base. The search expression
- (possibly modified in the previous step) is now a "relative" search expression that will be used to
- locate the component (if any) that has an id that matches, within the scope of the base component.
- The match is performed as follows: If the search expression is a simple identifier, this value is
- compared to the id property, and then recursively through the facets and children of the base
- UIComponent (except that if a descendant NamingContainer is found, its own facets and children are
- not searched). If the search expression includes more than one identifier separated by the separator
- character, the first identifier is used to locate a NamingContainer by the rules in the previous
- bullet point. Then, the findComponent() method of this NamingContainer will be called, passing the
- remainder of the search expression.
-
- Return the number of child UIComponents that are associated with this UIComponent. If
- there are no children, this method must return 0. The method must not cause the creation of a child
- component list.
-
- Return a client-side identifier for this component, generating one if necessary.
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-
- Return a client-side identifier for this component, generating one if necessary. The
- associated Renderer, if any, will be asked to convert the clientId to a form suitable for
- transmission to the client. The return from this method must be the same value throughout the
- lifetime of the instance, unless the id property of the component is changed, or the component is
- placed in a NamingContainer whose client ID changes (for example, UIData). However, even in these
- cases, consecutive calls to this method must always return the same value. The implementation must
- follow these steps in determining the clientId: Find the closest ancestor to this component in the
- view hierarchy that implements NamingContainer. Call getContainerClientId() on it and save the
- result as the parentId local variable. Call #getId on this component and save the result as the myId
- local variable. If myId is null, call context.getViewRoot().createUniqueId() and assign the result
- to myId. If parentId is non-null, let myId equal parentId + UINamingContainer#getSeparatorChar +
- myId. Call Renderer#convertClientId, passing myId, and return the result.
-
- Convenience method to return the named facet, if it exists, or null otherwise. If the
- requested facet does not exist, the facets Map must not be created.
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored
- in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored
- in the child list. If this component has no facets or children, an empty Iterator is returned. The
- returned Iterator must not support the remove() operation.
-
- Return the parent UIComponent of this UIComponent, if any. A component must allow child
- components to be added to and removed from the list of children of this component, even though the
- child component returns null from getParent( ).
-
- Return a flag indicating whether this component is responsible for rendering its child
- components. The default implementation in UIComponentBase#getRendersChildren tries to find the
- renderer for this component. If it does, it calls Renderer#getRendersChildren and returns the
- result. If it doesn't, it returns false. As of version 1.2 of the Jakarta Faces Specification,
- component authors are encouraged to return true from this method and rely on
- UIComponentBase#encodeChildren.
-
- Perform the component tree processing required by the Apply Request Values phase of the
- request processing lifecycle for all facets of this component, all children of this component, and
- this component itself, as follows. Call the processDecodes() method of all facets and children of
- this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode()
- method of this component.
-
- Perform the component tree processing required by the Apply Request Values phase of the
- request processing lifecycle for all facets of this component, all children of this component, and
- this component itself, as follows. If the rendered property of this UIComponent is false, skip
- further processing. Call #pushComponentToEL. Call the processDecodes() method of all facets and
- children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the
- decode() method of this component. Call #popComponentFromEL from inside of a finally block, just
- before returning. If a RuntimeException is thrown during decode processing, call
- FacesContext#renderResponse and re-throw the exception.
-
- Perform the component tree processing required by the Update Model Values phase of the
- request processing lifecycle for all facets of this component, all children of this component, and
- this component itself, as follows. Call the processUpdates() method of all facets and children of
- this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the
- updateModel() method of this component. If the valid property of this UIComponent is now false, call
- FacesContext.renderResponse() to transfer control at the end of the current phase.
-
- Perform the component tree processing required by the Update Model Values phase of the
- request processing lifecycle for all facets of this component, all children of this component, and
- this component itself, as follows. If the rendered property of this UIComponent is false, skip
- further processing. Call #pushComponentToEL. Call the processUpdates() method of all facets and
- children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). After
- returning from the processUpdates() method on a child or facet, call UIComponent#popComponentFromEL
-
-
- Perform the component tree processing required by the Process Validations phase of the
- request processing lifecycle for all facets of this component, all children of this component, and
- this component itself, as follows. Call the processValidators() method of all facets and children of
- this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property
- of this component is currently true: Call the validate() method of each Validator registered for
- this UIComponent. Call the validate() method of this component. Set the valid property of this
- component to the result returned from the validate() method. If the valid property of this
- UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the
- current phase.
-
- Perform the component tree processing required by the Process Validations phase of the
- request processing lifecycle for all facets of this component, all children of this component, and
- this component itself, as follows. If the rendered property of this UIComponent is false, skip
- further processing. Call #pushComponentToEL. Call the processValidators() method of all facets and
- children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). After
- returning from calling getFacetsAndChildren() call UIComponent#popComponentFromEL.
-
- Set the parent UIComponent of this UIComponent. If parent.isInView() returns true,
- calling this method will first cause a jakarta.faces.event.PreRemoveFromViewEvent to be published,
- for this node, and then the children of this node. Then, once the re-parenting has occurred, a
- jakarta.faces.event.PostAddToViewEvent will be published as well, first for this node, and then for
- the node's children, but only if any of the following conditions are true.
- jakarta.faces.context.FacesContext#getCurrentPhaseId returns
- jakarta.faces.event.PhaseId#RESTORE_VIEW and partial state saving is enabled.
- jakarta.faces.context.FacesContext#isPostback returns false and
- jakarta.faces.context.FacesContext#getCurrentPhaseId returns something other than
- jakarta.faces.event.PhaseId#RESTORE_VIEW This method must never be called by developers; a
- UIComponent's internal implementation will call it as components are added to or removed from a
- parent's child List or facet Map.
-
- Decode the current state of this UIComponent from the request contained in the
- specified FacesContext, and attempt to convert this state information into an object of the required
- type for this component (optionally using the registered jakarta.faces.convert.Converter for this
- component, if there is one. If conversion is successful: Save the new local value of this component
- by calling setValue() and passing the new value. Set the valid property of this component to true.
- If conversion is not successful: Save state information in such a way that encoding can reproduce
- the previous input (even though it was syntactically or semantically incorrect) Add an appropriate
- conversion failure error message by calling context.addMessage(). Set the valid property of this
- comonent to false. During decoding, events may be enqueued for later processing (by event listeners
- who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
- Decode any new state of this UIComponent from the request contained in the specified
- FacesContext, and store this state as needed. During decoding, events may be enqueued for later
- processing (by event listeners who have registered an interest), by calling queueEvent().
-
- Render the beginning of the current state of this UIComponent to the response contained
- in the specified FacesContext. If the conversion attempted in a previous call to decode() for this
- component failed, the state information saved during execution of decode() should be utilized to
- reproduce the incorrect input. If the conversion was successful, or if there was no previous call to
- decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the
- value as appropriate.
-
- If our rendered property is true, render the beginning of the current state of this
- UIComponent to the response contained in the specified FacesContext. Call
- #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent). Call
- jakarta.faces.application.Application#publishEvent, passing
- jakarta.faces.event.PreRenderComponentEvent.class as the first argument and the component instance
- to be rendered as the second argument. If a Renderer is associated with this UIComponent, the actual
- encoding will be delegated to Renderer#encodeBegin(FacesContext, UIComponent). If our rendered
- property is false, call
- #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent) and
- return immediately.
-
- Render the child UIComponents of this UIComponent, following the rules described for
- encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if
- the rendersChildren property is true.
-
- If our rendered property is true, render the child UIComponents of this UIComponent.
- This method will only be called if the rendersChildren property is true. If a Renderer is associated
- with this UIComponent, the actual encoding will be delegated to
- Renderer#encodeChildren(FacesContext, UIComponent). If no Renderer is associated with this
- UIComponent, iterate over each of the children of this component and call
- #encodeAll(jakarta.faces.context.FacesContext).
-
- Render the ending of the current state of this UIComponent, following the rules
- described for encodeBegin() to acquire the appropriate value to be rendered.
-
- If our rendered property is true, render the ending of the current state of this
- UIComponent. If a Renderer is associated with this UIComponent, the actual encoding will be
- delegated to Renderer#encodeEnd(FacesContext, UIComponent). Call UIComponent#popComponentFromEL.
- before returning regardless of the value of the rendered property.
-
- Find the UIComponent named by the specified expression, if any is found. This is done
- by locating the closest parent UIComponent that is a NamingContainer, and calling its
- findComponentInNamespace() method. The specified expr may contain either a component identifier, or
- a set of component identifiers separated by SEPARATOR_CHAR characters.
-
- Search for and return the UIComponent with an id that matches the specified search
- expression (if any), according to the algorithm described below. WARNING: The found UIComponent
- instance, if any, is returned without regard for its tree traversal context. Retrieving an Jakarta
- Expression Language-bound attribute from the component is not safe. Jakarta Expression Language
- expressions can contain implicit objects, such as #{component}, which assume they are being
- evaluated within the scope of a tree traversal context. Evaluating expressions with these kinds of
- implicit objects outside of a tree traversal context produces undefined results. See
- #invokeOnComponent for a method that does correctly account for the tree traversal context when
- operating on the found UIComponent instance. #invokeOnComponent is also useful to find components
- given a simple clientId. Component identifiers are required to be unique within the scope of the
- closest ancestor NamingContainer that encloses this component (which might be this component
- itself). If there are no NamingContainer components in the ancestry of this component, the root
- component in the tree is treated as if it were a NamingContainer, whether or not its class actually
- implements the NamingContainer interface. A search expression consists of either an identifier
- (which is matched exactly against the id property of a UIComponent, or a series of such identifiers
- linked by the UINamingContainer#getSeparatorChar character value. The search algorithm should
- operates as follows, though alternate alogrithms may be used as long as the end result is the same:
- Identify the UIComponent that will be the base for searching, by stopping as soon as one of the
- following conditions is met: If the search expression begins with the the separator character
- (called an "absolute" search expression), the base will be the root UIComponent of the component
- tree. The leading separator character will be stripped off, and the remainder of the search
- expression will be treated as a "relative" search expression as described below. Otherwise, if this
- UIComponent is a NamingContainer it will serve as the basis. Otherwise, search up the parents of
- this component. If a NamingContainer is encountered, it will be the base. Otherwise (if no
- NamingContainer is encountered) the root UIComponent will be the base. The search expression
- (possibly modified in the previous step) is now a "relative" search expression that will be used to
- locate the component (if any) that has an id that matches, within the scope of the base component.
- The match is performed as follows: If the search expression is a simple identifier, this value is
- compared to the id property, and then recursively through the facets and children of the base
- UIComponent (except that if a descendant NamingContainer is found, its own facets and children are
- not searched). If the search expression includes more than one identifier separated by the separator
- character, the first identifier is used to locate a NamingContainer by the rules in the previous
- bullet point. Then, the findComponent() method of this NamingContainer will be called, passing the
- remainder of the search expression.
-
- Return the number of child UIComponents that are associated with this UIComponent. If
- there are no children, this method must return 0. The method must not cause the creation of a child
- component list.
-
- Return a client-side identifier for this component, generating one if necessary.
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-
- Return a client-side identifier for this component, generating one if necessary. The
- associated Renderer, if any, will be asked to convert the clientId to a form suitable for
- transmission to the client. The return from this method must be the same value throughout the
- lifetime of the instance, unless the id property of the component is changed, or the component is
- placed in a NamingContainer whose client ID changes (for example, UIData). However, even in these
- cases, consecutive calls to this method must always return the same value. The implementation must
- follow these steps in determining the clientId: Find the closest ancestor to this component in the
- view hierarchy that implements NamingContainer. Call getContainerClientId() on it and save the
- result as the parentId local variable. Call #getId on this component and save the result as the myId
- local variable. If myId is null, call context.getViewRoot().createUniqueId() and assign the result
- to myId. If parentId is non-null, let myId equal parentId + UINamingContainer#getSeparatorChar +
- myId. Call Renderer#convertClientId, passing myId, and return the result.
-
- Convenience method to return the named facet, if it exists, or null otherwise. If the
- requested facet does not exist, the facets Map must not be created.
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored
- in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored
- in the child list. If this component has no facets or children, an empty Iterator is returned. The
- returned Iterator must not support the remove() operation.
-
- Return the parent UIComponent of this UIComponent, if any. A component must allow child
- components to be added to and removed from the list of children of this component, even though the
- child component returns null from getParent( ).
-
- Return a flag indicating whether this component is responsible for rendering its child
- components. The default implementation in UIComponentBase#getRendersChildren tries to find the
- renderer for this component. If it does, it calls Renderer#getRendersChildren and returns the
- result. If it doesn't, it returns false. As of version 1.2 of the Jakarta Faces Specification,
- component authors are encouraged to return true from this method and rely on
- UIComponentBase#encodeChildren.
-
- Perform the component tree processing required by the Apply Request Values phase of the
- request processing lifecycle for all facets of this component, all children of this component, and
- this component itself, as follows. Call the processDecodes() method of all facets and children of
- this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode()
- method of this component.
-
- Perform the component tree processing required by the Apply Request Values phase of the
- request processing lifecycle for all facets of this component, all children of this component, and
- this component itself, as follows. If the rendered property of this UIComponent is false, skip
- further processing. Call #pushComponentToEL. Call the processDecodes() method of all facets and
- children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the
- decode() method of this component. Call #popComponentFromEL from inside of a finally block, just
- before returning. If a RuntimeException is thrown during decode processing, call
- FacesContext#renderResponse and re-throw the exception.
-
- Perform the component tree processing required by the Update Model Values phase of the
- request processing lifecycle for all facets of this component, all children of this component, and
- this component itself, as follows. Call the processUpdates() method of all facets and children of
- this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the
- updateModel() method of this component. If the valid property of this UIComponent is now false, call
- FacesContext.renderResponse() to transfer control at the end of the current phase.
-
- Perform the component tree processing required by the Update Model Values phase of the
- request processing lifecycle for all facets of this component, all children of this component, and
- this component itself, as follows. If the rendered property of this UIComponent is false, skip
- further processing. Call #pushComponentToEL. Call the processUpdates() method of all facets and
- children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). After
- returning from the processUpdates() method on a child or facet, call UIComponent#popComponentFromEL
-
-
- Perform the component tree processing required by the Process Validations phase of the
- request processing lifecycle for all facets of this component, all children of this component, and
- this component itself, as follows. Call the processValidators() method of all facets and children of
- this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property
- of this component is currently true: Call the validate() method of each Validator registered for
- this UIComponent. Call the validate() method of this component. Set the valid property of this
- component to the result returned from the validate() method. If the valid property of this
- UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the
- current phase.
-
- Perform the component tree processing required by the Process Validations phase of the
- request processing lifecycle for all facets of this component, all children of this component, and
- this component itself, as follows. If the rendered property of this UIComponent is false, skip
- further processing. Call #pushComponentToEL. Call the processValidators() method of all facets and
- children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). After
- returning from calling getFacetsAndChildren() call UIComponent#popComponentFromEL.
-
- Set the parent UIComponent of this UIComponent. If parent.isInView() returns true,
- calling this method will first cause a jakarta.faces.event.PreRemoveFromViewEvent to be published,
- for this node, and then the children of this node. Then, once the re-parenting has occurred, a
- jakarta.faces.event.PostAddToViewEvent will be published as well, first for this node, and then for
- the node's children, but only if any of the following conditions are true.
- jakarta.faces.context.FacesContext#getCurrentPhaseId returns
- jakarta.faces.event.PhaseId#RESTORE_VIEW and partial state saving is enabled.
- jakarta.faces.context.FacesContext#isPostback returns false and
- jakarta.faces.context.FacesContext#getCurrentPhaseId returns something other than
- jakarta.faces.event.PhaseId#RESTORE_VIEW This method must never be called by developers; a
- UIComponent's internal implementation will call it as components are added to or removed from a
- parent's child List or facet Map.
-
- Perform the following algorithm to update the model data associated with this UIInput,
- if any, as appropriate. If the valid property of this component is false, take no further action. If
- the valueRef property of this component is null, take no further action. Retrieve the Application
- instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the
- valueRef expression. Use the setValue() method of the ValueBinding to update the value that the
- value reference expression points at. If the setValue() method returns successfully: Clear the local
- value of this UIInput. Set the valid property of this UIInput to true. If the setValue() method call
- fails: Enqueue error messages by calling addMessage() on the specified FacesContext instance. Set
- the valid property of this UIInput to false.
-
- Perform the following algorithm to update the model data associated with this UIInput,
- if any, as appropriate. If the valid property of this component is false, take no further action. If
- the localValueSet property of this component is false, take no further action. If no ValueExpression
- for value exists, take no further action. Call setValue() method of the ValueExpression to update
- the value that the ValueExpression points at. If the setValue() method returns successfully: Clear
- the local value of this UIInput. Set the localValueSet property of this UIInput to false. If the
- setValue() method throws an Exception: Enqueue an error message. Create a FacesMessage with the id
- #UPDATE_MESSAGE_ID. Create a UpdateModelException, passing the FacesMessage and the caught exception
- to the constructor. Create an ExceptionQueuedEventContext, passing the FacesContext, the
- UpdateModelException, this component instance, and PhaseId#UPDATE_MODEL_VALUES to its constructor.
- Call FacesContext#getExceptionHandler and then call ExceptionHandler#processEvent, passing the
- ExceptionQueuedEventContext. Set the valid property of this UIInput to false. The exception must not
- be re-thrown. This enables tree traversal to continue for this lifecycle phase, as in all the other
- lifecycle phases.
-
- Perform validations and, if validation is successful, and the local value is different
- from the previous value, queue a ValueChangedEvent to be processed later.
-
- Perform the following algorithm to validate the local value of this UIInput. Retrieve
- the submitted value with #getSubmittedValue. If this returns null, and the value of the
- #ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE context-param is true (ignoring case), examine the
- value of the "required" property. If the value of "required" is true, continue as below. If the
- value of "required" is false or the required attribute is not set, exit without further processing.
- If the context-param is not set, or is set to false (ignoring case), exit without further
- processing. (This indicates that no value was submitted for this component.) If the
- jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL context parameter value is true
- (ignoring case), and getSubmittedValue() returns a zero-length String call #setSubmittedValue,
- passing null as the argument and continue processing using null as the current submitted value.
- Convert the submitted value into a "local value" of the appropriate data type by calling
- #getConvertedValue. If conversion fails: Enqueue an appropriate error message by calling the
- addMessage() method on the FacesContext. Set the valid property on this component to false Validate
- the property by calling #validateValue. If the valid property of this component is still true,
- retrieve the previous value of the component (with getValue()), store the new local value using
- setValue(), and reset the submitted value to null with a call to #setSubmittedValue passing null as
- the argument. If the local value is different from the previous value of this component, as
- determined by a call to #compareValues, fire a ValueChangeEvent to be broadcast to all interested
- listeners. Application components implementing UIInput that wish to perform validation with logic
- embedded in the component should perform their own correctness checks, and then call the
- super.validate() method to perform the standard processing described above.
-
- Return the FacesContext instance for the request that is being processed by the current
- thread. If called during application initialization or shutdown, any method documented as "valid to
- call this method during application startup or shutdown" must be supported during application
- startup or shutdown time. The result of calling a method during application startup or shutdown time
- that does not have this designation is undefined.
-
- Return an Iterator over the Messages that have been queued, whether or not they are
- associated with any specific UIComponent. If no such messages have been queued, return an empty
- Iterator.
-
- Return an Iterator over the jakarta.faces.application.FacesMessages that have been
- queued, whether or not they are associated with any specific client identifier. If no such messages
- have been queued, return an empty Iterator. The elements of the Iterator must be returned in the
- order in which they were added with calls to #addMessage.
-
- Release any resources associated with this FacesContext instance. Faces implementations
- may choose to pool instances in the associated FacesContextFactory to avoid repeated object creation
- and garbage collection.
-
- Release any resources associated with this FacesContext instance. Faces implementations
- may choose to pool instances in the associated FacesContextFactory to avoid repeated object creation
- and garbage collection. After release() is called on a FacesContext instance (until the FacesContext
- instance has been recycled by the implementation for re-use), calling any other methods will cause
- an IllegalStateException to be thrown. If a call was made to #getAttributes during the processing
- for this request, the implementation must call clear() on the Map returned from getAttributes(), and
- then de-allocate the data-structure behind that Map. The implementation must call
- #setCurrentInstance passing null to remove the association between this thread and this dead
- FacesContext instance.
-
- Signal the JavaSerer faces implementation that, as soon as the current phase of the
- request processing lifecycle has been completed, control should be passed to the Render Response
- phase, bypassing any phases that have not been executed yet.
-
- Signal the Jakarta Faces implementation that, as soon as the current phase of the
- request processing lifecycle has been completed, control should be passed to the Render Response
- phase, bypassing any phases that have not been executed yet.
-
- Signal the JavaServer Faces implementation that the HTTP response for this request has
- already been generated (such as an HTTP redirect), and that the request processing lifecycle should
- be terminated as soon as the current phase is completed.
-
- Signal the Jakarta Faces implementation that the HTTP response for this request has
- already been generated (such as an HTTP redirect), and that the request processing lifecycle should
- be terminated as soon as the current phase is completed.
-
- Write the end of an element, after closing any open element created by a call to
- startElement(). Elements must be closed in the inverse order from which they were opened; it is an
- error to do otherwise. If the argument component's pass through attributes includes an attribute of
- the name given by the value of the symbolic constant
- jakarta.faces.render.Renderer#PASSTHROUGH_RENDERER_LOCALNAME_KEY, use that as the element name,
- instead of the value passed as the first parameter to this method.
-
- Write a comment containing the specified text, after converting that text to a String
- if necessary. If there is an open element that has been created by a call to startElement(), that
- element will be closed first.
-
- Write a comment containing the specified text, after converting that text to a String
- (if necessary), and after performing any escaping appropriate for the markup language being
- rendered. If there is an open element that has been created by a call to startElement(), that
- element will be closed first.
-
- Write text from a character array, after escaping it properly for this method. If there
- is an open element that has been created by a call to startElement(), that element will be closed
- first.
-
- Write text from a character array, after any performing any escaping appropriate for
- the markup language being rendered. If there is an open element that has been created by a call to
- startElement(), that element will be closed first.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Apply Request Values phase
- of the request processing lifecycle.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Execute all of the phases of the request processing lifecycle, as described in the
- JavaServer Faces Specification, in the specified order. The processing flow can be affected (by the
- application, by components, or by event listeners) by calls to the renderResponse() or
- responseComplete() methods of the FacesContext instance associated with the current request.
-
- Execute all of the phases of the request processing lifecycle, up to but not including
- the Render Response phase, as described in section 2 "Request Processing Lifecycle" of the Jakarta
- Faces Specification Document, in the specified order. The processing flow can be affected (by the
- application, by components, or by event listeners) by calls to the renderResponse() or
- responseComplete() methods of the FacesContext instance associated with the current request.
-
- Decode the current state of the specified UIComponent from the request contained in the
- specified FacesContext, and attempt to convert this state information into an object of the type
- required for this component (optionally using the registered jakarta.faces.convert.Converter for
- this component, if there is one). If conversion is successful: Save the new local value of this
- component by calling setValue() and passing the new value. Set the value property of this component
- to true. If conversion is not successful: Save the state information (inside the component) in such
- a way that encoding can reproduce the previous input (even though it was syntactically or
- semantically incorrect). Add an appropriate conversion failure error message by calling addMessage()
- on the specified FacesContext. Set the valid property of this component to false. During decoding,
- events may be enqueued for later processing (by event listeners that have registered an interest),
- by calling addFacesEvent() on the associated FacesContext.
-
- Decode any new state of the specified UIComponent from the request contained in the
- specified FacesContext, and store that state on the UIComponent. During decoding, events may be
- enqueued for later processing (by event listeners that have registered an interest), by calling
- queueEvent() on the associated UIComponent.
-
- Render the beginning specified UIComponent to the output stream or writer associated
- with the response we are creating. If the conversion attempted in a previous call to decode for this
- component failed, the state information saved during execution of decode() should be utilized to
- reproduce the incorrect input. If the conversion was successful, or if there was no previous call to
- decode(), the value to be displayed should be acquired by calling component.currentValue(), and
- rendering the value as appropriate.
-
- Render the beginning specified UIComponent to the output stream or writer associated
- with the response we are creating. If the conversion attempted in a previous call to
- getConvertedValue() for this component failed, the state information saved during execution of
- decode() should be used to reproduce the incorrect input.
-
- Return an Iterator of the renderer types of all Renderer instances registered with this
- RenderKit that support components of the specified component type. If no Renderers support this
- component type, an empty Iterator is returned.
-
- Return an Iterator over the renderer-type entries for the given component-family. If
- the specified componentFamily is not known to this RenderKit implementation, return an empty
- Iterator The default implementation of this method returns an empty Iterator
-
- Register a new RenderKit instance, associated with the specified renderKitId, to be
- supported by this RenderKitFactory. This method may be called at any time, and makes the
- corresponding RenderKit instance available throughout the remaining lifetime of this web
- application.
-
- Register the specified RenderKit instance, associated with the specified renderKitId,
- to be supported by this RenderKitFactory, replacing any previously registered RenderKit for this
- identifier.
-
- Return an Iterator over the set of render kit identifiers supported by this factory.
- This set must include the value specified by RenderKitFactory.DEFAULT_RENDER_KIT.
-
- Return an Iterator over the set of render kit identifiers registered with this factory.
- This set must include the value specified by RenderKitFactory.HTML_BASIC_RENDER_KIT.
-
- This method will store the argument factoryName/implName mapping in such a way that
- #getFactory will find this mapping when searching for a match. This method has no effect if
- getFactory() has already been called looking for a factory for this factoryName. This method can be
- used by implementations to store a factory mapping while parsing the Faces configuration file
-
- Set the Faces View Id pattern. The Faces View Id pattern can represent a single view,
- such as "/index.xhtml", or a pattern like "/foo/bar/*". Though the exact interpretation of the Faces
- View Id for a single view is ultimately defined by the annotated element, in general it should align
- with the return value from an action expression (see
- ActionSource2#setActionExpression(jakarta.el.MethodExpression)
-
- Set the Faces View Id pattern. The Faces View Id pattern can represent a single view,
- such as "/index.xhtml", or a pattern like "/foo/bar/*". Though the exact interpretation of the Faces
- View Id for a single view is ultimately defined by the annotated element, in general it should align
- with the return value from an action expression (see
- ActionSource2#setActionExpression(jakarta.el.MethodExpression)
-
- Register a new mapping of behavior id to the name of the corresponding Behavior class.
- This allows subsequent calls to createBehavior() to serve as a factory for Behavior instances.
-
-
- Register a new mapping of component type to the name of the corresponding UIComponent
- class. This allows subsequent calls to createComponent() to serve as a factory for UIComponent
- instances.
-
- Register a new mapping of converter id to the name of the corresponding Converter
- class. This allows subsequent calls to createConverter() to serve as a factory for Converter
- instances.
-
- Register a validator by its id that is applied to all UIInput components in a view. The
- validator to most often serve this role is the BeanValidator. The usage contract for this method
- assumes that the validator has been registered using the normal #8220;by-id #8221; registration
- mechanism. An implementation is provided that takes no action so that users that decorate the
- Application continue to work.
-
- Provide a way for Faces applications to register an ELContextListener that will be
- notified on creation of ELContext instances. This listener will be called once per request. An
- implementation is provided that throws UnsupportedOperationException so that users that decorate the
- Application continue to work.
-
- Cause an the argument resolver to be added to the resolver chain as specified in
- section 5.3.2 "ELResolver" of the Jakarta Faces Specification Document. It is not possible to remove
- an ELResolver registered with this method, once it has been registered. It is illegal to register an
- ELResolver after the application has received any requests from the client. If an attempt is made to
- register a listener after that time, an IllegalStateException must be thrown. This restriction is in
- place to allow the Jakarta Server Pages container to optimize for the common case where no
- additional ELResolvers are in the chain, aside from the standard ones. It is permissible to add
- ELResolvers before or after initialization to a CompositeELResolver that is already in the chain.
- The default implementation throws UnsupportedOperationException and is provided for the sole purpose
- of not breaking existing applications that extend Application.
-
- Cause the argument resolver to be added to the head of the resolver chain. It is not
- possible to remove a SearchKeywordResolver registered with this method, once it has been registered.
- The default implementation throws UnsupportedOperationException and is provided for the sole purpose
- of not breaking existing applications that extend Application.
-
- Register a new mapping of validator id to the name of the corresponding Validator
- class. This allows subsequent calls to createValidator() to serve as a factory for Validator
- instances.
-
- Instantiate and return a new UIComponent instance of the class specified by a previous
- call to addComponent() for the specified component type. Before the component instance is returned,
- it must be inspected for the presence of a jakarta.faces.event.ListenerFor (or
- jakarta.faces.event.ListenersFor) or ResourceDependency (or ResourceDependencies) annotation. If any
- of these annotations are present, the action listed in jakarta.faces.event.ListenerFor or
- ResourceDependency must be taken on the component, before it is returned from this method. This
- variant of createComponent must not inspect the jakarta.faces.render.Renderer for the component to
- be returned for any of the afore mentioned annotations. Such inspection is the province of
- #createComponent(ValueExpression, FacesContext, String, String) or #createComponent(FacesContext,
- String, String).
-
- Call the getValue() method on the specified ValueExpression. If it returns a
- UIComponent instance, return it as the value of this method. If it does not, instantiate a new
- UIComponent instance of the specified component type, pass the new component to the setValue()
- method of the specified ValueExpression, and return it. Before the component instance is returned,
- it must be inspected for the presence of a jakarta.faces.event.ListenerFor (or
- jakarta.faces.event.ListenersFor) or ResourceDependency (or ResourceDependencies) annotation. If any
- of these annotations are present, the action listed in jakarta.faces.event.ListenerFor or
- ResourceDependency must be taken on the component, before it is returned from this method. This
- variant of createComponent must not inspect the jakarta.faces.render.Renderer for the component to
- be returned for any of the afore mentioned annotations. Such inspection is the province of
- #createComponent(ValueExpression, FacesContext, String, String) or #createComponent(FacesContext,
- String, String). A default implementation is provided that throws UnsupportedOperationException so
- that users that decorate Application can continue to function.
-
- Like #createComponent(ValueExpression, FacesContext, String) except the Renderer for
- the component to be returned must be inspected for the annotations mentioned in
- #createComponent(ValueExpression, FacesContext, String) as specified in the documentation for that
- method. The Renderer instance to inspect must be obtained by calling FacesContext#getRenderKit and
- calling jakarta.faces.render.RenderKit#getRenderer on the result, passing the argument componentType
- as the first argument and the result of calling UIComponent#getFamily on the newly created component
- as the second argument. If no such Renderer can be found, a message must be logged with a helpful
- error message. Otherwise, UIComponent#setRendererType must be called on the newly created
- UIComponent instance, passing the argument rendererType as the argument. A default implementation is
- provided that throws UnsupportedOperationException so that users that decorate Application can
- continue to function.
-
- Like #createComponent(String) except the Renderer for the component to be returned must
- be inspected for the annotations mentioned in #createComponent(ValueExpression, FacesContext,
- String) as specified in the documentation for that method. The Renderer instance to inspect must be
- obtained by calling FacesContext#getRenderKit and calling jakarta.faces.render.RenderKit#getRenderer
- on the result, passing the argument componentType as the first argument and the result of calling
- UIComponent#getFamily on the newly created component as the second argument. If no such Renderer can
- be found, a message must be logged with a helpful error message. Otherwise,
- UIComponent#setRendererType must be called on the newly created UIComponent instance, passing the
- argument rendererType as the argument. A default implementation is provided that throws
- UnsupportedOperationException so that users that decorate Application can continue to function .
-
-
- Instantiate and return a new UIComponent instance from the argument Resource. An
- algorithm semantically equivalent to the following must be followed to instantiate the UIComponent
- to return. Obtain a reference to the ViewDeclarationLanguage for this Application instance by
- calling ViewHandler#getViewDeclarationLanguage, passing the viewId found by calling
- jakarta.faces.component.UIViewRoot#getViewId on the jakarta.faces.component.UIViewRoot in the
- argument FacesContext. Obtain a reference to the composite component metadata for this composite
- component by calling ViewDeclarationLanguage#getComponentMetadata, passing the facesContext and
- componentResource arguments to this method. This version of the Jakarta Faces Specification uses
- JavaBeans as the API to the component metadata. Determine if the component author declared a
- componentType for this component instance by obtaining the BeanDescriptor from the component
- metadata and calling its getValue() method, passing UIComponent#COMPOSITE_COMPONENT_TYPE_KEY as the
- argument. If non-null, the result must be a ValueExpression whose value is the component-type of the
- UIComponent to be created for this Resource component. Call through to
- #createComponent(java.lang.String) to create the component. Otherwise, determine if a script based
- component for this Resource can be found by calling
- ViewDeclarationLanguage#getScriptComponentResource. If the result is non-null, and is a script
- written in a language satisfying the content type text/javascript, create a UIComponent instance
- from the script resource. Otherwise, let library-name be the return from calling
- Resource#getLibraryName on the argument componentResource and resource-name be the return from
- calling Resource#getResourceName on the argument componentResource. Create a fully qualified Java
- class name by removing any file extension from resource-name and let fqcn be library-name + "." +
- resource-name. If a class with the name of fqcn cannot be found, take no action and continue to the
- next step. If any of InstantiationException, IllegalAccessException, or ClassCastException are
- thrown, wrap the exception in a FacesException and re-throw it. If any other exception is thrown,
- log the exception and continue to the next step. If none of the previous steps have yielded a
- UIComponent instance, call #createComponent(java.lang.String) passing
- "jakarta.faces.NamingContainer" as the argument. Call UIComponent#setRendererType on the UIComponent
- instance, passing "jakarta.faces.Composite" as the argument. Store the argument Resource in the
- attributes Map of the UIComponent under the key, Resource#COMPONENT_RESOURCE_KEY. Store composite
- component metadata in the attributes Map of the UIComponent under the key, UIComponent#BEANINFO_KEY.
- Before the component instance is returned, it must be inspected for the presence of a
- jakarta.faces.event.ListenerFor annotation. If this annotation is present, the action listed in
- jakarta.faces.event.ListenerFor must be taken on the component, before it is returned from this
- method. A default implementation is provided that throws UnsupportedOperationException so that users
- that decorate Application can continue to function.
-
- Instantiate and return a new Converter instance of the class specified by a previous
- call to addConverter() for the specified converter id. If the toLowerCase() of the String
- represenation of the value of the
- "jakarta.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE" application configuration
- parameter is "true" (without the quotes) and the Converter instance to be returned is an instance of
- jakarta.faces.convert.DateTimeConverter, jakarta.faces.convert.DateTimeConverter#setTimeZone must be
- called, passing the return from TimeZone.getDefault(). The argument converter must be inspected for
- the presence of the jakarta.faces.application.ResourceDependency annotation. If the
- ResourceDependency annotation is present, the action described in ResourceDependency must be taken.
- If the ResourceDependency annotation is not present, the argument converter must be inspected for
- the presence of the jakarta.faces.application.ResourceDependencies annotation. If the
- ResourceDependencies annotation is present, the action described in ResourceDependencies must be
- taken.
-
- Instantiate and return a new Converter instance of the class that has registered itself
- as capable of performing conversions for objects of the specified type. If no such Converter class
- can be identified, return null. To locate an appropriate Converter class, the following algorithm is
- performed, stopping as soon as an appropriate Converter class is found: Locate a Converter
- registered for the target class itself. Locate a Converter registered for interfaces that are
- implemented by the target class (directly or indirectly). Locate a Converter registered for the
- superclass (if any) of the target class, recursively working up the inheritance hierarchy. If the
- Converter has a single argument constructor that accepts a Class, instantiate the Converter using
- that constructor, passing the argument targetClass as the sole argument. Otherwise, simply use the
- zero-argument constructor. If the toLowerCase() of the String represenation of the value of the
- "jakarta.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE" application configuration
- parameter is "true" (without the quotes) and the Converter instance to be returned is an instance of
- jakarta.faces.convert.DateTimeConverter, jakarta.faces.convert.DateTimeConverter#setTimeZone must be
- called, passing the return from TimeZone.getDefault().
-
- Instantiate and return a new Validator instance of the class specified by a previous
- call to addValidator() for the specified validator id. The argument validator must be inspected for
- the presence of the jakarta.faces.application.ResourceDependency annotation. If the
- ResourceDependency annotation is present, the action described in ResourceDependency must be taken.
- If the ResourceDependency annotation is not present, the argument validator must be inspected for
- the presence of the jakarta.faces.application.ResourceDependencies annotation. If the
- ResourceDependencies annotation is present, the action described in ResourceDependencies must be
- taken.
-
- Get a value by evaluating an expression. Call #getExpressionFactory then call
- ExpressionFactory#createValueExpression passing the argument expression and expectedType. Call
- FacesContext#getELContext and pass it to ValueExpression#getValue, returning the result. An
- implementation is provided that throws UnsupportedOperationException so that users that decorate the
- Application continue to work.
-
- Return an immutable Map over the set of currently registered default validator IDs and
- their class name for this Application. An implementation is provided that returns
- Collections.emptyMap so that users that decorate the Application continue to work.
-
- If no calls have been made to #addELContextListener, this method must return an empty
- array. Otherwise, return an array representing the list of listeners added by calls to
- #addELContextListener. An implementation is provided that throws UnsupportedOperationException so
- that users that decorate the Application continue to work.
-
- Return the singleton ELResolver instance to be used for all Jakarta Expression Language
- resolution. This is actually an instance of jakarta.el.CompositeELResolver that must contain the
- following ELResolver instances in the following order: ELResolver instances declared using the
- element in the application configuration resources. An implementation that wraps the head of the
- legacy VariableResolver chain, as per section VariableResolver ChainWrapper in Chapter 5 in the spec
- document. An implementation that wraps the head of the legacy PropertyResolver chain, as per section
- PropertyResolver ChainWrapper in Chapter 5 in the spec document. Any ELResolver instances added by
- calls to #addELResolver. The default implementation throws UnsupportedOperationException and is
- provided for the sole purpose of not breaking existing applications that extend Application.
-
- Return the ExpressionFactory instance for this application. This instance is used by
- the convenience method #evaluateExpressionGet. The implementation must return the ExpressionFactory
- from the Expression Language container by calling jakarta.el.ELManager.getExpressionFactory(). An
- implementation is provided that throws UnsupportedOperationException so that users that decorate the
- Application continue to work.
-
- Return the thread-safe singleton FlowHandler for this application. For implementations
- declaring compliance with version 2.2 of the specification, this method must never return null, even
- if the application has no flows. This is necessary to enable dynamic flow creation during the
- application's lifetime. All implementations that declare compliance with version 2.2 of the
- specification must implement this method. For the purpose of backward compatibility with
- environments that extend Application but do not override this method, an implementation is provided
- that returns null. Due to the decoratable nature of Application, code calling this method should
- always check for a null return.
-
- Return the fully qualified class name of the ResourceBundle to be used for Jakarta
- Faces messages for this application. If not explicitly set, null is returned.
-
- Return the project stage for the currently running application instance. The default
- value is ProjectStage#Production The implementation of this method must perform the following
- algorithm or an equivalent with the same end result to determine the value to return. If the value
- has already been determined by a previous call to this method, simply return that value. Look for a
- JNDI environment entry under the key given by the value of ProjectStage#PROJECT_STAGE_JNDI_NAME
- (return type of java.lang.String). If found, continue with the algorithm below, otherwise, look for
- an entry in the initParamMap of the ExternalContext from the current FacesContext with the key given
- by the value of ProjectStage#PROJECT_STAGE_PARAM_NAME If a value is found, see if an enum constant
- can be obtained by calling ProjectStage.valueOf(), passing the value from the initParamMap. If this
- succeeds without exception, save the value and return it. If not found, or any of the previous
- attempts to discover the enum constant value have failed, log a descriptive error message, assign
- the value as ProjectStage.Production and return it. A default implementation is provided that throws
- UnsupportedOperationException so that users that decorate Application can continue to function .
-
-
- Find a ResourceBundle as defined in the application configuration resources under the
- specified name. If a ResourceBundle was defined for the name, return an instance that uses the
- locale of the current jakarta.faces.component.UIViewRoot. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Return the singleton, stateless, thread-safe ResourceHandler for this application. The
- Jakarta Faces implementation must support the following techniques for declaring an alternate
- implementation of ResourceHandler. The ResourceHandler implementation is declared in the application
- configuration resources by giving the fully qualified class name as the value of the element within
- the element. In all of the above cases, the runtime must employ the decorator pattern as for every
- other pluggable artifact in Jakarta Faces. A default implementation is provided that throws
- UnsupportedOperationException so that users that decorate Application can continue to function .
-
-
- Return the singleton SearchKeywordResolver instance to be used for all search keyword
- resolution. This is actually an instance of a composite SearchKeywordResolver that must contain the
- following SearchKeywordResolver instances in the following order: SearchKeywordResolver instances
- declared using the element in the application configuration resources. Any SearchKeywordResolver
- instances added by calls to #addSearchKeywordResolver. The SearchKeywordResolver implementations for
- @all, @child(n), @form, @id(...), @namingcontainer, @next, @none, @parent, @previous, @root and
- @this. The default implementation throws UnsupportedOperationException and is provided for the sole
- purpose of not breaking existing applications that extend Application.
-
- Return the StateManager instance that will be utilized during the Restore View and
- Render Response phases of the request processing lifecycle. If not explicitly set, a default
- implementation must be provided that performs the functions described in the StateManager
- description in the Jakarta Faces Specification.
-
- Return the ViewHandler instance that will be utilized during the Restore View and
- Render Response phases of the request processing lifecycle. If not explicitly set, a default
- implementation must be provided that performs the functions described in the ViewHandler description
- in the Jakarta Faces Specification.
-
- If jakarta.faces.context.FacesContext#isProcessingEvents() is true and there are one or
- more listeners for events of the type represented by systemEventClass, call those listeners, passing
- source as the source of the event. The implementation should be as fast as possible in determining
- whether or not a listener for the given systemEventClass and source has been installed, and should
- return immediately once such a determination has been made. The implementation of publishEvent must
- honor the requirements stated in #subscribeToEvent regarding the storage and retrieval of listener
- instances. Specifically, if #subscribeToEvent(Class,Class,SystemEventListener) was called, the
- sourceClass argument must match exactly the Class of the source argument in the call to
- publishEvent(). The implementation must not do any inheritance hierarachy inspection when looking
- for a match between the sourceClass passed to #subscribeToEvent(Class,Class,SystemEventListener) and
- the sourceClass passed to publishEvent() in order to find any listeners to which the event should be
- published. In the case where the Class of the source argument does not match the Class of the
- sourceClass used when the listener was subscribed using subscribeToEvent(),
- #publishEvent(FacesContext,Class,Class,Object) can be used to provide the Class used to perform the
- listener lookup and match. The default implementation must implement an algorithm semantically
- equivalent to the following to locate listener instances and to invoke them. If the source argument
- implements jakarta.faces.event.SystemEventListenerHolder, call
- jakarta.faces.event.SystemEventListenerHolder#getListenersForEventClass on it, passing the
- systemEventClass argument. If the list is not empty, perform algorithm traverseListenerList on the
- list. If any view level listeners have been installed by previous calls to #subscribeToEvent(Class,
- Class, jakarta.faces.event.SystemEventListener) on the jakarta.faces.component.UIViewRoot, perform
- algorithm traverseListenerList on the list of listeners for that event installed on the UIViewRoot.
- If any Application level listeners have been installed by previous calls to #subscribeToEvent(Class,
- Class, jakarta.faces.event.SystemEventListener), perform algorithm traverseListenerList on the list.
- If any Application level listeners have been installed by previous calls to #subscribeToEvent(Class,
- jakarta.faces.event.SystemEventListener), perform algorithm traverseListenerList on the list. If the
- act of invoking the processListener method causes an jakarta.faces.event.AbortProcessingException to
- be thrown, processing of the listeners must be aborted, no further processing of the listeners for
- this event must take place, and the exception must be logged with Level.SEVERE. Algorithm
- traverseListenerList: For each listener in the list, Call
- jakarta.faces.event.SystemEventListener#isListenerForSource, passing the source argument. If this
- returns false, take no action on the listener. Otherwise, if the event to be passed to the listener
- instances has not yet been constructed, construct the event, passing source as the argument to the
- one-argument constructor that takes an Object. This same event instance must be passed to all
- listener instances. Call jakarta.faces.event.SystemEvent#isAppropriateListener, passing the listener
- instance as the argument. If this returns false, take no action on the listener. Call
- jakarta.faces.event.SystemEvent#processListener, passing the listener instance. A default
- implementation is provided that throws UnsupportedOperationException so that users that decorate
- Application can continue to function .
-
- This method functions exactly like #publishEvent(FacesContext,Class,Object), except the
- run-time must use the argument sourceBaseType to find the matching listener instead of using the
- Class of the source argument. A default implementation is provided that throws
- UnsupportedOperationException so that users that decorate Application can continue to function .
-
-
- Remove the argument listener from the list of ELContextListeners. If listener is null,
- no exception is thrown and no action is performed. If listener is not in the list, no exception is
- thrown and no action is performed. An implementation is provided that throws
- UnsupportedOperationException so that users that decorate the Application continue to work.
-
- Set the renderKitId to be used to render this application. Unless the client has
- provided a custom ViewHandler that supports the use of multiple jakarta.faces.render.RenderKit
- instances in the same application, this method must only be called at application startup, before
- any Faces requests have been processed. This is a limitation of the current Specification, and may
- be lifted in a future release.
-
- Set the fully qualified class name of the ResourceBundle to be used for Jakarta Faces
- messages for this application. See the JavaDocs for the java.util.ResourceBundle class for more
- information about the syntax for resource bundle names.
-
- Set the ResourceHandler instance that will be utilized for rendering the markup for
- resources, and for satisfying client requests to serve up resources.
-
- Install the listener instance referenced by argument listener into the application as a
- listener for events of type systemEventClass that originate from objects of type sourceClass. If
- argument sourceClass is non-null, sourceClass and systemEventClass must be used to store the
- argument listener in the application in such a way that the listener can be quickly looked up by the
- implementation of #publishEvent given systemEventClass and an instance of the Class referenced by
- sourceClass. If argument sourceClass is null, the listener must be discoverable by the
- implementation of #publishEvent given only systemEventClass. It is valid to call this method during
- the processing of an event which was subscribed to by a previous call to this method.
-
- Install the listener instance referenced by argument listener into application as a
- listener for events of type systemEventClass. The default implementation simply calls through to
- #subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener) passing null as the
- sourceClass argument A default implementation is provided that throws UnsupportedOperationException
- so that users that decorate Application can continue to function .
-
- Remove the listener instance referenced by argument listener from the application as a
- listener for events of type systemEventClass that originate from objects of type sourceClass. See
- #subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener) for the specification of
- how the listener is stored, and therefore, how it must be removed. See
- #subscribeToEvent(java.lang.Class,java.lang.Class,jakarta.faces.event.SystemEventListener) for an
- additional requirement regarding when it is valid to call this method.
-
- Remove the listener instance referenced by argument listener from the application as a
- listener for events of type systemEventClass. The default implementation simply calls through to
- #unsubscribeFromEvent(Class, jakarta.faces.event.SystemEventListener) passing null as the
- sourceClass argument See
- #subscribeToEvent(java.lang.Class,java.lang.Class,jakarta.faces.event.SystemEventListener) for an
- additional requirement regarding when it is valid to call this method.
-
- Service providers that implement this service must be called by the Jakarta Faces
- runtime exactly once for each implementation, at startup, before any requests have been serviced.
- Before calling the #populateApplicationConfiguration method, the runtime must ensure that the
- Document argument is empty aside from being pre-configured to be in the proper namespace for an
- Application Configuration Resources file: https://jakarta.ee/xml/ns/jakartaee. Implementations of
- this service must ensure that any changes made to the argument Document conform to that schema as
- defined in the specification. The Jakarta Faces runtime is not required to validate the Document
- after control returns from the service implementation, though it may do so. Ordering of Artifacts If
- the document is made to contain an element, as specified in the section 11.3.8 "Ordering of
- Artifacts" in the Jakarta Faces Specification Document, the document will be prioritized
- accordingly. Otherwise, the runtime must place the document in the list of other Application
- Configuration Resources documents at the "lowest" priority, meaning any conflicts that may arise
- between the argument document and any other Application Configuration Resources are resolved in
- favor of the other document.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- The default behavior of this method is to call
- Application#addELContextListener(jakarta.el.ELContextListener) on the wrapped Application object.
-
-
- Cause the argument resolver to be added to the head of the resolver chain. It is not
- possible to remove a SearchKeywordResolver registered with this method, once it has been registered.
- The default implementation throws UnsupportedOperationException and is provided for the sole purpose
- of not breaking existing applications that extend Application.
-
- If this application has been decorated, the implementation doing the decorating should
- push the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- The default behavior of this method is to call
- Application#createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String)
- on the wrapped Application object.
-
- The default behavior of this method is to call
- Application#createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String,
- String) on the wrapped Application object.
-
- The default behavior of this method is to call
- Application#createComponent(jakarta.faces.context.FacesContext, String, String) on the wrapped
- Application object.
-
- The default behavior of this method is to call
- Application#createComponent(jakarta.faces.context.FacesContext, Resource) on the wrapped Application
- object.
-
- The default behavior of this method is to call
- Application#evaluateExpressionGet(jakarta.faces.context.FacesContext, String, Class) on the wrapped
- Application object.
-
- Return the thread-safe singleton FlowHandler for this application. For implementations
- declaring compliance with version 2.2 of the specification, this method must never return null, even
- if the application has no flows. This is necessary to enable dynamic flow creation during the
- application's lifetime. All implementations that declare compliance with version 2.2 of the
- specification must implement this method. For the purpose of backward compatibility with
- environments that extend Application but do not override this method, an implementation is provided
- that returns null. Due to the decoratable nature of Application, code calling this method should
- always check for a null return.
-
- The default behavior of this method is to call
- Application#getResourceBundle(jakarta.faces.context.FacesContext, String) on the wrapped Application
- object.
-
- Return the singleton SearchKeywordResolver instance to be used for all search keyword
- resolution. This is actually an instance of a composite SearchKeywordResolver that must contain the
- following SearchKeywordResolver instances in the following order: SearchKeywordResolver instances
- declared using the element in the application configuration resources. Any SearchKeywordResolver
- instances added by calls to #addSearchKeywordResolver. The SearchKeywordResolver implementations for
- @all, @child(n), @form, @id(...), @namingcontainer, @next, @none, @parent, @previous, @root and
- @this. The default implementation throws UnsupportedOperationException and is provided for the sole
- purpose of not breaking existing applications that extend Application.
-
- The default behavior of this method is to call
- Application#publishEvent(jakarta.faces.context.FacesContext, Class, Object) on the wrapped
- Application object.
-
- The default behavior of this method is to call
- Application#publishEvent(jakarta.faces.context.FacesContext, Class, Class, Object) on the wrapped
- Application object.
-
- The default behavior of this method is to call
- Application#removeELContextListener(jakarta.el.ELContextListener) on the wrapped Application object.
-
-
- The default behavior of this method is to call
- Application#setActionListener(jakarta.faces.event.ActionListener) on the wrapped Application object.
-
-
- The default behavior of this method is to call
- Application#setResourceHandler(ResourceHandler) on the wrapped Application object. This method can
- throw IllegalStateException and NullPointerException.
-
- The default behavior of this method is to call Application#subscribeToEvent(Class,
- Class, jakarta.faces.event.SystemEventListener) on the wrapped Application object.
-
- The default behavior of this method is to call Application#subscribeToEvent(Class,
- jakarta.faces.event.SystemEventListener) on the wrapped Application object.
-
- The default behavior of this method is to call Application#unsubscribeFromEvent(Class,
- Class, jakarta.faces.event.SystemEventListener) on the wrapped Application object.
-
- The default behavior of this method is to call Application#unsubscribeFromEvent(Class,
- jakarta.faces.event.SystemEventListener) on the wrapped Application object.
-
- Return the NavigationCase representing the navigation that would be taken had
- NavigationHandler#handleNavigation been called with the same arguments or null if there is no such
- case.
-
- Return the NavigationCase representing the navigation that would be taken had
- NavigationHandler#handleNavigation been called with the same arguments or null if there is no such
- case. Implementations that comply the version of the specification in which this method was
- introduced must override this method. For compatibility with decorated implementations that comply
- with an earlier version of the specification, an implementation is provided that simply calls
- through to #getNavigationCase(jakarta.faces.context.FacesContext, java.lang.String,
- java.lang.String), ignoring the toFlowDocumentId parameter.
-
- Return a Map where the keys are values and the values are Set where each element in the
- Set is a NavigationCase that applies to that . The implementation must support live modifications to
- this Map.
-
- Called by the flow system to cause the flow to be inspected for navigation rules. For
- backward compatibility with earlier implementations, an empty method is provided.
-
- A convenience method to signal the Jakarta Faces implementation to perform navigation
- with the provided outcome. When the NavigationHandler is invoked, the current viewId is treated as
- the "from viewId" and the "from action" is null.
-
- If this configurable navigation handler has been decorated, the implementation doing
- the decorating should push the implementation being wrapped to this constructor. The #getWrapped()
- will then return the implementation being wrapped.
-
- Return the NavigationCase representing the navigation that would be taken had
- NavigationHandler#handleNavigation been called with the same arguments or null if there is no such
- case.
-
- Return the NavigationCase representing the navigation that would be taken had
- NavigationHandler#handleNavigation been called with the same arguments or null if there is no such
- case. Implementations that comply the version of the specification in which this method was
- introduced must override this method. For compatibility with decorated implementations that comply
- with an earlier version of the specification, an implementation is provided that simply calls
- through to #getNavigationCase(jakarta.faces.context.FacesContext, java.lang.String,
- java.lang.String), ignoring the toFlowDocumentId parameter.
-
- Return a Map where the keys are values and the values are Set where each element in the
- Set is a NavigationCase that applies to that . The implementation must support live modifications to
- this Map.
-
- Perform navigation processing based on the state information in the specified
- FacesContext, plus the outcome string returned by an executed application action. If the
- implementation class also extends ConfigurableNavigationHandler, the implementation must guarantee
- that the logic used in a call to ConfigurableNavigationHandler#getNavigationCase is used in this
- method to determine the correct navigation. This method must set the render targets (used in partial
- rendering) to render all invoking jakarta.faces.context.PartialViewContext#setRenderAll) if the view
- identifier has changed as the result of an application action (to take into account Ajax requests).
-
-
- Called by the flow system to cause the flow to be inspected for navigation rules. For
- backward compatibility with earlier implementations, an empty method is provided.
-
- A convenience method to signal the Jakarta Faces implementation to perform navigation
- with the provided outcome. When the NavigationHandler is invoked, the current viewId is treated as
- the "from viewId" and the "from action" is null.
-
- Compare this jakarta.faces.application.FacesMessage.Severity instance to the specified
- one. Returns a negative integer, zero, or a positive integer if this object is less than, equal to,
- or greater than the specified object.
-
- Construct an absolute URL to this NavigationCase instance using
- jakarta.faces.application.ViewHandler#getActionURL on the path portion of the url.
-
- Construct an absolute URL suitable for a bookmarkable link to this NavigationCase
- instance using jakarta.faces.application.ViewHandler#getBookmarkableURL on the path portion of the
- url. This URL may include view parameters specified as metadata within the view.
-
- Evaluates the for this , if any. The expression to be evaluated is passed into the
- constructor as a string. When the expression is evaluated, its value must be coerced into a boolean
- per the normal Jakarta Expression Language coercion rules. Note throws any exceptions encountered
- during the process of evaluating the expression or obtaining its value.
-
- Return the parameters to be included for navigation cases requiring a redirect. If no
- parameters are defined, null will be returned. The keys in the Map are parameter names. For each
- key, the corresponding value is a List of unconverted values.
-
- Construct an absolute URL suitable for a "redirect" to this NavigationCase instance
- using jakarta.faces.application.ViewHandler#getRedirectURL on the path portion of the url.
-
- Construct an absolute URL to this NavigationCase instance using
- jakarta.faces.application.ViewHandler#getResourceURL on the path portion of the url.
-
- If this navigation case represents a flow invocation, this property is the documentId
- in which the flow whose id is given by the return from #getFromOutcome() is defined. Implementations
- must override this method to return the value defined in the corresponding application configuration
- resources element. The base implementation returns the empty string.
-
- Return the value for this . This will be true if the new view should be navigated to
- via a jakarta.faces.context.ExternalContext#redirect(String)
-
- Construct a new NavigationCase based on the provided arguments. See section 7.4.2
- "Default NavigationHandler Algorithm" of the Jakarta Faces Specification Document for how a
- NavigationCase is used by the standard ConfigurableNavigationHandler
-
- Construct a new NavigationCase based on the provided arguments. See section 7.4.2
- "Default NavigationHandler Algorithm" of the Jakarta Faces Specification Document for how a
- NavigationCase is used by the standard ConfigurableNavigationHandler
-
- Construct an absolute URL to this NavigationCase instance using
- jakarta.faces.application.ViewHandler#getActionURL on the path portion of the url.
-
- Construct an absolute URL suitable for a bookmarkable link to this NavigationCase
- instance using jakarta.faces.application.ViewHandler#getBookmarkableURL on the path portion of the
- url. This URL may include view parameters specified as metadata within the view.
-
- Evaluates the for this , if any. The expression to be evaluated is passed into the
- constructor as a string. When the expression is evaluated, its value must be coerced into a boolean
- per the normal Jakarta Expression Language coercion rules. Note throws any exceptions encountered
- during the process of evaluating the expression or obtaining its value.
-
- Return the parameters to be included for navigation cases requiring a redirect. If no
- parameters are defined, null will be returned. The keys in the Map are parameter names. For each
- key, the corresponding value is a List of unconverted values.
-
- Construct an absolute URL suitable for a "redirect" to this NavigationCase instance
- using jakarta.faces.application.ViewHandler#getRedirectURL on the path portion of the url.
-
- Construct an absolute URL to this NavigationCase instance using
- jakarta.faces.application.ViewHandler#getResourceURL on the path portion of the url.
-
- If this navigation case represents a flow invocation, this property is the documentId
- in which the flow whose id is given by the return from #getFromOutcome() is defined. Implementations
- must override this method to return the value defined in the corresponding application configuration
- resources element. The base implementation returns the empty string.
-
- Return the value for this . This will be true if the new view should be navigated to
- via a jakarta.faces.context.ExternalContext#redirect(String)
-
- If this navigation case has been decorated, the implementation doing the decorating
- should push the implementation being wrapped to this constructor. The #getWrapped() will then return
- the implementation being wrapped.
-
- Perform navigation processing based on the state information in the specified
- FacesContext, plus the outcome string returned by an executed application action. If the
- implementation class also extends ConfigurableNavigationHandler, the implementation must guarantee
- that the logic used in a call to ConfigurableNavigationHandler#getNavigationCase is used in this
- method to determine the correct navigation. This method must set the render targets (used in partial
- rendering) to render all invoking jakarta.faces.context.PartialViewContext#setRenderAll) if the view
- identifier has changed as the result of an application action (to take into account Ajax requests).
-
-
- Overloaded variant of #handleNavigation(jakarta.faces.context.FacesContext,
- java.lang.String, java.lang.String) that allows the caller to provide the defining document id for a
- flow to be entered by this navigation. For backward compatibility with decorated NavigationHandler
- implementations that conform to an earlier version of the specification, an implementation is
- provided that calls through to #handleNavigation(jakarta.faces.context.FacesContext,
- java.lang.String, java.lang.String), ignoring the toFlowDocumentId parameter.
-
- Perform navigation processing based on the state information in the specified
- FacesContext, plus the outcome string returned by an executed application action. If the
- implementation class also extends ConfigurableNavigationHandler, the implementation must guarantee
- that the logic used in a call to ConfigurableNavigationHandler#getNavigationCase is used in this
- method to determine the correct navigation. This method must set the render targets (used in partial
- rendering) to render all invoking jakarta.faces.context.PartialViewContext#setRenderAll) if the view
- identifier has changed as the result of an application action (to take into account Ajax requests).
-
-
- Overloaded variant of #handleNavigation(jakarta.faces.context.FacesContext,
- java.lang.String, java.lang.String) that allows the caller to provide the defining document id for a
- flow to be entered by this navigation. For backward compatibility with decorated NavigationHandler
- implementations that conform to an earlier version of the specification, an implementation is
- provided that calls through to #handleNavigation(jakarta.faces.context.FacesContext,
- java.lang.String, java.lang.String), ignoring the toFlowDocumentId parameter.
-
- If this navigation handler has been decorated, the implementation doing the decorating
- should push the implementation being wrapped to this constructor. The #getWrapped() will then return
- the implementation being wrapped.
-
- If the current request is a resource request, (that is,
- ResourceHandler#isResourceRequest returns true), return an InputStream containing the bytes of the
- resource. Otherwise, throw an IOException.
-
- Return the libraryName for this resource. May be null. The libraryName for a resource
- is an optional String that indicates membership in a "resource library". All resources with the same
- libraryName belong to the same "resource library". The "resource library" concept allows
- disambiguating resources that have the same resourceName. See ResourceHandler for more information.
-
-
- Return a path to this resource such that, when the browser resolves it against the base
- URI for the view that includes the resource, and issues a GET request to the resultant fully
- qualified URL, the bytes of the resource are returned in response. The default implementation must
- implement the following algorithm. For discussion, the return result from this method will be called
- result. Get the context-root for this web application, not ending in slash. For discussion this will
- be called contextRoot. Discover if the FacesServlet is prefix (path) mapped, extension mapped, or
- exact mapped (as defined by Servlet.12.2.) and the value of the mapping (including the leading '.'
- in the case of extension mapping). For discussion, this will be facesServletMapping. If exact
- mapped, result must be the following if and only if the FacesServlet is mapped to the exact URL
- pattern ResourceHandler#RESOURCE_IDENTIFIER + #getResourceName result = contextRoot +
- ResourceHandler#RESOURCE_IDENTIFIER + #getResourceName If exact mapped, and the FacesServlet is not
- mapped to the exact URL pattern ResourceHandler#RESOURCE_IDENTIFIER + #getResourceName do the
- following: Retrieve the existing mappings of the FacesServlet, e.g. using
- ServletRegistration#getMappings(), and from those pick any prefix mapping or extension mapping. If
- no such mapping is found, throw an IllegalStateException. If such mapping is found remove the *
- character from that mapping, take that as the new facesServletMapping and continue with evaluating
- this mapping as specified below for if prefix mapped and for if extension mapped If prefix mapped,
- result must be result = contextRoot + '/' + facesServletMapping +
- ResourceHandler#RESOURCE_IDENTIFIER + '/' + #getResourceName If extension mapped, result must be
- result = contextRoot + ResourceHandler#RESOURCE_IDENTIFIER + #getResourceName + facesServletMapping
- Build up a string, called resourceMetaData which is an amp; separated string of name=value pairs
- suitable for inclusion in a URL query string. If #getLibraryName returns non-null, resourceMetaData
- must include "ln=" + the return from #getLibraryName If there is a localePrefix for this
- application, as defined in ResourceHandler#LOCALE_PREFIX, resourceMetaData must include "loc=" + the
- localePrefix. If this resource is contained in a resource library contract, resourceMetaData must
- include "con=" + the name of the resource library contract. Append "?" + resourceMetaData to result.
- Make it portlet safe by passing the result through ViewHandler#getResourceURL.
-
- Returns a mutable Map whose entries will be sent as response headers during
- ResourceHandler#handleResourceRequest. The entries in this map must not persist beyond the scope of
- a single request. Any modifications made to the map after the resource has been served will be
- ignored by the run-time.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2473
-
-
- URL
-
-
- jakarta.faces.application.Resource.getURL
-
-
-
-
- Return an actual URL instance that refers to this resource instance.
-
- Return true if the user-agent requesting this resource needs an update. If the
- If-Modified-Since HTTP header is available for this request, its value must be consulted, as
- specified in Section 14.25 of IETF RFC 2616, to determine the result. Returns false if the
- user-agent does not need an update for this resource.
-
- The libraryName in which the resource pointed to by this ResourceDependency resides. If
- not specified, defaults to the empty string. It is valid to have Jakarta Expression Language
- Expressions in the value of this attribute, as long as the expression resolves to an instance of the
- expected type.
-
- The resourceName of the resource pointed to by this ResourceDependency. It is valid to
- have Jakarta Expression Language Expressions in the value of this attribute, as long as the
- expression resolves to an instance of the expected type.
-
- The value given for this attribute will be passed as the "target" argument to
- jakarta.faces.component.UIViewRoot#addComponentResource(jakarta.faces.context.FacesContext,
- jakarta.faces.component.UIComponent, java.lang.String). If this attribute is specified,
- jakarta.faces.component.UIViewRoot#addComponentResource(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent)
- must be called instead, as described above. It is valid to have Jakarta Expression Language
- Expressions in the value of this attribute, as long as the expression resolves to an instance of the
- expected type.
-
- Create an instance of ViewResource given the argument resourceName. The content-type of
- the resource is derived by passing the resourceName to
- jakarta.faces.context.ExternalContext#getMimeType The algorithm specified in section 2.6.1.4
- "Libraries of Localized and Versioned Resources" of the Jakarta Faces Specification Document must be
- executed to create the Resource. New requirements were introduced in version 2.2 of the
- specification. For historical reasons, this method operate correctly when the argument resourceName
- is of the form libraryName/resourceName, even when resourceName contains '/' characters.
-
- Create an instance of Resource with a resourceName given by the value of the argument
- resourceName that is a member of the library named by the argument libraryName. The content-type of
- the resource is derived by passing the resourceName to
- jakarta.faces.context.ExternalContext#getMimeType. The algorithm specified in section 2.6.1.4
- "Libraries of Localized and Versioned Resources" of the Jakarta Faces Specification Document must be
- executed to create the Resource. New requirements were introduced in version 2.2 of the
- specification.
-
- Create an instance of Resource with a resourceName given by the value of the argument
- resourceName that is a member of the library named by the argument libraryName that claims to have
- the content-type given by the argument content-type. The algorithm specified in section 2.6.1.4
- "Libraries of Localized and Versioned Resources" of the Jakarta Faces Specification Document must be
- executed to create the Resource. New requirements were introduced in version 2.2 of the
- specification.
-
- Create an instance of Resource given the argument resourceId. The content-type of the
- resource is derived by passing the resourceName to jakarta.faces.context.ExternalContext#getMimeType
- The resource must be identified according to the specification in section 2.6.1.3 "Resource
- Identifiers" of the Jakarta Faces Specification Document. New requirements were introduced in
- version 2.2 of the specification.
-
- Create an instance of Resource given the argument resourceName, which may contain "/"
- characters. The jakarta.faces.view.ViewDeclarationLanguage calls this method when it needs to load a
- view from a persistent store, such as a filesystem. This method is functionality equivalent to
- #createResource(java.lang.String), but all callsites that need to load VDL views must use this
- method so that classes that want to decorate the ResourceHandler in order to only affect the loading
- of views may do so without affecting the processing of other kinds of resources, such as scripts and
- stylesheets. A jakarta.faces.context.FacesContext must be present before calling this method. To
- preserve compatibility with prior revisions of the specification, a default implementation must be
- provided that calls #createResource(java.lang.String). The default implementation must look for the
- resource in the following places, in this order. Considering resource library contracts (at the
- locations specified in the Jakarta Faces Specification Document section 2.7 "Resource Library
- Contracts"). Considering the web app root. Considering faces flows (at the locations specified in
- the Jakarta Faces Specification Document section 11.3.3 "Faces Flows"). Call
- FacesContext#getResourceLibraryContracts. If the result is non-null and not empty, for each value in
- the list, treat the value as the name of a resource library contract. If the argument resoureName
- exists as a resource in the resource library contract, return it. Otherwise, return the resource
- (not in the resource library contract), if found. Otherwise, return null.
-
- Return the renderer-type for a jakarta.faces.render.Renderer that is capable of
- rendering this resource. The default implementation must return values according to the following
- table. If no renderer-type can be determined, null must be returned. resource name to renderer-type
- mapping example resource name renderer-type mycomponent.js jakarta.faces.resource.Script mystyle.css
- jakarta.faces.resource.Stylesheet
-
- Return a Stream possibly lazily populated by walking the resource tree rooted at a
- given initial path. The resource tree is traversed breadth-first, the elements in the stream are
- view resource names that would yield a ViewResource when passed into
- ResourceHandler#createViewResource as the resourceName parameter. The maxDepth parameter is the
- maximum depth of directory levels to visit beyond the initial path, which is always visited. The
- value is relative to the root (/), not to the given initial path. E.g. given maxDepth = 3 and
- initial path /foo/, visiting will proceed up to /foo/bar/, where / counts as depth 1, /foo/ as depth
- 2 and /foo/bar/ as depth 3. A value lower or equal to the depth of the initial path means that only
- the initial path is visited. A value of Integer#MAX_VALUE MAX_VALUE may be used to indicate that all
- levels should be visited.
-
- Return a Stream possibly lazily populated by walking the resource tree rooted at a
- given initial path. The resource tree is traversed breadth-first, the elements in the stream are
- view resource names that would yield a ViewResource when passed into
- ResourceHandler#createViewResource as the resourceName parameter. This method works as if invoking
- it were equivalent to evaluating the expression: getViewResources(facesContext, start,
- Integer.MAX_VALUE, options) Put differently, it visits all levels of the resource tree.
-
- This method specifies the contract for satisfying resource requests. This method is
- called from jakarta.faces.webapp.FacesServlet#service after that method determines the current
- request is a resource request by calling #isResourceRequest. Thus, handleResourceRequest may assume
- that the current request is a resource request. The default implementation must implement an
- algorithm semantically identical to the following algorithm. For discussion, in all cases when a
- status code is to be set, this spec talks only using the Jakarta Servlet API, but it is understood
- that in a portlet environment the appropriate equivalent API must be used. If the resourceIdentifier
- ends with any of the extensions listed in the value of the #RESOURCE_EXCLUDES_PARAM_NAME init
- parameter, HttpServletRequest.SC_NOT_FOUND must be passed to HttpServletResponse.setStatus(), then
- handleResourceRequest must immediately return. Extract the resourceName from the resourceIdentifier
- by taking the substring of resourceIdentifier that starts at #RESOURCE_IDENTIFIER.length() + 1 and
- goes to the end of resourceIdentifier. If no resourceName can be extracted,
- HttpServletRequest.SC_NOT_FOUND must be passed to HttpServletResponse.setStatus(), then
- handleResourceRequest must immediately return. Extract the libraryName from the request by looking
- in the request parameter map for an entry under the key "ln", without the quotes. If found, use its
- value as the libraryName. If resourceName and libraryName are present, call #createResource(String,
- String) to create the Resource. If only resourceName is present, call #createResource(String) to
- create the Resource. If the Resource cannot be successfully created, HttpServletRequest.SC_NOT_FOUND
- must be passed to HttpServletResponse.setStatus(), then handleResourceRequest must immediately
- return. Call Resource#userAgentNeedsUpdate. If this method returns false,
- HttpServletRequest.SC_NOT_MODIFIED must be passed to HttpServletResponse.setStatus(), then
- handleResourceRequest must immediately return. Pass the result of Resource#getContentType to
- HttpServletResponse.setContentType. Call Resource#getResponseHeaders. For each entry in this Map,
- call HttpServletResponse.setHeader(), passing the key as the first argument and the value as the
- second argument. Call Resource#getInputStream and serve up the bytes of the resource to the
- response. Call HttpServletResponse.setContentLength() passing the byte count of the resource. If an
- IOException is thrown during any of the previous steps, log a descriptive, localized message,
- including the resourceName and libraryName (if present). Then, HttpServletRequest.SC_NOT_FOUND must
- be passed to HttpServletResponse.setStatus(), then handleResourceRequest must immediately return. In
- all cases in this method, any streams, channels, sockets, or any other IO resources must be closed
- before this method returns.
-
- Returns whether the resource as identified by given resource and library name has been
- rendered. The default implementation must during the render response phase of the current view
- return true when the resource has been marked as rendered via #markResourceRendered(FacesContext,
- String, String).
-
- Return true if the current request is a resource request. This method is called by
- jakarta.faces.webapp.FacesServlet#service to determine if this request is a view request or a
- resource request.
-
- Return true if the resource library named by the argument libraryName can be found. If
- there is a localePrefix for this application, as defined in #LOCALE_PREFIX, first look for the
- library with the prefix. If no such library is found, look for the library without the prefix. This
- allows developers to avoid duplication of files. For example, consider the case where the developer
- wants to have a resource library containing a localized image resource and a non-localized script
- resource. By checking both locations for the existence of the library, along with other spec changes
- in section 2.6.1.4 "Libraries of Localized and Versioned Resources" of the Jakarta Faces
- Specification Document, this scenario is enabled.
-
- Mark the resource as identified by given resource and library name as rendered. The
- default implementation must ensure that #isResourceRendered(FacesContext, String, String) will
- return true when the resource has already been rendered during the render response phase of the
- current view.
-
- The default behavior of this method is to call
- ResourceHandler#getViewResources(FacesContext, String, int, ResourceVisitOption...) on the wrapped
- ResourceHandler object.
-
- The default behavior of this method is to call
- ResourceHandler#getViewResources(FacesContext, String, ResourceVisitOption...) on the wrapped
- ResourceHandler object.
-
- The default behavior of this method is to call
- ResourceHandler#handleResourceRequest(jakarta.faces.context.FacesContext) on the wrapped
- ResourceHandler object.
-
- The default behavior of this method is to call
- ResourceHandler#isResourceRendered(FacesContext, String, String) on the wrapped ResourceHandler
- object.
-
- The default behavior of this method is to call
- ResourceHandler#isResourceRequest(jakarta.faces.context.FacesContext) on the wrapped ResourceHandler
- object.
-
- The default behavior of this method is to call
- ResourceHandler#markResourceRendered(FacesContext, String, String) on the wrapped ResourceHandler
- object.
-
- If this resource handler has been decorated, the implementation doing the decorating
- should push the implementation being wrapped to this constructor. The #getWrapped() will then return
- the implementation being wrapped.
-
- If this resource has been decorated, the implementation doing the decorating should
- push the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Convenience method to return the view state as a String with no RenderKit specific
- markup. This default implementation of this method will call
- StateManagementStrategy#saveView(FacesContext) and passing the result to and returning the resulting
- value from ResponseStateManager#getViewState(jakarta.faces.context.FacesContext, Object).
-
- Save the state represented in the specified state Object instance, in an implementation
- dependent manner. This method will typically simply delegate the actual writing to the writeState()
- method of the ResponseStateManager instance provided by the RenderKit being used to render this
- view. This method assumes that the caller has positioned the ResponseWriter at the correct position
- for the saved state to be written.
-
- The default behavior of this method is to call
- StateManager#getViewState(jakarta.faces.context.FacesContext) on the wrapped StateManager object.
-
-
- The default behavior of this method is to call
- StateManager#isSavingStateInClient(jakarta.faces.context.FacesContext) on the wrapped StateManager
- object.
-
- If this state manager has been decorated, the implementation doing the decorating
- should push the implementation being wrapped to this constructor. The #getWrapped() will then return
- the implementation being wrapped.
-
- The default behavior of this method is to call
- StateManager#writeState(jakarta.faces.context.FacesContext, java.lang.Object) on the wrapped
- StateManager object.
-
- Add the argument urlPattern to the thread safe Set of protected views for this
- application. Compliant implementations make it so a subsequent call to
- #getProtectedViewsUnmodifiable contains the argument. The runtime must support calling this method
- at any time after application startup. The default implementation takes no action.
-
- Returns the correct character encoding to be used for this request. The following
- algorithm is employed. Examine the Content-Type request header. If it has a charset parameter,
- extract it and return that as the encoding. If no charset parameter was found, check for the
- existence of a session by calling ExternalContext#getSession(boolean) passing false as the argument.
- If that method returns true, get the session Map by calling ExternalContext#getSessionMap and look
- for a value under the key given by the value of the symbolic constant
- ViewHandler#CHARACTER_ENCODING_KEY. If present, return the value, converted to String. Otherwise,
- return null
-
- Return an appropriate renderKitId for this and subsequent requests from the current
- client. It is an error for this method to return null. The default return value is
- jakarta.faces.render.RenderKitFactory#HTML_BASIC_RENDER_KIT.
-
- Create and return a new UIViewRoot instance initialized with information from the
- argument FacesContext and viewId. Locate the ViewDeclarationLanguage implementation for the VDL used
- in the view. The argument viewId must be converted to a physical viewId that can refer to an actual
- resource suitable for use by the ViewDeclarationLanguage ViewDeclarationLanguage#createView, which
- must be called by this method.
-
- Derive and return the viewId from the current request, or the argument input by
- following the algorithm defined in section 7.6.2 "Default ViewHandler Implementation" of the Jakarta
- Faces Specification Document. Note that unlike deriveViewId(), this method does not require that a
- physical view be present. This method should work correctly when the FacesServlet is invoked via
- either a path mapping, extension mapping or an exact match (mapping) as defined by Servlet.12.2.
- Note that path mapping is also commonly known as prefix mapping (e.g. "/faces/*") and extension
- mapping as suffix mapping (e.g. "*.xhtml"). An exact match is possible where there's a servlet
- mapping with an exact URL pattern such as "/foo". The default implementation of this method simply
- returns requestViewId unchanged.
-
- Derive and return the viewId from the current request, or the argument input by
- following the algorithm defined in section 7.6.2 "Default ViewHandler Implementation" of the Jakarta
- Faces Specification Document. This method should work correctly when the FacesServlet is invoked via
- either a path mapping, extension mapping or an exact match (mapping) as defined by Servlet.12.2.
- Note that path mapping is also commonly known as prefix mapping (e.g. "/faces/*") and extension
- mapping as suffix mapping (e.g. "*.xhtml"). An exact match is possible where there's a servlet
- mapping with an exact URL pattern such as "/foo". The default implementation of this method simply
- returns requestViewId unchanged.
-
- If the value returned from this method is used as the file argument to the
- four-argument constructor for java.net.URL (assuming appropriate values are used for the first three
- arguments), then a client making a request to the toExternalForm() of that URL will select the
- argument viewId for traversing the Jakarta Faces lifecycle. Please see section 7.6.2 "Default
- ViewHandler Implementation" of the Jakarta Faces Specification Document for the complete
- specification, especially for details related to view protection using the
- jakarta.faces.render.ResponseStateManager#NON_POSTBACK_VIEW_TOKEN_PARAM and the behavior when the
- current request is to a URL for which the FacesServlet has an exact mapping as defined by
- Servlet.12.2.
-
- Return a Jakarta Faces action URL derived from the viewId argument that is suitable to
- be used as the target of a link in a Jakarta Faces response. Compliant implementations must
- implement this method as specified in section 7.6.2 "Default ViewHandler Implementation" of the
- Jakarta Faces Specification Document. The default implementation simply calls through to
- #getActionURL, passing the arguments context and viewId.
-
- Return an unmodifiable Set of the protected views currently known to this ViewHandler
- instance. Compliant implementations must return a Set that is the concatenation of the contents of
- all the elements within all the in all of the application configuration resources in the current
- application. The runtime must support calling this method at any time after application startup. The
- default implementation returns an unmodifiable empty Set.
-
- Return a Jakarta Faces action URL derived from the viewId argument that is suitable to
- be used by the NavigationHandler to issue a redirect request to the URL using a NonFaces request.
- Compliant implementations must implement this method as specified in section 7.6.2 "Default
- ViewHandler Implementation" of the Jakarta Faces Specification Document. The default implementation
- simply calls through to #getActionURL, passing the arguments context and viewId.
-
- If the value returned from this method is used as the file argument to the
- four-argument constructor for java.net.URL (assuming appropriate values are used for the first three
- arguments), then a client making a request to the toExternalForm() of that URL will select the
- argument path for direct rendering. If the specified path starts with a slash, it must be treated as
- context relative; otherwise, it must be treated as relative to the action URL of the current view.
-
-
- Return the ViewDeclarationLanguage instance used for this ViewHandler instance. The
- default implementation must use
- jakarta.faces.view.ViewDeclarationLanguageFactory#getViewDeclarationLanguage to obtain the
- appropriate ViewDeclarationLanguage implementation for the argument viewId. Any exceptions thrown as
- a result of invoking that method must not be swallowed. The default implementation of this method
- returns null.
-
- Return a Stream possibly lazily populated by walking the view trees of every active
- ViewDeclarationLanguage rooted at a given initial path. The view tree of every
- ViewDeclarationLanguage is individually traversed breadth-first as per the contract of
- ViewDeclarationLanguage#getViews(FacesContext, String, int, ViewVisitOption...). The elements in the
- stream are logical view ids. The maxDepth parameter is the maximum depth of directory levels to
- visit for each ViewDeclarationLanguage beyond the initial path, which is always visited. The value
- is relative to the root (/), not to the given initial path. E.g. given maxDepth = 3 and initial path
- /foo/, visiting will proceed up to /foo/bar/, where / counts as depth 1, /foo/ as depth 2 and
- /foo/bar/ as depth 3. A value lower or equal to the depth of the initial path means that only the
- initial path is visited. A value of Integer#MAX_VALUE MAX_VALUE may be used to indicate that all
- levels should be visited. In case more than one active ViewDeclarationLanguage is present, the order
- in which view ids from each ViewDeclarationLanguage appear in the stream is undetermined, except for
- the guarantee that every individual ViewDeclarationLanguage is traversed breadth-first.
-
- Return a Stream possibly lazily populated by walking the view trees of every active
- ViewDeclarationLanguage rooted at a given initial path. The view tree of every
- ViewDeclarationLanguage is individually traversed breadth-first as per the contract of
- ViewDeclarationLanguage#getViews(FacesContext, String, int, ViewVisitOption...). The elements in the
- stream are logical view ids. This method works as if invoking it were equivalent to evaluating the
- expression: getViews(facesContext, start, Integer.MAX_VALUE, options) Put differently, it visits all
- levels of the view tree. In case more than one active ViewDeclarationLanguage is present, the order
- in which view ids from each ViewDeclarationLanguage appear in the stream is undetermined, except for
- the guarantee that every individual ViewDeclarationLanguage is traversed breadth-first.
-
- If the value returned from this method is used as the file argument to the
- four-argument constructor for java.net.URL (assuming appropriate values are used for the first three
- arguments), then a client making a push handshake request to the toExternalForm() of that URL will
- select the argument channel for connecting the websocket push channel in the current view. It must
- match the PushContext#URI_PREFIX of the endpoint.
-
- Initialize the view for the request processing lifecycle. This method must be called at
- the beginning of the Restore View Phase of the Request Processing Lifecycle. It is responsible for
- performing any per-request initialization necessary to the operation of the lifycecle. The default
- implementation must perform the following actions. If ExternalContext#getRequestCharacterEncoding
- returns null, call #calculateCharacterEncoding and pass the result, if non-null, into the
- ExternalContext#setRequestCharacterEncoding method. If ExternalContext#getRequestCharacterEncoding
- returns non-null take no action.
-
- if a problem occurs setting the encoding, such as the UnsupportedEncodingException
- thrown by the underlying Jakarta Servlet or Portlet technology when the encoding is not supported.
-
-
- Remove the argument urlPattern from the thread safe Set of protected views for this
- application, if present in the Set. If the argument urlPattern is not present in the Set, this
- method has no effect. Compliant implementations must make it so a subsequent call to
- #getProtectedViewsUnmodifiable does not contain the argument. The runtime must support calling this
- method at any time after application startup. Returns true if this Set contained the argument. The
- default implementation takes no action and returns false.
-
- Perform whatever actions are required to render the response view to the response
- object associated with the current FacesContext. Otherwise, the default implementation must obtain a
- reference to the ViewDeclarationLanguage for the viewId of the argument viewToRender and call its
- ViewDeclarationLanguage#renderView method, returning the result and not swallowing any exceptions
- thrown by that method.
-
- Perform whatever actions are required to restore the view associated with the specified
- FacesContext and viewId. It may delegate to the restoreView of the associated StateManager to do the
- actual work of restoring the view. If there is no available state for the specified viewId, return
- null. Otherwise, the default implementation must obtain a reference to the ViewDeclarationLanguage
- for this viewId and call its ViewDeclarationLanguage#restoreView method, returning the result and
- not swallowing any exceptions thrown by that method.
-
- Take any appropriate action to either immediately write out the current state
- information (by calling StateManager#writeState, or noting where state information should later be
- written. This method must do nothing if the current request is an Ajax request. When responding to
- Ajax requests, the state is obtained by calling StateManager#getViewState and then written into the
- Ajax response during final encoding
- (jakarta.faces.context.PartialViewContext#processPartial(jakarta.faces.event.PhaseId)) .
-
- The default behavior of this method is to call
- ViewHandler#calculateCharacterEncoding(jakarta.faces.context.FacesContext) on the wrapped
- ViewHandler object.
-
- The default behavior of this method is to call
- ViewHandler#calculateLocale(jakarta.faces.context.FacesContext) on the wrapped ViewHandler object.
-
-
- The default behavior of this method is to call
- ViewHandler#calculateRenderKitId(jakarta.faces.context.FacesContext) on the wrapped ViewHandler
- object.
-
- The default behavior of this method is to call
- ViewHandler#createView(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler
- object.
-
- The default behavior of this method is to call
- ViewHandler#deriveLogicalViewId(jakarta.faces.context.FacesContext, String) on the wrapped
- ViewHandler object.
-
- The default behavior of this method is to call
- ViewHandler#deriveViewId(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler
- object.
-
- The default behavior of this method is to call
- ViewHandler#getActionURL(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler
- object.
-
- The default behavior of this method is to call
- ViewHandler#getBookmarkableURL(jakarta.faces.context.FacesContext, String, java.util.Map, boolean)
- on the wrapped ViewHandler object.
-
- The default behavior of this method is to call
- ViewHandler#getRedirectURL(jakarta.faces.context.FacesContext, String, java.util.Map, boolean) on
- the wrapped ViewHandler object.
-
- The default behavior of this method is to call
- ViewHandler#getResourceURL(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler
- object.
-
- The default behavior of this method is to call ViewHandler#getViews(FacesContext,
- String, int, ViewVisitOption...) on the wrapped ViewHandler object.
-
- The default behavior of this method is to call
- ViewHandler#renderView(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot) on
- the wrapped ViewHandler object.
-
- The default behavior of this method is to call
- ViewHandler#restoreView(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler
- object.
-
- If this view handler has been decorated, the implementation doing the decorating should
- push the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Return the set of registered ActionListeners for this ActionSource instance. If there
- are no registered listeners, a zero-length array is returned.
-
- Return a flag indicating that the default ActionListener provided by the Jakarta Faces
- implementation should be executed immediately (that is, during Apply Request Values phase of the
- request processing lifecycle), rather than waiting until the Invoke Application phase. The default
- value for this property must be false.
-
- Return the MethodExpression 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.
-
- Set the MethodExpression pointing at the appication 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. Any method
- referenced by such an expression must be public, with a return type of String, and accept no
- parameters.
-
- This method will be called by an implementation of UIComponent#invokeOnComponent and
- must be passed the component with the clientId given as an argument to invokeOnComponent. At the
- point in time when this method is called, the argument target is guaranteed to be in the proper
- state with respect to its ancestors in the View.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2619
-
-
- String
-
-
- jakarta.faces.component.Doctype.getPublic
-
-
-
-
- Returns the public identifier of the document, or null if there is none. For example,
- "-//W3C//DTD XHTML 1.1//EN".
-
- Return the submittedValue value of this component. This method should only be used by
- the encodeBegin() and/or encodeEnd() methods of this component, or its corresponding Renderer. The
- action taken based on whether the value is null, empty, or non-null is determined based on the value
- of the jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULLcontext-param.
-
- Return the set of registered ValueChangeListeners for this component instance. If there
- are no registered listeners, a zero-length array is returned.
-
- Set the "immediate" state for this component. When set to true, the component's value
- will be converted and validated immediately in the Apply Request Values phase, and ValueChangeEvents
- will be delivered in that phase as well. The default value for this property must be false.
-
- Set the submittedValue value of this component. This method should only be used by the
- decode() and validate() method of this component, or its corresponding Renderer. The action taken
- based on whether the value is null, empty, or non-null is determined based on the value of the
- jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULLcontext-param.
-
- If the value of this attribute is true, the runtime must create a Facelet tag handler,
- that extends from jakarta.faces.view.facelets.ComponentHandler, suitable for use in pages under the
- tag library with namespace given by the value of the #namespace attribute.
-
- If the value of the #createTag attribute is true, the value of this attribute is taken
- to be the tag library namespace into which this component is placed.
-
- If the value of the #createTag attribute is true, the runtime must use this value as
- the tag name for including an instance of the component annotated with this annotation in a view. If
- this attribute is not specified on a usage of this annotation, the simple name of the class on which
- this annotation is declared, with the first character lowercased, is taken to be the value.
-
- The value of this annotation attribute is taken to be the component-type with which
- instances of this class of component can be instantiated by calling
- jakarta.faces.application.Application#createComponent(java.lang.String). If no value is specified,
- or the value is null, the value is taken to be the return of calling getSimpleName on the class to
- which this annotation is attached and lowercasing the first character. If more than one component
- with this derived name is found, the results are undefined.
-
- The runtime must ensure that the #markInitialState method is called on each instance of
- this interface in the view at the appropriate time to indicate the component is in its initial
- state. The implementor of the interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called, after which time
- initialStateMarked() must return false. Also, during the time that the instance returns true from
- initialStateMarked(), the implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
-
- Store the specified value in a List that is internal to the StateHelper. It's important
- to note for delta tracking that any modifications to the internal List be made through this method
- or StateHelper#remove(java.io.Serializable, Object).
-
- Return the previously stored value and store the specified key/value pair. This is
- intended to store data that would otherwise reside in an instance variable on the component.
-
- Store the specified mapKey/value in a Map that is internal to the helper, and return
- the previously stored value. The Map will then be associated with key. It's important to note for
- delta tracking that any modifications to the internal Map be made through this method or
- StateHelper#remove(java.io.Serializable, Object).
-
- Remove a value from the inner data structure. Look in the inner data structure for the
- value at the given key. If the value is a Map, remove and return the value under the key given by
- the valueOrKey argument. If the value is a Collection, simply remove the value given by the argument
- valueOrKey and return null.
-
- Perform any processing required to restore the state from the entries in the state
- Object. If the class that implements this interface has references to instances that also implement
- StateHolder (such as a UIComponent with event handlers, validators, etc.) this method must call the
- #restoreState method on all those instances as well. If the state argument is null, take no action
- and return.
-
- Gets the state of the instance as a Serializable Object. If the class that implements
- this interface has references to instances that implement StateHolder (such as a UIComponent with
- event handlers, validators, etc.) this method must call the #saveState method on all those instances
- as well. This method must not save the state of children and facets. That is done via the
- jakarta.faces.application.StateManager This method must not alter the state of the implementing
- object. In other words, after executing this code: Object state = component.saveState(facesContext);
- component should be the same as before executing it. The return from this method must be
- Serializable
-
- Return the previously stored value and store the specified key/value pair. This is
- intended to store data that would otherwise reside in an instance variable on the component.
-
- Restore the "transient state" using the object passed as state. If the state argument
- is null clear any previous transient state if any and return.
-
- In addition to to the default UIComponent#broadcast processing, pass the ActionEvent
- being broadcast to the method referenced by actionListener (if any), and to the default
- ActionListener registered on the jakarta.faces.application.Application.
-
- Return the MethodExpression 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.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Intercept queueEvent and take the following action. If the event is an ActionEvent,
- obtain the UIComponent instance from the event. If the component is an ActionSource obtain the value
- of its "immediate" property. If it is true, mark the phaseId for the event to be
- PhaseId.APPLY_REQUEST_VALUES otherwise, mark the phaseId to be PhaseId.INVOKE_APPLICATION. The event
- must be passed on to super.queueEvent() before returning from this method.
-
- Set the MethodExpression pointing at the appication 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. Any method
- referenced by such an expression must be public, with a return type of String, and accept no
- parameters.
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed
- an interest in events of this type. Listeners are called in the order in which they were added. If
- the event is an instance of jakarta.faces.event.BehaviorEvent and the current component is the
- source of the event call jakarta.faces.event.BehaviorEvent#getBehavior to get the
- jakarta.faces.component.behavior.Behavior for the event. Call
- jakarta.faces.component.behavior.Behavior#broadcast(jakarta.faces.event.BehaviorEvent) on the
- Behavior instance.
-
- An implementation of PartialStateHolder#clearInitialState, this method is called by the
- runtime to tell the instance to stop tracking state changes.
-
- If this component returns true from #isRendered, take the following action. Render this
- component and all its children that return true from isRendered(), regardless of the value of the
- #getRendersChildren flag.
-
- Return a mutable Map representing the attributes (and properties, see below) associated
- wth this UIComponent, keyed by attribute name (which must be a String). The returned implementation
- must support all of the standard and optional Map methods, plus support the following additional
- requirements: The Map implementation must implement the java.io.Serializable interface. Any attempt
- to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a
- String must throw a ClassCastException. If the attribute name specified as a key matches a property
- of this UIComponent's implementation class, the following methods will have special behavior:
- containsKey - Return false. get() - If the property is readable, call the getter method and return
- the returned value (wrapping primitive values in their corresponding wrapper classes); otherwise
- throw IllegalArgumentException. put() - If the property is writeable, call the setter method to set
- the corresponding value (unwrapping primitive values in their corresponding wrapper classes). If the
- property is not writeable, or an attempt is made to set a property of primitive type to null, throw
- IllegalArgumentException. remove - Throw IllegalArgumentException.
-
- Return a mutable List representing the child UIComponents associated with this
- component. The returned implementation must support all of the standard and optional List methods,
- plus support the following additional requirements: The List implementation must implement the
- java.io.Serializable interface. Any attempt to add a null must throw a NullPointerException Any
- attempt to add an object that does not implement UIComponent must throw a ClassCastException.
- Whenever a new child component is added, the parent property of the child must be set to this
- component instance. If the parent property of the child was already non-null, the child must first
- be removed from its previous parent (where it may have been either a child or a facet). Whenever an
- existing child component is removed, the parent property of the child must be set to null. After the
- child component has been added to the view, jakarta.faces.application.Application#publishEvent must
- be called, passing jakarta.faces.event.PostAddToViewEvent.class as the first argument and the newly
- added component as the second argument if any the following cases are true.
- jakarta.faces.context.FacesContext#getCurrentPhaseId returns
- jakarta.faces.event.PhaseId#RESTORE_VIEW and partial state saving is enabled.
- jakarta.faces.context.FacesContext#isPostback returns false and
- jakarta.faces.context.FacesContext#getCurrentPhaseId returns something other than
- jakarta.faces.event.PhaseId#RESTORE_VIEW
-
- Enable Jakarta Expression Language to access the clientId of a component. This is
- particularly useful in combination with the component and cc implicit objects. A default
- implementation is provided that simply calls FacesContext#getCurrentInstance and then calls through
- to #getClientId(FacesContext).
-
- Allow components that implement NamingContainer to selectively disable prepending their
- clientId to their descendent's clientIds by breaking the prepending logic into a separately callable
- method. See #getClientId for usage. By default, this method will call through to #getClientId and
- return the result.
-
- Return the UIComponent instance that is currently processing. This is equivalent to
- evaluating the Jakarta Expression Language expression "#{component}" and doing a getValue operation
- on the resultant ValueExpression. This method must return null if there is no currently processing
- UIComponent
-
- Return the closest ancestor component, relative to the component returned from
- #getCurrentComponent, that is a composite component, or null if no such component exists.
-
- Return the number of facet UIComponents that are associated with this UIComponent. If
- there are no facets, this method must return 0. The method must not cause the creation of a facet
- component map. For backwards compatability with classes that extend UIComponent directly, a default
- implementation is provided that simply calls #getFacets and then calls the size() method on the
- returned Map. A more optimized version of this method is provided in UIComponentBase#getFacetCount.
-
-
- Return a mutable Map representing the facet UIComponents associated with this
- UIComponent, keyed by facet name (which must be a String). The returned implementation must support
- all of the standard and optional Map methods, plus support the following additional requirements:
- The Map implementation must implement the java.io.Serializable interface. Any attempt to add a null
- key or value must throw a NullPointerException. Any attempt to add a key that is not a String must
- throw a ClassCastException. Any attempt to add a value that is not a UIComponent must throw a
- ClassCastException. Whenever a new facet UIComponent is added: The parent property of the component
- must be set to this component instance. If the parent property of the component was already
- non-null, the component must first be removed from its previous parent (where it may have been
- either a child or a facet). Whenever an existing facet UIComponent is removed: The parent property
- of the facet must be set to null.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2696
-
-
- String
-
-
- jakarta.faces.component.UIComponent.getId
-
-
-
-
- Return the component identifier of this UIComponent.
-
- This implementation throws UnsupportedOperationException and is provided for the sole
- purpose of not breaking existing applications that extend this class. UIComponentBase provides the
- implementation of this method.
-
- This is a convenience method that simply calls #getPassThroughAttributes(boolean),
- passing true as the argument. This method must never return null.
-
- This method has the same specification as #getPassThroughAttributes() except that it is
- allowed to return null if and only if the argument create is false and no pass through attribute
- data structure exists for this instance. The returned Map implementation must support all of the
- standard and optional Map methods, plus support the following additional requirements. The map must
- be stored in using #getStateHelper. The Map implementation must implement java.io.Serializable. Any
- attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that
- is not a String must throw an IllegalArgumentException. For backward compatibility with components
- that extend directly from this class, a default implementation is provided that returns the empty
- map.
-
- Return a Map of the ResourceBundle for this component. A component may have a
- ResourceBundle associated with it. This bundle may contain localized properties relating to
- instances of this component. The default implementation first looks for a ResourceBundle with a base
- name equal to the fully qualified class name of the current UIComponent this and Locale equal to the
- Locale of the current UIViewRoot. If no such bundle is found, and the component is a composite
- component, let resourceName be the resourceName of the Resource for this composite component,
- replacing the file extension with ".properties". Let libraryName be the libraryName of the the
- Resource for this composite component. Call
- jakarta.faces.application.ResourceHandler#createResource(java.lang.String,java.lang.String), passing
- the derived resourceName and libraryName. Note that this will automatically allow for the
- localization of the ResourceBundle due to the localization facility implemented in createResource,
- which is specified in section 2.6.1.3 "Resource Identifiers" of the Jakarta Faces Specification
- Document. If the resultant Resource exists and can be found, the InputStream for the resource is
- used to create a ResourceBundle. If either of the two previous steps for obtaining the
- ResourceBundle for this component is successful, the ResourceBundle is wrapped in a Map and
- returned. Otherwise Collections.EMPTY_MAP is returned.
-
- Return the TransientStateHelper instance for this UIComponent instance. The default
- implementation simply calls through to #getTransientStateHelper(boolean) passing true as the
- argument.
-
- Return the ValueExpression used to calculate the value for the specified attribute or
- property name, if any. This method must be overridden and implemented for components that comply
- with Jakarta Faces 1.2 and later.
-
- An implementation of PartialStateHolder#initialStateMarked, this method is called by
- the runtime to test if the PartialStateHolder#markInitialState method was called.
-
- Starting at this component in the View hierarchy, search for a component with a
- clientId equal to the argument clientId and, if found, call the
- ContextCallback#invokeContextCallback method on the argument callback, passing the current
- FacesContext and the found component as arguments. This method is similar to #findComponent but it
- does not support the leading UINamingContainer#getSeparatorChar syntax for searching from the root
- of the View. The default implementation will first check if this.getClientId() is equal to the
- argument clientId. If so, first call #pushComponentToEL, then call the
- ContextCallback#invokeContextCallback method on the argument callback, passing through the
- FacesContext argument and passing this as the component argument. Then call #popComponentFromEL. If
- an Exception is thrown by the callback, wrap it in a FacesException and re-throw it. Otherwise,
- return true. Otherwise, for each component returned by #getFacetsAndChildren, call
- invokeOnComponent() passing the arguments to this method, in order. The first time
- invokeOnComponent() returns true, abort traversing the rest of the Iterator and return true. When
- calling ContextCallback#invokeContextCallback the implementation of this method must guarantee that
- the state of the component passed to the callback correctly reflects the component's position in the
- View hierarchy with respect to any state found in the argument clientId. For example, an iterating
- component such as UIData will need to set its row index to correctly reflect the argument clientId
- before finding the appropriate child component backed by the correct row. When the callback returns,
- either normally or by throwing an Exception the implementation of this method must restore the state
- of the view to the way it was before invoking the callback. If none of the elements from
- #getFacetsAndChildren returned true from invokeOnComponent(), return false. Simple usage example to
- find a component by clientId. private UIComponent found = null; private void doFind(FacesContext
- context, String clientId) { context.getViewRoot().invokeOnComponent(context, clientId, new
- ContextCallback() { public void invokeContextCallback(FacesContext context, UIComponent component) {
- found = component; } }); }
-
- An implementation of PartialStateHolder#markInitialState, this method is called by the
- runtime to indicate that the instance should start tracking changes to its state.
-
- The default implementation performs the following action. If the argument event is an
- instance of PostRestoreStateEvent, call this.#getValueExpression passing the literal string
- #8220;binding #8221;, without the quotes, as the argument. If the result is non-null, set the value
- of the ValueExpression to be this.
-
- Perform the component tree processing required by the Restore View phase of the request
- processing lifecycle for all facets of this component, all children of this component, and this
- component itself, as follows. Call the restoreState() method of this component. Call
- UIComponent#pushComponentToEL. Call the processRestoreState() method of all facets and children of
- this UIComponent in the order determined by a call to getFacetsAndChildren(). After returning from
- the processRestoreState() method on a child or facet, call UIComponent#popComponentFromEL This
- method may not be called if the state saving method is set to server.
-
- Perform the component tree processing required by the state saving portion of the
- Render Response phase of the request processing lifecycle for all facets of this component, all
- children of this component, and this component itself, as follows. consult the transient property of
- this component. If true, just return null. Call #pushComponentToEL. Call the processSaveState()
- method of all facets and children of this UIComponent in the order determined by a call to
- getFacetsAndChildren(), skipping children and facets that are transient. Ensure that
- #popComponentFromEL is called correctly after each child or facet. Call the saveState() method of
- this component. Encapsulate the child state and your state into a Serializable Object and return it.
- This method may not be called if the state saving method is set to server.
-
- Push the current UIComponent this to the FacesContext attribute map saving the previous
- UIComponent for a subsequent call to #popComponentFromEL. This method and popComponentFromEL() form
- the basis for the contract that enables the Jakarta Expression Language Expression "#{component}" to
- resolve to the "current" component that is being processed in the lifecycle. The requirements for
- when pushComponentToEL() and popComponentFromEL() must be called are specified as needed in the
- javadoc for this class. After pushComponentToEL() returns, a call to #getCurrentComponent must
- return this UIComponent instance until popComponentFromEL() is called, after which point the
- previous UIComponent instance will be returned from getCurrentComponent()
-
- Queue an event for broadcast at the end of the current request processing lifecycle
- phase. The default implementation in UIComponentBase must delegate this call to the queueEvent()
- method of the parent UIComponent.
-
- For components that need to support the concept of transient state, this method will
- restore any state saved on a prior call to #saveTransientState.
-
- Set the component identifier of this UIComponent (if any). Component identifiers must
- obey the following syntax restrictions: Must not be a zero-length String. First character must be a
- letter or an underscore ('_'). Subsequent characters must be a letter, a digit, an underscore ('_'),
- or a dash ('-'). Component identifiers must also obey the following semantic restrictions (note that
- this restriction is NOT enforced by the setId() implementation): The specified identifier must be
- unique among all the components (including facets) that are descendents of the nearest ancestor
- UIComponent that is a NamingContainer, or within the scope of the entire component tree if there is
- no such ancestor that is a NamingContainer.
-
- Updates the status as to whether or not this component is currently within the view
- hierarchy. This method must never be called by developers; a UIComponent's internal implementation
- will call it as components are added to or removed from a parent's child List or facet Map.
-
- Set the ValueExpression used to calculate the value for the specified attribute or
- property name, if any. The implementation must call ValueExpression#isLiteralText on the argument
- expression. If isLiteralText() returns true, invoke ValueExpression#getValue on the argument
- expression and pass the result as the value parameter in a call to this.#getAttributes().put(name,
- value) where name is the argument name. If an exception is thrown as a result of calling
- ValueExpression#getValue, wrap it in a jakarta.faces.FacesException and re-throw it. If
- isLiteralText() returns false, simply store the un-evaluated expression argument in the collection
- of ValueExpressions under the key given by the argument name. This method must be overridden and
- implemented for components that comply with Jakarta Faces 1.2 and later.
-
- This implementation throws UnsupportedOperationException and is provided for the sole
- purpose of not breaking existing applications that extend this class. UIComponentBase provides the
- implementation of this method.
-
- This implementation throws UnsupportedOperationException and is provided for the sole
- purpose of not breaking existing applications that extend this class. UIComponentBase provides the
- implementation of this method.
-
- Perform a tree visit starting at this node in the tree. UIComponent.visitTree()
- implementations do not invoke the VisitCallback directly, but instead call
- VisitContext#invokeVisitCallback to invoke the callback. This allows VisitContext implementations to
- provide optimized tree traversals, for example by only calling the VisitCallback for a subset of
- components. UIComponent.visitTree() implementations must call UIComponent.pushComponentToEL() before
- performing the visit and UIComponent.popComponentFromEL() after the visit.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#addClientBehavior. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed
- an interest in events of this type. Listeners are called in the order in which they were added. If
- the event is an instance of jakarta.faces.event.BehaviorEvent and the current component is the
- source of the event call jakarta.faces.event.BehaviorEvent#getBehavior to get the
- jakarta.faces.component.behavior.Behavior for the event. Call
- jakarta.faces.component.behavior.Behavior#broadcast(jakarta.faces.event.BehaviorEvent) on the
- Behavior instance.
-
- For each of the attached objects on this instance that implement PartialStateHolder,
- call PartialStateHolder#clearInitialState on the attached object.
-
- Return a mutable Map representing the attributes (and properties, see below) associated
- wth this UIComponent, keyed by attribute name (which must be a String). The returned implementation
- must support all of the standard and optional Map methods, plus support the following additional
- requirements: The Map implementation must implement the java.io.Serializable interface. Any attempt
- to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a
- String must throw a ClassCastException. If the attribute name specified as a key matches a property
- of this UIComponent's implementation class, the following methods will have special behavior:
- containsKey - Return false. get() - If the property is readable, call the getter method and return
- the returned value (wrapping primitive values in their corresponding wrapper classes); otherwise
- throw IllegalArgumentException. put() - If the property is writeable, call the setter method to set
- the corresponding value (unwrapping primitive values in their corresponding wrapper classes). If the
- property is not writeable, or an attempt is made to set a property of primitive type to null, throw
- IllegalArgumentException. remove - Throw IllegalArgumentException.
-
- Return a mutable List representing the child UIComponents associated with this
- component. The returned implementation must support all of the standard and optional List methods,
- plus support the following additional requirements: The List implementation must implement the
- java.io.Serializable interface. Any attempt to add a null must throw a NullPointerException Any
- attempt to add an object that does not implement UIComponent must throw a ClassCastException.
- Whenever a new child component is added, the parent property of the child must be set to this
- component instance. If the parent property of the child was already non-null, the child must first
- be removed from its previous parent (where it may have been either a child or a facet). Whenever an
- existing child component is removed, the parent property of the child must be set to null. After the
- child component has been added to the view, jakarta.faces.application.Application#publishEvent must
- be called, passing jakarta.faces.event.PostAddToViewEvent.class as the first argument and the newly
- added component as the second argument if any the following cases are true.
- jakarta.faces.context.FacesContext#getCurrentPhaseId returns
- jakarta.faces.event.PhaseId#RESTORE_VIEW and partial state saving is enabled.
- jakarta.faces.context.FacesContext#isPostback returns false and
- jakarta.faces.context.FacesContext#getCurrentPhaseId returns something other than
- jakarta.faces.event.PhaseId#RESTORE_VIEW
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getClientBehaviors. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must add an implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- Return the number of facet UIComponents that are associated with this UIComponent. If
- there are no facets, this method must return 0. The method must not cause the creation of a facet
- component map. For backwards compatability with classes that extend UIComponent directly, a default
- implementation is provided that simply calls #getFacets and then calls the size() method on the
- returned Map. A more optimized version of this method is provided in UIComponentBase#getFacetCount.
-
-
- Return a mutable Map representing the facet UIComponents associated with this
- UIComponent, keyed by facet name (which must be a String). The returned implementation must support
- all of the standard and optional Map methods, plus support the following additional requirements:
- The Map implementation must implement the java.io.Serializable interface. Any attempt to add a null
- key or value must throw a NullPointerException. Any attempt to add a key that is not a String must
- throw a ClassCastException. Any attempt to add a value that is not a UIComponent must throw a
- ClassCastException. Whenever a new facet UIComponent is added: The parent property of the component
- must be set to this component instance. If the parent property of the component was already
- non-null, the component must first be removed from its previous parent (where it may have been
- either a child or a facet). Whenever an existing facet UIComponent is removed: The parent property
- of the facet must be set to null.
-
- This method has the same specification as #getPassThroughAttributes() except that it is
- allowed to return null if and only if the argument create is false and no pass through attribute
- data structure exists for this instance. The returned Map implementation must support all of the
- standard and optional Map methods, plus support the following additional requirements. The map must
- be stored in using #getStateHelper. The Map implementation must implement java.io.Serializable. Any
- attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that
- is not a String must throw an IllegalArgumentException. For backward compatibility with components
- that extend directly from this class, a default implementation is provided that returns the empty
- map.
-
- For each of the attached objects on this instance that implement PartialStateHolder,
- call PartialStateHolder#markInitialState on the attached object.
-
- Perform the component tree processing required by the Restore View phase of the request
- processing lifecycle for all facets of this component, all children of this component, and this
- component itself, as follows. Call the restoreState() method of this component. Call
- UIComponent#pushComponentToEL. Call the processRestoreState() method of all facets and children of
- this UIComponent in the order determined by a call to getFacetsAndChildren(). After returning from
- the processRestoreState() method on a child or facet, call UIComponent#popComponentFromEL This
- method may not be called if the state saving method is set to server.
-
- Perform the component tree processing required by the state saving portion of the
- Render Response phase of the request processing lifecycle for all facets of this component, all
- children of this component, and this component itself, as follows. consult the transient property of
- this component. If true, just return null. Call #pushComponentToEL. Call the processSaveState()
- method of all facets and children of this UIComponent in the order determined by a call to
- getFacetsAndChildren(), skipping children and facets that are transient. Ensure that
- #popComponentFromEL is called correctly after each child or facet. Call the saveState() method of
- this component. Encapsulate the child state and your state into a Serializable Object and return it.
- This method may not be called if the state saving method is set to server.
-
- Queue an event for broadcast at the end of the current request processing lifecycle
- phase. The default implementation in UIComponentBase must delegate this call to the queueEvent()
- method of the parent UIComponent.
-
- This method is called by UIComponent subclasses that need to restore the objects they
- saved using #saveAttachedState. This method is tightly coupled with #saveAttachedState. This method
- supports restoring all attached objects types supported by #saveAttachedState.
-
- This method is called by UIComponent subclasses that want to save one or more attached
- objects. It is a convenience method that does the work of saving attached objects that may or may
- not implement the StateHolder interface. Using this method implies the use of #restoreAttachedState
- to restore the attached objects. This method supports saving attached objects of the following type:
- Objects, null values, and Collections of these objects. If any contained objects are not Collections
- and do not implement StateHolder, they must have zero-argument public constructors. The exact
- structure of the returned object is undefined and opaque, but will be serializable.
-
- Set the component identifier of this UIComponent (if any). Component identifiers must
- obey the following syntax restrictions: Must not be a zero-length String. First character must be a
- letter or an underscore ('_'). Subsequent characters must be a letter, a digit, an underscore ('_'),
- or a dash ('-'). Component identifiers must also obey the following semantic restrictions (note that
- this restriction is NOT enforced by the setId() implementation): The specified identifier must be
- unique among all the components (including facets) that are descendents of the nearest ancestor
- UIComponent that is a NamingContainer, or within the scope of the entire component tree if there is
- no such ancestor that is a NamingContainer.
-
- Install the listener instance referenced by argument componentListener as a listener
- for events of type eventClass originating from this specific instance of UIComponent. The default
- implementation creates an inner SystemEventListener instance that wraps argument componentListener
- as the listener argument. This inner class must call through to the argument componentListener in
- its implementation of SystemEventListener#processEvent and its implementation of
- SystemEventListener#isListenerForSource must return true if the instance class of this UIComponent
- is assignable from the argument to isListenerForSource. The listener instance referenced by argument
- componentListener may not already be installed as a listener for events of type eventClass
- originating from this specific instance of UIComponent. When doing the comparison to determine if an
- existing listener is equal to the argument componentListener, the equals() method on the existing
- listener must be invoked, passing the argument componentListener, rather than the other way around.
-
-
- Remove the listener instance referenced by argument componentListener as a listener for
- events of type eventClass originating from this specific instance of UIComponent. When doing the
- comparison to determine if an existing listener is equal to the argument componentListener (and thus
- must be removed), the equals() method on the existing listener must be invoked, passing the argument
- componentListener, rather than the other way around.
-
- Override the default UIComponentBase#broadcast processing to unwrap any wrapped
- FacesEvent and reset the current row index, before the event is actually broadcast. For events that
- we did not wrap (in queueEvent()), default processing will occur.
-
- Generate an identifier for a component. The identifier will be prefixed with
- UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed
- value can be supplied by component creators which should be included in the generated unique id.
-
-
- In addition to the default behavior, ensure that any saved per-row state for our child
- input components is discarded unless it is needed to rerender the current page with errors.
-
- Return a client identifier for this component that includes the current value of the
- rowIndex property, if it is not set to -1. This implies that multiple calls to getClientId() may
- return different results, but ensures that child components can themselves generate row-specific
- client identifiers (since UIData is a NamingContainer).
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2763
-
-
- String
-
-
- jakarta.faces.component.UIData.getFamily
-
-
-
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2764
-
-
- int
-
-
- jakarta.faces.component.UIData.getFirst
-
-
-
-
- Return the zero-relative row number of the first row to be displayed.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2765
-
-
- UIComponent
-
-
- jakarta.faces.component.UIData.getFooter
-
-
-
-
- Return the footer facet of this component (if any). A convenience method for
- getFacet("footer").
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2766
-
-
- UIComponent
-
-
- jakarta.faces.component.UIData.getHeader
-
-
-
-
- Return the header facet of this component (if any). A convenience method for
- getFacet("header").
-
- Return the zero-relative index of the currently selected row. If we are not currently
- positioned on a row, return -1. This property is not enabled for value binding expressions.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2770
-
-
- int
-
-
- jakarta.faces.component.UIData.getRows
-
-
-
-
- Return the number of rows to be displayed, or zero for all remaining rows in the table.
- The default value of this property is zero.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2771
-
-
- Object
-
-
- jakarta.faces.component.UIData.getValue
-
-
-
-
- Return the value of the UIData. This value must either be be of type DataModel, or a
- type that can be adapted into a DataModel. UIData will automatically adapt the following types:
- Arrays java.util.List java.sql.ResultSet java.util.Collection All other types will be adapted using
- the ScalarDataModel class, which will treat the object as a single row of data.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2772
-
-
- String
-
-
- jakarta.faces.component.UIData.getVar
-
-
-
-
- Return the request-scope attribute under which the data object for the current row will
- be exposed when iterating. This property is not enabled for value binding expressions.
-
- Override behavior from UIComponentBase#invokeOnComponent to provide special care for
- positioning the data properly before finding the component and invoking the callback on it. If the
- argument clientId is equal to this.getClientId() simply invoke the contextCallback, passing the
- context argument and this as arguments, and return true. If the argument clientId is not equal to
- this.getClientId(), inspect each of the facet children of this UIData instance and for each one,
- compare its clientId with the argument clientId. If there is a match, invoke the contextCallback,
- passing the context argument and this as arguments, and return true. Otherwise, attempt to extract a
- rowIndex from the clientId. For example, if the argument clientId was form:data:3:customerHeader the
- rowIndex would be 3. Let this value be called newIndex. The current rowIndex of this instance must
- be saved aside and restored before returning in all cases, regardless of the outcome of the search
- or if any exceptions are thrown in the process. The implementation of this method must never return
- true if setting the rowIndex of this instance to be equal to newIndex causes this instance to return
- false from #isRowAvailable.
-
- Override the base class method to take special action if the method is being invoked
- when StateManager#IS_BUILDING_INITIAL_STATE is true and the rowStatePreserved JavaBeans property for
- this instance is true. The additional action taken is to traverse the descendents and save their
- state without regard to any particular row value.
-
- Override the default UIComponentBase#processDecodes processing to perform the following
- steps. If the rendered property of this UIComponent is false, skip further processing. Set the
- current rowIndex to -1. Call the processDecodes() method of all facets of this UIData, in the order
- determined by a call to getFacets().keySet().iterator(). Call the processDecodes() method of all
- facets of the UIColumn children of this UIData. Iterate over the set of rows that were included when
- this component was rendered (i.e. those defined by the first and rows properties), performing the
- following processing for each row: Set the current rowIndex to the appropriate value for this row.
- If isRowAvailable() returns true, iterate over the children components of each UIColumn child of
- this UIData component, calling the processDecodes() method for each such child. Set the current
- rowIndex to -1. Call the decode() method of this component. If a RuntimeException is thrown during
- decode processing, call FacesContext#renderResponse and re-throw the exception.
-
- Override the default UIComponentBase#processUpdates processing to perform the following
- steps. If the rendered property of this UIComponent is false, skip further processing. Set the
- current rowIndex to -1. Call the processUpdates() method of all facets of this UIData, in the order
- determined by a call to getFacets().keySet().iterator(). Call the processUpdates() method of all
- facets of the UIColumn children of this UIData. Iterate over the set of rows that were included when
- this component was rendered (i.e. those defined by the first and rows properties), performing the
- following processing for each row: Set the current rowIndex to the appropriate value for this row.
- If isRowAvailable() returns true, iterate over the children components of each UIColumn child of
- this UIData component, calling the processUpdates() method for each such child. Set the current
- rowIndex to -1.
-
- Override the default UIComponentBase#processValidators processing to perform the
- following steps. If the rendered property of this UIComponent is false, skip further processing. Set
- the current rowIndex to -1. Call the processValidators() method of all facets of this UIData, in the
- order determined by a call to getFacets().keySet().iterator(). Call the processValidators() method
- of all facets of the UIColumn children of this UIData. Iterate over the set of rows that were
- included when this component was rendered (i.e. those defined by the first and rows properties),
- performing the following processing for each row: Set the current rowIndex to the appropriate value
- for this row. If isRowAvailable() returns true, iterate over the children components of each
- UIColumn child of this UIData component, calling the processValidators() method for each such child.
- Set the current rowIndex to -1.
-
- Override the default UIComponentBase#queueEvent processing to wrap any queued events in
- a wrapper so that we can reset the current row index in broadcast().
-
- Set the zero relative index of the current row, or -1 to indicate that no row is
- currently selected, by implementing the following algorithm. It is possible to set the row index at
- a value for which the underlying data collection does not contain any row data. Therefore, callers
- may use the isRowAvailable() method to detect whether row data will be available for use by the
- getRowData() method. To support transient state among descendents, please consult the specification
- for #setRowStatePreserved, which details the requirements for setRowIndex() when the
- rowStatePreserved JavaBeans property is set to true. Save current state information for all
- descendant components (as described below). Store the new row index, and pass it on to the DataModel
- associated with this UIData instance. If the new rowIndex value is -1: If the var property is not
- null, remove the corresponding request scope attribute (if any). Reset the state information for all
- descendant components (as described below). If the new rowIndex value is not -1: If the var property
- is not null, call getRowData() and expose the resulting data object as a request scope attribute
- whose key is the var property value. Reset the state information for all descendant components (as
- described below). To save current state information for all descendant components, UIData must
- maintain per-row information for each descendant as follows: If the descendant is an instance of
- EditableValueHolder, save the state of its localValue property. If the descendant is an instance of
- EditableValueHolder, save the state of the localValueSet property. If the descendant is an instance
- of EditableValueHolder, save the state of the valid property. If the descendant is an instance of
- EditableValueHolder, save the state of the submittedValue property. To restore current state
- information for all descendant components, UIData must reference its previously stored information
- for the current rowIndex and call setters for each descendant as follows: If the descendant is an
- instance of EditableValueHolder, restore the value property. If the descendant is an instance of
- EditableValueHolder, restore the state of the localValueSet property. If the descendant is an
- instance of EditableValueHolder, restore the state of the valid property. If the descendant is an
- instance of EditableValueHolder, restore the state of the submittedValue property.
-
- If this property is set to true, the UIData must take steps to ensure that
- modifications to its iterated children will be preserved on a per-row basis. This allows
- applications to modify component properties, such as the style-class, for a specific row, rather
- than having such modifications apply to all rows. To accomplish this, UIData must call
- StateHolder#saveState and TransientStateHolder#saveTransientState on its children to capture their
- state on exiting each row. When re-entering the row, StateHolder#restoreState and
- TransientStateHolder#restoreTransientState must be called in order to reinitialize the children to
- the correct state for the new row. All of this action must take place during the processing of
- #setRowIndex. Users should consider enabling this feature for cases where it is necessary to modify
- properties of UIData's children in a row-specific way. Note, however, that row-level state
- saving/restoring does add overhead. As such, this feature should be used judiciously.
-
- Set the ValueExpression used to calculate the value for the specified attribute or
- property name, if any. In addition, if a ValueExpression is set for the value property, remove any
- synthesized DataModel for the data previously bound to this component.
-
- Override the behavior in UIComponent#visitTree to handle iteration correctly. If the
- UIComponent#isVisitable method of this instance returns false, take no action and return. Call
- UIComponent#pushComponentToEL and invoke the visit callback on this UIData instance as described in
- UIComponent#visitTree. Let the result of the invoctaion be visitResult. If visitResult is
- VisitResult#COMPLETE, take no further action and return true. Otherwise, determine if we need to
- visit our children. The default implementation calls VisitContext#getSubtreeIdsToVisit passing this
- as the argument. If the result of that call is non-empty, let doVisitChildren be true. If
- doVisitChildren is true and visitResult is VisitResult#ACCEPT, take the following action. If this
- component has facets, call UIComponent#getFacets on this instance and invoke the values() method.
- For each UIComponent in the returned Map, call UIComponent#visitTree. If this component has
- children, for each UIColumn child: Call VisitContext#invokeVisitCallback on that UIColumn instance.
- If such a call returns true, terminate visiting and return true from this method. If the child
- UIColumn has facets, call UIComponent#visitTree on each one. Take no action on non-UIColumn
- children. Save aside the result of a call to #getRowIndex. For each child component of this UIData
- that is also an instance of UIColumn, Iterate over the rows. Let rowsToProcess be the return from
- #getRows. Let rowIndex be the return from #getFirst - 1. While the number of rows processed is less
- than rowsToProcess, take the following actions. Call #setRowIndex, passing the current row index. If
- #isRowAvailable returns false, take no further action and return false. Call UIComponent#visitTree
- on each of the children of this UIColumn instance. Call #popComponentFromEL and restore the saved
- row index with a call to #setRowIndex. Return false to allow the visiting to continue.
-
- Generate an identifier for a component. The identifier will be prefixed with
- UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed
- value can be supplied by component creators which should be included in the generated unique id. If
- the prependId property has the value false, this method must call createUniqueId on the next
- ancestor UniqueIdVendor.
-
- Override the UIComponent#getContainerClientId to allow users to disable this form from
- prepending its clientId to its descendent's clientIds depending on the value of this form's
- #isPrependId property.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2797
-
-
- String
-
-
- jakarta.faces.component.UIForm.getFamily
-
-
-
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Returns the current value of the submitted property. The default value is false. See
- #setSubmitted for details. This property must be kept as a transient property using the
- UIComponent#getTransientStateHelper.
-
- Override UIComponent#processDecodes to ensure that the form is decoded before its
- children. This is necessary to allow the submitted property to be correctly set.
-
- If this UIForm instance (as opposed to other forms in the page) is experiencing a
- submit during this request processing lifecycle, this method must be called, with true as the
- argument, during the UIComponent#decode for this UIForm instance. If this UIForm instance is not
- experiencing a submit, this method must be called, with false as the argument, during the
- UIComponent#decode for this UIForm instance. The value of a UIForm's submitted property must not be
- saved as part of its state. This property must be kept as a transient property using the
- UIComponent#getTransientStateHelper.
-
- Perform a tree visit starting at this node in the tree. UIComponent.visitTree()
- implementations do not invoke the VisitCallback directly, but instead call
- VisitContext#invokeVisitCallback to invoke the callback. This allows VisitContext implementations to
- provide optimized tree traversals, for example by only calling the VisitCallback for a subset of
- components. UIComponent.visitTree() implementations must call UIComponent.pushComponentToEL() before
- performing the visit and UIComponent.popComponentFromEL() after the visit.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2807
-
-
- String
-
-
- jakarta.faces.component.UIGraphic.getUrl
-
-
-
-
- Return the image URL for this UIGraphic. This method is a typesafe alias for
- getValue().
-
- Return any ValueExpression set for value if a ValueExpression for url is requested;
- otherwise, perform the default superclass processing for this method.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Set the ValueExpression used to calculate the value for the specified attribute or
- property name, if any. If a ValueExpression is set for the var property, throw an illegal argument
- exception.
-
- For each of the attached objects on this instance that implement PartialStateHolder,
- call PartialStateHolder#clearInitialState on the attached object.
-
- Decode any new state of this UIComponent from the request contained in the specified
- FacesContext, and store this state as needed. During decoding, events may be enqueued for later
- processing (by event listeners who have registered an interest), by calling queueEvent().
-
- If there has been a call to #setConverterMessage on this instance, return the message.
- Otherwise, call #getValueExpression passing the key "converterMessage", get the result of the
- expression, and return it. Any ELExceptions thrown during the call to getValue() must be wrapped in
- a FacesException and rethrown.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2825
-
-
- String
-
-
- jakarta.faces.component.UIInput.getFamily
-
-
-
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- If there has been a call to #setRequiredMessage on this instance, return the message.
- Otherwise, call #getValueExpression passing the key "requiredMessage", get the result of the
- expression, and return it. Any ELExceptions thrown during the call to getValue() must be wrapped in
- a FacesException and rethrown.
-
- Return the submittedValue value of this UIInput component. This method should only be
- used by the decode() and validate() method of this component, or its corresponding Renderer.
-
- If there has been a call to #setValidatorMessage on this instance, return the message.
- Otherwise, call #getValueExpression passing the key "validatorMessage", get the result of the
- expression, and return it. Any ELExceptions thrown during the call to getValue() must be wrapped in
- a FacesException and rethrown.
-
- Return the set of registered ValueChangeListeners for this UIInput instance. If there
- are no registered listeners, a zero-length array is returned.
-
- Is the value denoting an empty value. If the value is null, return true. If the value
- is a String and it is the empty string, return true. If the value is an array and the array length
- is 0, return true. If the value is a List and the List is empty, return true. If the value is a
- Collection and the Collection is empty, return true. If the value is a Map and the Map is empty,
- return true. In all other cases, return false.
-
- In addition to the actions taken in UIOutput when PartialStateHolder#markInitialState()
- is called, check if any of the installed Validators are PartialStateHolders and if so, call
- jakarta.faces.component.PartialStateHolder#markInitialState() as appropriate.
-
- Specialized decode behavior on top of that provided by the superclass. In addition to
- the standard processDecodes behavior inherited from UIComponentBase, calls validate() if the the
- immediate property is true; if the component is invalid afterwards or a RuntimeException is thrown,
- calls FacesContext#renderResponse.
-
- In addition to the standard processUpdates behavior inherited from UIComponentBase,
- calls updateModel(). If the component is invalid afterwards, calls FacesContext#renderResponse. If a
- RuntimeException is thrown during update processing, calls FacesContext#renderResponse and re-throw
- the exception.
-
- In addition to the standard processValidators behavior inherited from UIComponentBase,
- calls validate() if the immediate property is false (which is the default); if the component is
- invalid afterwards, calls FacesContext#renderResponse. To ensure the PostValidateEvent is published
- at the proper time, this component must be validated first, followed by the component's children and
- facets. If a RuntimeException is thrown during validation processing, calls
- FacesContext#renderResponse and re-throw the exception.
-
- Convenience method to reset this component's value to the un-initialized state. This
- method does the following: Call UIOutput#setValue. Call #setSubmittedValue passing null. Clear state
- for property localValueSet. Clear state for property valid. Upon return from this call if the
- instance had a ValueBinding associated with it for the "value" property, this binding is evaluated
- when UIOutput#getValue is called. Otherwise, null is returned from getValue().
-
- Override any ValueExpression set for the "converterMessage" with the literal argument
- provided to this method. Subsequent calls to #getConverterMessage will return this value;
-
- Set the "immediate" state for this component. When set to true, the component's value
- will be converted and validated immediately in the Apply Request Values phase, and ValueChangeEvents
- will be delivered in that phase as well. The default value for this property must be false.
-
- Override any ValueExpression set for the "requiredMessage" with the literal argument
- provided to this method. Subsequent calls to #getRequiredMessage will return this value;
-
- Set the submittedValue value of this UIInput component. This method should only be used
- by the decode() and validate() method of this component, or its corresponding Renderer.
-
- Override any ValueExpression set for the "validatorMessage" with the literal argument
- provided to this method. Subsequent calls to #getValidatorMessage will return this value;
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2856
-
-
- String
-
-
- jakarta.faces.component.UIMessage.getFor
-
-
-
-
- Return the Identifier of the component for which to render error messages. If this
- component is within the same NamingContainer as the target component, this must be the component
- identifier. Otherwise, it must be an absolute component identifier (starting with ":"). See the
- UIComponent#findComponent for more information.
-
- Set the identifier of the component for which this component represents associated
- message(s) (if any). This property must be set before the message is displayed.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2866
-
-
- String
-
-
- jakarta.faces.component.UIMessages.getFor
-
-
-
-
- Return the client identifier of the component for which this component represents
- associated message(s) (if any).
-
- Return the flag indicating whether only global messages (that is, messages with no
- associated client identifier) should be rendered. Mutually exclusive with the "for" property which
- takes precedence. Defaults to false.
-
- Set the client identifier of the component for which this component represents
- associated message(s) (if any). This property must be set before the message is displayed.
-
- Generate an identifier for a component. The identifier will be prefixed with
- UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed
- value can be supplied by component creators which should be included in the generated unique id.
-
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Return the character used to separate segments of a clientId. The implementation must
- determine if there is a with the value given by the value of the symbolic constant
- #SEPARATOR_CHAR_PARAM_NAME. If there is a value for this param, the first character of the value
- must be returned from this method. Otherwise, the value of the symbolic constant
- NamingContainer#SEPARATOR_CHAR must be returned.
-
- Perform a tree visit starting at this node in the tree. UIComponent.visitTree()
- implementations do not invoke the VisitCallback directly, but instead call
- VisitContext#invokeVisitCallback to invoke the callback. This allows VisitContext implementations to
- provide optimized tree traversals, for example by only calling the VisitCallback for a subset of
- components. UIComponent.visitTree() implementations must call UIComponent.pushComponentToEL() before
- performing the visit and UIComponent.popComponentFromEL() after the visit.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Returns the outcome property of the UIOutcomeTarget. This value is passed to the
- jakarta.faces.application.NavigationHandler when resolving the target url of this component.
-
- For each of the attached objects on this instance that implement PartialStateHolder,
- call PartialStateHolder#clearInitialState on the attached object.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- In addition to the actions taken in UIComponentBase when
- PartialStateHolder#markInitialState() is called, check if the installed Converter is a
- PartialStateHolder and if it is, call jakarta.faces.component.PartialStateHolder#markInitialState()
- on it.
-
- Set the Converter (if any) that is registered for this UIComponent.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:2898
-
-
- String
-
-
- jakarta.faces.component.UIPanel.getFamily
-
-
-
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Return the value of the disable directive for this component. This directive determines
- whether the parameter value should be disabled by assigning it a null value. If true, the value set
- on this component is ignored.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Return any ValueExpression set for value if a ValueExpression for selected is
- requested; otherwise, perform the default superclass processing for this method.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Return the value of the noSelectionOption property. If the value of this property is
- true, the system interprets the option represented by this UISelectItem instance as representing a
- "no selection" option. See UISelectOne#validateValue and UISelectMany#validateValue for usage.
-
-
- Return a new SelectItemGroup instance containing one or more SelectItem instances
- represented by any nested UISelectItems or UISelectItem components.
-
- Iterate over the value attribute and wrap each item in a new SelectItemGroup instance
- whereby the item is exposed as a request attribute under the key specified by the var property. This
- must allow any nested UISelectItems or UISelectItem component to access the item via their
- attributes. Finally return these SelectItemGroup instances as an ordered collection.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Set the ValueExpression used to calculate the value for the specified attribute or
- property name, if any. In addition, if a ValueExpression is set for the var property, regardless of
- the value, throw an illegal argument exception.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Return any ValueExpression set for value if a ValueExpression for selectedValues is
- requested; otherwise, perform the default superclass processing for this method.
-
- Store any ValueExpression specified for selectedValues under value instead; otherwise,
- perform the default superclass processing for this method.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Returns the name of the radio button group. Radio button components having the same
- group within a UIForm parent will uncheck all others when being checked. If the value attribute is
- absent then the one from first component of the group will be used. If the UISelectItem child is
- absent then the one from first component of the group will be used.
-
- If #getGroup() is set, and #getSubmittedValue() is empty, and at least one other
- component having the same group within a UIForm parent has a non-empty #getSubmittedValue() or
- returns true on #isLocalValueSet() or returns false on #isValid(), then skip validation for current
- component, else perform standard superclass processing by super.processValidators(context).
-
- Enable the method invocation specified by this component instance to return a value
- that performs navigation, similar in spirit to UICommand#broadcast. Take no action and return
- immediately if any of the following conditions are true. The response has already been marked as
- complete. The current UIViewRoot is different from the event's source's UIViewRoot. Save a local
- reference to the viewId of the current UIViewRoot. For discussion, let this reference be
- viewIdBeforeAction. Obtain the ActionListener from the jakarta.faces.application.Application. Wrap
- the current FacesContext in an implementation of jakarta.faces.context.FacesContextWrapper that
- overrides the FacesContext#renderResponse method such that it takes no action. Set the current
- FacesContext to be the FacesContextWrapper instance. Make it so a call to #isProcessingBroadcast on
- the current FacesContext will return true. This is necessary because the
- jakarta.faces.application.NavigationHandler will call this method to determine if the navigation is
- happening as the result of a UIViewAction. Invoke ActionListener#processAction. In a finally block,
- restore the original FacesContext, make it so a call to #isProcessingBroadcast on the current
- context will return false and discard the wrapper. If the response has been marked as complete
- during the invocation of processAction(), take no further action and return. Otherwise, compare
- viewIdBeforeAction with the viewId of the UIViewRoot on the FacesContext after the invocation of
- processAction(). If the two viewIds are the same and no more UIViewAction events have been queued by
- a call to #decode, call FacesContext#renderResponse and return. It is possible to detect the case
- where no more UIViewAction events have been queued because the number of such events queued has been
- noted in the specification for #decode. Otherwise, execute the lifecycle on the new UIViewRoot.
-
-
- Override behavior from the superclass to queue an ActionEvent that may result in the
- invocation of the action or any actionListeners that may be associated with this instance. Take no
- action if any of the following conditions are true: The current request is a postback and the
- instance has been configured to not operate on postback. See #isOnPostback. The condition stated in
- the if property evaluates to false. See #isRendered . Instantiate an ActionEvent, passing this
- component instance as the source. Set the phaseId property of the ActionEvent as follows. If this
- component instance has been configured with a specific lifecycle phase with a call to #setPhase use
- that as the phaseId If the value of the immediate property is true, use
- PhaseId#APPLY_REQUEST_VALUES. Otherwise, use PhaseId#INVOKE_APPLICATION. Queue the event with a call
- to #queueEvent. Keep track of the number of events that are queued in this way on this run through
- the lifecycle. This information is necessary during processing in #broadcast.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- If the value of the component's immediate attribute is true, the action will be invoked
- during the Apply Request Values Jakarta Faces lifecycle phase. Otherwise, the action will be invoked
- during the Invoke Application phase, the default behavior. The phase can be set explicitly in the
- phase attribute, which takes precedence over the immediate attribute.
-
- Returns true if the current request processing lifecycle is in the midst of processing
- the broadcast of an event queued during a call to #decode. The implementation of #broadcast is
- responsible for ensuring that calls to this method accurately reflect this fact.
-
- Attempt to set the lifecycle phase in which this instance will queue its ActionEvent.
- Pass the argument phase to PhaseId#phaseIdValueOf. If the result is not one of the following values,
- FacesException must be thrown.
- PhaseId#APPLY_REQUEST_VALUESPhaseId#PROCESS_VALIDATIONSPhaseId#UPDATE_MODEL_VALUESPhaseId#INVOKE_APPLICATION
- If set, this value takes precedence over the immediate flag.
-
- Override behavior from superclass to pull a value from the incoming request parameter
- map under the name given by #getName and store it with a call to UIInput#setSubmittedValue.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Specialize superclass behavior to treat null differently. In this class, a null value
- along with the "required" flag being set to true will cause a validation failure. Otherwise, If the
- UIInput#EMPTY_STRING_AS_NULL_PARAM_NAME context parameter is true and the value is null, call
- UIInput#setSubmittedValue passing the empty string as the argument. This will cause the normal
- validation processing to happen, including bean validation.
-
- Call through to superclass UIInput#updateModel then take the additional action of
- pushing the value into request scope if and only if the value is not a value expression, is valid,
- and the local value was set on this lifecycle execution.
-
- Return the UIViewParameter to which this instance refers. If the current viewId is the
- same as the viewId passed to our constructor, use the index passed to the constructor to find the
- actual UIViewParameter instance and return it. Otherwise, call StateHolder#restoreState on the saved
- state and return the result.
-
- Add argument component, which is assumed to represent a resource instance, as a
- resource to this view. A resource instance is rendered by a resource Renderer, as described in the
- Standard HTML RenderKit. The default implementation must call through to
- #addComponentResource(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent,
- java.lang.String).
-
- Add argument component, which is assumed to represent a resource instance, as a
- resource to this view. A resource instance is rendered by a resource Renderer, as described in the
- Standard HTML RenderKit. The component must be added using the following algorithm: If the target
- argument is null, look for a target attribute on the component. If there is no target attribute, set
- target to be the default value head Call #getComponentResources to obtain the child list for the
- given target. If the component ID of componentResource matches the the ID of a resource that has
- allready been added, remove the old resource. Add the component resource to the list. The resource
- Renderer must ensure of the following: Do not render when
- ResourceHandler#isResourceRendered(FacesContext, String, String) returns true. After rendering, call
- ResourceHandler#markResourceRendered(FacesContext, String, String).
-
- Broadcast any events that have been queued. First broadcast events that have been
- queued for PhaseId#ANY_PHASE. Then broadcast ane events that have been queued for the current phase.
- In both cases, UIComponent#pushComponentToEL must be called before the event is broadcast, and
- UIComponent#popComponentFromEL must be called after the return from the broadcast, even in the case
- of an exception.
-
- Generate an identifier for a component. The identifier will be prefixed with
- UNIQUE_ID_PREFIX, and will be unique within the non-NamingContainer child sub-trees of this
- UIViewRoot.
-
- Generate an identifier for a component. The identifier will be prefixed with
- UNIQUE_ID_PREFIX, and will be unique within this UIViewRoot. Optionally, a unique seed value can be
- supplied by component creators which should be included in the generated unique id.
-
- Override the default UIComponentBase#encodeBegin behavior. If #getBeforePhaseListener
- returns non-null, invoke it, passing a PhaseEvent for the PhaseId#RENDER_RESPONSE phase. If the
- internal list populated by calls to #addPhaseListener is non-empty, any listeners in that list must
- have their PhaseListener#beforePhase method called, passing the PhaseEvent. Any Exceptions that
- occur during invocation of any of the beforePhase listeners must be logged and swallowed, unless the
- #VIEWROOT_PHASE_LISTENER_QUEUES_EXCEPTIONS_PARAM_NAME parameter is set. In that case, the Exception
- must be passed to the jakarta.faces.context.ExceptionHandler as well.
-
- If jakarta.faces.context.PartialViewContext#isAjaxRequest returns true, perform partial
- rendering by calling jakarta.faces.context.PartialViewContext#processPartial with
- PhaseId#RENDER_RESPONSE. If jakarta.faces.context.PartialViewContext#isAjaxRequest returns false,
- delegate to the parent jakarta.faces.component.UIComponentBase#encodeChildren method. If this
- UIViewRoot is an instance of NamingContainer, then the Jakarta Faces implementation must ensure that
- all encoded POST request parameter names are prefixed with
- UIViewRoot#getContainerClientId(FacesContext) as per rules of UIComponent#getClientId(FacesContext).
- This also covers all predefined POST request parameters which are listed below:
- ResponseStateManager#VIEW_STATE_PARAMResponseStateManager#CLIENT_WINDOW_PARAMResponseStateManager#RENDER_KIT_ID_PARAMClientBehaviorContext#BEHAVIOR_SOURCE_PARAM_NAMEClientBehaviorContext#BEHAVIOR_EVENT_PARAM_NAMEPartialViewContext#PARTIAL_EVENT_PARAM_NAMEPartialViewContext#PARTIAL_EXECUTE_PARAM_NAMEPartialViewContext#PARTIAL_RENDER_PARAM_NAMEPartialViewContext#RESET_VALUES_PARAM_NAME
-
-
- If #getAfterPhaseListener returns non-null, invoke it, passing a PhaseEvent for the
- PhaseId#RENDER_RESPONSE phase. Any Exceptions that occur during invocation of the afterPhase
- listener must be logged and swallowed, unless the
- #VIEWROOT_PHASE_LISTENER_QUEUES_EXCEPTIONS_PARAM_NAME parameter is set. In that case, the Exception
- must be passed to the jakarta.faces.context.ExceptionHandler as well.. If the current view has view
- parameters, as indicated by a non-empty and non-UnsupportedOperationException throwing return from
- jakarta.faces.view.ViewDeclarationLanguage#getViewMetadata(jakarta.faces.context.FacesContext,
- String), call UIViewParameter#encodeAll on each parameter. If calling getViewParameters() causes
- UnsupportedOperationException to be thrown, the exception must be silently swallowed.
-
- Return an unmodifiable List of UIComponents for the provided target agrument. Each
- component in the List is assumed to represent a resource instance. The default implementation must
- use an algorithm equivalent to the the following. Locate the facet for the component by calling
- getFacet() using target as the argument. If the facet is not found, create the facet by calling
- context.getApplication().createComponent(). The argument to this method must refer to a component
- that extends UIPanel and overrides the encodeAll() method to take no action. This is necessary to
- prevent component resources from being inadvertently rendered. Set the id of the facet to be a
- string created by prepending the literal string #8220;jakarta_faces_location_ #8221; (without the
- quotes) to the value of the target argument Add the facet to the facets Map using target as the key
- return the children of the facet
-
- Return an unmodifiable ordered List of all UIComponent resources of all supported
- targets. Each component in the List is assumed to represent a resource instance. The ordering is the
- same as the resources would appear in the component tree.
-
- Return the identifier of the component family to which this component belongs. This
- identifier, in conjunction with the value of the rendererType property, may be used to select the
- appropriate Renderer for this component instance. Note this method should NOT return null
-
- Return the Locale to be used in localizing the response being created for this view.
- Algorithm: If we have a locale ivar, return it. If we have a value expression for "locale", get its
- value. If the value is null, return the result of calling
- jakarta.faces.application.ViewHandler#calculateLocale. If the value is an instance of
- java.util.Locale return it. If the value is a String, convert it to a java.util.Locale and return
- it. If there is no value expression for "locale", return the result of calling
- jakarta.faces.application.ViewHandler#calculateLocale.
-
- Return the render kit identifier of the jakarta.faces.render.RenderKit associated with
- this view. Unless explicitly set, as in jakarta.faces.application.ViewHandler#createView, the
- returned value will be null.
-
- Returns a Map that acts as the interface to the data store that is the "view scope",
- or, if this instance does not have such a Map and the create argument is true, creates one and
- returns it. This map must be instantiated lazily and cached for return from subsequent calls to this
- method on this UIViewRoot instance. jakarta.faces.application.Application#publishEvent must be
- called, passing the current FacesContext as the first argument, PostConstructViewMapEvent.class as
- the second argument, UIViewRoot.class as the third argument and this UIViewRoot instance as the
- fourth argument. It is necessary to pass the UIViewRoot.class argument to account for cases when the
- UIViewRoot has been extended with a custom class. The returned Map must be implemented such that
- calling clear() on the Map causes jakarta.faces.application.Application#publishEvent to be called,
- passing PreDestroyViewMapEvent.class as the first argument and this UIViewRoot instance as the
- second argument. Depending upon application configuration, objects stored in the view map may need
- to be Serializable. In general, it is a good idea to ensure that any objects stored in the view map
- are Serializable. For reasons made clear in jakarta.faces.view.ViewScoped, this map must ultimately
- be stored in the session. For this reason, a true value for the create argument will force the
- session to be created with a call to jakarta.faces.context.ExternalContext#getSession(boolean). See
- FacesContext#setViewRoot for the specification of when the clear() method must be called.
-
- Broadcast any events that have been queued for the Invoke Application phase of the
- request processing lifecycle and to clear out any events for later phases if the event processing
- for this phase caused FacesContext#renderResponse or FacesContext#responseComplete to be called.
-
-
- Perform partial processing by calling
- jakarta.faces.context.PartialViewContext#processPartial with PhaseId#APPLY_REQUEST_VALUES if:
- jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we don't have a request
- to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns
- false) Perform full processing by calling UIComponentBase#processDecodes if one of the following
- conditions are met: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we
- have a request to process all components in the view
- (jakarta.faces.context.PartialViewContext#isExecuteAll returns true)
- jakarta.faces.context.PartialViewContext#isPartialRequest returns false Override the default
- UIComponentBase#processDecodes behavior to broadcast any queued events after the default processing
- or partial processing has been completed and to clear out any events for later phases if the event
- processing for this phase caused FacesContext#renderResponse or FacesContext#responseComplete to be
- called.
-
- If the argument event is an instance of PostRestoreStateEvent and
- PartialViewContext#isPartialRequest() returns true, then loop over all component resources and call
- ResourceHandler#markResourceRendered(FacesContext, String, String) for each of them. Finally,
- delegate to super.
-
- The default implementation must call UIComponentBase#processRestoreState from within a
- try block. The try block must have a finally block that ensures that no FacesEvents remain in the
- event queue.
-
- Perform partial processing by calling
- jakarta.faces.context.PartialViewContext#processPartial with PhaseId#UPDATE_MODEL_VALUES if:
- jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we don't have a request
- to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns
- false) Perform full processing by calling UIComponentBase#processUpdates if one of the following
- conditions are met: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we
- have a request to process all components in the view
- (jakarta.faces.context.PartialViewContext#isExecuteAll returns true)
- jakarta.faces.context.PartialViewContext#isPartialRequest returns false Override the default
- UIComponentBase behavior to broadcast any queued events after the default processing or partial
- processing has been completed and to clear out any events for later phases if the event processing
- for this phase caused FacesContext#renderResponse or FacesContext#responseComplete to be called.
-
-
- Perform partial processing by calling
- jakarta.faces.context.PartialViewContext#processPartial with PhaseId#PROCESS_VALIDATIONS if:
- jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we don't have a request
- to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns
- false) Perform full processing by calling UIComponentBase#processValidators if one of the following
- conditions are met: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we
- have a request to process all components in the view
- (jakarta.faces.context.PartialViewContext#isExecuteAll returns true)
- jakarta.faces.context.PartialViewContext#isPartialRequest returns false Override the default
- UIComponentBase#processValidators behavior to broadcast any queued events after the default
- processing or partial processing has been completed and to clear out any events for later phases if
- the event processing for this phase caused FacesContext#renderResponse or
- FacesContext#responseComplete to be called.
-
- Remove argument component, which is assumed to represent a resource instance, as a
- resource to this view. A resource instance is rendered by a resource Renderer, as described in the
- Standard HTML RenderKit. The component must be removed using the following algorithm: If the target
- argument is null, look for a target attribute on the component. If there is no target attribute, set
- target to be the default value head Call #getComponentResources to obtain the child list for the
- given target. Remove the component resource from the child list.
-
- Visit the clientIds and, if the component is an instance of EditableValueHolder, call
- its EditableValueHolder#resetValue method. Use #visitTree to do the visiting.
-
- Restore ViewScope state. This is needed to allow the use of view scoped beans for
- EL-expressions in the template from which the component tree is built. For example: .
-
- Allow an arbitrary method to be called for the "afterPhase" event as the UIViewRoot
- runs through its lifecycle. This method will be called for all phases including
- PhaseId#RESTORE_VIEW. Unlike a true PhaseListener, this approach doesn't allow for only receiving
- PhaseEvents for a given phase. The method must conform to the signature of PhaseListener#afterPhase.
-
-
- Allow an arbitrary method to be called for the "beforePhase" event as the UIViewRoot
- runs through its lifecycle. This method will be called for all phases except PhaseId#RESTORE_VIEW.
- Unlike a true PhaseListener, this approach doesn't allow for only receiving PhaseEvents for a given
- phase. The method must conform to the signature of PhaseListener#beforePhase.
-
- Set the render kit identifier of the jakarta.faces.render.RenderKit associated with
- this view. This method may be called at any time between the end of Apply Request Values phase of
- the request processing lifecycle (i.e. when events are being broadcast) and the beginning of the
- Render Response phase.
-
- Install the listener instance referenced by argument listener into the UIViewRoot as a
- listener for events of type systemEventClass. Note that installed listeners are not maintained as
- part of the UIViewRoot's state.
-
- Returns a non-null, empty, unmodifiable Collection which returns true on any
- Collection#contains() invocation, indicating that all client behavior event names are acceptable.
-
-
- Sets the name of the websocket channel. It may not be an Jakarta Expression Language
- expression and it may only contain alphanumeric characters, hyphens, underscores and periods. All
- open websockets on the same channel will receive the same push message from the server.
-
- Sets whether to (auto)connect the websocket or not. Defaults to true. It's interpreted
- as a JavaScript instruction whether to open or close the websocket push connection. Note that this
- attribute is re-evaluated on every ajax request. You can also explicitly set it to false and then
- manually control in JavaScript by faces.push.open("channelName") and
- faces.push.close("channelName").
-
- Sets the JavaScript event handler function that is invoked when the websocket is closed
- and will not anymore attempt to reconnect. The function will be invoked with three arguments: the
- close reason code, the channel name and the raw CloseEvent itself. Note that this will also be
- invoked when the close is caused by an error and that you can inspect the close reason code if an
- actual connection error occurred and which one (i.e. when the code is not 1000 or 1008). See also
- RFC 6455 section 7.4.1 and CloseCodes API for an elaborate list of all close codes.
-
- Sets the JavaScript event handler function that is invoked when a connection error has
- occurred and the websocket will attempt to reconnect. The function will be invoked with three
- arguments: the error reason code, the channel name and the raw CloseEvent itself. Note that this
- will not be invoked on final close of the websocket, even when the final close is caused by an
- error. See also RFC 6455 section 7.4.1 and CloseCodes API for an elaborate list of all close codes.
-
-
- Sets the JavaScript event handler function that is invoked when a push message is
- received from the server. The function will be invoked with three arguments: the push message, the
- channel name and the raw MessageEvent itself.
-
- Sets the JavaScript event handler function that is invoked when the websocket is
- opened. The function will be invoked with one argument: the channel name.
-
- Sets the scope of the websocket channel. It may not be an Jakarta Expression Language
- expression and allowed values are application, session and view, case insensitive. When the value is
- application, then all channels with the same name throughout the application will receive the same
- push message. When the value is session, then only the channels with the same name in the current
- user session will receive the same push message. When the value is view, then only the channel in
- the current view will receive the push message. The default scope is application. When the user
- attribute is specified, then the default scope is session.
-
- Sets the user identifier of the websocket channel, so that user-targeted push messages
- can be sent. All open websockets on the same channel and user will receive the same push message
- from the server. It must implement Serializable and preferably have low memory footprint.
- Suggestion: use #{request.remoteUser} or #{someLoggedInUser.id}.
-
- Set the ValueExpression used to calculate the value for the specified attribute or
- property name, if any. If a ValueExpression is set for the channel or scope property, regardless of
- the value, throw an illegal argument exception. If a ValueExpression is set for the user property,
- and the non-null value is not an instance of Serializable, throw an illegal argument exception.
-
-
- Generate an identifier for a component. The identifier will be prefixed with
- UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed
- value can be supplied by component creators which should be included in the generated unique id.
-
-
- Gets the value of this UIComponent. If validation failed, as indicated by
- jakarta.faces.context.FacesContext#isValidationFailed returning true, always return the local value.
- Otherwise, first, consult the local value property of this component. If non-null return it. If
- null, see if we have a ValueExpression for the value property. If so, return the result of
- evaluating the property, otherwise return null.
-
- Return a non-empty Collection of component identifiers that will be used to identify
- components that should be processed during the execute phase of the request processing lifecycle.
- Note that the returned collection may be unmodifiable. Modifications should be performed by calling
- #setExecute.
-
- Return the String of JavaScript function name that will be used to identify the client
- callback function that should be run in the event of an error.
-
- Return the String of JavaScript function name that will be used to identify the client
- callback function that should be run on the occurance of a client-side event.
-
- Return a non-empty Collection of component identifiers that will be used to identify
- components that should be processed during the render phase of the request processing lifecycle.
- Note that the returned collection may be unmodifiable. Modifications should be performed by calling
- #setRender.
-
- Returns the renderer type of the ClientBehaviorRenderer to use for the behavior. The
- default implementation returns null. Subclasses should either override this method to return a
- string that identifies the type of ClientBehaviorRenderer to use, or should override #getScript and
- perform script rendering locally in the ClientBehavior implementation.
-
- Tests whether the immediate attribute is specified. Returns true if the immediate
- attribute is specified, either as a locally set property or as a value expression. This information
- allows an associated client behavior renderer to fall back on the parent component's immediate
- status when immediate is not explicitly specified on the AjaxBehavior.
-
- Tests whether the resetValues attribute is specified. Returns true if the resetValues
- attribute is specified, either as a locally set property or as a value expression.
-
- If less than delay milliseconds elapses between calls to request() only the most recent
- one is sent and all other requests are discarded. The default value of this option is 300. If the
- value of delay is the literal string 'none' without the quotes, no delay is used.
-
- Sets the component identifiers that will be used to identify components that should be
- processed during the execute phase of the request processing lifecycle.
-
- Sets the component identifiers that will be used to identify components that should be
- processed during the render phase of the request processing lifecycle.
-
- Broadcast the specified BehaviorEvent to all registered event listeners who have
- expressed an interest in events of this type. Listeners are called in the order in which they were
- added.
-
- Default implementation of Behavior#broadcast. Delivers the specified BehaviorEvent to
- all registered BehaviorListener event listeners who have expressed an interest in events of this
- type. Listeners are called in the order in which they were registered (added).
-
- Decode any new state of this ClientBehavior from the request contained in the specified
- FacesContext. During decoding, events may be enqueued for later processing (by event listeners who
- have registered an interest), by calling queueEvent(). Default implementation delegates decoding to
- jakarta.faces.render.ClientBehaviorRenderer#decode(FacesContext, UIComponent, ClientBehavior)
-
- Returns hints that describe the behavior of the ClientBehavior implementation. The
- hints may impact how Renderers behave in the presence of Behaviors. For example, when a Behavior
- that specifies ClientBehaviorHint.SUBMITTING is present, the Renderer may choose to alternate the
- scripts that it generates itself.
-
- Return the script that implements this ClientBehavior's client-side logic.
- ClientBehavior.getScript() implementations are allowed to return null to indicate that no script is
- required for this particular getScript() call. For example, a ClientBehavior implementation may
- return null if the Behavior is disabled.
-
- Default implementation of of ClientBehavior#decode. If a ClientBehaviorRenderer is
- available for the specified behavior renderer type, this method delegates to the
- ClientBehaviorRenderer's decode() method. Otherwise, no decoding is performed.
-
- Returns the renderer type of the ClientBehaviorRenderer to use for the behavior. The
- default implementation returns null. Subclasses should either override this method to return a
- string that identifies the type of ClientBehaviorRenderer to use, or should override #getScript and
- perform script rendering locally in the ClientBehavior implementation.
-
- Default implementation of of ClientBehavior#getScript. If a ClientBehaviorRenderer is
- available for the specified behavior renderer type, this method delegates to the
- ClientBehaviorRenderer#getScript method. Otherwise, this method returns null.
-
- Returns parameters that "submitting" ClientBehavior implementations should include when
- posting back data into the Faces lifecycle. If no parameters are specified, this method returns an
- empty (non-null) collection.
-
- Returns an id for use as the ClientBehavior source. ClientBehavior implementations that
- submit back to the Faces lifecycle are required to identify which component triggered the
- ClientBehavior-initiated request via the jakarta.faces.source request parameter. In most cases, th
- source id can be trivially derived from the element to which the behavior's client-side script is
- attached - ie. the source id is typically the id of this element. However, in components which
- produce more complex content, the behavior script may not be able to determine the correct id to use
- for the jakarta.faces.source value. The ClientBehaviorContext#getSourceId method allows the
- component to pass this information into the ClientBehavior#getScript implementation.
-
- Attaches a ClientBehavior to the component implementing this interface for the
- specified event. Valid event names for a UIComponent implementation are defined by
- ClientBehaviorHolder.getEventNames().
-
- Returns a non-null, unmodifiable Map that contains the the ClientBehaviors that have
- been attached to the component implementing this interface. The keys in this Map are event names
- defined by #getEventNames.
-
- Returns the default event name for this ClientBehaviorHolder implementation. This must
- be one of the event names returned by #getEventNames or null if the component does not have a
- default event.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- Return the value of the accept property. Contents: Comma separated string of mime types
- of files to filter in client side file browse dialog. Note: This is not validated in server side.
-
-
- Return the value of the autocomplete property. Contents: If the value of this attribute
- is "off", render "off" as the value of the attribute. This indicates that the browser should disable
- its autocomplete feature for this component. This is useful for components that perform
- autocompletion and do not want the browser interfering. If this attribute is not set or the value is
- "on", render nothing.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- Return the value of the dir property. Contents: Direction indication for text that does
- not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). These
- attributes are case sensitive when rendering to XHTML, so care must be taken to have the correct
- case.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- Return the value of the onchange property. Contents: JavaScript code executed when this
- element loses focus and its value has been modified since gaining focus.
-
- Return the value of the role property. Contents: Per the WAI-ARIA spec and its
- relationship to HTML5 (Section title ARIA Role Attriubute), every HTML element may have a "role"
- attribute whose value must be passed through unmodified on the element on which it is declared in
- the final rendered markup. The attribute, if specified, must have a value that is a string literal
- that is, or a Jakarta Expression Language Expression that evaluates to, a set of space-separated
- tokens representing the various WAI-ARIA roles that the element belongs to. It is the page author's
- responsibility to ensure that the user agent is capable of correctly interpreting the value of this
- attribute.
-
- Return the value of the styleClass property. Contents: Space-separated list of CSS
- style class(es) to be applied when this element is rendered. This value must be passed through as
- the "class" attribute on generated markup.
-
- Return the value of the tabindex property. Contents: Position of this element in the
- tabbing order for the current document. This value must be an integer between 0 and 32767.
-
- Return the value of the disabled property. Contents: Flag indicating that this element
- must never receive focus or be included in a subsequent submit. A value of false causes no attribute
- to be rendered, while a value of true causes the attribute to be rendered as disabled="disabled".
-
-
- Return the value of the multiple property. Contents: Flag indicating that this element
- must allow multiple file selection. A value of false causes no attribute to be rendered, while a
- value of true causes the attribute to be rendered as multiple="multiple".
-
- Return the value of the readonly property. Contents: Flag indicating that this
- component will prohibit changes by the user. The element may receive focus unless it has also been
- disabled. A value of false causes no attribute to be rendered, while a value of true causes the
- attribute to be rendered as readonly="readonly".
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not
- implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation
- of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- This is a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement
- the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default
- implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to
- simplify subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass
- implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to
- return a non-Empty Collection of the client event names that the component supports.
-
- Creates a SearchExpressionContext instance for use with the SearchExpressionHandler.
- This method can be used to obtain a SearchExpressionContext instance without any VisitHint or
- SearchExpressionHint.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Return the characters used to separate expressions in a series of expressions. The
- default implementation returns SearchExpressionHandler#EXPRESSION_SEPARATOR_CHARS.
-
- Resolves multiple UIComponents for the given expression. For each resolved component,
- the ContextCallback will be invoked. This method is the most essential method in the API. It
- implements the algorithm which handles the recursion of the keywords and id's.
-
- Resolves multiple UIComponents for the given expression. For each resolved component,
- the ContextCallback will be invoked. This method is the most essential method in the API. It
- implements the algorithm which handles the recursion of the keywords and id's.
-
- Checks if the given expression is a "passtrough expression". A passthrough expression
- must only be a keyword. This keyword will not be resolved by the SearchKeywordResolver and will be
- returned untouched. The client is responsible to resolve it later.
-
- Checks if the given expression is a valid expression. A expression is invalid if: No
- SearchKeywordResolver matches the requested keyword A keyword or id is placed after a leaf keyword
- (@none:@form)
-
- Resolves to a List with clientIds or passthrough expressions for the given expressions.
- The expressions will be splitted by #splitExpressions(jakarta.faces.context.FacesContext,
- java.lang.String) and resolved one by one.
-
- Resolves multiple UIComponents for the given expression(s). The expressions will be
- splitted by #splitExpressions(jakarta.faces.context.FacesContext, java.lang.String) and resolved one
- by one. For each resolved component, the ContextCallback will be invoked.
-
- Return the characters used to separate expressions in a series of expressions. The
- default implementation returns SearchExpressionHandler#EXPRESSION_SEPARATOR_CHARS.
-
- Resolves multiple UIComponents for the given expression. For each resolved component,
- the ContextCallback will be invoked. This method is the most essential method in the API. It
- implements the algorithm which handles the recursion of the keywords and id's.
-
- Resolves multiple UIComponents for the given expression. For each resolved component,
- the ContextCallback will be invoked. This method is the most essential method in the API. It
- implements the algorithm which handles the recursion of the keywords and id's.
-
- Checks if the given expression is a "passtrough expression". A passthrough expression
- must only be a keyword. This keyword will not be resolved by the SearchKeywordResolver and will be
- returned untouched. The client is responsible to resolve it later.
-
- Checks if the given expression is a valid expression. A expression is invalid if: No
- SearchKeywordResolver matches the requested keyword A keyword or id is placed after a leaf keyword
- (@none:@form)
-
- Resolves to a List with clientIds or passthrough expressions for the given expressions.
- The expressions will be splitted by #splitExpressions(jakarta.faces.context.FacesContext,
- java.lang.String) and resolved one by one.
-
- Resolves multiple UIComponents for the given expression(s). The expressions will be
- splitted by #splitExpressions(jakarta.faces.context.FacesContext, java.lang.String) and resolved one
- by one. For each resolved component, the ContextCallback will be invoked.
-
- If this search expression handler has been decorated, the implementation doing the
- decorating should push the implementation being wrapped to this constructor. The #getWrapped() will
- then return the implementation being wrapped.
-
- A passthrough keyword is a keyword, that according to the context, does not require to
- be resolved on the server, and can be passed "unresolved" to the client.
-
- Try to resolve one or multiple UIComponents based on the keyword and calls
- SearchKeywordContext#invokeContextCallback(jakarta.faces.component.UIComponent) for each resolved
- component.
-
- This method is called during component tree visits by VisitContext#invokeVisitCallback
- VisitContext.invokeVisitCallback() to visit the specified component. At the point in time when this
- method is called, the argument target is guaranteed to be in the proper state with respect to its
- ancestors in the View.
-
- Creates a VisitContext instance for use with UIComponent#visitTree
- UIComponent.visitTree(). This method can be used to obtain a VisitContext instance when all
- components should be visited with the default visit hints.
-
- Returns hints that influence the behavior of the tree visit. Interested parties, such
- as UIComponent#visitTree UIComponent.visitTree() implementations, may check to see whether a
- particular hint is present by calling VisitContext.getHints().contains(), passing in one of the
- hints defined by VisitHint.
-
- Returns the ids of the components to visit. In the case of a full tree visit, this
- method returns the ALL_IDS collection. Otherwise, if a partial visit is beign performed, returns a
- modifiable collection containing the client ids of the components that should be visited.
-
- Given a jakarta.faces.component.NamingContainer component, returns the client ids of
- any components underneath the NamingContainer that should be visited. This method is called by
- NamingContainer visitTree() implementations to determine whether the NamingContainer contains
- components to be visited. In the case where no such components exist, the NamingContainer can
- short-circuit the tree visit and avoid descending into child subtrees. In addition, iterating
- components such as UIData may be able to use the returned ids to determine which iterated states
- (ie. rows) need to be visited. This allows the visit traversal to be contstrained such only those
- rows that contain visit targets need to be traversed.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Returns hints that influence the behavior of the tree visit. Interested parties, such
- as UIComponent#visitTree UIComponent.visitTree() implementations, may check to see whether a
- particular hint is present by calling VisitContext.getHints().contains(), passing in one of the
- hints defined by VisitHint.
-
- Returns the ids of the components to visit. In the case of a full tree visit, this
- method returns the ALL_IDS collection. Otherwise, if a partial visit is beign performed, returns a
- modifiable collection containing the client ids of the components that should be visited.
-
- Given a jakarta.faces.component.NamingContainer component, returns the client ids of
- any components underneath the NamingContainer that should be visited. This method is called by
- NamingContainer visitTree() implementations to determine whether the NamingContainer contains
- components to be visited. In the case where no such components exist, the NamingContainer can
- short-circuit the tree visit and avoid descending into child subtrees. In addition, iterating
- components such as UIData may be able to use the returned ids to determine which iterated states
- (ie. rows) need to be visited. This allows the visit traversal to be contstrained such only those
- rows that contain visit targets need to be traversed.
-
- If this visit context has been decorated, the implementation doing the decorating
- should push the implementation being wrapped to this constructor. The #getWrapped() will then return
- the implementation being wrapped.
-
- Unwrap the argument t until the unwrapping encounters an Object whose getClass() is not
- equal to FacesException.class or jakarta.el.ELException.class. If there is no root cause, null is
- returned.
-
- Take action to handle the Exception instances residing inside the ExceptionQueuedEvent
- instances that have been queued by calls to Application().publishEvent(ExceptionQueuedEvent.class,
- eventContext). The requirements of the default implementation are detailed in section 6.2.1 "Default
- ExceptionHandler implementation" of the Jakarta Faces Specification Document.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Create and return a A new ExceptionHandler instance. The implementation must return an
- ExceptionHandler instance suitable for the environment. For example, in some cases it may be
- desirable for an ExceptionHandler to write error information to the response instead of throwing
- exceptions as in the case of Ajax applications.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- If this exception handler has been decorated, the implementation doing the decorating
- should push the implementation being wrapped to this constructor. The #getWrapped() will then return
- the implementation being wrapped.
-
- The default behavior of this method is to call
- jakarta.faces.context.ExceptionHandler#getRootCause(Throwable) on the wrapped ExceptionHandler
- object.
-
- The default behavior of this method is to call
- jakarta.faces.context.ExceptionHandler#isListenerForSource(Object) on the wrapped ExceptionHandler
- object.
-
- The default behavior of this method is to call
- jakarta.faces.context.ExceptionHandler#processEvent(jakarta.faces.event.SystemEvent) on the wrapped
- ExceptionHandler object.
-
- Adds the cookie represented by the arguments to the response. Jakarta Servlet: This
- must be accomplished by calling the jakarta.servlet.http.HttpServletResponse method addCookie(). The
- Cookie argument must be constructed by passing the name and value parameters. If the properties
- arugument is non-null and not empty, the Cookie instance must be initialized as described below.
- Cookie handling table Key in "values" Map (case sensitive) Expected type of value. Name of setter
- method on Cookie instance to be set with the value from the Map. comment String setComment domain
- String setDomain maxAge Integer setMaxAge secure Boolean setSecure path String setPath httpOnly
- Boolean setHttpOnly any other attribute (e.g. SameSite) String setAttribute The default
- implementation throws UnsupportedOperationException and is provided for the sole purpose of not
- breaking existing applications that extend this class.
-
- Add the given name and value to the response header. Jakarta Servlet:This must be
- performed by calling the jakarta.servlet.http.HttpServletResponse addHeader method. The default
- implementation throws UnsupportedOperationException and is provided for the sole purpose of not
- breaking existing applications that extend this class.
-
- Dispatch a request to the specified resource to create output for this response.
- Jakarta Servlet: This must be accomplished by calling the jakarta.servlet.ServletContext method
- getRequestDispatcher(path), and calling the forward() method on the resulting object. If the call to
- getRequestDisatcher(path) returns null, send aServletResponse SC_NOT_FOUND error code.
-
- Return the input URL, after performing any rewriting needed to ensure that it will
- correctly identify an addressable action in the current application. Encoding the
- jakarta.faces.lifecycle.ClientWindow Call
- jakarta.faces.lifecycle.ClientWindow#isClientWindowRenderModeEnabled(jakarta.faces.context.FacesContext)
- . If the result is false take no further action and return the rewritten URL. If the result is true,
- call #getClientWindow(). If the result is non-null, call
- jakarta.faces.lifecycle.ClientWindow#getId() and append the id to the query string of the URL,
- making the necessary allowances for a pre-existing query string or no query-string. Call
- jakarta.faces.lifecycle.ClientWindow#getQueryURLParameters. If the result is non-null, for each
- parameter in the map, unconditionally add that parameter to the URL. The name of the query string
- parameter is given by the value of the constant
- jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_URL_PARAM. Jakarta Servlet: This must be the
- value returned by the jakarta.servlet.http.HttpServletResponse method encodeURL(url).
-
- The purpose of this method is to generate a query string from the collection of
- Parameter objects provided by the parameters argument and append that query string to the baseUrl.
- This method must be able to encode the parameters to a baseUrl that may or may not have existing
- query parameters. The parameter values should be encoded appropriately for the environment so that
- the resulting URL can be used as the target of a link (e.g., in an href attribute) in a Jakarta
- Faces response. It's possible for an ExternalContext implementation to override this method in any
- way that would make the URL bookmarkable in that environment. See #encodeActionURL(java.lang.String)
- for the required specification of how to encode the jakarta.faces.lifecycle.ClientWindow. The
- default implementation throws UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
-
- Return the specified name, after prefixing it with a namespace that ensures that it
- will be unique within the context of a particular page. Jakarta Servlet: The input value must be
- returned unchanged.
-
- Return the input URL, after performing any rewriting needed to ensure that it can be
- used in a partial page submission (ajax request) to correctly identify an addressable action in the
- current application. See #encodeActionURL(java.lang.String) for the required specification of how to
- encode the jakarta.faces.lifecycle.ClientWindow. Jakarta Servlet:Returns the same encoded URL as the
- #encodeActionURL(String url) method. Portlet:Returns an encoded URL that, upon HTTP POST, will
- invoke the RESOURCE_PHASE of the portlet lifecycle.
-
- The purpose of this method is to generate a query string from the collection of
- Parameter objects provided by the parameters argument and append that query string to the baseUrl.
- This method must be able to encode the parameters to a baseUrl that may or may not have existing
- query parameters. The parameter values should be encoded appropriately for the environment so that
- the resulting URL can be used as the target of a redirect. It's possible for an ExternalContext
- implementation to override this method to accomodate the definition of redirect for that
- environment. See #encodeActionURL(java.lang.String) for the required specification of how to encode
- the jakarta.faces.lifecycle.ClientWindow.
-
- Return the input URL, after performing any rewriting needed to ensure that it will
- correctly identify an addressable resource in the current application. Jakarta Servlet: This must be
- the value returned by the jakarta.servlet.http.HttpServletResponse method encodeURL(url).
-
- Return the websocket URL, after performing any rewriting needed to ensure that it will
- correctly identify an addressable websocket in the current application. Jakarta Servlet: This must
- ensure that the input URL is prefixed with the correct websocket scheme, domain and port and then
- encoded by #encodeResourceURL(String).
-
- Return the name of the container context for this application. Jakarta Servlet: Return
- the result of calling getContextPath() on the ServletContext instance for this application. It is
- valid to call this method during application startup or shutdown. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Return a mutable Map representing the application scope attributes for the current
- application. The returned Map must implement the entire contract for a modifiable map as described
- in the JavaDocs for java.util.Map. Modifications made in the Map must cause the corresponding
- changes in the set of application scope attributes. Particularly the clear(), remove(), put(),
- putAll(), and get() operations must take the appropriate action on the underlying data structure. It
- is valid to call this method during application startup or shutdown. If called at startup or
- shutdown time, this method returns a Map that is backed by the same container context instance
- (ServletContext or PortletContext) as the one returned by calling getApplicationMap() on the
- ExternalContext returned by the FacesContext during an actual request. Jakarta Servlet: This must be
- the set of attributes available via the jakarta.servlet.ServletContext methods getAttribute(),
- getAttributeNames(), removeAttribute(), and setAttribute().
-
- Return the name of the authentication scheme used to authenticate the current user, if
- any; otherwise, return null. For standard authentication schemes, the returned value will match one
- of the following constants: BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, or FORM_AUTH. Jakarta
- Servlet: This must be the value returned by the jakarta.servlet.http.HttpServletRequest method
- getAuthType().
-
- Return the application environment object instance for the current appication. It is
- valid to call this method during application startup or shutdown. If called during application
- startup or shutdown, this returns the same container context instance (ServletContext or
- PortletContext) as the one returned when calling getContext() on the ExternalContext returned by the
- FacesContext during an actual request. Jakarta Servlet: This must be the current application's
- jakarta.servlet.ServletContext instance.
-
- Return the name of the container context for this application. Return the result of
- calling getServletContextName() on the ServletContext instance for this application. It is valid to
- call this method during application startup or shutdown. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Return the threadsafe Flash for this application. The default implementation will throw
- UnsupportedOperationException. Compliant Jakarta Faces runtimes must provide an implementation of
- this method.
-
- Return the value of the specified application initialization parameter (if any).
- Jakarta Servlet: This must be the result of the jakarta.servlet.ServletContext method
- getInitParameter(name). It is valid to call this method during application startup or shutdown. If
- called during application startup or shutdown, this method calls through to the actual container
- context to return the init parameter value.
-
- Return an immutable Map whose keys are the set of application initialization parameter
- names configured for this application, and whose values are the corresponding parameter values. The
- returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs
- for java.util.Map. It is valid to call this method during application startup or shutdown. If called
- during application startup or shutdown, this method returns a Map that is backed by the same
- container context instance (ServletContext or PortletContext) as the one returned by calling
- getInitParameterMap() on the ExternalContext returned by the FacesContext during an actual request.
- Jakarta Servlet: This result must be as if it were synthesized by calling the
- jakarta.servlet.ServletContext method getInitParameterNames, and putting each configured parameter
- name/value pair into the result.
-
- Returns the MIME type of the specified file or null if the MIME type is not known. The
- MIME type is determined by the container. It is valid to call this method during application startup
- or shutdown. If called during application startup or shutdown, this method calls through to the
- getMimeType() method on the same container context instance (ServletContext or PortletContext) as
- the one used when calling getMimeType() on the ExternalContext returned by the FacesContext during
- an actual request. Jakarta Servlet: This must be the value returned by the
- jakarta.servlet.ServletContext method getMimeType().
-
- Returns a String containing the real path for a given virtual path. It is valid to call
- this method during application startup or shutdown. If called during application startup or
- shutdown, this method calls through to the getRealPath() method on the same container context
- instance (ServletContext or PortletContext) as the one used when calling getRealPath() on the
- ExternalContext returned by the FacesContext during an actual request. Jakarta Servlet: This must be
- the value returned by the jakarta.servlet.ServletContext method getRealPath(). The default
- implementation throws UnsupportedOperationException and is provided for the sole purpose of not
- breaking existing applications that extend this class.
-
- Return the login name of the user making the current request if any; otherwise, return
- null. Jakarta Servlet: This must be the value returned by the
- jakarta.servlet.http.HttpServletRequest method getRemoteUser().
-
- Return the environment-specific object instance for the current request. Jakarta
- Servlet: This must be the current request's jakarta.servlet.http.HttpServletRequest instance.
-
- Return the character encoding currently being used to interpret this request. Jakarta
- Servlet: This must return the value returned by the jakarta.servlet.ServletRequest method
- getCharacterEncoding(). The default implementation throws UnsupportedOperationException and is
- provided for the sole purpose of not breaking existing applications that extend this class.
-
- Return the result of calling getContentLenth() on the ServletRequest instance for this
- request. The default implementation throws UnsupportedOperationException and is provided for the
- sole purpose of not breaking existing applications that extend this class.
-
- Return the MIME Content-Type for this request. If not available, return null. Jakarta
- Servlet: This must return the value returned by the jakarta.servlet.ServletRequest method
- getContentType(). The default implementation throws UnsupportedOperationException and is provided
- for the sole purpose of not breaking existing applications that extend this class.
-
- Return the portion of the request URI that identifies the web application context for
- this request. Jakarta Servlet: This must be the value returned by the
- jakarta.servlet.http.HttpServletRequest method getContextPath().
-
- Return an immutable Map whose keys are the set of cookie names included in the current
- request, and whose values (of type jakarta.servlet.http.Cookie) are the first (or only) cookie for
- each cookie name returned by the underlying request. The returned Map must implement the entire
- contract for an unmodifiable map as described in the JavaDocs for java.util.Map. Jakarta Servlet:
- This must be the value returned by the jakarta.servlet.http.HttpServletRequest method getCookies(),
- unless null was returned, in which case this must be a zero-length array.
-
- Return an immutable Map whose keys are the set of request header names included in the
- current request, and whose values (of type String) are the first (or only) value for each header
- name returned by the underlying request. The returned Map must implement the entire contract for an
- unmodifiable map as described in the JavaDocs for java.util.Map. In addition, key comparisons must
- be performed in a case insensitive manner. Jakarta Servlet: This must be the set of headers
- available via the jakarta.servlet.http.HttpServletRequest methods getHeader() and getHeaderNames().
-
-
- Return an immutable Map whose keys are the set of request header names included in the
- current request, and whose values (of type String[]) are all of the value for each header name
- returned by the underlying request. The returned Map must implement the entire contract for an
- unmodifiable map as described in the JavaDocs for java.util.Map. In addition, key comparisons must
- be performed in a case insensitive manner. Jakarta Servlet: This must be the set of headers
- available via the jakarta.servlet.http.HttpServletRequest methods getHeaders() and getHeaderNames().
-
-
- Return the preferred Locale in which the client will accept content. Jakarta Servlet:
- This must be the value returned by the jakarta.servlet.ServletRequest method getLocale().
-
- Return an Iterator over the preferred Locales specified in the request, in decreasing
- order of preference. Jakarta Servlet: This must be an Iterator over the values returned by the
- jakarta.servlet.ServletRequest method getLocales().
-
- Return a mutable Map representing the request scope attributes for the current
- application. The returned Map must implement the entire contract for a modifiable map as described
- in the JavaDocs for java.util.Map. Modifications made in the Map must cause the corresponding
- changes in the set of request scope attributes. Particularly the clear(), remove(), put(), putAll(),
- and get() operations must take the appropriate action on the underlying data structure. Jakarta
- Servlet: This must be the set of attributes available via the jakarta.servlet.ServletRequest methods
- getAttribute(), getAttributeNames(), removeAttribute(), and setAttribute().
-
- Return an immutable Map whose keys are the set of request parameters names included in
- the current request, and whose values (of type String) are the first (or only) value for each
- parameter name returned by the underlying request. The returned Map must implement the entire
- contract for an unmodifiable map as described in the JavaDocs for java.util.Map. Jakarta Servlet:
- This must be the set of parameters available via the jakarta.servlet.ServletRequest methods
- getParameter() and getParameterNames().
-
- Return an Iterator over the names of all request parameters included in the current
- request. Jakarta Servlet: This must be an Iterator over the values returned by the
- jakarta.servlet.ServletRequest method getParameterNames().
-
- Return an immutable Map whose keys are the set of request parameters names included in
- the current request, and whose values (of type String[]) are all of the values for each parameter
- name returned by the underlying request. The returned Map must implement the entire contract for an
- unmodifiable map as described in the JavaDocs for java.util.Map. Jakarta Servlet: This must be the
- set of parameters available via the jakarta.servlet.ServletRequest methods getParameterValues() and
- getParameterNames().
-
- Return the extra path information (if any) included in the request URI; otherwise,
- return null. Jakarta Servlet: This must be the value returned by the
- jakarta.servlet.http.HttpServletRequest method getPathInfo().
-
- Returns the name of the scheme used to make this request, for example, http, https, or
- ftp. Jakarta Servlet: This must be the value returned by the jakarta.servlet.ServletRequest method
- getScheme(). The default implementation throws UnsupportedOperationException and is provided for the
- sole purpose of not breaking existing applications that extend this class.
-
- Returns the host name of the server to which the request was sent. Jakarta Servlet:
- This must be the value returned by the jakarta.servlet.ServletRequest method getServerName(). The
- default implementation throws UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
-
- Returns the port number to which the request was sent. Jakarta Servlet: This must be
- the value returned by the jakarta.servlet.ServletRequest method getServerPort(). The default
- implementation throws UnsupportedOperationException and is provided for the sole purpose of not
- breaking existing applications that extend this class.
-
- Return the Jakarta Servlet path information (if any) included in the request URI;
- otherwise, return null. Jakarta Servlet: This must be the value returned by the
- jakarta.servlet.http.HttpServletRequest method getServletPath().
-
- Return a URL for the application resource mapped to the specified path, if it exists;
- otherwise, return null. It is valid to call this method during application startup or shutdown. If
- called during application startup or shutdown, this method calls through to the getResource() method
- on the same container context instance (ServletContext or PortletContext) as the one used when
- calling getResource() on the ExternalContext returned by the FacesContext during an actual request.
- Jakarta Servlet: This must be the value returned by the jakarta.servlet.ServletContext method
- getResource(path).
-
- Return an InputStream for an application resource mapped to the specified path, if it
- exists; otherwise, return null. It is valid to call this method during application startup or
- shutdown. If called during application startup or shutdown, this method calls through to the
- getResourceAsStream() method on the same container context instance (ServletContext or
- PortletContext) as the one used when calling getResourceAsStream() on the ExternalContext returned
- by the FacesContext during an actual request. Jakarta Servlet: This must be the value returned by
- the jakarta.servlet.ServletContext method getResourceAsStream(path).
-
- Return the Set of resource paths for all application resources whose resource path
- starts with the specified argument. It is valid to call this method during application startup or
- shutdown. If called during application startup or shutdown, this method calls through to the
- getResourcePaths() method on the same container context instance (ServletContext or PortletContext)
- as the one used when calling getResourcePaths() on the ExternalContext returned by the FacesContext
- during an actual request. Jakarta Servlet: This must be the value returned by the
- jakarta.servlet.ServletContext method getResourcePaths(path).
-
- Return the environment-specific object instance for the current response. Jakarta
- Servlet: This is the current request's jakarta.servlet.http.HttpServletResponse instance.
-
- Return the buffer size for the current response. Jakarta Servlet: This must be
- performed by calling the jakarta.servlet.http.HttpServletResponse getBufferSize method. The default
- implementation throws UnsupportedOperationException and is provided for the sole purpose of not
- breaking existing applications that extend this class.
-
- Returns the name of the character encoding (MIME charset) used for the body sent in
- this response. Jakarta Servlet: This must return the value returned by the
- jakarta.servlet.ServletResponse method getCharacterEncoding(). Portlet: if this method is called
- during a lifecycle phase other than RENDER_RESPONSE, this must return null. If called during
- RENDER_RESPONSE, return the response encoding of the portlet response. The default implementation
- throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Return the MIME Content-Type for this response. If not available, return null. Jakarta
- Servlet: This must return the value returned by the jakarta.servlet.ServletResponse method
- getContentType(). The default implementation throws UnsupportedOperationException and is provided
- for the sole purpose of not breaking existing applications that extend this class.
-
- Returns an OutputStream suitable for writing binary data to the user-agent. Jakarta
- Servlet: This must return the value returned by the jakarta.servlet.ServletResponse method
- getOutputStream(). The default implementation throws UnsupportedOperationException and is provided
- for the sole purpose of not breaking existing applications that extend this class.
-
- Returns a Writer suitable for writing character data to the user-agent. Jakarta
- Servlet: This must return the value returned by the jakarta.servlet.ServletResponse#getWriter. The
- default implementation throws UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
-
- If the create parameter is true, create (if necessary) and return a session instance
- associated with the current request. If the create parameter is false return any existing session
- instance associated with the current request, or return null if there is no such session. Jakarta
- Servlet: This must return the result of calling getSession(create) on the underlying
- jakarta.servlet.http.HttpServletRequest instance.
-
- Return the id of the current session or the empty string if no session has been created
- and the create parameter is false. Jakarta Servlet: If create is true, obtain a reference to the
- HttpSession for the current request (creating the session if necessary) and return its id. If create
- is false, obtain a reference to the current session, if one exists, and return its id. If no session
- exists, return the empty string.
-
- Return a mutable Map representing the session scope attributes for the current
- application. The returned Map must implement the entire contract for a modifiable map as described
- in the JavaDocs for java.util.Map. Modifications made in the Map must cause the corresponding
- changes in the set of session scope attributes. Particularly the clear(), remove(), put(), and get()
- operations must take the appropriate action on the underlying data structure. Accessing attributes
- via this Map must cause the creation of a session associated with the current request, if such a
- session does not already exist. Jakarta Servlet: This must be the set of attributes available via
- the jakarta.servlet.http.HttpSession methods getAttribute(), getAttributeNames(), removeAttribute(),
- and setAttribute().
-
- Returns the maximum time interval, in seconds, that the Jakarta Servlet container will
- keep this session open between client accesses. After this interval, the Jakarta Servlet container
- will invalidate the session. The maximum time interval can be set with the
- #setSessionMaxInactiveInterval method. A return value of zero or less indicates that the session
- will never timeout. Jakarta Servlet: This must return the result of calling getMaxInactiveInterval
- on the underlying jakarta.servlet.http.HttpSession instance. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Return the Principal object containing the name of the current authenticated user, if
- any; otherwise, return null. Jakarta Servlet: This must be the value returned by the
- jakarta.servlet.http.HttpServletRequest method getUserPrincipal().
-
- Invalidates this session then unbinds any objects bound to it. Jakarta Servlet: This
- must be the value returned by the jakarta.servlet.http.HttpSession method invalidate(). The default
- implementation throws UnsupportedOperationException and is provided for the sole purpose of not
- breaking existing applications that extend this class.
-
- Check if the current response has been committed. Jakarta Servlet: This must be
- performed by calling the jakarta.servlet.http.HttpServletResponse isCommitted method. The default
- implementation throws UnsupportedOperationException and is provided for the sole purpose of not
- breaking existing applications that extend this class.
-
- Returns a boolean indicating whether this request was made using a secure channel, such
- as HTTPS. Jakarta Servlet: This must return the result of calling isSecure on the underlying
- jakarta.servlet.http.HttpServletRequest instance. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Return true if the currently authenticated user is included in the specified role.
- Otherwise, return false. Jakarta Servlet: This must be the value returned by the
- jakarta.servlet.http.HttpServletRequest method isUserInRole(role).
-
- Log the specified message to the application object. It is valid to call this method
- during application startup or shutdown. If called during application startup or shutdown, this calls
- the log() method on the same container context instance (ServletContext or PortletContext) as the
- one used during a call to log() on the ExternalContext returned by the FacesContext during an actual
- request. Jakarta Servlet: This must be performed by calling the jakarta.servlet.ServletContext
- method log(String).
-
- Log the specified message and exception to the application object. It is valid to call
- this method during application startup or shutdown. If called during application startup or
- shutdown, this calls the log() method on the same container context instance (ServletContext or
- PortletContext) as the one used when calling log() on the ExternalContext returned by the
- FacesContext during an actual request. Jakarta Servlet: This must be performed by calling the
- jakarta.servlet.ServletContext method log(String,Throwable).
-
- Redirect a request to the specified URL, and cause the responseComplete() method to be
- called on the FacesContext instance for the current request. The implementation must determine if
- the request is an Ajax request by obtaining a PartialViewContext instance from the FacesContext and
- calling PartialViewContext#isAjaxRequest(). Jakarta Servlet: For non Ajax requests, this must be
- accomplished by calling the jakarta.servlet.http.HttpServletResponse method sendRedirect(). For Ajax
- requests, the implementation must: Get a PartialResponseWriter instance from the FacesContext. Call
- #setResponseContentType with text/xml Call #setResponseCharacterEncoding with UTF-8 Call
- #addResponseHeader with Cache-Control, no-cache Call PartialResponseWriter#startDocument Call
- PartialResponseWriter#redirect with the url argument. Call PartialResponseWriter#endDocument
-
- Release any resources associated with this ExternalContext instance. This method is
- called during during destruction of the associated FacesContext.
-
- Flushes the buffered response content to the client. Jakarta Servlet: This must be
- performed by calling the jakarta.servlet.http.HttpServletResponse flushBuffer method. The default
- implementation throws UnsupportedOperationException and is provided for the sole purpose of not
- breaking existing applications that extend this class.
-
- Resets the current response. Jakarta Servlet: This must be performed by calling the
- jakarta.servlet.http.HttpServletResponse reset method. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Sends an HTTP status code with message. Jakarta Servlet: This must be performed by
- calling the jakarta.servlet.http.HttpServletResponse sendError method. The default implementation
- throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Set the environment-specific request to be returned by subsequent calls to #getRequest.
- This may be used to install a wrapper for the request. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Overrides the name of the character encoding used in the body of this request. Calling
- this method after the request has been accessed will have no no effect, unless a Reader or Stream
- has been obtained from the request, in which case an IllegalStateException is thrown. Jakarta
- Servlet: This must call through to the jakarta.servlet.ServletRequest method setCharacterEncoding().
- The default implementation throws UnsupportedOperationException and is provided for the sole purpose
- of not breaking existing applications that extend this class.
-
- Set the environment-specific response to be returned by subsequent calls to
- #getResponse. This may be used to install a wrapper for the response. The default implementation
- throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Set the buffer size for the current response. Jakarta Servlet: This must be performed
- by calling the jakarta.servlet.http.HttpServletResponse setBufferSize method. The default
- implementation throws UnsupportedOperationException and is provided for the sole purpose of not
- breaking existing applications that extend this class.
-
- Sets the character encoding (MIME charset) of the response being sent to the client,
- for example, to UTF-8. Jakarta Servlet: This must call through to the
- jakarta.servlet.ServletResponse method setCharacterEncoding(). The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Set the content length of the response. Jakarta Servlet: This must be performed by
- calling the jakarta.servlet.http.HttpServletResponse setContentLength method. The default
- implementation throws UnsupportedOperationException and is provided for the sole purpose of not
- breaking existing applications that extend this class.
-
- Sets the content type of the response being sent to the client, if the response has not
- been committed yet. Jakarta Servlet: This must call setContentType() on the underlying
- jakarta.servlet.ServletResponse instance. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Set the response header with the given name and value. Jakarta Servlet:This must be
- performed by calling the jakarta.servlet.http.HttpServletResponse setHeader method. The default
- implementation throws UnsupportedOperationException and is provided for the sole purpose of not
- breaking existing applications that extend this class.
-
- Sets the HTTP status code for the response. Jakarta Servlet: This must be performed by
- calling the jakarta.servlet.http.HttpServletResponse setStatus method. The default implementation
- throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Specifies the time, in seconds, between client requests before the Jakarta Servlet
- container will invalidate this session. An interval value of zero or less indicates that the session
- should never timeout. Jakarta Servlet: This must call setMaxInactiveInterval on the underlying
- jakarta.servlet.http.HttpServletRequest instance. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Create (if needed) and return an ExternalContext instance that is initialized for the
- processing of the specified request and response objects, for this web application.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- The default behavior of this method is to call
- jakarta.faces.context.ExternalContext#encodeBookmarkableURL(String, java.util.Map) on the wrapped
- ExternalContext object.
-
- The default behavior of this method is to call
- jakarta.faces.context.ExternalContext#encodeRedirectURL(String, java.util.Map) on the wrapped
- ExternalContext object.
-
- If this external context has been decorated, the implementation doing the decorating
- should push the implementation being wrapped to this constructor. The #getWrapped() will then return
- the implementation being wrapped.
-
- The default behavior of this method is to call
- jakarta.faces.context.ExternalContext#responseFlushBuffer() on the wrapped ExternalContext object.
-
-
- The default behavior of this method is to call
- jakarta.faces.context.ExternalContext#setResponseContentLength(int) on the wrapped ExternalContext
- object.
-
- Append a jakarta.faces.application.FacesMessage to the set of messages associated with
- the specified client identifier, if clientId is not null. If clientId is null, this
- jakarta.faces.application.FacesMessage is assumed to not be associated with any specific component
- instance.
-
- Return the Application instance associated with this web application. It is valid to
- call this method during application startup or shutdown. If called during application startup or
- shutdown, returns the correct current jakarta.faces.application.Application instance.
-
- Return a mutable Map representing the attributes associated wth this FacesContext
- instance. This Map is useful to store attributes that you want to go out of scope when the Faces
- lifecycle for the current request ends, which is not always the same as the request ending,
- especially in the case of Jakarta Servlet filters that are invoked after the Faces lifecycle for
- this request completes. Accessing this Map does not cause any events to fire, as is the case with
- the other maps: for request, session, and application scope. When #release() is invoked, the
- attributes must be cleared. The Map returned by this method is not associated with the request. If
- you would like to get or set request attributes, see ExternalContext#getRequestMap. The default
- implementation throws UnsupportedOperationException and is provided for the sole purpose of not
- breaking existing applications that extend this class.
-
- Return an Iterator over the client identifiers for which at least one
- jakarta.faces.application.FacesMessage has been queued. If there are no such client identifiers, an
- empty Iterator is returned. If any messages have been queued that were not associated with any
- specific client identifier, a null value will be included in the iterated values. The elements in
- the Iterator must be returned in the order in which they were added with #addMessage.
-
- Return the ELContext instance for this FacesContext instance. This ELContext instance
- has the same lifetime and scope as the FacesContext instance with which it is associated, and may be
- created lazily the first time this method is called for a given FacesContext instance. Upon creation
- of the ELContext instance, the implementation must take the following action: Call the
- ELContext#putContext method on the instance, passing in FacesContext.class and the this reference
- for the FacesContext instance itself. If the Collection returned by
- jakarta.faces.application.Application#getELContextListeners is non-empty, create an instance of
- jakarta.el.ELContextEvent and pass it to each jakarta.el.ELContextListener instance in the
- Collection by calling the jakarta.el.ELContextListener#contextCreated method.
-
- Return the ExternalContext instance for this FacesContext instance. It is valid to call
- this method during application startup or shutdown. If called during application startup or
- shutdown, this method returns an ExternalContext instance with the special behaviors indicated in
- the javadoc for that class. Methods document as being valid to call during application startup or
- shutdown must be supported.
-
- Return the maximum severity level recorded on any
- jakarta.faces.application.FacesMessages that has been queued, whether or not they are associated
- with any specific jakarta.faces.component.UIComponent. If no such messages have been queued, return
- null.
-
- Like #getMessages, but returns a List, enabling use from Jakarta Expression Language
- expressions. The default implementation throws UnsupportedOperationException and is provided for the
- sole purpose of not breaking existing applications that extend this class.
-
- Like #getMessages(java.lang.String), but returns a List of messages for the component
- with client id matching argument clientId. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- Return an Iterator over the jakarta.faces.application.FacesMessages that have been
- queued that are associated with the specified client identifier (if clientId is not null), or over
- the jakarta.faces.application.FacesMessages that have been queued that are not associated with any
- specific client identifier (if clientId is null). If no such messages have been queued, return an
- empty Iterator. The elements of the Iterator must be returned in the order in which they were added
- with calls to #addMessage.
-
- Return the result of calling UINamingContainer#getSeparatorChar, passing this as the
- argument. Note that this enables accessing the value of this property from the Jakarta Expression
- Language expression #{facesContext.namingContainerSeparatorChar}.
-
- Return the PartialViewContext for this request. The PartialViewContext is used to
- control the processing of specified components during the execute portion of the request processing
- lifecycle (known as partial processing) and the rendering of specified components (known as partial
- rendering). This method must return a new PartialViewContext if one does not already exist.
-
- Return the RenderKit instance for the render kit identifier specified on our
- UIViewRoot, if there is one. If there is no current UIViewRoot, if the UIViewRoot does not have a
- specified renderKitId, or if there is no RenderKit for the specified identifier, return null
- instead.
-
- Return the list of resource library contracts that have been calculated to be
- appropriate for use with this view, or an empty list if there are no such resource library
- contracts. The list returned by this method must be immutable. For backward compatibility with
- implementations of the specification prior to when this method was introduced, an implementation is
- provided that returns an empty list. Implementations compliant with the version in which this method
- was introduced must implement this method as specified.
-
- Return the root component that is associated with the this request. It is valid to call
- this method during application startup or shutdown. If called during application startup or
- shutdown, this method returns a new UIViewRoot with its locale set to Locale.getDefault().
-
- This utility method simply returns the result of
- jakarta.faces.render.ResponseStateManager#isPostback(FacesContext). The default implementation
- throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing
- applications that extend this class.
-
- The implementation must call this method at the earliest possble point in time after
- entering into a new phase in the request processing lifecycle.
-
- Allows control of wheter or not the runtime will publish events when
- Application#publishEvent(FacesContext, Class, Object) or Application#publishEvent(FacesContext,
- Class, Class, Object) is called.
-
- Set the resource library contracts calculated as valid to use with this view. The
- implementation must copy the contents of the incoming List into an immutable List for return from
- #getResourceLibraryContracts. If the argument is null or empty, the action taken is the same as if
- the argument is null: a subsequent call to getResourceLibraryContracts returns null. This method may
- only be called during the processing of jakarta.faces.view.ViewDeclarationLanguage#createView and
- during the VDL tag handler for the tag corresponding to an instance of UIViewRoot. For backward
- compatibility with implementations of the specification prior to when this method was introduced, an
- implementation is provided that takes no action. Implementations compliant with the version in which
- this method was introduced must implement this method as specified.
-
- Set the root component that is associated with this request. This method can be called
- by the application handler (or a class that the handler calls), during the Invoke Application phase
- of the request processing lifecycle and during the Restore View phase of the request processing
- lifecycle (especially when a new root component is created). In the present version of the
- specification, implementations are not required to enforce this restriction, though a future version
- of the specification may require enforcement. If the current UIViewRoot is non-null, and calling
- equals() on the argument root, passing the current UIViewRoot returns false, the clear method must
- be called on the Map returned from UIViewRoot#getViewMap.
-
- Sets a flag which indicates that a conversion or validation error occurred while
- processing the inputs. Inputs consist of either page parameters or form bindings. This flag can be
- read using #isValidationFailed.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Create (if needed) and return a FacesContext instance that is initialized for the
- processing of the specified request and response objects, utilizing the specified Lifecycle
- instance, for this web application. The implementation of this method must ensure that calls to the
- getCurrentInstance() method of FacesContext, from the same thread that called this method, will
- return the same FacesContext instance until the release() method is called on that instance. The
- implementation must call ExternalContextFactory#getExternalContext to produce the ExternalContext
- for the FacesContext instance. The default implementation must call
- ExceptionHandlerFactory#getExceptionHandler and make it so the return from that method is what gets
- returned from a call to FacesContext#getExceptionHandler on the returned FacesContext instance. The
- default implementation must call jakarta.faces.lifecycle.ClientWindowFactory#getClientWindow and
- make it so the return from that method is what gets returned from a call to
- ExternalContext#getClientWindow() on the returned ExternalContext instance.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- If this faces context has been decorated, the implementation doing the decorating
- should push the implementation being wrapped to this constructor. The #getWrapped() will then return
- the implementation being wrapped.
-
- The default behavior of this method is to call
- jakarta.faces.context.FacesContext#getClientIdsWithMessages() on the wrapped FacesContext object.
-
-
- The default behavior of this method is to call
- jakarta.faces.context.FacesContext#isProjectStage(jakarta.faces.application.ProjectStage) on the
- wrapped FacesContext object.
-
- Called after the execution of every lifecycle phase, this method allows implementations
- to take the necessary actions to provide the Flash scope contract as it applies to the request
- procesing lifecycle.
-
- Called before the execution of every lifecycle phase, this method allows
- implementations to take the necessary actions to provide the Flash scope contract as it applies to
- the request procesing lifecycle.
-
- Return the value of this JavaBeans property for the flash for this session. This value
- determines whether or not any jakarta.faces.application.FacesMessage instances queued in the current
- jakarta.faces.context.FacesContext must be preserved so they are accessible on the next traversal of
- the lifecycle on this session, regardless of the request being a redirect after post, or a normal
- postback. Map accesses for the special key #8220;keepMessages #8221; must return the value of this
- JavaBeans property. Jakarta Expression Language Usage Example First page Next page Any messages
- present on the first page must be displayed on this page.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5001
-
-
- boolean
-
-
- jakarta.faces.context.Flash.isRedirect
-
-
-
-
- Return the value of this property for the flash for this session. This must be false
- unless: #setRedirect was called for the current lifecycle traversal with true as the argument. The
- current lifecycle traversal for this session is in the #8220;execute #8221; phase and the previous
- traversal had #setRedirect called with true as the argument.
-
- Causes a value stored with a previous call to #putNow, its Jakarta Expression Language
- equivalent, or to the request Map, to be promoted to the flash so that is available on the next
- traversal through the lifecycle on this session.
-
- Puts a value in the flash so that it can be accessed on this traversal of the
- lifecycle, rather than on the next traversal. This is simply an alias for putting a value in the
- request map. Jakarta Expression Language Usage Example Value of \#{flash.now.bar}, should be
- barValue.
-
- Setting this property to true indicates that the next request on this session will be a
- redirect. Recall that on a redirect, the server sends a special response to the client instructing
- it to issue a new request to a specific URI. The implementation must insure that reading the value
- of this property on that request will return true. Jakarta Expression Language Usage Example
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5010
-
-
- void
-
-
- jakarta.faces.context.FlashWrapper.clear
-
-
-
-
- The default behavior of this method is to call Flash#clear() on the wrapped Flash
- object.
-
- If this flash has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Write the start of a partial response. If UIViewRoot is an instance of NamingContainer,
- then write UIViewRoot#getContainerClientId(FacesContext) as value of the id attribute of the root
- element.
-
- Return a Collection of client identifiers from the current request with the request
- parameter name #PARTIAL_EXECUTE_PARAM_NAME. If there is no such request parameter, return an empty
- Collection. These client identifiers are used to identify components that will be processed during
- the execute phase of the request processing lifecycle. The returned Collection is mutable.
-
- Return the ResponseWriter to which components should direct their output for partial
- view rendering. Within a given response, components can use either the ResponseStream or the
- ResponseWriter, but not both.
-
- Return a Collection of client identifiers from the current request with the request
- parameter name #PARTIAL_RENDER_PARAM_NAME. If there is no such request parameter, return an empty
- Collection. These client identifiers are used to identify components that will be processed during
- the render phase of the request processing lifecycle. The returned Collection is mutable.
-
- Return true if #isAjaxRequest returns true and #PARTIAL_EXECUTE_PARAM_NAME is present
- in the current request with the value #ALL_PARTIAL_PHASE_CLIENT_IDS. Otherwise, return false.
-
- Return true #isAjaxRequest returns true or if the request header Faces-Request is
- present with the value partial/process. Otherwise, return false.
-
- Return true if #isAjaxRequest returns true and #PARTIAL_RENDER_PARAM_NAME is present in
- the current request with the value #ALL_PARTIAL_PHASE_CLIENT_IDS. Otherwise, return false.
-
- Return true if the incoming request has a parameter named by the value of
- #RESET_VALUES_PARAM_NAME and that value is true. To preserve backward compatibility with custom
- implementations that may have extended from an earlier version of this class, an implementation is
- provided that returns false. A compliant implementation must override this method to take the
- specified action.
-
- Perform lifecycle processing on components during the indicated phaseId. Only those
- components with identifiers existing in the Collection returned from #getExecuteIds and
- #getRenderIds will be processed. When the indicated phaseId equals PhaseId#RENDER_RESPONSE, then
- perform the following tasks in sequence: If #isResetValues() returns true, then call
- UIViewRoot#resetValues(FacesContext, Collection), passing #getRenderIds(). If #isRenderAll() returns
- false, then render any component resource of UIViewRoot whose
- ResourceHandler#getRendererTypeForResourceName(String) does not return null, and whose
- UIComponent#getChildCount() is zero, and whose ResourceHandler#isResourceRendered(FacesContext,
- String, String) returns false, in an update element with an identifier of jakarta.faces.Resource.
- Process the components. Obtain the state by calling StateManager#getViewState and write it out as an
- update element with an identifier of jakarta.faces.ViewState where is the return from
- UIViewRoot#getContainerClientId(FacesContext) on the view from whence this state originated, and is
- the currently configured UINamingContainer#getSeparatorChar(FacesContext). If #isRenderAll() returns
- false, then write out each script of #getEvalScripts() as an eval element.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- If this partial view context has been decorated, the implementation doing the
- decorating should push the implementation being wrapped to this constructor. The #getWrapped() will
- then return the implementation being wrapped.
-
- Flush any ouput buffered by the output method to the underlying Writer or OutputStream.
- This method will not flush the underlying Writer or OutputStream; it simply clears any values
- buffered by this ResponseWriter.
-
- Open an XML CDATA block. Note that XML does not allow nested CDATA blocks, though this
- method does not enforce that constraint. The default implementation of this method takes no action
- when invoked.
-
- Write the start of an element, up to and including the element name. Once this method
- has been called, clients can call the writeAttribute() or writeURIAttribute() methods to add
- attributes and corresponding values. The starting element will be closed (that is, the trailing '
- gt;' character added) on any subsequent call to startElement(), writeComment(), writeText(),
- endElement(), endDocument(), close(), flush(), or write(). If the argument component's pass through
- attributes includes an attribute of the name given by the value of the symbolic constant
- jakarta.faces.render.Renderer#PASSTHROUGH_RENDERER_LOCALNAME_KEY, use that as the element name,
- instead of the value passed as the first parameter to this method. Care must be taken so that this
- value is not also rendered when any other pass through attributes on this component are rendered.
-
-
- Write an attribute name and corresponding value, after converting that text to a String
- (if necessary), and after performing any escaping appropriate for the markup language being
- rendered. This method may only be called after a call to startElement(), and before the opened
- element has been closed.
-
- Write a string containing the markup specific doctype. No escaping is performed. The
- default implementation simply calls through to #write(java.lang.String) . The implementation makes
- no checks if this is the correct place in the response to have a doctype, nor does it prevent the
- doctype from being written more than once.
-
- Write a string containing the markup specific preamble. No escaping is performed. The
- default implementation simply calls through to #write(java.lang.String) . The implementation makes
- no checks if this is the correct place in the response to have a preamble, nor does it prevent the
- preamble from being written more than once.
-
- Write an object, after converting it to a String (if necessary), and after performing
- any escaping appropriate for the markup language being rendered. If there is an open element that
- has been created by a call to startElement(), that element will be closed first.
-
- Write an object, after converting it to a String (if necessary), and after performing
- any escaping appropriate for the markup language being rendered. This method is equivalent to
- #writeText(java.lang.Object,java.lang.String) but adds a component property to allow custom
- ResponseWriter implementations to associate a component with an arbitrary portion of text. The
- default implementation simply ignores the component argument and calls through to
- #writeText(java.lang.Object,java.lang.String)
-
- Write a URI attribute name and corresponding value, after converting that text to a
- String (if necessary), and after performing any encoding or escaping appropriate to the markup
- language being rendered. When rendering in a WWW environment, the escaping conventions established
- in the W3C URI spec document must be followed. In particular, spaces ' ' must be encoded as %20 and
- not the plus character '+'. This method may only be called after a call to startElement(), and
- before the opened element has been closed.
-
- If this response writer has been decorated, the implementation doing the decorating
- should push the implementation being wrapped to this constructor. The #getWrapped() will then return
- the implementation being wrapped.
-
- The default behavior of this method is to call ResponseWriter#startElement(String,
- jakarta.faces.component.UIComponent) on the wrapped ResponseWriter object.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Returns the FacesMessage associated with this exception; this will only be available if
- the converter that thew this exception instance placed it there.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Return the Locale to be used when parsing or formatting dates and times. If not
- explicitly set, the Locale stored in the jakarta.faces.component.UIViewRoot for the current request
- is returned.
-
- The runtime must ensure that the #markInitialState method is called on each instance of
- this interface in the view at the appropriate time to indicate the component is in its initial
- state. The implementor of the interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called, after which time
- initialStateMarked() must return false. Also, during the time that the instance returns true from
- initialStateMarked(), the implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
-
- Set the style to be used to format or parse dates. Valid values are default, short,
- medium, long, and full. An invalid value will cause a ConverterException when getAsObject() or
- getAsString() is called.
-
- Set the Locale to be used when parsing or formatting dates and times. If set to null,
- the Locale stored in the jakarta.faces.component.UIViewRoot for the current request will be
- utilized.
-
- Set the format pattern to be used when formatting and parsing dates and times. Valid
- values are those supported by java.text.SimpleDateFormat. An invalid value will cause a
- ConverterException when getAsObject() or getAsString() is called.
-
- Set the style to be used to format or parse times. Valid values are default, short,
- medium, long, and full. An invalid value will cause a ConverterException when getAsObject() or
- getAsString() is called.
-
- Set the type of value to be formatted or parsed. Valid values are both, date, time
- localDate, localDateTime, localTime, offsetTime, offsetDateTime, or zonedDateTime. The values
- starting with "local", "offset" and "zoned" correspond to Java SE 8 Date Time API classes in package
- java.time with the name derived by upper casing the first letter. For example, java.time.LocalDate
- for the value "localDate". An invalid value will cause a ConverterException when getAsObject() or
- getAsString() is called.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Convert the value argument to one of the enum constants of the class provided in our
- constructor. If no target class argument has been provided to the constructor of this instance,
- throw a ConverterException containing the #ENUM_NO_CLASS_ID message with proper parameters. If the
- value argument is null or it has a length of zero, return null. Otherwise, perform the equivalent of
- Enum.valueOf using target class and value and return the Object. If the conversion fails, throw a
- ConverterException containing the #ENUM_ID message with proper parameters.
-
- Convert the enum constant given by the value argument into a String. If no target class
- argument has been provided to the constructor of this instance, throw a ConverterException
- containing the #ENUM_NO_CLASS_ID message with proper parameters. If the value argument is null,
- return the empty String. If the value is an instance of the provided target class, return its string
- value by casting it to a java.lang.Enum and returning the result of calling the name() method.
- Otherwise, throw a ConverterException containing the #ENUM_ID message with proper parameters.
-
- The runtime must ensure that the #markInitialState method is called on each instance of
- this interface in the view at the appropriate time to indicate the component is in its initial
- state. The implementor of the interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called, after which time
- initialStateMarked() must return false. Also, during the time that the instance returns true from
- initialStateMarked(), the implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
-
- The value of this annotation attribute is taken to be the converter-for-class with
- which instances of this class of converter can be instantiated by calling
- jakarta.faces.application.Application#createConverter(java.lang.Class).
-
- The value of this annotation attribute is taken to be the converter-id with which
- instances of this class of converter can be instantiated by calling
- jakarta.faces.application.Application#createConverter(java.lang.String).
-
- The value of this annotation attribute is taken to be the converter-for-class with
- which instances of this class of converter can be instantiated by calling
- jakarta.faces.application.Application#createConverter(java.lang.Class).
-
- The value of this annotation attribute is taken to be the converter-id with which
- instances of this class of converter can be instantiated by calling
- jakarta.faces.application.Application#createConverter(java.lang.String).
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Return the ISO 4217 currency code used by getAsString() with a type of currency. If not
- set, the value used will be based on the formatting Locale.
-
- Return the Locale to be used when parsing numbers. If this value is null, the Locale
- stored in the jakarta.faces.component.UIViewRoot for the current request will be utilized.
-
- The runtime must ensure that the #markInitialState method is called on each instance of
- this interface in the view at the appropriate time to indicate the component is in its initial
- state. The implementor of the interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called, after which time
- initialStateMarked() must return false. Also, during the time that the instance returns true from
- initialStateMarked(), the implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
-
- Set the Locale to be used when parsing numbers. If set to null, the Locale stored in
- the jakarta.faces.component.UIViewRoot for the current request will be utilized.
-
- Set the maximum number of digits getAsString() should render in the fraction portion of
- the result. If not set, the number of digits depends on the value being converted.
-
- Set the maximum number of digits getAsString() should render in the integer portion of
- the result. If not set, the number of digits depends on the value being converted.
-
- Set the minimum number of digits getAsString() should render in the fraction portion of
- the result. If not set, the number of digits depends on the value being converted.
-
- Set the minimum number of digits getAsString() should render in the integer portion of
- the result. If not set, the number of digits depends on the value being converted.
-
- Set the format pattern to be used when formatting and parsing numbers. Valid values are
- those supported by java.text.DecimalFormat. An invalid value will cause a ConverterException when
- getAsObject() or getAsString() is called.
-
- Set the number type to be used when formatting and parsing numbers. Valid values are
- currency, number, or percent. An invalid value will cause a ConverterException when getAsObject() or
- getAsString() is called.
-
- Convert the specified string value, which is associated with the specified UIComponent,
- into a model data object that is appropriate for being stored during the Process Validations phase
- of the request processing lifecycle.
-
- Return true if this FacesListener is an instance of a listener class that this event
- supports. Typically, this will be accomplished by an "instanceof" check on the listener class.
-
-
- Broadcast this FacesEvent to the specified FacesListener, by whatever mechanism is
- appropriate. Typically, this will be accomplished by calling an event processing method, and passing
- this FacesEvent as a paramter.
-
- Broadcast this event instance to the specified FacesListener, by whatever mechanism is
- appropriate. Typically, this will be accomplished by calling an event processing method, and passing
- this instance as a parameter.
-
- Return true if the argument FacesListener is an instance of the appropriate listener
- class that this event supports. The default implementation returns true if the listener is a
- ComponentSystemEventListener or if super.isAppropriateListener() returns true.
-
- Instantiate a new ExceptionQueuedEventContext that indicates the argument Throwable
- just occurred, relevant to the argument component, during the lifecycle phase phaseId.
-
- Get the Faces context. If the constructor was passed a FacesContext we return it,
- otherwise we call FacesContext.getCurrentInstance() and return it.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5312
-
-
- PhaseId
-
-
- jakarta.faces.event.FacesEvent.getPhaseId
-
-
-
-
- Return the identifier of the request processing phase during which this event should be
- delivered. Legal values are the singleton instances defined by the PhaseId class, including
- PhaseId.ANY_PHASE, which is the default value.
-
- Return true if this FacesListener is an instance of a listener class that this event
- supports. Typically, this will be accomplished by an "instanceof" check on the listener class.
-
-
- Broadcast this FacesEvent to the specified FacesListener, by whatever mechanism is
- appropriate. Typically, this will be accomplished by calling an event processing method, and passing
- this FacesEvent as a paramter.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5315
-
-
- void
-
-
- jakarta.faces.event.FacesEvent.queue
-
-
-
-
- Convenience method to queue this event for broadcast at the end of the current request
- processing lifecycle phase.
-
- The kind of object that emits events of the type given by the value of the
- #systemEventClass attribute. It is valid to have Jakarta Expression Language Expressions in the
- value of this attribute, as long as the expression resolves to an instance of the expected type.
-
-
- The kind of system event for which this class will be installed as a listener. The
- implementation only supports exact matches on the Class and must not honor subclass relationships.
- It is valid to have EL Expressions in the value of this attribute, as long as the expression
- resolves to an instance of the expected type.
-
- Construct a ValueChangeListener that contains a MethodExpression. To accomodate method
- expression targets that take no arguments instead of taking an ActionEvent argument, the
- implementation of this class must take the argument methodExpressionOneArg, extract its expression
- string, and create another MethodExpression whose expected param types match those of a zero
- argument method. The usage requirements for both of these MethodExpression instances are described
- in #processAction.
-
- Call through to the MethodExpression passed in our constructor. First, try to invoke
- the MethodExpression passed to the constructor of this instance, passing the argument ActionEvent as
- the argument. If a MethodNotFoundException is thrown, call to the zero argument MethodExpression
- derived from the MethodExpression passed to the constructor of this instance. If that fails for any
- reason, throw an AbortProcessingException, including the cause of the failure.
-
- Construct a ValueChangeListener that contains a MethodExpression.To accommodate method
- expression targets that take no arguments instead of taking a ValueChangeEvent argument, the
- implementation of this class must take the argument methodExpressionOneArg, extract its expression
- string, and create another MethodExpression whose expected param types match those of a zero
- argument method. The usage requirements for both of these MethodExpression instances are described
- in #processValueChange.
-
- Call through to the MethodExpression passed in our constructor. First, try to invoke
- the MethodExpression passed to the constructor of this instance, passing the argument
- ValueChangeEvent as the argument. If a MethodNotFoundException is thrown, call to the zero argument
- MethodExpression derived from the MethodExpression passed to the constructor of this instance. If
- that fails for any reason, throw an AbortProcessingException, including the cause of the failure.
-
-
- Denotes whether or not the Object implementing this interface must or must not
- participate in state saving or restoring.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5338
-
-
- String
-
-
- jakarta.faces.event.NamedEvent.shortName
-
-
-
-
- The value of this annotation attribute is taken to be the short name for the
- jakarta.faces.event.ComponentSystemEvent. If the value of this attribute is ommitted, the following
- algorithm must be used by the code that processes this annotation to determine its value. Get the
- unqualified class name (e.g., UserLoginEvent) Strip off the trailing "Event", if present (e.g.,
- UserLogin) Convert the first character to lower-case (e.g., userLogin) Prepend the package name to
- the lower-cased name.
-
- Return the identifier of the request processing phase during which this listener is
- interested in processing PhaseEvent events. Legal values are the singleton instances defined by the
- PhaseId class, including PhaseId.ANY_PHASE to indicate an interest in being notified for all
- standard phases.
-
- Instantiate a new PostKeepFlashValueEvent that indicates the argument key was just kept
- in the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass
- constructor.
-
- Instantiate a new PostKeepFlashValueEvent that indicates the argument key was just kept
- in the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass
- constructor.
-
- Instantiate a new PostPutFlashValueEvent that indicates the argument key was just put
- to the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass
- constructor.
-
- Instantiate a new PostPutFlashValueEvent that indicates the argument key was just put
- to the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass
- constructor.
-
- Instantiate a new PreRemoveFlashValueEvent that indicates the argument key will be
- removed from the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the
- superclass constructor.
-
- Instantiate a new PreRemoveFlashValueEvent that indicates the argument key will be
- removed from the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the
- superclass constructor.
-
- Get the Faces context. If the constructor was passed a FacesContext we return it,
- otherwise we call FacesContext.getCurrentInstance() and return it.
-
- Return true if this FacesListener is an instance of a the appropriate listener class
- that this event supports. The default implementation returns true if the listener is a
- ComponentSystemEventListener.
-
- Broadcast this event instance to the specified FacesListener, by whatever mechanism is
- appropriate. Typically, this will be accomplished by calling an event processing method, and passing
- this instance as a parameter.
-
- This method must return true if and only if this listener instance is interested in
- receiving events from the instance referenced by the source parameter.
-
- Return true if this FacesListener is an instance of a listener class that this event
- supports. Typically, this will be accomplished by an "instanceof" check on the listener class.
-
-
- Broadcast this FacesEvent to the specified FacesListener, by whatever mechanism is
- appropriate. Typically, this will be accomplished by calling an event processing method, and passing
- this FacesEvent as a paramter.
-
- Construct a new event object from the specified source component, old value, and new
- value. The default PhaseId for this event is PhaseId#ANY_PHASE.
-
- Construct a new event object from the Faces context, specified source component, old
- value and new value. The default PhaseId for this event is PhaseId#ANY_PHASE.
-
- Return the immutable application unique identifier for the document in which the
- argument flow is defined.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5425
-
-
- MethodExpression
-
-
- jakarta.faces.flow.Flow.getFinalizer
-
-
-
-
- Return the MethodExpression that must be called by the runtime as the last thing that
- happens before exiting this flow. Any FlowScoped beans declared for this flow must remain in scope
- until after control returns from the method referenced by this MethodExpression.
-
- Return the FlowCallNode that represents calling the targetFlow from this flow, or null
- if targetFlow cannot be reached from this flow.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5427
-
-
- Map
-
-
- jakarta.faces.flow.Flow.getFlowCalls
-
-
-
-
- Return an immutable data structure containing all the flow call nodes declared for this
- flow.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5428
-
-
- String
-
-
- jakarta.faces.flow.Flow.getId
-
-
-
-
- Return the immutable id for this Flow. This must be unique within the defining document
- (such as an Application Configuration Resources file), but need not be unique within the entire
- application.
-
- Return an immutable data structure containing the inbound parameters that have been
- declared for this flow. See FlowHandler#transition for the specification of how these parameters are
- used. Inbound parameters are associated with a specific flow instance, while outbound parameters are
- associated with a FlowCallNode that causes the transition to a new flow.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5430
-
-
- MethodExpression
-
-
- jakarta.faces.flow.Flow.getInitializer
-
-
-
-
- Return the MethodExpression that must be called by the runtime immediately after
- activating any FlowScoped beans declared for this flow.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5431
-
-
- List
-
-
- jakarta.faces.flow.Flow.getMethodCalls
-
-
-
-
- Return an immutable data structure containing all the method call nodes declared for
- this flow.
-
- Allow for flow transitions in the case of components rendered by the renderers from
- component-family jakarta.faces.OutcomeTarget. These transitions must happen at the front of the
- request processing lifecycle due to the HTTP GET based nature of such components. Therefore, this
- method is called from the restore view phase of the lifecycle. Let flowId be the value in the
- request parameter map for the parameter whose name is given by the value of
- #FLOW_ID_REQUEST_PARAM_NAME. Let toFlowDocumentId be the value in the request parameter map for the
- paramater whose name is given by the value of #TO_FLOW_DOCUMENT_ID_REQUEST_PARAM_NAME. If
- toFlowDocumentId is null, take no action and return. Otherwise, let sourceFlow be the return from
- #getCurrentFlow(jakarta.faces.context.FacesContext). A null value indicates there is no current
- flow, which will be the case if this navigation is trying to enter a flow. If flowId is not null and
- toFlowDocumentId is not equal to the value of #NULL_FLOW, let targetFlow be the result of calling
- #getFlow(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String), passing
- toFlowDocumentId and flowId as the last two arguments, respectively. If the result is non-null, let
- flowCallNode be the return from calling Flow#getFlowCall on the sourceFlow, passing targetFlow as
- the argument. Otherwise, targetFlow and flowCallNode must remain null, indicating that this is a
- flow return. Call FacesContext#getViewRoot() and let toViewId be the the return from calling
- jakarta.faces.component.UIViewRoot#getViewId on it. Call, #transition, passing the arguments
- gathered in the preceding algorithm.
-
- Return the currently active Flow for the argument FacesContext, or null if no flow is
- active. A Flow must always be associated with exactly one jakarta.faces.lifecycle.ClientWindow, but
- a ClientWindow may have multiple Flows. If #pushReturnMode had been called with true as the argument
- before invoking this method, return the preceding flow on the stack instead of the actual current
- flow, or null if there is no preceding flow. Otherwise, return the current flow.
-
- Return the last displayed viewId for the current flow, as returned by
- #getCurrentFlow(jakarta.faces.context.FacesContext), or null if there is no current flow.
-
- Enable the correct handling of navigation when processing a return node. The default
- jakarta.faces.application.NavigationHandler specification requires calling this method from a
- finally block, immediately attempting to process the navigation rules in the context of a flow
- return.
-
- Enable the correct handling of navigation when processing a return node. The default
- jakarta.faces.application.NavigationHandler specification requires calling this method before
- processing the navigation rules for the flow return, and calling #popReturnMode, from a finally
- block, immediately afterward.
-
- Perform a transition in the flow graph for the current user's
- jakarta.faces.lifecycle.ClientWindow. Obtain references to the Flow instances corresponding to the
- origin and destination arguments. If the origin Flow is equal to the destination Flow, take no
- action and return null. Otherwise, if the outboundCallNode argument is non-null save aside the
- outbound parameters. For discussion evaluatedParams is a data structure that stores the evaluated
- values of any outbound parameters. It is necessary to evaluate these values before popping any flow
- scopes because the values may refer to scoped instances that need to be passed to the target flow,
- but will not be available once the new scope is activated. Save aside the outbound parameters using
- the following algorithm. If the outboundParameters property of outboundCallNode is non-null and not
- empty, and the inboundParameters property of the target flow is non-null and not empty, for each
- entry in the outbound parameters whose name matches an entry in the inbound parameters, evaluate the
- value of the parameter, and put the evaluated value into evaluatedParams under the corresponding
- name. Otherwise, consider evaluatedParams to be empty. If the destination Flow is a sub-flow of the
- origin Flow push the destination Flow onto the flow data structure and return the destination Flow.
- Otherwise, pop the current Flow from the flow data structure. If the destination Flow is non-null,
- make the destination Flow the current flow, pushing it onto the data structure. If evaluatedParams
- is not empty, for each entry, find the corresponding parameter in the target flow's inbound
- parameters and call its setValue method, passing the value from evaluatedParams.
-
- If this flow handler factory has been decorated, the implementation doing the
- decorating should push the implementation being wrapped to this constructor. The #getWrapped() will
- then return the implementation being wrapped.
-
- If not empty, declare the defining document id within which the Flow referenced by
- #value is unique. If empty the, the runtime assumes that all flow ids are unique within the scope of
- the application.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5463
-
-
- String
-
-
- jakarta.faces.flow.FlowScoped.value
-
-
-
-
- Must be equivalent to the Flow#getId of a defined flow for this application.
-
- Return a ValueExpression for the value of the parameter. Depending on the context, this
- expression may only ever be evaluated in a "get" operation.
-
- Return the immutable VDL document id for this view node. This is normally the path to
- the VDL page that defines this view node. This must be unique within the flow.
-
- Called as the last step in flow definition, this method must perform any implementation
- specific initialization and return the built Flow. If called more than one time during a given flow
- building process, the second and subsequent invocations must take no action and return the built
- flow.
-
- A parameter that will be populated with the value from a correspondingly named outbound
- parameter from another flow when this flow is entered from that flow.
-
- A parameter that will be populated with the value from a correspondingly named outbound
- parameter from another flow when this flow is entered from that flow.
-
- Define a method call node. This node will cause the specified method to be invoked,
- passing parameters if necessary. The return from the method is used as the outcome for where to go
- next in the flow. If the method is a void method, the default outcome is used.
-
- Define a particular combination of conditions that must match for this case to be
- executed, and the view id of the component tree that should be selected next.
-
- Define a particular list of cases that will be inspected in the order they are defined
- to determine where to go next in the flow graph. If none of the cases match, the outcome from the
- default case is chosen.
-
- If the method is a void method, or the method returns null, this can be used to specify
- what value should be passed to runtime when the method returns.
-
- If the method is a void method, or the method returns null, this can be used to specify
- what value should be passed to runtime when the method returns.
-
- Set the method expression of this method call node. The method signature of the
- argument methodExpression must match the number and type of the parameters passed in the #parameters
- method.
-
- Set the method expression of this method call node. The method signature of the
- argument methodExpression must match the number and type of the parameters passed in the #parameters
- method.
-
- Set the method expression of this method call node. The method signature of the
- argument methodExpression must match the number and type of the parameters passed in the #parameters
- method.
-
- The implementation is responsible for examining the incoming request and extracting the
- value that must be returned from the #getId method. If #CLIENT_WINDOW_MODE_PARAM_NAME is "none" this
- method must not be invoked. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" the implementation must first
- look for a request parameter under the name given by the value of
- jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_PARAM. If no value is found, look for a
- request parameter under the name given by the value of
- jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_URL_PARAM. If no value is found, fabricate
- an id that uniquely identifies this ClientWindow within the scope of the current session. This value
- must be made available to return from the #getId method. The value must be suitable for inclusion as
- a hidden field or query parameter. If a value is found, decrypt it using the key from the session
- and make it available for return from #getId.
-
- Components that permit per-use disabling of the appending of the ClientWindow in
- generated URLs must call this method first before rendering those URLs. The caller must call
- #enableClientWindowRenderMode(jakarta.faces.context.FacesContext) from a finally block after
- rendering the URL. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs
- that cause a GET request must append the ClientWindow by default. This is specified as a static
- method because callsites need to access it without having access to an actual ClientWindow instance.
-
-
- Components that permit per-use disabling of the appending of the ClientWindow in
- generated URLs must call this method first after rendering those URLs. If
- #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET
- request must append the ClientWindow by default. This is specified as a static method because
- callsites need to access it without having access to an actual ClientWindow instance.
-
- Return a String value that uniquely identifies this ClientWindow within the scope of
- the current session. See #decode for the specification of how to derive this value.
-
- This method will be called whenever a URL is generated by the runtime where client
- window related parameters need to be inserted into the URL. This guarantees custom ClientWindow
- implementations that they will have the opportunity to insert any additional client window specific
- information in any case where a URL is generated, such as the rendering of hyperlinks. The returned
- map must be immutable. The default implementation of this method returns the empty map.
-
- Methods that append the ClientWindow to generated URLs must call this method to see if
- they are permitted to do so. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all
- generated URLs that cause a GET request must append the ClientWindow by default. This is specified
- as a static method because callsites need to access it without having access to an actual
- ClientWindow instance.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- The implementation is responsible for creating the ClientWindow instance for this
- request. If ClientWindow#CLIENT_WINDOW_MODE_PARAM_NAME is "none" or unspecified, this method must
- return null. If ClientWindow#CLIENT_WINDOW_MODE_PARAM_NAME is "url" the implementation must return a
- ClientWindow instance that implements the url-mode semantics described in ClientWindow.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- If this client window has been decorated, the implementation doing the decorating
- should push the implementation being wrapped to this constructor. The #getWrapped() will then return
- the implementation being wrapped.
-
- The implementation is responsible for examining the incoming request and extracting the
- value that must be returned from the #getId method. If #CLIENT_WINDOW_MODE_PARAM_NAME is "none" this
- method must not be invoked. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" the implementation must first
- look for a request parameter under the name given by the value of
- jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_PARAM. If no value is found, look for a
- request parameter under the name given by the value of
- jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_URL_PARAM. If no value is found, fabricate
- an id that uniquely identifies this ClientWindow within the scope of the current session. This value
- must be made available to return from the #getId method. The value must be suitable for inclusion as
- a hidden field or query parameter. If a value is found, decrypt it using the key from the session
- and make it available for return from #getId.
-
- Components that permit per-use disabling of the appending of the ClientWindow in
- generated URLs must call this method first before rendering those URLs. The caller must call
- #enableClientWindowRenderMode(jakarta.faces.context.FacesContext) from a finally block after
- rendering the URL. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs
- that cause a GET request must append the ClientWindow by default. This is specified as a static
- method because callsites need to access it without having access to an actual ClientWindow instance.
-
-
- Components that permit per-use disabling of the appending of the ClientWindow in
- generated URLs must call this method first after rendering those URLs. If
- #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET
- request must append the ClientWindow by default. This is specified as a static method because
- callsites need to access it without having access to an actual ClientWindow instance.
-
- Return a String value that uniquely identifies this ClientWindow within the scope of
- the current session. See #decode for the specification of how to derive this value.
-
- This method will be called whenever a URL is generated by the runtime where client
- window related parameters need to be inserted into the URL. This guarantees custom ClientWindow
- implementations that they will have the opportunity to insert any additional client window specific
- information in any case where a URL is generated, such as the rendering of hyperlinks. The returned
- map must be immutable. The default implementation of this method returns the empty map.
-
- Methods that append the ClientWindow to generated URLs must call this method to see if
- they are permitted to do so. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all
- generated URLs that cause a GET request must append the ClientWindow by default. This is specified
- as a static method because callsites need to access it without having access to an actual
- ClientWindow instance.
-
- Register a new PhaseListener instance that is interested in being notified before and
- after the processing for standard phases of the request processing lifecycle.
-
- Create or restore the ClientWindow to be used to display the
- jakarta.faces.component.UIViewRoot for this run through the lifecycle. See the class documentation
- for ClientWindow for an overview of the feature. If
- jakarta.faces.context.ExternalContext#getClientWindow() returns null, create a new instance of
- ClientWindow using the ClientWindowFactory. If the result is non-null, call
- ClientWindow#decode(jakarta.faces.context.FacesContext) on it. Store the new ClientWindow by calling
- jakarta.faces.context.ExternalContext#setClientWindow(jakarta.faces.lifecycle.ClientWindow).
-
- Deregister an existing PhaseListener instance that is no longer interested in being
- notified before and after the processing for standard phases of the request processing lifecycle. If
- no such listener instance has been registered, no action is taken.
-
- Execute the Render Response phase of the request processing lifecycle, unless the
- responseComplete() method has been called on the FacesContext instance associated with the current
- request.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Register a new PhaseListener instance that is interested in being notified before and
- after the processing for standard phases of the request processing lifecycle.
-
- Create or restore the ClientWindow to be used to display the
- jakarta.faces.component.UIViewRoot for this run through the lifecycle. See the class documentation
- for ClientWindow for an overview of the feature. If
- jakarta.faces.context.ExternalContext#getClientWindow() returns null, create a new instance of
- ClientWindow using the ClientWindowFactory. If the result is non-null, call
- ClientWindow#decode(jakarta.faces.context.FacesContext) on it. Store the new ClientWindow by calling
- jakarta.faces.context.ExternalContext#setClientWindow(jakarta.faces.lifecycle.ClientWindow).
-
- Execute all of the phases of the request processing lifecycle, up to but not including
- the Render Response phase, as described in section 2 "Request Processing Lifecycle" of the Jakarta
- Faces Specification Document, in the specified order. The processing flow can be affected (by the
- application, by components, or by event listeners) by calls to the renderResponse() or
- responseComplete() methods of the FacesContext instance associated with the current request.
-
- If this lifecycle has been decorated, the implementation doing the decorating should
- push the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Deregister an existing PhaseListener instance that is no longer interested in being
- notified before and after the processing for standard phases of the request processing lifecycle. If
- no such listener instance has been registered, no action is taken.
-
- Execute the Render Response phase of the request processing lifecycle, unless the
- responseComplete() method has been called on the FacesContext instance associated with the current
- request.
-
- Return the zero-relative index of the currently selected row. If we are not currently
- positioned on a row, or no wrappedData is available, return -1.
-
- Return true if there is wrappedData available, and the current value of rowIndex is
- greater than or equal to zero, and less than the length of the array. Otherwise, return false.
-
-
- Set the zero-relative index of the currently selected row, or -1 to indicate that we
- are not positioned on a row. It is possible to set the row index at a value for which the underlying
- data collection does not contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the getRowData() method. If there is
- no wrappedData available when this method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently
- selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected()
- method of all registered DataModelListeners.
-
- Set the object representing the data collection wrapped by this DataModel. If the
- specified data is null, detach this DataModel from any previously wrapped data collection instead.
- If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must
- be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is
- now selected.
-
- Return the zero-relative index of the currently selected row. If we are not currently
- positioned on a row, or no wrappedData is available, return -1.
-
- Return true if there is wrappedData available, and the current value of rowIndex is
- greater than or equal to zero, and less than the size of the list. Otherwise, return false.
-
- Set the zero-relative index of the currently selected row, or -1 to indicate that we
- are not positioned on a row. It is possible to set the row index at a value for which the underlying
- data collection does not contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the getRowData() method. If there is
- no wrappedData available when this method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently
- selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected()
- method of all registered DataModelListeners.
-
- Return the set of DataModelListeners interested in notifications from this DataModel.
- If there are no such listeners, an empty array is returned.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5600
-
-
- int
-
-
- jakarta.faces.model.DataModel.getRowCount
-
-
-
-
- Return the number of rows of data objects represented by this DataModel. If the number
- of rows is unknown, or no wrappedData is available, return -1.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5601
-
-
- Object
-
-
- jakarta.faces.model.DataModel.getRowData
-
-
-
-
- Return an object representing the data for the currently selected row index. If no
- wrappedData is available, return null.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5602
-
-
- int
-
-
- jakarta.faces.model.DataModel.getRowIndex
-
-
-
-
- Return the zero-relative index of the currently selected row. If we are not currently
- positioned on a row, or no wrappedData is available, return -1.
-
- Set the zero-relative index of the currently selected row, or -1 to indicate that we
- are not positioned on a row. It is possible to set the row index at a value for which the underlying
- data collection does not contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the getRowData() method. If there is
- no wrappedData available when this method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently
- selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected()
- method of all registered DataModelListeners.
-
- Set the object representing the data collection wrapped by this DataModel. If the
- specified data is null, detach this DataModel from any previously wrapped data collection instead.
- If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must
- be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is
- now selected.
-
- Return the number of rows of data objects represented by this DataModel. If the number
- of rows is unknown, or no wrappedData is available, return -1.
-
- Return the zero-relative index of the currently selected row. If we are not currently
- positioned on a row, or no wrappedData is available, return -1.
-
- Set the zero-relative index of the currently selected row, or -1 to indicate that we
- are not positioned on a row. It is possible to set the row index at a value for which the underlying
- data collection does not contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the getRowData() method. If there is
- no wrappedData available when this method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently
- selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected()
- method of all registered DataModelListeners.
-
- Set the object representing the data collection wrapped by this DataModel. If the
- specified data is null, detach this DataModel from any previously wrapped data collection instead.
- If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must
- be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is
- now selected.
-
- Return the zero-relative index of the currently selected row. If we are not currently
- positioned on a row, or no wrappedData is available, return -1.
-
- Return true if there is wrappedData available, and the current value of rowIndex is
- greater than or equal to zero, and less than the size of the list. Otherwise, return false.
-
- Set the zero-relative index of the currently selected row, or -1 to indicate that we
- are not positioned on a row. It is possible to set the row index at a value for which the underlying
- data collection does not contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the getRowData() method. If there is
- no wrappedData available when this method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently
- selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected()
- method of all registered DataModelListeners.
-
- Set the object representing the data collection wrapped by this DataModel. If the
- specified data is null, detach this DataModel from any previously wrapped data collection instead.
- If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must
- be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is
- now selected.
-
- Return -1, since ResultSet does not provide a standard way to determine the number of
- available rows without scrolling through the entire ResultSet, and this can be very expensive if the
- number of rows is large.
-
- If row data is available, return a Map representing the values of the columns for the
- row specified by rowIndex, keyed by the corresponding column names. If no wrapped data is available,
- return null. If a non-null Map is returned, its behavior must correspond to the contract for a
- mutable Map as described in the JavaDocs for AbstractMap, with the following exceptions and
- specialized behavior: The Map, and any supporting objects it returns, must perform all column name
- comparisons in a case-insensitive manner. This case-insensitivity must be implemented using a
- case-insensitive Comparator, such as String.CASE_INSENSITIVE_ORDER. The following methods must throw
- UnsupportedOperationException: clear(), remove(). The entrySet() method must return a Set that has
- the following behavior: Throw UnsupportedOperationException for any attempt to add or remove entries
- from the Set, either directly or indirectly through an Iterator returned by the Set. Updates to the
- value of an entry in this set must write through to the corresponding column value in the underlying
- ResultSet. The keySet() method must return a Set that throws UnsupportedOperationException on any
- attempt to add or remove keys, either directly or through an Iterator returned by the Set. The put()
- method must throw IllegalArgumentException if a key value for which containsKey() returns false is
- specified. However, if a key already present in the Map is specified, the specified value must write
- through to the corresponding column value in the underlying ResultSet. The values() method must
- return a Collection that throws UnsupportedOperationException on any attempt to add or remove
- values, either directly or through an Iterator returned by the Collection.
-
- Return the zero-relative index of the currently selected row. If we are not currently
- positioned on a row, or no wrappedData is available, return -1.
-
- Return true if there is wrappedData available, and the result of calling absolute() on
- the underlying ResultSet, passing the current value of rowIndex plus one (to account for the fact
- that ResultSet uses one-relative indexing), returns true. Otherwise, return false.
-
- Set the zero-relative index of the currently selected row, or -1 to indicate that we
- are not positioned on a row. It is possible to set the row index at a value for which the underlying
- data collection does not contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the getRowData() method. If there is
- no wrappedData available when this method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently
- selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected()
- method of all registered DataModelListeners.
-
- Set the object representing the data collection wrapped by this DataModel. If the
- specified data is null, detach this DataModel from any previously wrapped data collection instead.
- If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must
- be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is
- now selected.
-
- Return the zero-relative index of the currently selected row. If we are not currently
- positioned on a row, or no wrappedData is available, return -1.
-
- Set the zero-relative index of the currently selected row, or -1 to indicate that we
- are not positioned on a row. It is possible to set the row index at a value for which the underlying
- data collection does not contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the getRowData() method. If there is
- no wrappedData available when this method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently
- selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected()
- method of all registered DataModelListeners.
-
- Set the object representing the data collection wrapped by this DataModel. If the
- specified data is null, detach this DataModel from any previously wrapped data collection instead.
- If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must
- be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is
- now selected.
-
- Return a description of this item, for use in development tools.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5654
-
-
- String
-
-
- jakarta.faces.model.SelectItem.getLabel
-
-
-
-
- Return the label of this item, to be rendered visibly for the user.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5655
-
-
- Object
-
-
- jakarta.faces.model.SelectItem.getValue
-
-
-
-
- Return the value of this item, to be delivered to the model if this item is selected by
- the user.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5656
-
-
- boolean
-
-
- jakarta.faces.model.SelectItem.isDisabled
-
-
-
-
- Return the disabled flag for this item, which should modify the rendered output to make
- this item unavailable for selection by the user if set to true.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5657
-
-
- boolean
-
-
- jakarta.faces.model.SelectItem.isEscape
-
-
-
-
- If and only if this returns true, the code that renders this select item must escape
- the label using escaping syntax appropriate to the content type being rendered.
-
- Return the value of the noSelectionOption property. If the value of this property is
- true, the system interprets the option represented by this SelectItem instance as representing a "no
- selection" option. See UISelectOne#validateValue and UISelectMany#validateValue for usage.
-
-
- true
-
-
-
-
-
-
-
- true
-
-
-
-
- JSF:JAVADOC:5659
-
-
- SelectItem
-
-
- jakarta.faces.model.SelectItem.SelectItem
-
-
-
-
- Construct a SelectItem with no initialized property values.
-
- Construct a SelectItem with the specified value. The label property will be set to the
- value (converted to a String, if necessary), the description property will be set to null, the
- disabled property will be set to false, and the escape property will be set to ( true.
-
- Construct a SelectItem with the specified value and label. The description property
- will be set to null, the disabled property will be set to false, and the escape property will be set
- to true.
-
- Construct a SelectItem instance with the specified value, label and description. This
- disabled property will be set to false, and the escape property will be set to true.
-
- Set the disabled flag for this item, which should modify the rendered output to make
- this item unavailable for selection by the user if set to true.
-
- Construct a SelectItemGroup with the specified label and no associated selectItems. The
- value property will be set to a zero-length String, the description property will be set to null,
- and the disabled property will be set to false.
-
- Send given message object to the push socket channel as identified by #64;Push. The
- message object will be encoded as JSON and be available as first argument of the JavaScript listener
- function declared in .
-
- Send given message object to the push socket channel as identified by #64;Push,
- targeted to the given user as identified by . The message object will be encoded as JSON and be
- available as first argument of the JavaScript listener function declared in .
-
- Send given message object to the push socket channel as identified by #64;Push,
- targeted to the given users as identified by . The message object will be encoded as JSON and be
- available as first argument of the JavaScript listener function declared in .
-
- Decode any new state of this ClientBehavior from the request contained in the specified
- FacesContext. During decoding, events may be enqueued for later processing (by event listeners who
- have registered an interest), by calling queueEvent().
-
- Return the script that implements this ClientBehavior's client-side logic. The default
- implementation returns null. ClientBehaviorRenderer.getScript() implementations are allowed to
- return null to indicate that no script is required for this particular getScript() call. For
- example, a ClientBehaviorRenderer implementation may return null if the associated ClientBehavior is
- disabled.
-
- The value of this annotation attribute is taken to be the component-family which, in
- combination with #rendererType can be used to obtain a reference to an instance of this Renderer by
- calling jakarta.faces.render.RenderKit#getRenderer(java.lang.String, java.lang.String).
-
- The value of this annotation attribute is taken to be the renderer-type which, in
- combination with #componentFamily can be used to obtain a reference to an instance of this Renderer
- by calling jakarta.faces.render.RenderKit#getRenderer(java.lang.String, java.lang.String).
-
- Convert the component generated client id to a form suitable for transmission to the
- client. The default implementation returns the argument clientId unchanged.
-
- Attempt to convert previously stored state information into an object of the type
- required for this component (optionally using the registered jakarta.faces.convert.Converter for
- this component, if there is one). If conversion is successful, the new value should be returned from
- this method; if not, a ConverterException should be thrown.
-
- Return a flag indicating whether this Renderer is responsible for rendering the
- children the component it is asked to render. The default implementation returns false.
-
- Convert the component generated client id to a form suitable for transmission to the
- client. The default implementation returns the argument clientId unchanged.
-
- Decode any new state of the specified UIComponent from the request contained in the
- specified FacesContext, and store that state on the UIComponent. During decoding, events may be
- enqueued for later processing (by event listeners that have registered an interest), by calling
- queueEvent() on the associated UIComponent.
-
- Render the beginning specified UIComponent to the output stream or writer associated
- with the response we are creating. If the conversion attempted in a previous call to
- getConvertedValue() for this component failed, the state information saved during execution of
- decode() should be used to reproduce the incorrect input.
-
- Render the child components of this UIComponent, following the rules described for
- encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if
- the rendersChildren property of this component is true.
-
- Render the ending of the current state of the specified UIComponent, following the
- rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
- Attempt to convert previously stored state information into an object of the type
- required for this component (optionally using the registered jakarta.faces.convert.Converter for
- this component, if there is one). If conversion is successful, the new value should be returned from
- this method; if not, a ConverterException should be thrown.
-
- Return a flag indicating whether this Renderer is responsible for rendering the
- children the component it is asked to render. The default implementation returns false.
-
- If this renderer has been decorated, the implementation doing the decorating should
- push the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Register the specified ClientBehaviorRenderer instance, associated with the specified
- component type, to the set of ClientBehaviorRenderers registered with this RenderKit, replacing any
- previously registered ClientBehaviorRenderer for this type.
-
- Register the specified Renderer instance, associated with the specified component
- family and rendererType, to the set of Renderers registered with this RenderKit, replacing any
- previously registered Renderer for this combination of identifiers.
-
- Use the provided Writer to create a new ResponseWriter instance for the specified
- (optional) content type, and character encoding. Implementors are advised to consult the
- getCharacterEncoding() method of class jakarta.servlet.ServletResponse to get the required value for
- the characterEncoding for this method. Since the Writer for this response will already have been
- obtained (due to it ultimately being passed to this method), we know that the character encoding
- cannot change during the rendering of the response.
-
- Return an Iterator over the component-family entries supported by this RenderKit
- instance. The default implementation of this method returns an empty Iterator
-
- Return a RenderKit instance for the specified render kit identifier, possibly
- customized based on dynamic characteristics of the specified FacesContext, if non-null. If there is
- no registered RenderKit for the specified identifier, return null. The set of available render kit
- identifiers is available via the getRenderKitIds() method.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- The default behavior of this method is to call
- RenderKit#addClientBehaviorRenderer(String, ClientBehaviorRenderer) on the wrapped RenderKit object.
-
-
- The default behavior of this method is to call
- jakarta.faces.render.RenderKit#getClientBehaviorRendererTypes() on the wrapped RenderKit object.
-
-
- If this render kit has been decorated, the implementation doing the decorating should
- push the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Compliant implementations must return a cryptographically strong token for use to
- protect views in this application. For backwards compatibility with earlier revisions, a default
- implementation is provided that simply returns null.
-
- The implementation must inspect the current request and return an Object representing
- the tree structure and component state passed in to a previous invocation of
- #writeState(jakarta.faces.context.FacesContext,java.lang.Object). If the state saving method for
- this application is jakarta.faces.application.StateManager#STATE_SAVING_METHOD_CLIENT, writeState()
- will have encrypted the state in a tamper evident manner. If the state fails to decrypt, or decrypts
- but indicates evidence of tampering, a jakarta.faces.application.ProtectedViewException must be
- thrown.
-
- Return true if the current request is a postback. This method is leveraged from the
- Restore View Phase to determine if jakarta.faces.application.ViewHandler#restoreView or
- jakarta.faces.application.ViewHandler#createView should be called. The default implementation must
- return true if this ResponseStateManager instance wrote out state on a previous request to which
- this request is a postback, false otherwise. The implementation of this method for the Standard HTML
- RenderKit must consult the jakarta.faces.context.ExternalContext's requestParameterMap and return
- true if and only if there is a key equal to the value of the symbolic constant #VIEW_STATE_PARAM.
- For backwards compatibility with implementations of ResponseStateManager prior to Jakarta Faces 1.2,
- a default implementation is provided that consults the jakarta.faces.context.ExternalContext's
- requestParameterMap and return true if its size is greater than 0.
-
- If the preceding call to #writeState(jakarta.faces.context.FacesContext,
- java.lang.Object) was stateless, return true. If the preceding call to writeState() was stateful,
- return false. Otherwise throw IllegalStateException. To preserve backward compatibility with custom
- implementations that may have extended from an earlier version of this class, an implementation is
- provided that returns false. A compliant implementation must override this method to take the
- specified action.
-
- Take the argument state and write it into the output using the current ResponseWriter,
- which must be correctly positioned already. Call FacesContext#getViewRoot(). If
- jakarta.faces.component.UIComponent#isTransient() returns true, take implementation specific action
- so that the following call to #isStateless returns true and return. Otherwise, proceed as follows.
- If the state is to be written out to hidden fields, the implementation must take care to make all
- necessary character replacements to make the Strings suitable for inclusion as an HTTP request
- paramater. If the state saving method for this application is
- jakarta.faces.application.StateManager#STATE_SAVING_METHOD_CLIENT, the implementation must encrypt
- the state to be saved to the client in a tamper evident manner. If the state saving method for this
- application is jakarta.faces.application.StateManager#STATE_SAVING_METHOD_SERVER, and the current
- request is an Ajax request jakarta.faces.context.PartialViewContext#isAjaxRequest returns true), use
- the current view state identifier if it is available (do not generate a new identifier). Write out
- the render kit identifier associated with this ResponseStateManager implementation with the name as
- the value of the String constant ResponseStateManager.RENDER_KIT_ID_PARAM. The render kit identifier
- must not be written if: it is the default render kit identifier as returned by
- jakarta.faces.application.Application#getDefaultRenderKitId() or the render kit identfier is the
- value of jakarta.faces.render.RenderKitFactory.HTML_BASIC_RENDER_KIT and
- jakarta.faces.application.Application#getDefaultRenderKitId() returns null. The
- jakarta.faces.lifecycle.ClientWindow must be written using these steps. Call
- jakarta.faces.context.ExternalContext#getClientWindow. If the result is null, take no further action
- regarding the ClientWindow. If the result is non-null, write a hidden field whose name is
- #CLIENT_WINDOW_PARAM and whose id is jakarta.faces.ClientWindow where is the currently configured
- UINamingContainer.getSeparatorChar(). is the return from UIViewRoot.getContainerClientId() on the
- view from whence this state originated. is a number that must be unique within this view, but must
- not be included in the view state. The value of the field is implementation dependent but must
- uniquely identify this window within the user's session.
-
- Return the validation groups passed to the Validation API when checking constraints. If
- the validationGroupsArray attribute is omitted or empty, the validation groups will be inherited
- from the branch defaults, or if there are no branch defaults, the jakarta.validation.groups.Default
- group will be used.
-
- The runtime must ensure that the #markInitialState method is called on each instance of
- this interface in the view at the appropriate time to indicate the component is in its initial
- state. The implementor of the interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called, after which time
- initialStateMarked() must return false. Also, during the time that the instance returns true from
- initialStateMarked(), the implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
-
- A comma-separated list of validation groups which are used to filter which validations
- get checked by this validator. If the validationGroupsArray attribute is omitted or is empty, the
- validation groups will be inherited from the branch defaults or, if there are no branch defaults,
- the jakarta.validation.groups.Default group will be used.
-
- Verify that the value is valid according to the Bean Validation constraints. Obtain a
- ValidatorFactory instance by calling jakarta.validation.Validation#buildDefaultValidatorFactory. Let
- validationGroupsArray be a Class [] representing validator groups set on the component by the tag
- handler for this validator. The first search component terminates the search for the validation
- groups value. If no such value is found use the class name of jakarta.validation.groups.Default as
- the value of the validation groups. Let valueExpression be the return from calling
- UIComponent#getValueExpression on the argument component, passing the literal string #8220;value
- #8221; (without the quotes) as an argument. If this application is running in an environment with
- Jakarta Expression Language, obtain the ValueReference from valueExpression and let valueBaseClase
- be the return from calling ValueReference.getBase() and valueProperty be the return from calling
- ValueReference.getProperty(). If an earlier version of Jakarta Expression Language is present, use
- the appropriate methods to inspect valueExpression and derive values for valueBaseClass and
- valueProperty. If no ValueReference can be obtained, take no action and return. If
- ValueReference.getBase() return null, take no action and return. Obtain the ValidatorContext from
- the ValidatorFactory. Decorate the MessageInterpolator returned from
- ValidatorFactory#getMessageInterpolator with one that leverages the Locale returned from
- jakarta.faces.component.UIViewRoot#getLocale, and store it in the ValidatorContext using
- ValidatorContext#messageInterpolator. Obtain the jakarta.validation.Validator instance from the
- validatorContext. Obtain a jakarta.validation.BeanDescriptor from the jakarta.validation.Validator.
- If hasConstraints() on the BeanDescriptor returns false, take no action and return. Otherwise
- proceed. Call jakarta.validation.Validator#validateValue, passing valueBaseClass, valueProperty, the
- value argument, and validatorGroupsArray as arguments. If the returned Set lt;ConstraintViolation
- gt; is non-empty, for each element in the Set, create a FacesMessage where the summary and detail
- are the return from calling ConstraintViolation#getMessage. Capture all such FacesMessage instances
- into a Collection and pass them to ValidatorException#ValidatorException(java.util.Collection). If
- the #ENABLE_VALIDATE_WHOLE_BEAN_PARAM_NAME application parameter is enabled and this Validator
- instance has validation groups other than or in addition to the Default group, record the fact that
- this field failed validation so that any component later in the tree is able to skip class-level
- validation for the bean for which this particular field is a property. Regardless of whether or not
- #ENABLE_VALIDATE_WHOLE_BEAN_PARAM_NAME is set, throw the new exception. If the returned Set is
- empty, the #ENABLE_VALIDATE_WHOLE_BEAN_PARAM_NAME application parameter is enabled and this
- Validator instance has validation groups other than or in addition to the Default group, record the
- fact that this field passed validation so that any component later in the tree is able to allow
- class-level validation for the bean for which this particular field is a property.
-
- The runtime must ensure that the #markInitialState method is called on each instance of
- this interface in the view at the appropriate time to indicate the component is in its initial
- state. The implementor of the interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called, after which time
- initialStateMarked() must return false. Also, during the time that the instance returns true from
- initialStateMarked(), the implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
-
- If true, the validator id for this annotation is added to the list of default
- validators by a call to jakarta.faces.application.Application#addDefaultValidatorId.
-
- The value of this annotation attribute is taken to be the validator-id with which
- instances of this class of component can be instantiated by calling
- jakarta.faces.application.Application#createValidator(java.lang.String). If no value is specified,
- or the value is null, the value is taken to be the return of calling getSimpleName on the class to
- which this annotation is attached and lowercasing the first character. If more than one validator
- with this derived name is found, the results are undefined.
-
- If true, the validator id for this annotation is added to the list of default
- validators by a call to jakarta.faces.application.Application#addDefaultValidatorId.
-
- The value of this annotation attribute is taken to be the validator-id with which
- instances of this class of component can be instantiated by calling
- jakarta.faces.application.Application#createValidator(java.lang.String). If no value is specified,
- or the value is null, the value is taken to be the return of calling getSimpleName on the class to
- which this annotation is attached and lowercasing the first character. If more than one validator
- with this derived name is found, the results are undefined.
-
- The runtime must ensure that the #markInitialState method is called on each instance of
- this interface in the view at the appropriate time to indicate the component is in its initial
- state. The implementor of the interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called, after which time
- initialStateMarked() must return false. Also, during the time that the instance returns true from
- initialStateMarked(), the implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
-
- The runtime must ensure that the #markInitialState method is called on each instance of
- this interface in the view at the appropriate time to indicate the component is in its initial
- state. The implementor of the interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called, after which time
- initialStateMarked() must return false. Also, during the time that the instance returns true from
- initialStateMarked(), the implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
-
- Perform any processing required to restore the state from the entries in the state
- Object. If the class that implements this interface has references to instances that also implement
- StateHolder (such as a UIComponent with event handlers, validators, etc.) this method must call the
- #restoreState method on all those instances as well. If the state argument is null, take no action
- and return.
-
- Gets the state of the instance as a Serializable Object. If the class that implements
- this interface has references to instances that implement StateHolder (such as a UIComponent with
- event handlers, validators, etc.) this method must call the #saveState method on all those instances
- as well. This method must not save the state of children and facets. That is done via the
- jakarta.faces.application.StateManager This method must not alter the state of the implementing
- object. In other words, after executing this code: Object state = component.saveState(facesContext);
- component should be the same as before executing it. The return from this method must be
- Serializable
-
- The runtime must ensure that the #markInitialState method is called on each instance of
- this interface in the view at the appropriate time to indicate the component is in its initial
- state. The implementor of the interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called, after which time
- initialStateMarked() must return false. Also, during the time that the instance returns true from
- initialStateMarked(), the implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
-
- Perform the correctness checks implemented by this Validator against the specified
- UIComponent. If any violations are found, a ValidatorException will be thrown containing the
- jakarta.faces.application.FacesMessage describing the failure. For a validator to be fully compliant
- with Version 2 and later of the specification, it must not fail validation on null or empty values
- unless it is specifically intended to address null or empty values. An application-wide is provided
- to allow validators designed for Jakarta Faces 1.2 to work with Jakarta Faces 2 and later. The
- jakarta.faces.VALIDATE_EMPTY_FIELDS must be set to false to enable this backwards compatibility
- behavior.
-
- Returns the FacesMessage associated with the exception. If this instance was created
- with a constructor that takes Collection, this method returns the first message in the Collection
-
-
- If this instance was created with a constructor that takes Collection, this method
- returns the passed collection, otherwise this method returns null.
-
- Take the argument parent and apply this attached object to it. The action taken varies
- with class that implements one of the subinterfaces of this interface.
-
- Returns the List that this AttachedObjectTarget exposes. Each attached object exposed
- by the composite component author may point at multiple UIComponent instances within the composite
- component. This method is used by the
- jakarta.faces.view.ViewDeclarationLanguage#retargetAttachedObjects method to take the appropriate
- action on the attached object.
-
- Restore the state of the view with information in the request. The default
- implementation must perform the following algorithm or its semantic equivalent. As in the case of
- restore view on an initial request, the view metadata must be restored and properly handled as well.
- Obtain the ViewMetadata for the current viewId, and from that call ViewMetadata#createMetadataView.
- Store the resultant UIViewRoot in the FacesContext. Obtain the state of the UIViewRoot from the
- state Object returned from jakarta.faces.render.ResponseStateManager#getState and pass that to
- UIViewRoot#restoreViewScopeState. Build the view from the markup. For all components in the view
- that do not have an explicitly assigned id in the markup, the values of those ids must be the same
- as on an initial request for this view. This view will not contain any components programmatically
- added during the previous lifecycle run, and it will contain components that were programmatically
- deleted on the previous lifecycle run. Both of these cases must be handled. Call
- jakarta.faces.render.ResponseStateManager#getState to obtain the data structure returned from the
- previous call to #saveView. Visit the tree using jakarta.faces.component.UIComponent#visitTree. For
- each node, call jakarta.faces.component.UIComponent#restoreState, passing the state saved
- corresponding to the current client id. Ensure that any programmatically deleted components are
- removed. Ensure any programmatically added components are added. The implementation must ensure that
- the jakarta.faces.component.UIComponent#restoreState method is called for each node in the tree,
- except for those that were programmatically deleted on the previous run through the lifecycle.
-
-
- Return the state of the current view in an Object that implements Serializable and can
- be passed to java.io.ObjectOutputStream.writeObject() without causing a
- java.io.NotSerializableException to be thrown. The default implementation must perform the following
- algorithm or its semantic equivalent, explicitly performing all the steps listed here. If the
- UIViewRoot of the current view is marked transient, return null immediately. Traverse the view and
- verify that each of the client ids are unique. Throw IllegalStateException if more than one client
- id are the same. Visit the tree using jakarta.faces.component.UIComponent#visitTree. For each node,
- call jakarta.faces.component.UIComponent#saveState, saving the returned Object in a way such that it
- can be restored given only its client id. Special care must be taken to handle the case of
- components that were added or deleted programmatically during this lifecycle traversal, rather than
- by the VDL. The implementation must ensure that the jakarta.faces.component.UIComponent#saveState
- method is called for each node in the tree. The data structure used to save the state obtained by
- executing the above algorithm must be Serializable, and all of the elements within the data
- structure must also be Serializable.
-
- Take any actions specific to this VDL implementation to cause the argument UIViewRoot
- which must have been created via a call to #createView, to be populated with children. The Facelets
- implementation must insure that markup comprising the view must be executed, with the
- jakarta.faces.component.UIComponent instances in the view being encountered in the same depth-first
- order as in other lifecycle methods defined on UIComponent, and added to the view (but not rendered)
- during the traversal. The runtime must guarantee that the view must be fully populated before any of
- the following happen. The jakarta.faces.event.PhaseListener#afterPhase method of any PhaseListeners
- attached to the application is called The jakarta.faces.component.UIViewRoot phase listener
- installed via jakarta.faces.component.UIViewRoot#setAfterPhaseListener or
- jakarta.faces.component.UIViewRoot#addPhaseListener are called. If the root is already populated
- with children, the view must still be re-built, but care must be taken to ensure that the existing
- components are correctly paired up with their VDL counterparts in the VDL page. Also, any system
- events that would normally be generated during the adding or removing of components from the view
- must be temporarily disabled during the creation of the view and then re-enabled when the view has
- been built.
-
- Return the list of resource library contracts that will be made available for use in
- the view specified by the argument viewId. If no match is found, return an empty list. See section
- 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document
- for the specification of the default implementation. For backward compatibility with prior
- implementations, an implementation is provided that returns null, but any implementation compliant
- with the version of the specification in which this method was introduced must implement it as
- specified in section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces
- Specification Document.
-
- Create a component given a ViewDeclarationLanguage specific tag library URI and tag
- name. The runtime must support this method operating for the Facelets VDL. Other kinds of
- ViewDeclarationLanguage may be supported but are not required to be supported. For backward
- compatibility with decorated ViewDeclrationLanguage implementations that do not override this
- method, a default implementation is provided that returns null. However, any implementation that is
- compliant with the version of the specification in which this method was introduced must implement
- this method.
-
- Create a UIViewRoot from the VDL contained in the artifact referenced by the argument
- viewId. See section 7.7.2"Default ViewDeclarationLanguage Implementation" of the Jakarta Faces
- Specification Document for the specification of the default implementation.
-
- Return a reference to the component metadata for the composite component represented by
- the argument componentResource, or null if the metadata cannot be found. See section 7.7.2 "Default
- ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the
- specification of the default implementation. Jakarta Server Pages implementations must throw
- UnsupportedOperationException.
-
- Returns a non-null String that can be used to identify this view declaration language.
- The default implementation returns the fully qualified class name of the view declaration language
- implementation. Subclasses may override to provide a more meaningful id.
-
- Take implementation specific action to discover a Resource given the argument
- componentResource. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta
- Faces Specification Document for the specification of the default implementation. Jakarta Server
- Pages implementations must throw UnsupportedOperationException.
-
- For implementations that want to control the implementation of state saving and
- restoring, the StateManagementStrategy allows them to do so. Returning null indicates that the
- implementation wishes the runtime to handle the state saving and restoring. Implementations that
- provide the VDL for Facelets for Jakarta Faces 2.0 and later must return non-null from this method.
-
-
- Return a reference to the view metadata for the view represented by the argument
- viewId, or null if the metadata cannot be found. See section 7.7.2 "Default ViewDeclarationLanguage
- Implementation" of the Jakarta Faces Specification Document for the specification of the default
- implementation. Facelets implementation must return non-null.
-
- Return a Stream possibly lazily populated by walking the view tree rooted at a given
- initial path. The view tree is traversed breadth-first, the elements in the stream are logical view
- ids. This method works as if invoking it were equivalent to evaluating the expression:
- getViewResources(facesContext, start, Integer.MAX_VALUE, options) Put differently, it visits all
- levels of the resource tree.
-
- Return a Stream possibly lazily populated by walking the view tree rooted at a given
- initial path. The view tree is traversed breadth-first, the elements in the stream are logical view
- ids. The maxDepth parameter is the maximum depth of directory levels to visit beyond the initial
- path, which is always visited. The value is relative to the root (/), not to the given initial path.
- E.g. given maxDepth = 3 and initial path /foo/, visiting will proceed up to /foo/bar/, where /
- counts as depth 1, /foo/ as depth 2 and /foo/bar/ as depth 3. A value lower or equal to the depth of
- the initial path means that only the initial path is visited. A value of Integer#MAX_VALUE MAX_VALUE
- may be used to indicate that all levels should be visited.
-
- Render a view rooted at argumentview. See section 7.7.2 "Default
- ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the
- specification of the default implementation.
-
- Restore a UIViewRoot from a previously created view. See section 7.7.2 "Default
- ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the
- specification of the default implementation.
-
- Assuming the component metadata for argument topLevelComponent has been made available
- by an earlier call to ViewDeclarationLanguage#getComponentMetadata, leverage the component metadata
- for the purpose of re-targeting attached objects from the top level composite component to the
- individual AttachedObjectTarget instances inside the composite component. This method must be called
- by the ViewDeclarationLanguage implementation when creating the UIComponent tree when a composite
- component usage is encountered. An algorithm semantically equivalent to the following must be
- implemented. Obtain the metadata for the composite component. Currently this entails getting the
- value of the UIComponent#BEANINFO_KEY component attribute, which will be an instance of BeanInfo. If
- the metadata cannot be found, log an error message and return. Get the BeanDescriptor from the
- BeanInfo. Get the value of the AttachedObjectTarget#ATTACHED_OBJECT_TARGETS_KEY from the
- BeanDescriptor's getValue() method. This will be a List lt;AttachedObjectTarget gt;. Let this be
- targetList. For each curHandler entry in the argument handlers Let forAttributeValue be the return
- from AttachedObjectHandler#getFor. For each curTarget entry in targetList, the first of the
- following items that causes a match will take this action: For each UIComponent in the list returned
- from curTarget.getTargets(), call curHandler.applyAttachedObject(), passing the FacesContext and the
- UIComponent. and cause this inner loop to terminate. If curHandler is an instance of
- ActionSource2AttachedObjectHandler and curTarget is an instance of
- ActionSource2AttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a
- match. If curHandler is an instance of EditableValueHolderAttachedObjectHandler and curTarget is an
- instance of EditableValueHolderAttachedObjectTarget, and curTarget.getName() is equal to
- curTargetName, consider it a match. If curHandler is an instance of ValueHolderAttachedObjectHandler
- and curTarget is an instance of ValueHolderAttachedObjectTarget, and curTarget.getName() is equal to
- curTargetName, consider it a match. If curHandler is an instance of
- BehaviorHolderAttachedObjectHandler and curTarget is an instance of
- BehaviorHolderAttachedObjectTarget, and either of the following conditions are true,
- curHandler.getEventName() is not null and is equal to curTargetName. curHandler.getEventName() is
- null and curTarget.isDefaultEvent() is true. consider it a match. The implementation must support
- retargeting attached objects from the top level compsite component to targets that are composite and
- non-composite components. An implementation is provided that will throw
- UnsupportedOperationException. A Faces implementation compliant with version 2.0 and beyond of the
- specification must override this method.
-
- Assuming the component metadata for argument topLevelComponent has been made available
- by an earlier call to ViewDeclarationLanguage#getComponentMetadata, leverage the component metadata
- for the purpose of re-targeting any method expressions from the top level component to the
- appropriate inner component. For each attribute that is a MethodExpression (as indicated by the
- presence of a "method-signature" attribute and the absence of a "type" attribute), the following
- action must be taken: Get the value of the targets attribute. If the value is a ValueExpression
- evaluate it. If there is no targets attribute, let the name of the metadata element be the evaluated
- value of the targets attribute. Interpret targets as a space (not tab) separated list of ids. For
- each entry in the list: Find the inner component of the topLevelComponent with the id equal to the
- current list entry. For discussion, this component is called target. If not found, log and error and
- continue to the next attribute. For discussion the declared name of the attribute is called name. In
- the attributes map of the topLevelComponent, look up the entry under the key name. Assume the result
- is a ValueExpression. For discussion, this is attributeValueExpression. If not found, log an error
- and continue to the next attribute. If name is equal to the string "action", or "actionListener"
- without the quotes, assume target is an jakarta.faces.component.ActionSource2. If name is equal to
- the string "validator", or "valueChangeListener" without the quotes, assume target is an
- jakarta.faces.component.EditableValueHolder. Call getExpressionString() on the
- attributeValueExpression and use that string to create a MethodExpression of the appropriate
- signature for name. If name is not equal to any of the previously listed strings, call
- getExpressionString() on the attributeValueExpression and use that string to create a
- MethodExpression where the signature is created based on the value of the "method-signature"
- attribute of the tag. Let the resultant MethodExpression be called attributeMethodExpression for
- discussion. If name is equal to the string "action" without the quotes, call
- jakarta.faces.component.ActionSource2#setActionExpression on target, passing
- attributeMethodExpression. If name is equal to the string "actionListener" without the quotes, call
- jakarta.faces.component.ActionSource#addActionListener on target, passing attributeMethodExpression
- wrapped in a jakarta.faces.event.MethodExpressionActionListener. If name is equal to the string
- "validator" without the quotes, call jakarta.faces.component.EditableValueHolder#addValidator on
- target, passing attributeMethodExpression wrapped in a
- jakarta.faces.validator.MethodExpressionValidator. If name is equal to the string
- "valueChangeListener" without the quotes, call
- jakarta.faces.component.EditableValueHolder#addValueChangeListener on target, passing
- attributeMethodExpression wrapped in a jakarta.faces.event.MethodExpressionValueChangeListener.
- Otherwise, assume that the MethodExpression should be placed in the components attribute set. The
- runtme must create the MethodExpression instance based on the value of the "method-signature"
- attribute. An implementation is provided that will throw UnsupportedOperationException. A Faces
- implementation compliant with version 2.0 and beyond of the specification must override this method.
-
-
- Tests whether a physical resource corresponding to the specified viewId exists. The
- default implementation uses jakarta.faces.application.ResourceHandler#createViewResource to locate
- the physical resource.
-
- Return the ViewDeclarationLanguage instance suitable for handling the VDL contained in
- the page referenced by the argument viewId. The default implementation must return a valid
- ViewDeclarationLanguage instance for views written in either Jakarta Server Pages, Faces XML Views,
- or Facelets for Jakarta Faces 2.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Take any actions specific to this VDL implementation to cause the argument UIViewRoot
- which must have been created via a call to #createView, to be populated with children. The Facelets
- implementation must insure that markup comprising the view must be executed, with the
- jakarta.faces.component.UIComponent instances in the view being encountered in the same depth-first
- order as in other lifecycle methods defined on UIComponent, and added to the view (but not rendered)
- during the traversal. The runtime must guarantee that the view must be fully populated before any of
- the following happen. The jakarta.faces.event.PhaseListener#afterPhase method of any PhaseListeners
- attached to the application is called The jakarta.faces.component.UIViewRoot phase listener
- installed via jakarta.faces.component.UIViewRoot#setAfterPhaseListener or
- jakarta.faces.component.UIViewRoot#addPhaseListener are called. If the root is already populated
- with children, the view must still be re-built, but care must be taken to ensure that the existing
- components are correctly paired up with their VDL counterparts in the VDL page. Also, any system
- events that would normally be generated during the adding or removing of components from the view
- must be temporarily disabled during the creation of the view and then re-enabled when the view has
- been built.
-
- Return the list of resource library contracts that will be made available for use in
- the view specified by the argument viewId. If no match is found, return an empty list. See section
- 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document
- for the specification of the default implementation. For backward compatibility with prior
- implementations, an implementation is provided that returns null, but any implementation compliant
- with the version of the specification in which this method was introduced must implement it as
- specified in section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces
- Specification Document.
-
- Create a component given a ViewDeclarationLanguage specific tag library URI and tag
- name. The runtime must support this method operating for the Facelets VDL. Other kinds of
- ViewDeclarationLanguage may be supported but are not required to be supported. For backward
- compatibility with decorated ViewDeclrationLanguage implementations that do not override this
- method, a default implementation is provided that returns null. However, any implementation that is
- compliant with the version of the specification in which this method was introduced must implement
- this method.
-
- Create a UIViewRoot from the VDL contained in the artifact referenced by the argument
- viewId. See section 7.7.2"Default ViewDeclarationLanguage Implementation" of the Jakarta Faces
- Specification Document for the specification of the default implementation.
-
- Return a reference to the component metadata for the composite component represented by
- the argument componentResource, or null if the metadata cannot be found. See section 7.7.2 "Default
- ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the
- specification of the default implementation. Jakarta Server Pages implementations must throw
- UnsupportedOperationException.
-
- Returns a non-null String that can be used to identify this view declaration language.
- The default implementation returns the fully qualified class name of the view declaration language
- implementation. Subclasses may override to provide a more meaningful id.
-
- Take implementation specific action to discover a Resource given the argument
- componentResource. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta
- Faces Specification Document for the specification of the default implementation. Jakarta Server
- Pages implementations must throw UnsupportedOperationException.
-
- For implementations that want to control the implementation of state saving and
- restoring, the StateManagementStrategy allows them to do so. Returning null indicates that the
- implementation wishes the runtime to handle the state saving and restoring. Implementations that
- provide the VDL for Facelets for Jakarta Faces 2.0 and later must return non-null from this method.
-
-
- Return a reference to the view metadata for the view represented by the argument
- viewId, or null if the metadata cannot be found. See section 7.7.2 "Default ViewDeclarationLanguage
- Implementation" of the Jakarta Faces Specification Document for the specification of the default
- implementation. Facelets implementation must return non-null.
-
- Return a Stream possibly lazily populated by walking the view tree rooted at a given
- initial path. The view tree is traversed breadth-first, the elements in the stream are logical view
- ids. This method works as if invoking it were equivalent to evaluating the expression:
- getViewResources(facesContext, start, Integer.MAX_VALUE, options) Put differently, it visits all
- levels of the resource tree.
-
- Return a Stream possibly lazily populated by walking the view tree rooted at a given
- initial path. The view tree is traversed breadth-first, the elements in the stream are logical view
- ids. The maxDepth parameter is the maximum depth of directory levels to visit beyond the initial
- path, which is always visited. The value is relative to the root (/), not to the given initial path.
- E.g. given maxDepth = 3 and initial path /foo/, visiting will proceed up to /foo/bar/, where /
- counts as depth 1, /foo/ as depth 2 and /foo/bar/ as depth 3. A value lower or equal to the depth of
- the initial path means that only the initial path is visited. A value of Integer#MAX_VALUE MAX_VALUE
- may be used to indicate that all levels should be visited.
-
- Render a view rooted at argumentview. See section 7.7.2 "Default
- ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the
- specification of the default implementation.
-
- Restore a UIViewRoot from a previously created view. See section 7.7.2 "Default
- ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the
- specification of the default implementation.
-
- Assuming the component metadata for argument topLevelComponent has been made available
- by an earlier call to ViewDeclarationLanguage#getComponentMetadata, leverage the component metadata
- for the purpose of re-targeting attached objects from the top level composite component to the
- individual AttachedObjectTarget instances inside the composite component. This method must be called
- by the ViewDeclarationLanguage implementation when creating the UIComponent tree when a composite
- component usage is encountered. An algorithm semantically equivalent to the following must be
- implemented. Obtain the metadata for the composite component. Currently this entails getting the
- value of the UIComponent#BEANINFO_KEY component attribute, which will be an instance of BeanInfo. If
- the metadata cannot be found, log an error message and return. Get the BeanDescriptor from the
- BeanInfo. Get the value of the AttachedObjectTarget#ATTACHED_OBJECT_TARGETS_KEY from the
- BeanDescriptor's getValue() method. This will be a List lt;AttachedObjectTarget gt;. Let this be
- targetList. For each curHandler entry in the argument handlers Let forAttributeValue be the return
- from AttachedObjectHandler#getFor. For each curTarget entry in targetList, the first of the
- following items that causes a match will take this action: For each UIComponent in the list returned
- from curTarget.getTargets(), call curHandler.applyAttachedObject(), passing the FacesContext and the
- UIComponent. and cause this inner loop to terminate. If curHandler is an instance of
- ActionSource2AttachedObjectHandler and curTarget is an instance of
- ActionSource2AttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a
- match. If curHandler is an instance of EditableValueHolderAttachedObjectHandler and curTarget is an
- instance of EditableValueHolderAttachedObjectTarget, and curTarget.getName() is equal to
- curTargetName, consider it a match. If curHandler is an instance of ValueHolderAttachedObjectHandler
- and curTarget is an instance of ValueHolderAttachedObjectTarget, and curTarget.getName() is equal to
- curTargetName, consider it a match. If curHandler is an instance of
- BehaviorHolderAttachedObjectHandler and curTarget is an instance of
- BehaviorHolderAttachedObjectTarget, and either of the following conditions are true,
- curHandler.getEventName() is not null and is equal to curTargetName. curHandler.getEventName() is
- null and curTarget.isDefaultEvent() is true. consider it a match. The implementation must support
- retargeting attached objects from the top level compsite component to targets that are composite and
- non-composite components. An implementation is provided that will throw
- UnsupportedOperationException. A Faces implementation compliant with version 2.0 and beyond of the
- specification must override this method.
-
- Assuming the component metadata for argument topLevelComponent has been made available
- by an earlier call to ViewDeclarationLanguage#getComponentMetadata, leverage the component metadata
- for the purpose of re-targeting any method expressions from the top level component to the
- appropriate inner component. For each attribute that is a MethodExpression (as indicated by the
- presence of a "method-signature" attribute and the absence of a "type" attribute), the following
- action must be taken: Get the value of the targets attribute. If the value is a ValueExpression
- evaluate it. If there is no targets attribute, let the name of the metadata element be the evaluated
- value of the targets attribute. Interpret targets as a space (not tab) separated list of ids. For
- each entry in the list: Find the inner component of the topLevelComponent with the id equal to the
- current list entry. For discussion, this component is called target. If not found, log and error and
- continue to the next attribute. For discussion the declared name of the attribute is called name. In
- the attributes map of the topLevelComponent, look up the entry under the key name. Assume the result
- is a ValueExpression. For discussion, this is attributeValueExpression. If not found, log an error
- and continue to the next attribute. If name is equal to the string "action", or "actionListener"
- without the quotes, assume target is an jakarta.faces.component.ActionSource2. If name is equal to
- the string "validator", or "valueChangeListener" without the quotes, assume target is an
- jakarta.faces.component.EditableValueHolder. Call getExpressionString() on the
- attributeValueExpression and use that string to create a MethodExpression of the appropriate
- signature for name. If name is not equal to any of the previously listed strings, call
- getExpressionString() on the attributeValueExpression and use that string to create a
- MethodExpression where the signature is created based on the value of the "method-signature"
- attribute of the tag. Let the resultant MethodExpression be called attributeMethodExpression for
- discussion. If name is equal to the string "action" without the quotes, call
- jakarta.faces.component.ActionSource2#setActionExpression on target, passing
- attributeMethodExpression. If name is equal to the string "actionListener" without the quotes, call
- jakarta.faces.component.ActionSource#addActionListener on target, passing attributeMethodExpression
- wrapped in a jakarta.faces.event.MethodExpressionActionListener. If name is equal to the string
- "validator" without the quotes, call jakarta.faces.component.EditableValueHolder#addValidator on
- target, passing attributeMethodExpression wrapped in a
- jakarta.faces.validator.MethodExpressionValidator. If name is equal to the string
- "valueChangeListener" without the quotes, call
- jakarta.faces.component.EditableValueHolder#addValueChangeListener on target, passing
- attributeMethodExpression wrapped in a jakarta.faces.event.MethodExpressionValueChangeListener.
- Otherwise, assume that the MethodExpression should be placed in the components attribute set. The
- runtme must create the MethodExpression instance based on the value of the "method-signature"
- attribute. An implementation is provided that will throw UnsupportedOperationException. A Faces
- implementation compliant with version 2.0 and beyond of the specification must override this method.
-
-
- If this view declaration language has been decorated, the implementation doing the
- decorating should push the implementation being wrapped to this constructor. The #getWrapped() will
- then return the implementation being wrapped.
-
- Tests whether a physical resource corresponding to the specified viewId exists. The
- default implementation uses jakarta.faces.application.ResourceHandler#createViewResource to locate
- the physical resource.
-
- Creates a new UIViewRoot containing only view parameter metadata. The processing of
- building this UIViewRoot with metadata should not cause any events to be published to the
- application. The implementation must call FacesContext#setProcessingEvents passing false as the
- argument, at the beginning of the method, and pass true to the same method at the end. The
- implementation must ensure that this happens regardless of ant exceptions that may be thrown. Take
- note a compliant implementation has to ensure that: the new UIViewRoot must be set as the
- FacesContext's viewRoot before applying the tag handlers, restoring the old FacesContext in a
- finally block. The contents of the current UIViewRoot's ViewMap must be copied to the ViewMap of the
- new UIViewRoot before applying the tag handlers. The UIImportConstants must be processed after
- applying the tag handlers.
-
- Utility method to determine if the the provided UIViewRoot has metadata. The default
- implementation will return true if the provided UIViewRoot has a facet named
- UIViewRoot#METADATA_FACET_NAME and that facet has children. It will return false otherwise.
-
- Leverage the TagHandlerDelegateFactory provided by the implementation to create an
- instance of TagHandlerDelegate designed for use with ComponentHandler.
-
- Subclasses that wish to take over the task of instantiating the UIComponent instance
- corresponding to this tag handler my override this method to do so. A null return from this method
- will cause the TagHandlerDelegate for instance to create the component instead.
-
- Determine if the passed component is not null and if it's new to the tree. This
- operation can be used for determining if attributes should be wired to the component.
-
- The passed UIComponent parent will be populated/restored in accordance with the section
- 10.2.1 "Specification of the ViewDeclarationLanguage Implementation for Facelets for Jakarta Faces"
- in the Jakarta Faces Specification Document.
-
- The passed UIComponent parent will be populated/restored in accordance with the section
- 10.2.1 "Specification of the ViewDeclarationLanguage Implementation for Facelets for Jakarta Faces"
- in the Jakarta Faces Specification Document with only the meta data as per the f:metadata tag.
-
-
- Returns a cached View Metadata Facelet instance. If no instance is available, it will
- be created using the View Metadata Facelet MemberFactory and stored in the cache.
-
- This must be called by the runtime at startup time, before any requests are serviced,
- and allows for the FaceletCache implementation to provide the MemberFactory instances that will be
- used to create instances of Facelets and View Metadata Facelets.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- Include another Facelet defined at some path, relative to the executing context, not
- the current Facelet (same as include directive in Jakarta Server Pages)
-
- Return an abstraction that takes appropriate action given the kind of rule represented
- by the argument name, in the context of this particular concrete subclass of MetaRule. The
- abstraction must encapsulate the value from the argument attribute.
-
- Customize this MetaRuleset by removing the attribute named by argument attribute and
- re-adding it under the name given by the argument property, returning this.
-
- A reference to the Tag for which this class represents the attributes. For
- compatibility with previous implementations, an implementation is provided that returns null.
-
- Set a reference to the Tag for which this class represents the attributes. The VDL
- runtime must ensure that this method is called before any FaceletHandlers for this element are
- instantiated. For compatibility with previous implementations, a no-op implementation is provided.
-
-
- A reference to the Tag for which this class represents the attributes. For
- compatibility with previous implementations, an implementation is provided that returns null.
-
- Set a reference to the Tag for which this class represents the attributes. The VDL
- runtime must ensure that this method is called before any FaceletHandlers for this element are
- instantiated. For compatibility with previous implementations, a no-op implementation is provided.
-
-
- Every TagHandler instance is associated with a Tag. Each Tag instance has a
- TagAttributes property, which is simply a collection of TagAttribute instances. Extract and save as
- protected instance variables the TagConfig#getTagId, TagConfig#getTag and TagConfig#getNextHandler
- returns from the argument TagConfig. This constructor is only called when the Facelets View is
- compiled.
-
- Called by classes that implement jakarta.faces.view.facelets.FaceletHandler in their
- implementation of apply(). If the argument comp is new to the view, for each tag attribute declared
- to be in the pass through attribute namespace, set the name and value of the attribute into the pass
- through attributes map of the component. See UIComponent#getPassThroughAttributes(boolean) . See the
- VDLDocs for the namespace URI of the pass through attribute namespace. Attributes whose value is a
- ValueExpression must remain un-evaluated and stored in the map as ValueExpression instances.
-
- If this factory has been decorated, the implementation doing the decorating may
- override this method to provide access to the implementation being wrapped.
-
- If this factory has been decorated, the implementation doing the decorating should push
- the implementation being wrapped to this constructor. The #getWrapped() will then return the
- implementation being wrapped.
-
- Retrieve the id of the validator that is to be created and added to the parent
- EditableValueHolder. All subclasses should override this method because it is important for Facelets
- to have a unique way of identifying the validators that are added to this EditableValueHolder and
- allows exclusions to work properly. An exclusion is a validator declaration that has the attribute
- "disabled" which resolves to false, instructing Facelets not to register a default validator with
- the same id.
-
- if, for any reason, the startup of this Faces application failed. This includes errors
- in the config file that is parsed before or during the processing of this init() method.
-
- Process an incoming request, and create the corresponding response according to the
- following specification. If the request and response arguments to this method are not instances of
- HttpServletRequest and HttpServletResponse, respectively, the results of invoking this method are
- undefined. This method must respond to requests that contain the following strings by invoking the
- sendError method on the response argument (cast to HttpServletResponse), passing the code
- HttpServletResponse.SC_NOT_FOUND as the argument. /WEB-INF/ /WEB-INF /META-INF/ /META-INF If none of
- the cases described above in the specification for this method apply to the servicing of this
- request, the following action must be taken to service the request. Acquire a FacesContext instance
- for this request. Acquire the ResourceHandler for this request by calling
- jakarta.faces.application.Application#getResourceHandler. Call
- jakarta.faces.application.ResourceHandler#isResourceRequest. If this returns true call
- jakarta.faces.application.ResourceHandler#handleResourceRequest. If this returns false, call
- jakarta.faces.lifecycle.Lifecycle#attachWindow followed by jakarta.faces.lifecycle.Lifecycle#execute
- followed by jakarta.faces.lifecycle.Lifecycle#render. If a jakarta.faces.FacesException is thrown in
- either case, extract the cause from the FacesException. If the cause is null extract the message
- from the FacesException, put it inside of a new ServletException instance, and pass the
- FacesException instance as the root cause, then rethrow the ServletException instance. If the cause
- is an instance of ServletException, rethrow the cause. If the cause is an instance of IOException,
- rethrow the cause. Otherwise, create a new ServletException instance, passing the message from the
- cause, as the first argument, and the cause itself as the second argument. The implementation must
- make it so jakarta.faces.context.FacesContext#release is called within a finally block as late as
- possible in the processing for the Jakarta Faces related portion of this request.
-
Create
- (if necessary) and return a per-web-application instance of the
- appropriate implementation class for the specified Jakarta Server Faces
- factory class, based on the discovery algorithm described in the class
- description. The standard factories and wrappers in JSF all implement
- the interface FacesWrapper. If the returned Object is an
- implementation of one of the standard factories, it must be legal to
- cast it to an instance of FacesWrapper and call
- FacesWrapper#getWrapped on the instance.
Release
- any references to factory instances associated with the class loader
- for the calling web application. This method must be called during of
- web application shutdown.
This
- method will store the argument factoryName/implName mapping in such a
- way that #getFactory will find this mapping when searching for a
- match. This method has no effect if getFactory() has already been
- called looking for a factory for this factoryName. This method can be
- used by implementations to store a factory mapping while parsing the
- Faces configuration file
-
- Register a new mapping of behavior id to the name of the corresponding
- Behavior class. This allows subsequent calls to createBehavior() to
- serve as a factory for Behavior instances.
-
- Register a new mapping of component type to the name of the
- corresponding UIComponent class. This allows subsequent calls to
- createComponent() to serve as a factory for UIComponent instances.
-
- Register a new mapping of converter id to the name of the
- corresponding Converter class. This allows subsequent calls to
- createConverter() to serve as a factory for Converter instances.
- Register a validator by its id that is applied to all UIInput
- components in a view. The validator to most often serve this role is
- the BeanValidator. The usage contract for this method assumes that the
- validator has been registered using the normal “by-id”
- registration mechanism. An implementation is provided that takes no
- action so that users that decorate the Application continue to work.
Provide
- a way for Faces applications to register an ELContextListener that
- will be notified on creation of ELContext instances. This listener
- will be called once per request. An implementation is provided that
- throws UnsupportedOperationException so that users that decorate the
- Application continue to work.
Cause
- an the argument resolver to be added to the resolver chain as
- specified in section JSF.5.5.1 of the Jakarta Server Faces Specification.
-
- It is not possible to remove an ELResolver registered with this
- method, once it has been registered. It is illegal to register an
- ELResolver after the application has received any requests from the
- client. If an attempt is made to register a listener after that time,
- an IllegalStateException must be thrown. This restriction is in place
- to allow the JSP container to optimize for the common case where no
- additional ELResolvers are in the chain, aside from the standard ones.
- It is permissible to add ELResolvers before or after initialization to
- a CompositeELResolver that is already in the chain. The default
- implementation throws UnsupportedOperationException and is provided
- for the sole purpose of not breaking existing applications that extend
- Application.
-
- Register a new mapping of validator id to the name of the
- corresponding Validator class. This allows subsequent calls to
- createValidator() to serve as a factory for Validator instances.
-
- Instantiate and return a new UIComponent instance of the class
- specified by a previous call to addComponent() for the specified
- component type. Before the component instance is returned, it must be
- inspected for the presence of a jakarta.faces.event.ListenerFor (or
- jakarta.faces.event.ListenersFor) or ResourceDependency (or
- ResourceDependencies) annotation. If any of these annotations are
- present, the action listed in jakarta.faces.event.ListenerFor or
- ResourceDependency must be taken on the component, before it is
- returned from this method. This variant of createComponent must not
- inspect the jakarta.faces.render.Renderer for the component to be
- returned for any of the afore mentioned annotations. Such inspection
- is the province of #createComponent(ValueExpression, FacesContext,
- String, String) or #createComponent(FacesContext, String, String).
Wrap
- the argument componentBinding in an implementation of ValueExpression
- and call through to
- #createComponent(jakarta.el.ValueExpression,jakarta.faces.context.FacesContext,java.lang.String).
-
-
Call
- the getValue() method on the specified ValueExpression. If it returns
- a UIComponent instance, return it as the value of this method. If it
- does not, instantiate a new UIComponent instance of the specified
- component type, pass the new component to the setValue() method of the
- specified ValueExpression, and return it. Before the component
- instance is returned, it must be inspected for the presence of a
- jakarta.faces.event.ListenerFor (or jakarta.faces.event.ListenersFor) or
- ResourceDependency (or ResourceDependencies) annotation. If any of
- these annotations are present, the action listed in
- jakarta.faces.event.ListenerFor or ResourceDependency must be taken on
- the component, before it is returned from this method. This variant of
- createComponent must not inspect the jakarta.faces.render.Renderer for
- the component to be returned for any of the afore mentioned
- annotations. Such inspection is the province of
- #createComponent(ValueExpression, FacesContext, String, String) or
- #createComponent(FacesContext, String, String).
if any
- parameter is null A default implementation is provided that throws
- UnsupportedOperationException so that users that decorate Application
- can continue to function.
Like
- #createComponent(ValueExpression, FacesContext, String) except the
- Renderer for the component to be returned must be inspected for the
- annotations mentioned in #createComponent(ValueExpression,
- FacesContext, String) as specified in the documentation for that
- method. The Renderer instance to inspect must be obtained by calling
- FacesContext#getRenderKit and calling
- jakarta.faces.render.RenderKit#getRenderer on the result, passing the
- argument componentType as the first argument and the result of calling
- UIComponent#getFamily on the newly created component as the second
- argument. If no such Renderer can be found, a message must be logged
- with a helpful error message. Otherwise, UIComponent#setRendererType
- must be called on the newly created UIComponent instance, passing the
- argument rendererType as the argument. A default implementation is
- provided that throws UnsupportedOperationException so that users that
- decorate Application can continue to function.
Like
- #createComponent(String) except the Renderer for the component to be
- returned must be inspected for the annotations mentioned in
- #createComponent(ValueExpression, FacesContext, String) as specified
- in the documentation for that method. The Renderer instance to inspect
- must be obtained by calling FacesContext#getRenderKit and calling
- jakarta.faces.render.RenderKit#getRenderer on the result, passing the
- argument componentType as the first argument and the result of calling
- UIComponent#getFamily on the newly created component as the second
- argument. If no such Renderer can be found, a message must be logged
- with a helpful error message. Otherwise, UIComponent#setRendererType
- must be called on the newly created UIComponent instance, passing the
- argument rendererType as the argument. A default implementation is
- provided that throws UnsupportedOperationException so that users that
- decorate Application can continue to function.
-
-
- Instantiate and return a new UIComponent instance from the argument
- Resource. An algorithm semantically equivalent to the following must
- be followed to instantiate the UIComponent to return. Obtain a
- reference to the ViewDeclarationLanguage for this Application instance
- by calling ViewHandler#getViewDeclarationLanguage, passing the viewId
- found by calling jakarta.faces.component.UIViewRoot#getViewId on the
- jakarta.faces.component.UIViewRoot in the argument FacesContext. Obtain
- a reference to the composite component metadata for this composite
- component by calling ViewDeclarationLanguage#getComponentMetadata,
- passing the facesContext and componentResource arguments to this
- method. This version of JSF specification uses JavaBeans as the API to
- the component metadata. Determine if the component author declared a
- component-type for this component instance by obtaining the
- BeanDescriptor from the component metadata and calling its getValue()
- method, passing UIComponent#COMPOSITE_COMPONENT_TYPE_KEY as the
- argument. If non-null, the result must be a ValueExpression whose
- value is the component-type of the UIComponent to be created for this
- Resource component. Call through to #createComponent(java.lang.String)
- to create the component. Otherwise, determine if a script based
- component for this Resource can be found by calling
- ViewDeclarationLanguage#getScriptComponentResource. If the result is
- non-null, and is a script written in one of the languages listed in
- JSF.4.3 of the specification prose document, create a UIComponent
- instance from the script resource. Otherwise, let library-name be the
- return from calling Resource#getLibraryName on the argument
- componentResource and resource-name be the return from calling
- Resource#getResourceName on the argument componentResource. Create a
- fully qualified Java class name by removing any file extension from
- resource-name and let fqcn be library-name + "." + resource-name. If a
- class with the name of fqcn cannot be found, take no action and
- continue to the next step. If any of InstantiationException,
- IllegalAccessException, or ClassCastException are thrown, wrap the
- exception in a FacesException and re-throw it. If any other exception
- is thrown, log the exception and continue to the next step. If none of
- the previous steps have yielded a UIComponent instance, call
- #createComponent(java.lang.String) passing
- "jakarta.faces.NamingContainer" as the argument. Call
- UIComponent#setRendererType on the UIComponent instance, passing
- "jakarta.faces.Composite" as the argument. Store the argument Resource
- in the attributes Map of the UIComponent under the key,
- Resource#COMPONENT_RESOURCE_KEY. Store composite component metadata in
- the attributes Map of the UIComponent under the key,
- UIComponent#BEANINFO_KEY. Before the component instance is returned,
- it must be inspected for the presence of a
- jakarta.faces.event.ListenerFor annotation. If this annotation is
- present, the action listed in jakarta.faces.event.ListenerFor must be
- taken on the component, before it is returned from this method. A
- default implementation is provided that throws
- UnsupportedOperationException so that users that decorate Application
- can continue to function.
-
- Instantiate and return a new Converter instance of the class specified
- by a previous call to addConverter() for the specified converter id.
-
-
-
-
- If the toLowerCase() of the String represenation of the value of the
- "jakarta.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE"
- application configuration parameter is "true" (without the quotes) and
- the Converter instance to be returned is an instance of
- jakarta.faces.convert.DateTimeConverter,
- jakarta.faces.convert.DateTimeConverter#setTimeZone must be called,
- passing the return from TimeZone.getDefault(). The argument converter
- must be inspected for the presence of the
- jakarta.faces.application.ResourceDependency annotation. If the
- ResourceDependency annotation is present, the action described in
- ResourceDependency must be taken. If the ResourceDependency annotation
- is not present, the argument converter must be inspected for the
- presence of the jakarta.faces.application.ResourceDependencies
- annotation. If the ResourceDependencies annotation is present, the
- action described in ResourceDependencies must be taken.
jakarta.faces.application.Application.createConverter
-
- ( Class )
-
-
- Instantiate and return a new Converter instance of the class that has
- registered itself as capable of performing conversions for objects of
- the specified type. If no such Converter class can be identified,
- return null. To locate an appropriate Converter class, the following
- algorithm is performed, stopping as soon as an appropriate Converter
- class is found: Locate a Converter registered for the target class
- itself. Locate a Converter registered for interfaces that are
- implemented by the target class (directly or indirectly). Locate a
- Converter registered for the superclass (if any) of the target class,
- recursively working up the inheritance hierarchy. If the Converter has
- a single argument constructor that accepts a Class, instantiate the
- Converter using that constructor, passing the argument targetClass as
- the sole argument. Otherwise, simply use the zero-argument
- constructor. If the toLowerCase() of the String represenation of the
- value of the
- "jakarta.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE"
- application configuration parameter is "true" (without the quotes) and
- the Converter instance to be returned is an instance of
- jakarta.faces.convert.DateTimeConverter,
- jakarta.faces.convert.DateTimeConverter#setTimeZone must be called,
- passing the return from TimeZone.getDefault().
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:57
-
Converter
-
jakarta.faces.application.Application.createConverter
-
- ( Class )
- throws FacesException
-
-
if the
- Converter cannot be created
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:58
-
Converter
-
jakarta.faces.application.Application.createConverter
-
- ( Class )
- throws NullPointerException
-
Call
- #getExpressionFactory then call
- ExpressionFactory#createMethodExpression, passing the given arguments,
- and wrap the result in a MethodBinding implementation, returning it.
-
- Instantiate and return a new Validator instance of the class specified
- by a previous call to addValidator() for the specified validator id.
-
-
- The argument validator must be inspected for the presence of the
- jakarta.faces.application.ResourceDependency annotation. If the
- ResourceDependency annotation is present, the action described in
- ResourceDependency must be taken. If the ResourceDependency annotation
- is not present, the argument validator must be inspected for the
- presence of the jakarta.faces.application.ResourceDependencies
- annotation. If the ResourceDependencies annotation is present, the
- action described in ResourceDependencies must be taken.
Call
- #getExpressionFactory then call
- ExpressionFactory#createValueExpression, passing the argument ref,
- Object.class for the expectedType, and null, for the fnMapper.
Get a
- value by evaluating an expression. Call #getExpressionFactory then
- call ExpressionFactory#createValueExpression passing the argument
- expression and expectedType. Call FacesContext#getELContext and pass
- it to ValueExpression#getValue, returning the result. An
- implementation is provided that throws UnsupportedOperationException
- so that users that decorate the Application continue to work.
Return
- the default ActionListener to be registered for all
- jakarta.faces.component.ActionSource components in this appication. If
- not explicitly set, a default implementation must be provided that
- performs the following functions: The processAction() method must
- first call FacesContext.renderResponse() in order to bypass any
- intervening lifecycle phases, once the method returns. The
- processAction() method must next determine the logical outcome of this
- event, as follows: If the originating component has a non-null action
- property, retrieve the MethodBinding from the property, and call
- invoke() on it. Convert the returned value (if any) to a String, and
- use it as the logical outcome. Otherwise, the logical outcome is null.
- The processAction() method must finally retrieve the NavigationHandler
- instance for this application and call
- NavigationHandler#handleNavigation passing: the FacesContext for the
- current request If there is a MethodBinding instance for the action
- property of this component, the result of calling
- MethodBinding#getExpressionString on it, null otherwise the logical
- outcome as determined above Note that the specification for the
- default ActionListener contiues to call for the use of a deprecated
- property (action) and class (MethodBinding). Unfortunately, this is
- necessary because the default ActionListener must continue to work
- with components that do not implement
- jakarta.faces.component.ActionSource2, and only implement
- jakarta.faces.component.ActionSource.
Return
- an immutable Map over the set of currently registered default
- validator IDs and their class name for this Application. An
- implementation is provided that returns Collections.emptyMap so that
- users that decorate the Application continue to work.
If no
- calls have been made to #addELContextListener, this method must return
- an empty array. Otherwise, return an array representing the list of
- listeners added by calls to #addELContextListener. An implementation
- is provided that throws UnsupportedOperationException so that users
- that decorate the Application continue to work.
Return
- the singleton ELResolver instance to be used for all EL resolution.
-
-
-
- This is actually an instance of jakarta.el.CompositeELResolver that must
- contain the following ELResolver instances in the following order:
- ELResolver instances declared using the element in the application
- configuration resources. An implementation that wraps the head of the
- legacy VariableResolver chain, as per section VariableResolver
- ChainWrapper in Chapter JSF.5 in the spec document. An implementation
- that wraps the head of the legacy PropertyResolver chain, as per
- section PropertyResolver ChainWrapper in Chapter JSF.5 in the spec
- document. Any ELResolver instances added by calls to #addELResolver.
- The default implementation throws UnsupportedOperationException and is
- provided for the sole purpose of not breaking existing applications
- that extend Application.
Return
- the ExpressionFactory instance for this application. This instance is
- used by the convenience method #evaluateExpressionGet. The
- implementation must return the ExpressionFactory from the JSP
- container by calling
- JspFactory.getDefaultFactory().getJspApplicationContext(servletContext).getExpressionFactory().
- An implementation is provided that throws
- UnsupportedOperationException so that users that decorate the
- Application continue to work.
Return
- the fully qualified class name of the ResourceBundle to be used for
- Jakarta Server Faces messages for this application. If not explicitly set,
- null is returned.
Return
- the NavigationHandler instance that will be passed the outcome
- returned by any invoked application action for this web application.
-
- If not explicitly set, a default implementation must be provided that
- performs the functions described in the NavigationHandler class
- description.
Return
- the project stage for the currently running application instance. The
- default value is ProjectStage#Production The implementation of this
- method must perform the following algorithm or an equivalent with the
- same end result to determine the value to return. If the value has
- already been determined by a previous call to this method, simply
- return that value. Look for a JNDI environment entry under the key
- given by the value of ProjectStage#PROJECT_STAGE_JNDI_NAME (return
- type of java.lang.String). If found, continue with the algorithm
- below, otherwise, look for an entry in the initParamMap of the
- ExternalContext from the current FacesContext with the key given by
- the value of ProjectStage#PROJECT_STAGE_PARAM_NAME If a value is
- found, see if an enum constant can be obtained by calling
- ProjectStage.valueOf(), passing the value from the initParamMap. If
- this succeeds without exception, save the value and return it. If not
- found, or any of the previous attempts to discover the enum constant
- value have failed, log a descriptive error message, assign the value
- as ProjectStage.Production and return it. A default implementation is
- provided that throws UnsupportedOperationException so that users that
- decorate Application can continue to function.
Return
- a PropertyResolver instance that wraps the ELResolver instance that
- Faces provides to the unified EL for the resolution of expressions
- that appear programmatically in an application. Note that this no
- longer returns the default PropertyResolver since that class is now a
- no-op that aids in allowing custom PropertyResolvers to affect the EL
- resolution process.
Find a
- ResourceBundle as defined in the application configuration resources
- under the specified name. If a ResourceBundle was defined for the
- name, return an instance that uses the locale of the current
- jakarta.faces.component.UIViewRoot. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Return
- the singleton, stateless, thread-safe ResourceHandler for this
- application. The JSF implementation must support the following
- techniques for declaring an alternate implementation of
- ResourceHandler. The ResourceHandler implementation is declared in the
- application configuration resources by giving the fully qualified
- class name as the value of the element within the element. In all of
- the above cases, the runtime must employ the decorator pattern as for
- every other pluggable artifact in JSF. A default implementation is
- provided that throws UnsupportedOperationException so that users that
- decorate Application can continue to function.
Return
- the StateManager instance that will be utilized during the Restore
- View and Render Response phases of the request processing lifecycle.
-
- If not explicitly set, a default implementation must be provided that
- performs the functions described in the StateManager description in
- the Jakarta Server Faces Specification.
Return
- the VariableResolver that wraps the ELResolver instance that Faces
- provides to the unified EL for the resolution of expressions that
- appear programmatically in an application. The implementation of the
- VariableResolvermust pass null as the base argument for any methods
- invoked on the underlying ELResolver. Note that this method no longer
- returns the default VariableResolver, since that class now is a no-op
- that aids in allowing custom VariableResolvers to affect the EL
- resolution process.
Return
- the ViewHandler instance that will be utilized during the Restore View
- and Render Response phases of the request processing lifecycle. If not
- explicitly set, a default implementation must be provided that
- performs the functions described in the ViewHandler description in the
- Jakarta Server Faces Specification.
If
- jakarta.faces.context.FacesContext#isProcessingEvents() is true and
- there are one or more listeners for events of the type represented by
- systemEventClass, call those listeners, passing source as the source
- of the event. The implementation should be as fast as possible in
- determining whether or not a listener for the given systemEventClass
- and source has been installed, and should return immediately once such
- a determination has been made. The implementation of publishEvent must
- honor the requirements stated in #subscribeToEvent regarding the
- storage and retrieval of listener instances. Specifically, if
- #subscribeToEvent(Class,Class,SystemEventListener) was called, the
- sourceClass argument must match exactly the Class of the source
- argument in the call to publishEvent(). The implementation must not do
- any inheritance hierarachy inspection when looking for a match between
- the sourceClass passed to
- #subscribeToEvent(Class,Class,SystemEventListener) and the sourceClass
- passed to publishEvent() in order to find any listeners to which the
- event should be published. In the case where the Class of the source
- argument does not match the Class of the sourceClass used when the
- listener was subscribed using subscribeToEvent(),
- #publishEvent(FacesContext,Class,Class,Object) can be used to provide
- the Class used to perform the listener lookup and match. The default
- implementation must implement an algorithm semantically equivalent to
- the following to locate listener instances and to invoke them. If the
- source argument implements
- jakarta.faces.event.SystemEventListenerHolder, call
- jakarta.faces.event.SystemEventListenerHolder#getListenersForEventClass
- on it, passing the systemEventClass argument. If the list is not
- empty, perform algorithm traverseListenerList on the list. If any view
- level listeners have been installed by previous calls to
- #subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener)
- on the jakarta.faces.component.UIViewRoot, perform algorithm
- traverseListenerList on the list of listeners for that event installed
- on the UIViewRoot. If any Application level listeners have been
- installed by previous calls to #subscribeToEvent(Class, Class,
- jakarta.faces.event.SystemEventListener), perform algorithm
- traverseListenerList on the list. If any Application level listeners
- have been installed by previous calls to #subscribeToEvent(Class,
- jakarta.faces.event.SystemEventListener), perform algorithm
- traverseListenerList on the list. If the act of invoking the
- processListener method causes an
- jakarta.faces.event.AbortProcessingException to be thrown, processing of
- the listeners must be aborted, no further processing of the listeners
- for this event must take place, and the exception must be logged with
- Level.SEVERE. Algorithm traverseListenerList: For each listener in the
- list, Call jakarta.faces.event.SystemEventListener#isListenerForSource,
- passing the source argument. If this returns false, take no action on
- the listener. Otherwise, if the event to be passed to the listener
- instances has not yet been constructed, construct the event, passing
- source as the argument to the one-argument constructor that takes an
- Object. This same event instance must be passed to all listener
- instances. Call jakarta.faces.event.SystemEvent#isAppropriateListener,
- passing the listener instance as the argument. If this returns false,
- take no action on the listener. Call
- jakarta.faces.event.SystemEvent#processListener, passing the listener
- instance. A default implementation is provided that throws
- UnsupportedOperationException so that users that decorate Application
- can continue to function.
if
- either context, systemEventClass or source is null
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:96
-
void
-
jakarta.faces.application.Application.publishEvent
-
- ( FacesContext ,
- Class ,
- Class ,
- Object )
-
This
- method functions exactly like
- #publishEvent(FacesContext,Class,Object), except the run-time must use
- the argument sourceBaseType to find the matching listener instead of
- using the Class of the source argument. A default implementation is
- provided that throws UnsupportedOperationException so that users that
- decorate Application can continue to function.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:97
-
void
-
jakarta.faces.application.Application.publishEvent
-
- ( FacesContext ,
- Class ,
- Class ,
- Object )
- throws NullPointerException
-
Remove
- the argument listener from the list of ELContextListeners. If listener
- is null, no exception is thrown and no action is performed. If
- listener is not in the list, no exception is thrown and no action is
- performed. An implementation is provided that throws
- UnsupportedOperationException so that users that decorate the
- Application continue to work.
Set the
- renderKitId to be used to render this application. Unless the client
- has provided a custom ViewHandler that supports the use of multiple
- jakarta.faces.render.RenderKit instances in the same application, this
- method must only be called at application startup, before any Faces
- requests have been processed. This is a limitation of the current
- Specification, and may be lifted in a future release.
Set the
- fully qualified class name of the ResourceBundle to be used for
- Jakarta Server Faces messages for this application. See the JavaDocs for
- the java.util.ResourceBundle class for more information about the
- syntax for resource bundle names.
Set the
- PropertyResolver instance that will be utilized to resolve method and
- value bindings. This method is now deprecated but the implementation
- must cause the argument to be set as the head of the legacy
- PropertyResolver chain, replacing any existing value that was set from
- the application configuration resources. It is illegal to call this
- method after the application has received any requests from the
- client. If an attempt is made to register a listener after that time
- it must have no effect.
Set the
- ResourceHandler instance that will be utilized for rendering the
- markup for resources, and for satisfying client requests to serve up
- resources.
Set the
- VariableResolver instance that will be consulted to resolve method and
- value bindings. This method is now deprecated but the implementation
- must cause the argument to be set as the head of the legacy
- VariableResolver chain, replacing any existing value that was set from
- the application configuration resources. It is illegal to call this
- method after the application has received any requests from the
- client. If an attempt is made to register a listener after that time
- it must have no effect.
jakarta.faces.application.Application.subscribeToEvent
-
- ( Class ,
- Class ,
- SystemEventListener )
-
Install
- the listener instance referenced by argument listener into the
- application as a listener for events of type systemEventClass that
- originate from objects of type sourceClass. If argument sourceClass is
- non-null, sourceClass and systemEventClass must be used to store the
- argument listener in the application in such a way that the listener
- can be quickly looked up by the implementation of #publishEvent given
- systemEventClass and an instance of the Class referenced by
- sourceClass. If argument sourceClass is null, the listener must be
- discoverable by the implementation of #publishEvent given only
- systemEventClass.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:126
-
void
-
jakarta.faces.application.Application.subscribeToEvent
-
- ( Class ,
- Class ,
- SystemEventListener )
- throws <code>NullPointerException</code>
-
-
if any
- combination of systemEventClass, or listener are null.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:127
-
void
-
jakarta.faces.application.Application.subscribeToEvent
-
- ( Class ,
- SystemEventListener )
-
Install
- the listener instance referenced by argument listener into application
- as a listener for events of type systemEventClass. The default
- implementation simply calls through to #subscribeToEvent(Class, Class,
- jakarta.faces.event.SystemEventListener) passing null as the sourceClass
- argument A default implementation is provided that throws
- UnsupportedOperationException so that users that decorate Application
- can continue to function.
if any
- combination of systemEventClass, or listener are null.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:129
-
void
-
jakarta.faces.application.Application.unsubscribeFromEvent
-
- ( Class ,
- Class ,
- SystemEventListener )
-
Remove
- the listener instance referenced by argument listener from the
- application as a listener for events of type systemEventClass that
- originate from objects of type sourceClass. See
- #subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener)
- for the specification of how the listener is stored, and therefore,
- how it must be removed.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:130
-
void
-
jakarta.faces.application.Application.unsubscribeFromEvent
-
- ( Class ,
- Class ,
- SystemEventListener )
- throws <code>NullPointerException</code>
-
-
if any
- combination of context, systemEventClass, or listener are null.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:131
-
void
-
jakarta.faces.application.Application.unsubscribeFromEvent
-
- ( Class ,
- SystemEventListener )
-
Remove
- the listener instance referenced by argument listener from the
- application as a listener for events of type systemEventClass. The
- default implementation simply calls through to
- #unsubscribeFromEvent(Class, jakarta.faces.event.SystemEventListener)
- passing null as the sourceClass argument
If this
- factory has been decorated, the implementation doing the decorating
- may override this method to provide access to the implementation being
- wrapped. A default implementation is provided that returns null.
The
- default behavior of this method is to call
- Application#createComponent(jakarta.faces.el.ValueBinding,
- jakarta.faces.context.FacesContext, String) on the wrapped Application
- object.
The
- default behavior of this method is to call
- Application#createComponent(jakarta.el.ValueExpression,
- jakarta.faces.context.FacesContext, String) on the wrapped Application
- object.
The
- default behavior of this method is to call
- Application#createComponent(jakarta.el.ValueExpression,
- jakarta.faces.context.FacesContext, String, String) on the wrapped
- Application object.
The
- default behavior of this method is to call
- Application#createComponent(jakarta.faces.context.FacesContext, String,
- String) on the wrapped Application object.
The
- default behavior of this method is to call
- Application#createComponent(jakarta.faces.context.FacesContext,
- Resource) on the wrapped Application object.
The
- default behavior of this method is to call
- Application#evaluateExpressionGet(jakarta.faces.context.FacesContext,
- String, Class) on the wrapped Application object.
The
- default behavior of this method is to call
- Application#getResourceBundle(jakarta.faces.context.FacesContext,
- String) on the wrapped Application object.
The
- default behavior of this method is to call
- Application#publishEvent(jakarta.faces.context.FacesContext, Class,
- Object) on the wrapped Application object.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:192
-
void
-
jakarta.faces.application.ApplicationWrapper.publishEvent
-
- ( FacesContext ,
- Class ,
- Class ,
- Object )
-
The
- default behavior of this method is to call
- Application#publishEvent(jakarta.faces.context.FacesContext, Class,
- Class, Object) on the wrapped Application object.
The
- default behavior of this method is to call
- Application#removeELContextListener(jakarta.el.ELContextListener) on the
- wrapped Application object.
The
- default behavior of this method is to call
- Application#setActionListener(jakarta.faces.event.ActionListener) on the
- wrapped Application object.
The
- default behavior of this method is to call
- Application#setPropertyResolver(jakarta.faces.el.PropertyResolver) on
- the wrapped Application object.
The
- default behavior of this method is to call
- Application#setVariableResolver(jakarta.faces.el.VariableResolver) on
- the wrapped Application object.
The
- default behavior of this method is to call
- Application#setViewHandler(ViewHandler) on the wrapped Application
- object.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:205
-
void
-
jakarta.faces.application.ApplicationWrapper.subscribeToEvent
-
- ( Class ,
- Class ,
- SystemEventListener )
-
The
- default behavior of this method is to call
- Application#subscribeToEvent(Class, Class,
- jakarta.faces.event.SystemEventListener) on the wrapped Application
- object.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:206
-
void
-
jakarta.faces.application.ApplicationWrapper.subscribeToEvent
-
- ( Class ,
- SystemEventListener )
-
The
- default behavior of this method is to call
- Application#subscribeToEvent(Class,
- jakarta.faces.event.SystemEventListener) on the wrapped Application
- object.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:207
-
void
-
jakarta.faces.application.ApplicationWrapper.unsubscribeFromEvent
-
- ( Class ,
- Class ,
- SystemEventListener )
-
The
- default behavior of this method is to call
- Application#unsubscribeFromEvent(Class, Class,
- jakarta.faces.event.SystemEventListener) on the wrapped Application
- object.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:208
-
void
-
jakarta.faces.application.ApplicationWrapper.unsubscribeFromEvent
-
- ( Class ,
- SystemEventListener )
-
The
- default behavior of this method is to call
- Application#unsubscribeFromEvent(Class,
- jakarta.faces.event.SystemEventListener) on the wrapped Application
- object.
Return
- the NavigationCase representing the navigation that would be taken had
- NavigationHandler#handleNavigation been called with the same arguments
- or null if there is no such case.
Return
- a Map where the keys are values and the values are Set where each
- element in the Set is a NavigationCase that applies to that . The
- implementation must support live modifications to this Map.
A
- convenience method to signal the Jakarta Server Faces implementation to
- perform navigaton with the provided outcome. When the
- NavigationHandler is invoked, the current viewId is treated as the
- "from viewId" and the "from action" is null.
Compare
- this jakarta.faces.application.FacesMessage.Severity instance to the
- specified one. Returns a negative integer, zero, or a positive integer
- if this object is less than, equal to, or greater than the specified
- object.
-
- Construct an absolute URL to this NavigationCase instance using
- jakarta.faces.application.ViewHandler#getActionURL on the path portion
- of the url.
-
- Construct an absolute URL suitable for a bookmarkable link to this
- NavigationCase instance using
- jakarta.faces.application.ViewHandler#getBookmarkableURL on the path
- portion of the url. This URL may include view parameters specified as
- metadata within the view.
- Evaluates the for this , if any. The expression to be evaluated is
- passed into the constructor as a string. When the expression is
- evaluated, its value must be coerced into a boolean per the normail EL
- coercion rules.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:237
-
Boolean
-
jakarta.faces.application.NavigationCase.getCondition
-
- ( FacesContext )
- throws any
-
-
exceptions
- encountered during the process of evaluating the expression or
- obtaining its value.
Return
- the parameters to be included for navigation cases requiring a
- redirect. If no parameters are defined, null will be returned. The
- keys in the Map are parameter names. For each key, the corresponding
- value is a List of unconverted values.
-
- Construct an absolute URL suitable for a "redirect" to this
- NavigationCase instance using
- jakarta.faces.application.ViewHandler#getRedirectURL on the path portion
- of the url.
-
- Construct an absolute URL to this NavigationCase instance using
- jakarta.faces.application.ViewHandler#getResourceURL on the path portion
- of the url.
Return
- the value for this . This will be true if the new view should be
- navigated to via a
- jakarta.faces.context.ExternalContext#redirect(String)
- Construct a new NavigationCase based on the provided arguments. See
- section JSF.7.4.2 for how a NavigationCase is used by the standard
- ConfigurableNavigationHandler
Perform
- navigation processing based on the state information in the specified
- FacesContext, plus the outcome string returned by an executed
- application action. If the implementation class also extends
- ConfigurableNavigationHandler, the implementation must guarantee that
- the logic used in a call to
- ConfigurableNavigationHandler#getNavigationCase is used in this method
- to determine the correct navigation. This method must set the render
- targets (used in partial rendering) to render all invoking
- jakarta.faces.context.PartialViewContext#setRenderAll) if the view
- identifier has changed as the result of an application action (to take
- into account Ajax requests).
If the
- current request is a resource request, (that is,
- ResourceHandler#isResourceRequest returns true), return an InputStream
- containing the bytes of the resource. Otherwise, throw an IOException.
-
Return
- the libraryName for this resource. May be null. The libraryName for a
- resource is an optional String that indicates membership in a
- "resource library". All resources with the same libraryName belong to
- the same "resource library". The "resource library" concept allows
- disambiguating resources that have the same resourceName. See
- ResourceHandler for more information.
Return
- a path to this resource such that, when the browser resolves it
- against the base URI for the view that includes the resource, and
- issues a GET request to the resultant fully qualified URL, the bytes
- of the resource are returned in response. The default implementation
- must implement the following algorithm. For discussion, the return
- result from this method will be called result. Get the context-root
- for this web application, not ending in slash. For discussion this
- will be caled contextRoot. Discover if the FacesServlet is prefix or
- extension mapped, and the value of the mapping (including the leading
- '.' in the case of extension mapping). For discussion, this will be
- facesServletMapping. If prefix mapped, result must be result =
- contextRoot + '/' + facesServletMapping +
- ResourceHandler#RESOURCE_IDENTIFIER + '/' + #getResourceName If
- extension mapped, result must be result = contextRoot +
- ResourceHandler#RESOURCE_IDENTIFIER + #getResourceName +
- facesServletMapping If #getLibraryName returns non-null, build up a
- string, called resourceMetaData for discussion, as follows:
- resourceMetaData = "?ln=" + #getLibraryName Append resourceMetaData to
- result. Make it portlet safe by passing the result through
- ViewHandler#getResourceURL.
Returns
- a mutable Map whose entries will be sent as response headers during
- ResourceHandler#handleResourceRequest. The entries in this map must
- not persist beyond the scope of a single request. Any modifications
- made to the map after the resource has been served will be ignored by
- the run-time.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:265
-
URL
-
jakarta.faces.application.Resource.getURL
-
-
Return
- an actual URL instance that refers to this resource instance.
The
- libraryName in which the resource pointed to by this
- ResourceDependency resides. If not specified, defaults to the empty
- string. It is valid to have EL Expressions in the value of this
- attribute, as long as the expression resolves to an instance of the
- expected type.
The
- resourceName of the resource pointed to by this ResourceDependency. It
- is valid to have EL Expressions in the value of this attribute, as
- long as the expression resolves to an instance of the expected type.
The
- value given for this attribute will be passed as the "target" argument
- to
- jakarta.faces.component.UIViewRoot#addComponentResource(jakarta.faces.context.FacesContext,
- jakarta.faces.component.UIComponent, java.lang.String). If this
- attribute is specified,
- jakarta.faces.component.UIViewRoot#addComponentResource(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent)
- must be called instead, as described above. It is valid to have EL
- Expressions in the value of this attribute, as long as the expression
- resolves to an instance of the expected type.
Create
- an instance of Resource given the argument resourceName. The
- content-type of the resource is derived by passing the resourceName to
- jakarta.faces.context.ExternalContext#getMimeType The algorithm
- specified in section JSF.2.6.1.4 of the spec prose document linked in
- the overview summary must be executed to create the Resource
Create
- an instance of Resource with a resourceName given by the value of the
- argument resourceName that is a member of the library named by the
- argument libraryName. The content-type of the resource is derived by
- passing the resourceName to
- jakarta.faces.context.ExternalContext#getMimeType. The algorithm
- specified in section JSF.2.6.1.4 of the spec prose document linked in
- the overview summary must be executed to create the Resource
Create
- an instance of Resource with a resourceName given by the value of the
- argument resourceName that is a member of the library named by the
- argument libraryName that claims to have the content-type given by the
- argument content-type. The algorithm specified in section JSF.2.6.1.4
- of the spec prose document linked in the overview summary must be
- executed to create the Resource
Return
- the renderer-type for a jakarta.faces.render.Renderer that is capable of
- rendering this resource. The default implementation must return values
- according to the following table. If no renderer-type can be
- determined, null must be returned. example resource name renderer-type
- mycomponent.js jakarta.faces.resource.Script mystyle.css
- jakarta.faces.resource.Stylesheet
This
- method specifies the contract for satisfying resource requests. This
- method is called from jakarta.faces.webapp.FacesServlet#service after
- that method determines the current request is a resource request by
- calling #isResourceRequest. Thus, handleResourceRequest may assume
- that the current request is a resource request. The default
- implementation must implement an algorithm semantically identical to
- the following algorithm. For discussion, in all cases when a status
- code is to be set, this spec talks only using the Servlet API, but it
- is understood that in a portlet environment the appropriate equivalent
- API must be used. If the resourceIdentifier ends with any of the
- extensions listed in the value of the #RESOURCE_EXCLUDES_PARAM_NAME
- init parameter, HttpServletRequest.SC_NOT_FOUND must be passed to
- HttpServletResponse.setStatus(), then handleResourceRequest must
- immediately return. Extract the resourceName from the
- resourceIdentifier by taking the substring of resourceIdentifier that
- starts at #RESOURCE_IDENTIFIER.length() + 1 and goes to the end of
- resourceIdentifier. If no resourceName can be extracted,
- HttpServletRequest.SC_NOT_FOUND must be passed to
- HttpServletResponse.setStatus(), then handleResourceRequest must
- immediately return. Extract the libraryName from the request by
- looking in the request parameter map for an entry under the key "ln",
- without the quotes. If found, use its value as the libraryName. If
- resourceName and libraryName are present, call #createResource(String,
- String) to create the Resource. If only resourceName is present, call
- #createResource(String) to create the Resource. If the Resource cannot
- be successfully created, HttpServletRequest.SC_NOT_FOUND must be
- passed to HttpServletResponse.setStatus(), then handleResourceRequest
- must immediately return. Call Resource#userAgentNeedsUpdate. If this
- method returns false, HttpServletRequest.SC_NOT_MODIFIED must be
- passed to HttpServletResponse.setStatus(), then handleResourceRequest
- must immediately return. Pass the result of Resource#getContentType to
- HttpServletResponse.setContentType. Call Resource#getResponseHeaders.
- For each entry in this Map, call HttpServletResponse.setHeader(),
- passing the key as the first argument and the value as the second
- argument. Call Resource#getInputStream and serve up the bytes of the
- resource to the response. Call HttpServletResponse.setContentLength()
- passing the byte count of the resource. If an IOException is thrown
- during any of the previous steps, log a descriptive, localized
- message, including the resourceName and libraryName (if present).
- Then, HttpServletRequest.SC_NOT_FOUND must be passed to
- HttpServletResponse.setStatus(), then handleResourceRequest must
- immediately return. In all cases in this method, any streams,
- channels, sockets, or any other IO resources must be closed before
- this method returns.
Return
- true if the current request is a resource request. This method is
- called by jakarta.faces.webapp.FacesServlet#service to determine if this
- request is a view request or a resource request.
The
- default behavior of this method is to call
- ResourceHandler#handleResourceRequest(jakarta.faces.context.FacesContext)
- on the wrapped ResourceHandler object.
The
- default behavior of this method is to call
- ResourceHandler#isResourceRequest(jakarta.faces.context.FacesContext) on
- the wrapped ResourceHandler object.
- Convenience method to return the view state as a String with no
- RenderKit specific markup. This default implementation of this method
- will call #saveView(jakarta.faces.context.FacesContext) and passing the
- result to and returning the resulting value from
- ResponseStateManager#getViewState(jakarta.faces.context.FacesContext,
- Object).
Restore
- the tree structure and the component state of the view for the
- specified viewId, in an implementation dependent manner, and return
- the restored UIViewRoot. If there is no saved state information
- available for this viewId, return null instead. This method must
- consult the context initialization parameter named by the symbolic
- constant StateManager.STATE_SAVING_METHOD_PARAM_NAME to determine
- whether state should be saved on the client or the server. If not
- present, client side state saving is assumed. If the init parameter
- indicates that client side state saving should be used, this method
- must call the getTreeStructureToRestore() and (if the previous method
- call returned a non-null value) getComponentStateToRestore() methods
- of the ResponseStateManager instance provided by the RenderKit
- responsible for this view.
Return
- the tree structure and component state information for the view
- contained in the specified FacesContext instance as an object of type
- StateManager.SerializedView. If there is no state information to be
- saved, return null instead. Components may opt out of being included
- in the serialized view by setting their transient property to true.
- This must cause the component itself, as well as all of that
- component's children and facets, to be omitted from the saved tree
- structure and component state information. This method must also
- enforce the rule that, for components with non-null ids, all
- components that are descendants of the same nearest NamingContainer
- must have unique identifiers.
Return
- an opaque Object containing sufficient information for this same
- instance to restore the state of the current UIViewRoot on a
- subsequent request. The returned object must implement
- java.io.Serializable. If there is no state information to be saved,
- return null instead. Components may opt out of being included in the
- serialized view by setting their transient property to true. This must
- cause the component itself, as well as all of that component's
- children and facets, to be omitted from the saved tree structure and
- component state information. This method must also enforce the rule
- that, for components with non-null ids, all components that are
- descendants of the same nearest NamingContainer must have unique
- identifiers. For backwards compatability with existing StateManager
- implementations, the default implementation of this method calls
- #saveSerializedView and creates and returns a two element Object array
- with element zero containing the structure property and element one
- containing the state property of the SerializedView.
Save
- the state represented in the specified state Object instance, in an
- implementation dependent manner. This method will typically simply
- delegate the actual writing to the writeState() method of the
- ResponseStateManager instance provided by the RenderKit being used to
- render this view. This method assumes that the caller has positioned
- the ResponseWriter at the correct position for the saved state to be
- written. For backwards compatability with existing StateManager
- implementations, the default implementation of this method checks if
- the argument is an instance of Object [] of length greater than or
- equal to two. If so, it creates a SerializedView instance with the
- tree structure coming from element zero and the component state coming
- from element one and calls through to
- #writeState(jakarta.faces.context.FacesContext,jakarta.faces.application.StateManager.SerializedView).
- If not, does nothing.
Save
- the state represented in the specified SerializedView isntance, in an
- implementation dependent manner. This method must consult the context
- initialization parameter named by the symbolic constant
- StateManager.STATE_SAVING_METHOD_PARAM_NAME to determine whether state
- should be saved on the client or the server. If not present, client
- side state saving is assumed. If the init parameter indicates that
- client side state saving should be used, this method must delegate the
- actual writing to the writeState() method of the ResponseStateManager
- instance provided by the RenderKit being used to render this view.
- This method assumes that the caller has positioned the ResponseWriter
- at the correct position for the saved state to be written.
The
- default behavior of this method is to call
- StateManager#isSavingStateInClient(jakarta.faces.context.FacesContext)
- on the wrapped StateManager object.
The
- default behavior of this method is to call
- StateManager#restoreView(jakarta.faces.context.FacesContext, String,
- String) on the wrapped StateManager object.
The
- default behavior of this method is to call
- StateManager#saveSerializedView(jakarta.faces.context.FacesContext) on
- the wrapped StateManager object.
The
- default behavior of this method is to call
- StateManager#writeState(jakarta.faces.context.FacesContext,
- java.lang.Object) on the wrapped StateManager object.
The
- default behavior of this method is to call
- StateManager#writeState(jakarta.faces.context.FacesContext,
- jakarta.faces.application.StateManager.SerializedView) on the wrapped
- StateManager object.
Returns
- the correct character encoding to be used for this request. The
- following algorithm is employed. Examine the Content-Type request
- header. If it has a charset parameter, extract it and return that as
- the encoding. If no charset parameter was found, check for the
- existence of a session by calling ExternalContext#getSession(boolean)
- passing false as the argument. If that method returns true, get the
- session Map by calling ExternalContext#getSessionMap and look for a
- value under the key given by the value of the symbolic constant
- ViewHandler#CHARACTER_ENCODING_KEY. If present, return the value,
- converted to String. Otherwise, return null
Return
- an appropriate renderKitId for this and subsequent requests from the
- current client. It is an error for this method to return null. The
- default return value is
- jakarta.faces.render.RenderKitFactory#HTML_BASIC_RENDER_KIT.
Create
- and return a new UIViewRoot instance initialized with information from
- the argument FacesContext and viewId. Locate the
- ViewDeclarationLanguage implementation for the VDL used in the view.
- The argument viewId must be converted to a physical viewId that can
- refer to an actual resource suitable for use by the
- ViewDeclarationLanguage ViewDeclarationLanguage#createView, which must
- be called by this method.
Derive
- and return the viewId from the current request, or the argument input
- by following the algorithm defined in specification section JSF.7.5.2.
- The default implementation of this method simply returns rawViewId
- unchanged.
If the
- value returned from this method is used as the file argument to the
- four-argument constructor for java.net.URL (assuming appropriate
- values are used for the first three arguments), then a client making a
- request to the toExternalForm() of that URL will select the argument
- viewId for traversing the JSF lifecycle. Please see section JSF.7.5.2
- for the complete specification.
Return
- a JSF action URL derived from the viewId argument that is suitable to
- be used as the target of a link in a JSF response. Compiliant
- implementations must implement this method as specified in section
- JSF.7.5.2. The default implementation simply calls through to
- #getActionURL, passing the arguments context and viewId.
Return
- a JSF action URL derived from the viewId argument that is suitable to
- be used by the NavigationHandler to issue a redirect request to the
- URL using a NonFaces request. Compiliant implementations must
- implement this method as specified in section JSF.7.5.2. The default
- implementation simply calls through to #getActionURL, passing the
- arguments context and viewId.
If the
- value returned from this method is used as the file argument to the
- four-argument constructor for java.net.URL (assuming appropriate
- values are used for the first three arguments), then a client making a
- request to the toExternalForm() of that URL will select the argument
- path for direct rendering. If the specified path starts with a slash,
- it must be treated as context relative; otherwise, it must be treated
- as relative to the action URL of the current view.
Return
- the ViewDeclarationLanguage instance used for this ViewHandler
- instance. The default implementation must use
- jakarta.faces.view.ViewDeclarationLanguageFactory#getViewDeclarationLanguage
- to obtain the appropriate ViewDeclarationLanguage implementation for
- the argument viewId. Any exceptions thrown as a result of invoking
- that method must not be swallowed. The default implementation of this
- method returns null.
- Initialize the view for the request processing lifecycle. This method
- must be called at the beginning of the Restore View Phase of the
- Request Processing Lifecycle. It is responsible for performing any
- per-request initialization necessary to the operation of the
- lifycecle. The default implementation must perform the following
- actions. If ExternalContext#getRequestCharacterEncoding returns null,
- call #calculateCharacterEncoding and pass the result, if non-null,
- into the ExternalContext#setRequestCharacterEncoding method. If
- ExternalContext#getRequestCharacterEncoding returns non-null take no
- action.
if a
- problem occurs setting the encoding, such as the
- UnsupportedEncodingException thrown by the underlying Servlet or
- Portlet technology when the encoding is not supported.
Perform
- whatever actions are required to render the response view to the
- response object associated with the current FacesContext. Otherwise,
- the default implementation must obtain a reference to the
- ViewDeclarationLanguage for the viewId of the argument viewToRender
- and call its ViewDeclarationLanguage#renderView method, returning the
- result and not swallowing any exceptions thrown by that method.
Perform
- whatever actions are required to restore the view associated with the
- specified FacesContext and viewId. It may delegate to the restoreView
- of the associated StateManager to do the actual work of restoring the
- view. If there is no available state for the specified viewId, return
- null. Otherwise, the default implementation must obtain a reference to
- the ViewDeclarationLanguage for this viewId and call its
- ViewDeclarationLanguage#restoreView method, returning the result and
- not swallowing any exceptions thrown by that method.
Take
- any appropriate action to either immediately write out the current
- state information (by calling StateManager#writeState, or noting where
- state information should later be written. This method must do nothing
- if the current request is an Ajax request. When responding to Ajax
- requests, the state is obtained by calling StateManager#getViewState
- and then written into the Ajax response during final encoding
- (jakarta.faces.component.UIViewRoot#encodeEnd.
The
- default behavior of this method is to call
- ViewHandler#calculateCharacterEncoding(jakarta.faces.context.FacesContext)
- on the wrapped ViewHandler object.
The
- default behavior of this method is to call
- ViewHandler#calculateLocale(jakarta.faces.context.FacesContext) on the
- wrapped ViewHandler object.
The
- default behavior of this method is to call
- ViewHandler#calculateRenderKitId(jakarta.faces.context.FacesContext) on
- the wrapped ViewHandler object.
The
- default behavior of this method is to call
- ViewHandler#createView(jakarta.faces.context.FacesContext, String) on
- the wrapped ViewHandler object.
The
- default behavior of this method is to call
- ViewHandler#deriveViewId(jakarta.faces.context.FacesContext, String) on
- the wrapped ViewHandler object.
The
- default behavior of this method is to call
- ViewHandler#getActionURL(jakarta.faces.context.FacesContext, String) on
- the wrapped ViewHandler object.
The
- default behavior of this method is to call
- ViewHandler#getBookmarkableURL(jakarta.faces.context.FacesContext,
- String, java.util.Map, boolean) on the wrapped ViewHandler object.
The
- default behavior of this method is to call
- ViewHandler#getRedirectURL(jakarta.faces.context.FacesContext, String,
- java.util.Map, boolean) on the wrapped ViewHandler object.
The
- default behavior of this method is to call
- ViewHandler#getResourceURL(jakarta.faces.context.FacesContext, String)
- on the wrapped ViewHandler object.
The
- default behavior of this method is to call
- ViewHandler#renderView(jakarta.faces.context.FacesContext,
- jakarta.faces.component.UIViewRoot) on the wrapped ViewHandler object.
The
- default behavior of this method is to call
- ViewHandler#restoreView(jakarta.faces.context.FacesContext, String) on
- the wrapped ViewHandler object.
If the
- implementing class also implements ActionSource2, the implementation
- of this method must call through to ActionSource2#getActionExpression
- and examine the result. If the result came from a previous call to
- #setAction, extract the MethodBinding from it and return it.
- Otherwise, wrap the returned jakarta.el.MethodExpression in a
- MethodBinding implementation, and return it. If the implementing class
- does not implement ActionSource2, return the MethodBindingpointing 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.
If
- #setActionListener was not previously called for this instance, this
- method must return null. If it was called, this method must return the
- exact MethodBinding instance that was passed to #setActionListener.
- The method to be invoked, if this UIComponent is activated by the
- user, will be called during the Apply Request Values or Invoke
- Application phase of the request processing lifecycle, depending upon
- the value of the immediate property.
Return
- the set of registered ActionListeners for this ActionSource instance.
- If there are no registered listeners, a zero-length array is returned.
-
Return
- a flag indicating that the default ActionListener provided by the
- Jakarta Server Faces implementation should be executed immediately (that
- is, during Apply Request Values phase of the request processing
- lifecycle), rather than waiting until the Invoke Application phase.
- The default value for this property must be false.
If the
- implementing class also implements ActionSource2, the implementation
- of this method must wrap the argument action in a class that
- implements jakarta.el.MethodExpression and call through to
- ActionSource2#setActionExpression, passing the wrapped action. If the
- implementing class does not implement ActionSource2, set the
- MethodBinding pointing at the appication 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. Any method
- referenced by such an expression must be public, with a return type of
- String, and accept no parameters.
Wrap
- the argument actionListener in an implementation of ActionListener and
- store it in the internal data structure that backs the
- #getActionListeners method, taking care to over-write any instance
- that was stored by a previous call to setActionListener. Any method
- referenced by such an expression must be public, with a return type of
- void, and accept a single parameter of type ActionEvent.
Return
- the MethodExpression 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. Note that
- it's possible that the returned MethodExpression is just a wrapper
- around a MethodBinding instance whith was set by a call to
- ActionSource#setAction. This makes it possible for the default
- ActionListener to continue to work properly with older components.
Set the
- MethodExpression pointing at the appication 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. Any
- method referenced by such an expression must be public, with a return
- type of String, and accept no parameters.
This
- method will be called by an implementation of
- UIComponent#invokeOnComponent and must be passed the component with
- the clientId given as an argument to invokeOnComponent. At the point
- in time when this method is called, the argument target is guaranteed
- to be in the proper state with respect to its ancestors in the View.
Return
- the submittedValue value of this component. This method should only be
- used by the encodeBegin() and/or encodeEnd() methods of this
- component, or its corresponding Renderer.
If
- #setValidator was not previously called for this instance, this method
- must return null. If it was called, this method must return the exact
- MethodBinding instance that was passed to #setValidator. This method
- will be called during the Process Validations or Apply Request Values
- phases (depending on the value of the immediate property).
If
- #setValueChangeListener was not previously called for this instance,
- this method must return null. If it was called, this method must
- return the exact MethodBinding instance that was passed to
- #setValueChangeListener.
Return
- the set of registered ValueChangeListeners for this component
- instance. If there are no registered listeners, a zero-length array is
- returned.
Set the
- "immediate" state for this component. When set to true, the
- component's value will be converted and validated immediately in the
- Apply Request Values phase, and ValueChangeEvents will be delivered in
- that phase as well. The default value for this property must be false.
-
Set the
- submittedValue value of this component. This method should only be
- used by the decode() and validate() method of this component, or its
- corresponding Renderer.
Wrap
- the argument validatorBinding in an implementation of
- jakarta.faces.validator.Validator and store it in the internal data
- structure that backs the #getValidators method, taking care to
- over-write any instance that was stored by a previous call to
- setValidator. The argument method will be called during the Process
- Validations or Apply Request Values phases (depending on the value of
- the immediate property). Any method referenced by such an expression
- must be public, with a return type of void, and accept parameters of
- type jakarta.faces.context.FacesContext, UIComponent, and Object.
Wrap
- the argument valueChangeMethod in an implementation of
- ValueChangeListener and store it in the internal data structure that
- backs the #getValueChangeListeners method, taking care to over-write
- any instance that was stored by a previous call to
- setValueChangeListener. This argument method will be called during the
- Process Validations or Apply Request Values phases (depending on the
- value of the immediate property). Any method referenced by such an
- expression must be public, with a return type of void, and accept a
- parameter of type jakarta.faces.event.ValueChangeEvent.
-
true
-
true
-
true
-
-
-
JSF:JAVADOC:430
-
String
-
jakarta.faces.component.FacesComponent.value
-
-
The
- value of this annotation attribute is taken to be the component-type
- with which instances of this class of component can be instantiated by
- calling
- jakarta.faces.application.Application#createComponent(java.lang.String)
-
-
The
- runtime must ensure that the #markInitialState method is called on
- each instance of this interface in the view at the appropriate time to
- indicate the component is in its initial state. The implementor of the
- interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called,
- after which time initialStateMarked() must return false. Also, during
- the time that the instance returns true from initialStateMarked(), the
- implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
Store
- the specified value in a List that is internal to the StateHelper.
-
- It's important to note for delta tracking that any modifications to
- the internal List be made through this method or
- StateHelper#remove(java.io.Serializable, Object).
Return
- the previously stored value and store the specified key/value pair.
- This is intended to store data that would otherwise reside in an
- instance variable on the component.
Store
- the specified mapKey/value in a Map that is internal to the helper,
- and return the previously stored value. The Map will then be
- associated with key. It's important to note for delta tracking that
- any modifications to the internal Map be made through this method or
- StateHelper#remove(java.io.Serializable, Object).
Remove
- a value from the inner data structure. Look in the inner data
- structure for the value at the given key. If the value is a Map,
- remove and return the value under the key given by the valueOrKey
- argument. If the value is a Collection, simply remove the value given
- by the argument valueOrKey and return null.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:442
-
boolean
-
jakarta.faces.component.StateHolder.isTransient
-
-
If
- true, the Object implementing this interface must not participate in
- state saving or restoring.
Perform
- any processing required to restore the state from the entries in the
- state Object. If the class that implements this interface has
- references to instances that also implement StateHolder (such as a
- UIComponent with event handlers, validators, etc.) this method must
- call the #restoreState method on all those instances as well.
Gets
- the state of the instance as a Serializable Object. If the class that
- implements this interface has references to instances that implement
- StateHolder (such as a UIComponent with event handlers, validators,
- etc.) this method must call the #saveState method on all those
- instances as well. This method must not save the state of children and
- facets. That is done via the jakarta.faces.application.StateManager This
- method must not alter the state of the implementing object. In other
- words, after executing this code: Object state =
- component.saveState(facesContext); component should be the same as
- before executing it. The return from this method must be Serializable
-
Denotes
- whether or not the Object implementing this interface must or must not
- participate in state saving or restoring.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:448
-
String
-
jakarta.faces.component.UIColumn.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:449
-
UIComponent
-
jakarta.faces.component.UIColumn.getFooter
-
-
Return
- the footer facet of the column (if any). A convenience method for
- getFacet("footer").
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:450
-
UIComponent
-
jakarta.faces.component.UIColumn.getHeader
-
-
Return
- the header facet of the column (if any). A convenience method for
- getFacet("header").
In
- addition to to the default UIComponent#broadcast processing, pass the
- ActionEvent being broadcast to the method referenced by actionListener
- (if any), and to the default ActionListener registered on the
- jakarta.faces.application.Application.
Return
- the MethodExpression 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. Note that
- it's possible that the returned MethodExpression is just a wrapper
- around a MethodBinding instance whith was set by a call to
- ActionSource#setAction. This makes it possible for the default
- ActionListener to continue to work properly with older components.
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:467
-
Object
-
jakarta.faces.component.UICommand.getValue
-
-
Returns
- the value property of the UICommand. This is most often rendered as a
- label.
- Intercept queueEvent and take the following action. If the event is an
- ActionEvent, obtain the UIComponent instance from the event. If the
- component is an ActionSource obtain the value of its "immediate"
- property. If it is true, mark the phaseId for the event to be
- PhaseId.APPLY_REQUEST_VALUES otherwise, mark the phaseId to be
- PhaseId.INVOKE_APPLICATION. The event must be passed on to
- super.queueEvent() before returning from this method.
Set the
- MethodExpression pointing at the appication 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. Any
- method referenced by such an expression must be public, with a return
- type of String, and accept no parameters.
-
- Broadcast the specified FacesEvent to all registered event listeners
- who have expressed an interest in events of this type. Listeners are
- called in the order in which they were added. If the event is an
- instance of jakarta.faces.event.BehaviorEvent and the current component
- is the source of the event call
- jakarta.faces.event.BehaviorEvent#getBehavior to get the
- jakarta.faces.component.behavior.Behavior for the event. If the behavior
- implements jakarta.faces.component.behavior.ClientBehavior, call
- jakarta.faces.component.behavior.ClientBehavior#broadcast(jakarta.faces.event.BehaviorEvent)}.
-
An
- implementation of PartialStateHolder#clearInitialState, this method is
- called by the runtime to tell the instance to stop tracking state
- changes.
Decode
- any new state of this UIComponent from the request contained in the
- specified FacesContext, and store this state as needed. During
- decoding, events may be enqueued for later processing (by event
- listeners who have registered an interest), by calling queueEvent().
If this
- component returns true from #isRendered, take the following action.
-
- Render this component and all its children that return true from
- isRendered(), regardless of the value of the #getRendersChildren flag.
-
If our
- rendered property is true, render the beginning of the current state
- of this UIComponent to the response contained in the specified
- FacesContext. Call
- #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent).
- Call jakarta.faces.application.Application#publishEvent, passing
- jakarta.faces.event.PreRenderComponentEvent.class as the first argument
- and the component instance to be rendered as the second argument. If a
- Renderer is associated with this UIComponent, the actual encoding will
- be delegated to Renderer#encodeBegin(FacesContext, UIComponent). If
- our rendered property is false, call
- #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent)
- and return immediately.
If our
- rendered property is true, render the child UIComponents of this
- UIComponent. This method will only be called if the rendersChildren
- property is true. If a Renderer is associated with this UIComponent,
- the actual encoding will be delegated to
- Renderer#encodeChildren(FacesContext, UIComponent). If no Renderer is
- associated with this UIComponent, iterate over each of the children of
- this component and call #encodeAll(jakarta.faces.context.FacesContext).
-
If our
- rendered property is true, render the ending of the current state of
- this UIComponent. If a Renderer is associated with this UIComponent,
- the actual encoding will be delegated to
- Renderer#encodeEnd(FacesContext, UIComponent). Call
- UIComponent#popComponentFromEL. before returning regardless of the
- value of the rendered property.
Search
- for and return the UIComponent with an id that matches the specified
- search expression (if any), according to the algorithm described
- below. For a method to find a component given a simple clientId, see
- #invokeOnComponent. Component identifiers are required to be unique
- within the scope of the closest ancestor NamingContainer that encloses
- this component (which might be this component itself). If there are no
- NamingContainer components in the ancestry of this component, the root
- component in the tree is treated as if it were a NamingContainer,
- whether or not its class actually implements the NamingContainer
- interface. A search expression consists of either an identifier (which
- is matched exactly against the id property of a UIComponent, or a
- series of such identifiers linked by the
- UINamingContainer#getSeparatorChar character value. The search
- algorithm should operates as follows, though alternate alogrithms may
- be used as long as the end result is the same: Identify the
- UIComponent that will be the base for searching, by stopping as soon
- as one of the following conditions is met: If the search expression
- begins with the the separator character (called an "absolute" search
- expression), the base will be the root UIComponent of the component
- tree. The leading separator character will be stripped off, and the
- remainder of the search expression will be treated as a "relative"
- search expression as described below. Otherwise, if this UIComponent
- is a NamingContainer it will serve as the basis. Otherwise, search up
- the parents of this component. If a NamingContainer is encountered, it
- will be the base. Otherwise (if no NamingContainer is encountered) the
- root UIComponent will be the base. The search expression (possibly
- modified in the previous step) is now a "relative" search expression
- that will be used to locate the component (if any) that has an id that
- matches, within the scope of the base component. The match is
- performed as follows: If the search expression is a simple identifier,
- this value is compared to the id property, and then recursively
- through the facets and children of the base UIComponent (except that
- if a descendant NamingContainer is found, its own facets and children
- are not searched). If the search expression includes more than one
- identifier separated by the separator character, the first identifier
- is used to locate a NamingContainer by the rules in the previous
- bullet point. Then, the findComponent() method of this NamingContainer
- will be called, passing the remainder of the search expression.
Return
- a mutable Map representing the attributes (and properties, see below)
- associated wth this UIComponent, keyed by attribute name (which must
- be a String). The returned implementation must support all of the
- standard and optional Map methods, plus support the following
- additional requirements: The Map implementation must implement the
- java.io.Serializable interface. Any attempt to add a null key or value
- must throw a NullPointerException. Any attempt to add a key that is
- not a String must throw a ClassCastException. If the attribute name
- specified as a key matches a property of this UIComponent's
- implementation class, the following methods will have special
- behavior: containsKey - Return false. get() - If the property is
- readable, call the getter method and return the returned value
- (wrapping primitive values in their corresponding wrapper classes);
- otherwise throw IllegalArgumentException. put() - If the property is
- writeable, call the setter method to set the corresponding value
- (unwrapping primitive values in their corresponding wrapper classes).
- If the property is not writeable, or an attempt is made to set a
- property of primitive type to null, throw IllegalArgumentException.
- remove - Throw IllegalArgumentException.
Return
- the number of child UIComponents that are associated with this
- UIComponent. If there are no children, this method must return 0. The
- method must not cause the creation of a child component list.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:502
-
List
-
jakarta.faces.component.UIComponent.getChildren
-
-
Return
- a mutable List representing the child UIComponents associated with
- this component. The returned implementation must support all of the
- standard and optional List methods, plus support the following
- additional requirements: The List implementation must implement the
- java.io.Serializable interface. Any attempt to add a null must throw a
- NullPointerException Any attempt to add an object that does not
- implement UIComponent must throw a ClassCastException. Whenever a new
- child component is added, the parent property of the child must be set
- to this component instance. If the parent property of the child was
- already non-null, the child must first be removed from its previous
- parent (where it may have been either a child or a facet). Whenever an
- existing child component is removed, the parent property of the child
- must be set to null. After the child component has been added to the
- view, if the following condition is not met:
- jakarta.faces.context.FacesContext#isPostback returns true and
- jakarta.faces.context.FacesContext#getCurrentPhaseId returns
- jakarta.faces.event.PhaseId#RESTORE_VIEWjakarta.faces.application.Application#publishEvent
- must be called, passing jakarta.faces.event.PostAddToViewEvent.class as
- the first argument and the newly added component as the second
- argument.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:503
-
String
-
jakarta.faces.component.UIComponent.getClientId
-
-
Enable
- EL to access the clientId of a component. This is particularly useful
- in combination with the component and cc implicit objects. A default
- implementation is provided that simply calls
- FacesContext#getCurrentInstance and then calls through to
- #getClientId(FacesContext).
Return
- a client-side identifier for this component, generating one if
- necessary. The associated Renderer, if any, will be asked to convert
- the clientId to a form suitable for transmission to the client. The
- return from this method must be the same value throughout the lifetime
- of the instance, unless the id property of the component is changed,
- or the component is placed in a NamingContainer whose client ID
- changes (for example, UIData). However, even in these cases,
- consecutive calls to this method must always return the same value.
- The implementation must follow these steps in determining the
- clientId: Find the closest ancestor to this component in the view
- hierarchy that implements NamingContainer. Call getContainerClientId()
- on it and save the result as the parentId local variable. Call #getId
- on this component and save the result as the myId local variable. If
- myId is null, call context.getViewRoot().createUniqueId() and assign
- the result to myId. If parentId is non-null, let myId equal parentId +
- UINamingContainer#getSeparatorChar + myId. Call
- Renderer#convertClientId, passing myId, and return the result.
Allow
- components that implement NamingContainer to selectively disable
- prepending their clientId to their descendent's clientIds by breaking
- the prepending logic into a seperately callable method. See
- #getClientId for usage. By default, this method will call through to
- #getClientId and return the result.
Return
- the UIComponent instance that is currently processing. This is
- equivalent to evaluating the EL expression "#{component}" and doing a
- getValue operation on the resultant ValueExpression. This method must
- return null if there is no currently processing UIComponent
Return
- the closest ancestor component, relative to the component returned
- from #getCurrentComponent, that is a composite component, or null if
- no such component exists.
- Convenience method to return the named facet, if it exists, or null
- otherwise. If the requested facet does not exist, the facets Map must
- not be created.
Return
- the number of facet UIComponents that are associated with this
- UIComponent. If there are no facets, this method must return 0. The
- method must not cause the creation of a facet component map. For
- backwards compatability with classes that extend UIComponent directly,
- a default implementation is provided that simply calls #getFacets and
- then calls the size() method on the returned Map. A more optimized
- version of this method is provided in UIComponentBase#getFacetCount.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:515
-
Map
-
jakarta.faces.component.UIComponent.getFacets
-
-
Return
- a mutable Map representing the facet UIComponents associated with this
- UIComponent, keyed by facet name (which must be a String). The
- returned implementation must support all of the standard and optional
- Map methods, plus support the following additional requirements: The
- Map implementation must implement the java.io.Serializable interface.
- Any attempt to add a null key or value must throw a
- NullPointerException. Any attempt to add a key that is not a String
- must throw a ClassCastException. Any attempt to add a value that is
- not a UIComponent must throw a ClassCastException. Whenever a new
- facet UIComponent is added: The parent property of the component must
- be set to this component instance. If the parent property of the
- component was already non-null, the component must first be removed
- from its previous parent (where it may have been either a child or a
- facet). Whenever an existing facet UIComponent is removed: The parent
- property of the facet must be set to null.
Return
- an Iterator over the facet followed by child UIComponents of this
- UIComponent. Facets are returned in an undefined order, followed by
- all the children in the order they are stored in the child list. If
- this component has no facets or children, an empty Iterator is
- returned. The returned Iterator must not support the remove()
- operation.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:517
-
String
-
jakarta.faces.component.UIComponent.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:518
-
String
-
jakarta.faces.component.UIComponent.getId
-
-
Return
- the component identifier of this UIComponent.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:519
-
List
-
jakarta.faces.component.UIComponent.getListenersForEventClass
-
- ( Class )
-
Return
- the SystemEventListener instances registered on this UIComponent
- instance that are interested in events of type eventClass.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:520
-
List
-
jakarta.faces.component.UIComponent.getListenersForEventClass
-
- ( Class )
- throws NullPointerException
-
- Starting with "this", return the closest component in the ancestry
- that is a NamingContainer or null if none can be found.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:522
-
UIComponent
-
jakarta.faces.component.UIComponent.getParent
-
-
Return
- the parent UIComponent of this UIComponent, if any. A component must
- allow child components to be added to and removed from the list of
- children of this component, even though the child component returns
- null from getParent( ).
Return
- a flag indicating whether this component is responsible for rendering
- its child components. The default implementation in
- UIComponentBase#getRendersChildren tries to find the renderer for this
- component. If it does, it calls Renderer#getRendersChildren and
- returns the result. If it doesn't, it returns false. As of version 1.2
- of the Jakarta Server Faces Specification, component authors are
- encouraged to return true from this method and rely on
- UIComponentBase#encodeChildren.
Return
- a Map of the ResourceBundle for this component. A component may have a
- ResourceBundle associated with it. This bundle may contain localized
- properties relating to instances of this component. The default
- implementation first looks for a ResourceBundle with a base name equal
- to the fully qualified class name of the current UIComponent this and
- Locale equal to the Locale of the current UIViewRoot. If no such
- bundle is found, and the component is a composite component, let
- resourceName be the resourceName of the Resource for this composite
- component, replacing the file extension with ".properties". Let
- libraryName be the libraryName of the the Resource for this composite
- component. Call
- jakarta.faces.application.ResourceHandler#createResource(java.lang.String,java.lang.String),
- passing the derived resourceName and libraryName. Note that this will
- automatically allow for the localization of the ResourceBundle due to
- the localization facility implemented in createResource, which is
- specified in section JSF.2.6.1.3 of the spec prose document. If the
- resultant Resource exists and can be found, the InputStream for the
- resource is used to create a ResourceBundle. If either of the two
- previous steps for obtaining the ResourceBundle for this component is
- successful, the ResourceBundle is wrapped in a Map and returned.
- Otherwise Collections.EMPTY_MAP is returned.
Call
- through to #getValueExpression and examine the result. If the result
- is an instance of the wrapper class mandated in #setValueBinding,
- extract the ValueBinding instance and return it. Otherwise, wrap the
- result in an implementation of ValueBinding, and return it.
Return
- the ValueExpression used to calculate the value for the specified
- attribute or property name, if any. This method must be overridden and
- implemented for components that comply with JSF 1.2 and later.
An
- implementation of PartialStateHolder#initialStateMarked, this method
- is called by the runtime to test if the
- PartialStateHolder#markInitialState method was called.
-
-
- Starting at this component in the View hierarchy, search for a
- component with a clientId equal to the argument clientId and, if
- found, call the ContextCallback#invokeContextCallback method on the
- argument callback, passing the current FacesContext and the found
- component as arguments. This method is similar to #findComponent but
- it does not support the leading UINamingContainer#getSeparatorChar
- syntax for searching from the root of the View. The default
- implementation will first check if this.getClientId() is equal to the
- argument clientId. If so, call the
- ContextCallback#invokeContextCallback method on the argument callback,
- passing through the FacesContext argument and passing this as the
- component argument. If an Exception is thrown by the callback, wrap it
- in a FacesException and re-throw it. Otherwise, return true.
- Otherwise, for each component returned by #getFacetsAndChildren, call
- invokeOnComponent() passing the arguments to this method, in order.
- The first time invokeOnComponent() returns true, abort traversing the
- rest of the Iterator and return true. When calling
- ContextCallback#invokeContextCallback the implementation of this
- method must guarantee that the state of the component passed to the
- callback correctly reflects the component's position in the View
- hierarchy with respect to any state found in the argument clientId.
- For example, an iterating component such as UIData will need to set
- its row index to correctly reflect the argument clientId before
- finding the appropriate child component backed by the correct row.
- When the callback returns, either normally or by throwing an Exception
- the implementation of this method must restore the state of the view
- to the way it was before invoking the callback. If none of the
- elements from #getFacetsAndChildren returned true from
- invokeOnComponent(), return false. Simple usage example to find a
- component by clientId. private UIComponent found = null; private void
- doFind(FacesContext context, String clientId) {
- context.getViewRoot().invokeOnComponent(context, clientId, new
- ContextCallback() { public void invokeContextCallback(FacesContext
- context, UIComponent component) { found = component; } }); }
An
- implementation of PartialStateHolder#markInitialState, this method is
- called by the runtime to indicate that the instance should start
- tracking changes to its state.
Perform
- the component tree processing required by the Apply Request Values
- phase of the request processing lifecycle for all facets of this
- component, all children of this component, and this component itself,
- as follows. If the rendered property of this UIComponent is false,
- skip further processing. Call #pushComponentToEL. Call the
- processDecodes() method of all facets and children of this
- UIComponent, in the order determined by a call to
- getFacetsAndChildren(). Call the decode() method of this component.
- Call #popComponentFromEL from inside of a finally block, just before
- returning. If a RuntimeException is thrown during decode processing,
- call FacesContext#renderResponse and re-throw the exception.
The
- default implementation performs the following action. If the argument
- event is an instance of PostRestoreStateEvent, call
- this.#getValueExpression passing the literal string
- “binding”, without the quotes, as the argument. If the
- result is non-null, set the value of the ValueExpression to be this.
Perform
- the component tree processing required by the Restore View phase of
- the request processing lifecycle for all facets of this component, all
- children of this component, and this component itself, as follows.
-
-
-
- Call the restoreState() method of this component. Call
- UIComponent#pushComponentToEL. Call the processRestoreState() method
- of all facets and children of this UIComponent in the order determined
- by a call to getFacetsAndChildren(). After returning from the
- processRestoreState() method on a child or facet, call
- UIComponent#popComponentFromEL This method may not be called if the
- state saving method is set to server.
Perform
- the component tree processing required by the state saving portion of
- the Render Response phase of the request processing lifecycle for all
- facets of this component, all children of this component, and this
- component itself, as follows. consult the transient property of this
- component. If true, just return null. Call #pushComponentToEL. Call
- the processSaveState() method of all facets and children of this
- UIComponent in the order determined by a call to
- getFacetsAndChildren(), skipping children and facets that are
- transient. Ensure that #popComponentFromEL is called correctly after
- each child or facet. Call the saveState() method of this component.
- Encapsulate the child state and your state into a Serializable Object
- and return it. This method may not be called if the state saving
- method is set to server.
Perform
- the component tree processing required by the Update Model Values
- phase of the request processing lifecycle for all facets of this
- component, all children of this component, and this component itself,
- as follows. If the rendered property of this UIComponent is false,
- skip further processing. Call #pushComponentToEL. Call the
- processUpdates() method of all facets and children of this
- UIComponent, in the order determined by a call to
- getFacetsAndChildren(). After returning from the processUpdates()
- method on a child or facet, call UIComponent#popComponentFromEL
Perform
- the component tree processing required by the Process Validations
- phase of the request processing lifecycle for all facets of this
- component, all children of this component, and this component itself,
- as follows. If the rendered property of this UIComponent is false,
- skip further processing. Call #pushComponentToEL. Call the
- processValidators() method of all facets and children of this
- UIComponent, in the order determined by a call to
- getFacetsAndChildren().
Push
- the current UIComponent this to the FacesContext attribute map using
- the key #CURRENT_COMPONENT saving the previous UIComponent associated
- with #CURRENT_COMPONENT for a subsequent call to #popComponentFromEL.
-
- This method and popComponentFromEL() form the basis for the contract
- that enables the EL Expression "#{component}" to resolve to the
- "current" component that is being processed in the lifecycle. The
- requirements for when pushComponentToEL() and popComponentFromEL()
- must be called are specified as needed in the javadoc for this class.
- After pushComponentToEL() returns, a call to #getCurrentComponent must
- return this UIComponent instance until popComponentFromEL() is called,
- after which point the previous UIComponent instance will be returned
- from getCurrentComponent()
Queue
- an event for broadcast at the end of the current request processing
- lifecycle phase. The default implementation in UIComponentBase must
- delegate this call to the queueEvent() method of the parent
- UIComponent.
Set the
- component identifier of this UIComponent (if any). Component
- identifiers must obey the following syntax restrictions: Must not be a
- zero-length String. First character must be a letter or an underscore
- ('_'). Subsequent characters must be a letter, a digit, an underscore
- ('_'), or a dash ('-'). Component identifiers must also obey the
- following semantic restrictions (note that this restriction is NOT
- enforced by the setId() implementation): The specified identifier must
- be unique among all the components (including facets) that are
- descendents of the nearest ancestor UIComponent that is a
- NamingContainer, or within the scope of the entire component tree if
- there is no such ancestor that is a NamingContainer.
Updates
- the status as to whether or not this component is currently within the
- view hierarchy. This method must never be called by developers; a
- UIComponent's internal implementation will call it as components are
- added to or removed from a parent's child List or facet Map.
Set the
- parent UIComponent of this UIComponent. This method will cause an
- jakarta.faces.event.PostAddToViewEvent to be published and if
- parent.isInView() returns true an jakarta.faces.event.PostAddToViewEvent
- will be published as well. This method must never be called by
- developers; a UIComponent's internal implementation will call it as
- components are added to or removed from a parent's child List or facet
- Map.
Set the
- ValueExpression used to calculate the value for the specified
- attribute or property name, if any. The implementation must call
- ValueExpression#isLiteralText on the argument expression. If
- isLiteralText() returns true, invoke ValueExpression#getValue on the
- argument expression and pass the result as the value parameter in a
- call to this.#getAttributes().put(name, value) where name is the
- argument name. If an exception is thrown as a result of calling
- ValueExpression#getValue, wrap it in a jakarta.faces.FacesException and
- re-throw it. If isLiteralText() returns false, simply store the
- un-evaluated expression argument in the collection of ValueExpressions
- under the key given by the argument name. This method must be
- overridden and implemented for components that comply with JSF 1.2 and
- later.
jakarta.faces.component.UIComponent.subscribeToEvent
-
- ( Class ,
- ComponentSystemEventListener )
-
Install
- the listener instance referenced by argument componentListener as a
- listener for events of type eventClass originating from this specific
- instance of UIComponent. The default implementation creates an inner
- SystemEventListener instance that wraps argument componentListener as
- the listener argument. This inner class must call through to the
- argument componentListener in its implementation of
- SystemEventListener#processEvent and its implementation of
- SystemEventListener#isListenerForSource must return true if the
- instance class of this UIComponent is assignable from the argument to
- isListenerForSource.
jakarta.faces.component.UIComponent.unsubscribeFromEvent
-
- ( Class ,
- ComponentSystemEventListener )
-
Remove
- the listener instance referenced by argument componentListener as a
- listener for events of type eventClass originating from this specific
- instance of UIComponent. When doing the comparison to determine if an
- existing listener is equal to the argument componentListener (and thus
- must be removed), the equals() method on the existing listener must be
- invoked, passing the argument componentListener, rather than the other
- way around.
Perform
- a tree visit starting at this node in the tree.
-
-
- UIComponent.visitTree() implementations do not invoke the
- VisitCallback directly, but instead call
- VisitContext#invokeVisitCallback to invoke the callback. This allows
- implementations to provide optimized tree traversals, for example by
- only calling the for a subset of components. UIComponent.visitTree()
- implementations must call UIComponent.pushComponentToEL() before
- performing the visit and UIComponent.popComponentFromEL() after the
- visit.
This is
- a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#addClientBehavior.
-
-
-
-
-
- UIComponent does not implement the
- jakarta.faces.component.behavior.ClientBehaviorHolder interface, but
- provides default implementations for the methods defined by
- jakarta.faces.component.behavior.ClientBehaviorHolder to simplify
- subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must
- declare that the subclass implements
- jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide
- an implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
- Broadcast the specified FacesEvent to all registered event listeners
- who have expressed an interest in events of this type. Listeners are
- called in the order in which they were added. If the event is an
- instance of jakarta.faces.event.BehaviorEvent and the current component
- is the source of the event call
- jakarta.faces.event.BehaviorEvent#getBehavior to get the
- jakarta.faces.component.behavior.Behavior for the event. If the behavior
- implements jakarta.faces.component.behavior.ClientBehavior, call
- jakarta.faces.component.behavior.ClientBehavior#broadcast(jakarta.faces.event.BehaviorEvent)}.
-
For
- each of the attached objects on this instance that implement
- PartialStateHolder, call PartialStateHolder#clearInitialState on the
- attached object.
Decode
- any new state of this UIComponent from the request contained in the
- specified FacesContext, and store this state as needed. During
- decoding, events may be enqueued for later processing (by event
- listeners who have registered an interest), by calling queueEvent().
If our
- rendered property is true, render the beginning of the current state
- of this UIComponent to the response contained in the specified
- FacesContext. Call
- #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent).
- Call jakarta.faces.application.Application#publishEvent, passing
- jakarta.faces.event.PreRenderComponentEvent.class as the first argument
- and the component instance to be rendered as the second argument. If a
- Renderer is associated with this UIComponent, the actual encoding will
- be delegated to Renderer#encodeBegin(FacesContext, UIComponent). If
- our rendered property is false, call
- #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent)
- and return immediately.
If our
- rendered property is true, render the child UIComponents of this
- UIComponent. This method will only be called if the rendersChildren
- property is true. If a Renderer is associated with this UIComponent,
- the actual encoding will be delegated to
- Renderer#encodeChildren(FacesContext, UIComponent). If no Renderer is
- associated with this UIComponent, iterate over each of the children of
- this component and call #encodeAll(jakarta.faces.context.FacesContext).
-
If our
- rendered property is true, render the ending of the current state of
- this UIComponent. If a Renderer is associated with this UIComponent,
- the actual encoding will be delegated to
- Renderer#encodeEnd(FacesContext, UIComponent). Call
- UIComponent#popComponentFromEL. before returning regardless of the
- value of the rendered property.
Search
- for and return the UIComponent with an id that matches the specified
- search expression (if any), according to the algorithm described
- below. For a method to find a component given a simple clientId, see
- #invokeOnComponent. Component identifiers are required to be unique
- within the scope of the closest ancestor NamingContainer that encloses
- this component (which might be this component itself). If there are no
- NamingContainer components in the ancestry of this component, the root
- component in the tree is treated as if it were a NamingContainer,
- whether or not its class actually implements the NamingContainer
- interface. A search expression consists of either an identifier (which
- is matched exactly against the id property of a UIComponent, or a
- series of such identifiers linked by the
- UINamingContainer#getSeparatorChar character value. The search
- algorithm should operates as follows, though alternate alogrithms may
- be used as long as the end result is the same: Identify the
- UIComponent that will be the base for searching, by stopping as soon
- as one of the following conditions is met: If the search expression
- begins with the the separator character (called an "absolute" search
- expression), the base will be the root UIComponent of the component
- tree. The leading separator character will be stripped off, and the
- remainder of the search expression will be treated as a "relative"
- search expression as described below. Otherwise, if this UIComponent
- is a NamingContainer it will serve as the basis. Otherwise, search up
- the parents of this component. If a NamingContainer is encountered, it
- will be the base. Otherwise (if no NamingContainer is encountered) the
- root UIComponent will be the base. The search expression (possibly
- modified in the previous step) is now a "relative" search expression
- that will be used to locate the component (if any) that has an id that
- matches, within the scope of the base component. The match is
- performed as follows: If the search expression is a simple identifier,
- this value is compared to the id property, and then recursively
- through the facets and children of the base UIComponent (except that
- if a descendant NamingContainer is found, its own facets and children
- are not searched). If the search expression includes more than one
- identifier separated by the separator character, the first identifier
- is used to locate a NamingContainer by the rules in the previous
- bullet point. Then, the findComponent() method of this NamingContainer
- will be called, passing the remainder of the search expression.
Return
- a mutable Map representing the attributes (and properties, see below)
- associated wth this UIComponent, keyed by attribute name (which must
- be a String). The returned implementation must support all of the
- standard and optional Map methods, plus support the following
- additional requirements: The Map implementation must implement the
- java.io.Serializable interface. Any attempt to add a null key or value
- must throw a NullPointerException. Any attempt to add a key that is
- not a String must throw a ClassCastException. If the attribute name
- specified as a key matches a property of this UIComponent's
- implementation class, the following methods will have special
- behavior: containsKey - Return false. get() - If the property is
- readable, call the getter method and return the returned value
- (wrapping primitive values in their corresponding wrapper classes);
- otherwise throw IllegalArgumentException. put() - If the property is
- writeable, call the setter method to set the corresponding value
- (unwrapping primitive values in their corresponding wrapper classes).
- If the property is not writeable, or an attempt is made to set a
- property of primitive type to null, throw IllegalArgumentException.
- remove - Throw IllegalArgumentException.
Return
- the number of child UIComponents that are associated with this
- UIComponent. If there are no children, this method must return 0. The
- method must not cause the creation of a child component list.
Return
- a mutable List representing the child UIComponents associated with
- this component. The returned implementation must support all of the
- standard and optional List methods, plus support the following
- additional requirements: The List implementation must implement the
- java.io.Serializable interface. Any attempt to add a null must throw a
- NullPointerException Any attempt to add an object that does not
- implement UIComponent must throw a ClassCastException. Whenever a new
- child component is added, the parent property of the child must be set
- to this component instance. If the parent property of the child was
- already non-null, the child must first be removed from its previous
- parent (where it may have been either a child or a facet). Whenever an
- existing child component is removed, the parent property of the child
- must be set to null. After the child component has been added to the
- view, if the following condition is not met:
- jakarta.faces.context.FacesContext#isPostback returns true and
- jakarta.faces.context.FacesContext#getCurrentPhaseId returns
- jakarta.faces.event.PhaseId#RESTORE_VIEWjakarta.faces.application.Application#publishEvent
- must be called, passing jakarta.faces.event.PostAddToViewEvent.class as
- the first argument and the newly added component as the second
- argument.
This is
- a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getClientBehaviors.
-
-
-
-
-
- UIComponent does not implement the
- jakarta.faces.component.behavior.ClientBehaviorHolder interface, but
- provides default implementations for the methods defined by
- jakarta.faces.component.behavior.ClientBehaviorHolder to simplify
- subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must
- declare that the subclass implements
- jakarta.faces.component.behavior.ClientBehaviorHolder, and must add an
- implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
Return
- a client-side identifier for this component, generating one if
- necessary. The associated Renderer, if any, will be asked to convert
- the clientId to a form suitable for transmission to the client. The
- return from this method must be the same value throughout the lifetime
- of the instance, unless the id property of the component is changed,
- or the component is placed in a NamingContainer whose client ID
- changes (for example, UIData). However, even in these cases,
- consecutive calls to this method must always return the same value.
- The implementation must follow these steps in determining the
- clientId: Find the closest ancestor to this component in the view
- hierarchy that implements NamingContainer. Call getContainerClientId()
- on it and save the result as the parentId local variable. Call #getId
- on this component and save the result as the myId local variable. If
- myId is null, call context.getViewRoot().createUniqueId() and assign
- the result to myId. If parentId is non-null, let myId equal parentId +
- UINamingContainer#getSeparatorChar + myId. Call
- Renderer#convertClientId, passing myId, and return the result.
This is
- a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName.
-
-
-
-
-
- UIComponent does not implement the
- jakarta.faces.component.behavior.ClientBehaviorHolder interface, but
- provides default implementations for the methods defined by
- jakarta.faces.component.behavior.ClientBehaviorHolder to simplify
- subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must
- declare that the subclass implements
- jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide
- an implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
This is
- a default implementation of
- jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
-
-
-
-
- UIComponent does not implement the
- jakarta.faces.component.behavior.ClientBehaviorHolder interface, but
- provides default implementations for the methods defined by
- jakarta.faces.component.behavior.ClientBehaviorHolder to simplify
- subclass implementations. Subclasses that wish to support the
- jakarta.faces.component.behavior.ClientBehaviorHolder contract must
- declare that the subclass implements
- jakarta.faces.component.behavior.ClientBehaviorHolder, and must override
- this method to return a non-Empty Collection of the client event names
- that the component supports.
- Convenience method to return the named facet, if it exists, or null
- otherwise. If the requested facet does not exist, the facets Map must
- not be created.
Return
- the number of facet UIComponents that are associated with this
- UIComponent. If there are no facets, this method must return 0. The
- method must not cause the creation of a facet component map. For
- backwards compatability with classes that extend UIComponent directly,
- a default implementation is provided that simply calls #getFacets and
- then calls the size() method on the returned Map. A more optimized
- version of this method is provided in UIComponentBase#getFacetCount.
Return
- a mutable Map representing the facet UIComponents associated with this
- UIComponent, keyed by facet name (which must be a String). The
- returned implementation must support all of the standard and optional
- Map methods, plus support the following additional requirements: The
- Map implementation must implement the java.io.Serializable interface.
- Any attempt to add a null key or value must throw a
- NullPointerException. Any attempt to add a key that is not a String
- must throw a ClassCastException. Any attempt to add a value that is
- not a UIComponent must throw a ClassCastException. Whenever a new
- facet UIComponent is added: The parent property of the component must
- be set to this component instance. If the parent property of the
- component was already non-null, the component must first be removed
- from its previous parent (where it may have been either a child or a
- facet). Whenever an existing facet UIComponent is removed: The parent
- property of the facet must be set to null.
Return
- an Iterator over the facet followed by child UIComponents of this
- UIComponent. Facets are returned in an undefined order, followed by
- all the children in the order they are stored in the child list. If
- this component has no facets or children, an empty Iterator is
- returned. The returned Iterator must not support the remove()
- operation.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:608
-
String
-
jakarta.faces.component.UIComponentBase.getId
-
-
Return
- the component identifier of this UIComponent.
Return
- the parent UIComponent of this UIComponent, if any. A component must
- allow child components to be added to and removed from the list of
- children of this component, even though the child component returns
- null from getParent( ).
Return
- a flag indicating whether this component is responsible for rendering
- its child components. The default implementation in
- UIComponentBase#getRendersChildren tries to find the renderer for this
- component. If it does, it calls Renderer#getRendersChildren and
- returns the result. If it doesn't, it returns false. As of version 1.2
- of the Jakarta Server Faces Specification, component authors are
- encouraged to return true from this method and rely on
- UIComponentBase#encodeChildren.
For
- each of the attached objects on this instance that implement
- PartialStateHolder, call PartialStateHolder#markInitialState on the
- attached object.
Perform
- the component tree processing required by the Apply Request Values
- phase of the request processing lifecycle for all facets of this
- component, all children of this component, and this component itself,
- as follows. If the rendered property of this UIComponent is false,
- skip further processing. Call #pushComponentToEL. Call the
- processDecodes() method of all facets and children of this
- UIComponent, in the order determined by a call to
- getFacetsAndChildren(). Call the decode() method of this component.
- Call #popComponentFromEL from inside of a finally block, just before
- returning. If a RuntimeException is thrown during decode processing,
- call FacesContext#renderResponse and re-throw the exception.
Perform
- the component tree processing required by the Restore View phase of
- the request processing lifecycle for all facets of this component, all
- children of this component, and this component itself, as follows.
-
-
-
- Call the restoreState() method of this component. Call
- UIComponent#pushComponentToEL. Call the processRestoreState() method
- of all facets and children of this UIComponent in the order determined
- by a call to getFacetsAndChildren(). After returning from the
- processRestoreState() method on a child or facet, call
- UIComponent#popComponentFromEL This method may not be called if the
- state saving method is set to server.
Perform
- the component tree processing required by the state saving portion of
- the Render Response phase of the request processing lifecycle for all
- facets of this component, all children of this component, and this
- component itself, as follows. consult the transient property of this
- component. If true, just return null. Call #pushComponentToEL. Call
- the processSaveState() method of all facets and children of this
- UIComponent in the order determined by a call to
- getFacetsAndChildren(), skipping children and facets that are
- transient. Ensure that #popComponentFromEL is called correctly after
- each child or facet. Call the saveState() method of this component.
- Encapsulate the child state and your state into a Serializable Object
- and return it. This method may not be called if the state saving
- method is set to server.
Perform
- the component tree processing required by the Update Model Values
- phase of the request processing lifecycle for all facets of this
- component, all children of this component, and this component itself,
- as follows. If the rendered property of this UIComponent is false,
- skip further processing. Call #pushComponentToEL. Call the
- processUpdates() method of all facets and children of this
- UIComponent, in the order determined by a call to
- getFacetsAndChildren(). After returning from the processUpdates()
- method on a child or facet, call UIComponent#popComponentFromEL
Perform
- the component tree processing required by the Process Validations
- phase of the request processing lifecycle for all facets of this
- component, all children of this component, and this component itself,
- as follows. If the rendered property of this UIComponent is false,
- skip further processing. Call #pushComponentToEL. Call the
- processValidators() method of all facets and children of this
- UIComponent, in the order determined by a call to
- getFacetsAndChildren().
Queue
- an event for broadcast at the end of the current request processing
- lifecycle phase. The default implementation in UIComponentBase must
- delegate this call to the queueEvent() method of the parent
- UIComponent.
This
- method is called by UIComponent subclasses that need to restore the
- objects they saved using #saveAttachedState. This method is tightly
- coupled with #saveAttachedState. This method supports restoring all
- attached objects types supported by #saveAttachedState.
This
- method is called by UIComponent subclasses that want to save one or
- more attached objects. It is a convenience method that does the work
- of saving attached objects that may or may not implement the
- StateHolder interface. Using this method implies the use of
- #restoreAttachedState to restore the attached objects. This method
- supports saving attached objects of the following type: Objects, null
- values, and Collections of these objects. If any contained objects are
- not Collections and do not implement StateHolder, they must have
- zero-argument public constructors. The exact structure of the returned
- object is undefined and opaque, but will be serializable.
Set the
- component identifier of this UIComponent (if any). Component
- identifiers must obey the following syntax restrictions: Must not be a
- zero-length String. First character must be a letter or an underscore
- ('_'). Subsequent characters must be a letter, a digit, an underscore
- ('_'), or a dash ('-'). Component identifiers must also obey the
- following semantic restrictions (note that this restriction is NOT
- enforced by the setId() implementation): The specified identifier must
- be unique among all the components (including facets) that are
- descendents of the nearest ancestor UIComponent that is a
- NamingContainer, or within the scope of the entire component tree if
- there is no such ancestor that is a NamingContainer.
Set the
- parent UIComponent of this UIComponent. This method will cause an
- jakarta.faces.event.PostAddToViewEvent to be published and if
- parent.isInView() returns true an jakarta.faces.event.PostAddToViewEvent
- will be published as well. This method must never be called by
- developers; a UIComponent's internal implementation will call it as
- components are added to or removed from a parent's child List or facet
- Map.
-
-
- Override the default UIComponentBase#broadcast processing to unwrap
- any wrapped FacesEvent and reset the current row index, before the
- event is actually broadcast. For events that we did not wrap (in
- queueEvent()), default processing will occur.
- Generate an identifier for a component. The identifier will be
- prefixed with UNIQUE_ID_PREFIX, and will be unique within this
- component-container. Optionally, a unique seed value can be supplied
- by component creators which should be included in the generated unique
- id.
In
- addition to the default behavior, ensure that any saved per-row state
- for our child input components is discarded unless it is needed to
- rerender the current page with errors.
Return
- a client identifier for this component that includes the current value
- of the rowIndex property, if it is not set to -1. This implies that
- multiple calls to getClientId() may return different results, but
- ensures that child components can themselves generate row-specific
- client identifiers (since UIData is a NamingContainer).
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:661
-
int
-
jakarta.faces.component.UIData.getFirst
-
-
Return
- the zero-relative row number of the first row to be displayed.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:662
-
UIComponent
-
jakarta.faces.component.UIData.getFooter
-
-
Return
- the footer facet of this component (if any). A convenience method for
- getFacet("footer").
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:663
-
UIComponent
-
jakarta.faces.component.UIData.getHeader
-
-
Return
- the header facet of this component (if any). A convenience method for
- getFacet("header").
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:664
-
int
-
jakarta.faces.component.UIData.getRowCount
-
-
Return
- the number of rows in the underlying data model. If the number of
- available rows is unknown, return -1.
if now
- row data is available at the currently specified row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:669
-
int
-
jakarta.faces.component.UIData.getRowIndex
-
-
Return
- the zero-relative index of the currently selected row. If we are not
- currently positioned on a row, return -1. This property is not enabled
- for value binding expressions.
Return
- the number of rows to be displayed, or zero for all remaining rows in
- the table. The default value of this property is zero.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:672
-
Object
-
jakarta.faces.component.UIData.getValue
-
-
Return
- the value of the UIData. This value must either be be of type
- DataModel, or a type that can be adapted into a DataModel. UIData will
- automatically adapt the following types: Arrays java.util.List
- java.sql.ResultSet jakarta.servlet.jsp.jstl.sql.Result All other types
- will be adapted using the ScalarDataModel class, which will treat the
- object as a single row of data.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:673
-
String
-
jakarta.faces.component.UIData.getVar
-
-
Return
- the request-scope attribute under which the data object for the
- current row will be exposed when iterating. This property is not
- enabled for value binding expressions.
-
- Override behavior from UIComponentBase#invokeOnComponent to provide
- special care for positioning the data properly before finding the
- component and invoking the callback on it. If the argument clientId is
- equal to this.getClientId() simply invoke the contextCallback, passing
- the context argument and this as arguments, and return true. If the
- argument clientId is not equal to this.getClientId(), inspect each of
- the facet children of this UIData instance and for each one, compare
- its clientId with the argument clientId. If there is a match, invoke
- the contextCallback, passing the context argument and this as
- arguments, and return true. Otherwise, attempt to extract a rowIndex
- from the clientId. For example, if the argument clientId was
- form:data:3:customerHeader the rowIndex would be 3. Let this value be
- called newIndex. The current rowIndex of this instance must be saved
- aside and restored before returning in all cases, regardless of the
- outcome of the search or if any exceptions are thrown in the process.
- The implementation of this method must never return true if setting
- the rowIndex of this instance to be equal to newIndex causes this
- instance to return false from #isRowAvailable.
-
- Override the default UIComponentBase#processDecodes processing to
- perform the following steps. If the rendered property of this
- UIComponent is false, skip further processing. Set the current
- rowIndex to -1. Call the processDecodes() method of all facets of this
- UIData, in the order determined by a call to
- getFacets().keySet().iterator(). Call the processDecodes() method of
- all facets of the UIColumn children of this UIData. Iterate over the
- set of rows that were included when this component was rendered (i.e.
- those defined by the first and rows properties), performing the
- following processing for each row: Set the current rowIndex to the
- appropriate value for this row. If isRowAvailable() returns true,
- iterate over the children components of each UIColumn child of this
- UIData component, calling the processDecodes() method for each such
- child. Set the current rowIndex to -1. Call the decode() method of
- this component. If a RuntimeException is thrown during decode
- processing, call FacesContext#renderResponse and re-throw the
- exception.
-
- Override the default UIComponentBase#processUpdates processing to
- perform the following steps. If the rendered property of this
- UIComponent is false, skip further processing. Set the current
- rowIndex to -1. Call the processUpdates() method of all facets of this
- UIData, in the order determined by a call to
- getFacets().keySet().iterator(). Call the processUpdates() method of
- all facets of the UIColumn children of this UIData. Iterate over the
- set of rows that were included when this component was rendered (i.e.
- those defined by the first and rows properties), performing the
- following processing for each row: Set the current rowIndex to the
- appropriate value for this row. If isRowAvailable() returns true,
- iterate over the children components of each UIColumn child of this
- UIData component, calling the processUpdates() method for each such
- child. Set the current rowIndex to -1.
-
- Override the default UIComponentBase#processValidators processing to
- perform the following steps. If the rendered property of this
- UIComponent is false, skip further processing. Set the current
- rowIndex to -1. Call the processValidators() method of all facets of
- this UIData, in the order determined by a call to
- getFacets().keySet().iterator(). Call the processValidators() method
- of all facets of the UIColumn children of this UIData. Iterate over
- the set of rows that were included when this component was rendered
- (i.e. those defined by the first and rows properties), performing the
- following processing for each row: Set the current rowIndex to the
- appropriate value for this row. If isRowAvailable() returns true,
- iterate over the children components of each UIColumn child of this
- UIData component, calling the processValidators() method for each such
- child. Set the current rowIndex to -1.
-
- Override the default UIComponentBase#queueEvent processing to wrap any
- queued events in a wrapper so that we can reset the current row index
- in broadcast().
jakarta.faces.component.UIData.setRowIndex
-
- ( int )
-
Set the
- zero relative index of the current row, or -1 to indicate that no row
- is currently selected, by implementing the following algorithm. It is
- possible to set the row index at a value for which the underlying data
- collection does not contain any row data. Therefore, callers may use
- the isRowAvailable() method to detect whether row data will be
- available for use by the getRowData() method. Save current state
- information for all descendant components (as described below). Store
- the new row index, and pass it on to the DataModel associated with
- this UIData instance. If the new rowIndex value is -1: If the var
- property is not null, remove the corresponding request scope attribute
- (if any). Reset the state information for all descendant components
- (as described below). If the new rowIndex value is not -1: If the var
- property is not null, call getRowData() and expose the resulting data
- object as a request scope attribute whose key is the var property
- value. Reset the state information for all descendant components (as
- described below). To save current state information for all descendant
- components, UIData must maintain per-row information for each
- descendant as follows: If the descendant is an instance of
- EditableValueHolder, save the state of its localValue property. If the
- descendant is an instance of EditableValueHolder, save the state of
- the localValueSet property. If the descendant is an instance of
- EditableValueHolder, save the state of the valid property. If the
- descendant is an instance of EditableValueHolder, save the state of
- the submittedValue property. To restore current state information for
- all descendant components, UIData must reference its previously stored
- information for the current rowIndex and call setters for each
- descendant as follows: If the descendant is an instance of
- EditableValueHolder, restore the value property. If the descendant is
- an instance of EditableValueHolder, restore the state of the
- localValueSet property. If the descendant is an instance of
- EditableValueHolder, restore the state of the valid property. If the
- descendant is an instance of EditableValueHolder, restore the state of
- the submittedValue property.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:695
-
void
-
jakarta.faces.component.UIData.setRowIndex
-
- ( int )
- throws FacesException
-
-
if an
- error occurs setting the row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:696
-
void
-
jakarta.faces.component.UIData.setRowIndex
-
- ( int )
- throws IllegalArgumentException
-
-
if
- rowIndex is less than -1
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:697
-
void
-
jakarta.faces.component.UIData.setRows
-
- ( int )
-
Set the
- number of rows to be displayed, or zero for all remaining rows in the
- table.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:698
-
void
-
jakarta.faces.component.UIData.setRows
-
- ( int )
- throws IllegalArgumentException
-
Set the
- ValueExpression used to calculate the value for the specified
- attribute or property name, if any. In addition, if a ValueExpression
- is set for the value property, remove any synthesized DataModel for
- the data previously bound to this component.
-
- Override the behavior in UIComponent#visitTree to handle iteration
- correctly. If the UIComponent#isVisitable method of this instance
- returns false, take no action and return. Otherwise, save aside the
- result of a call to #getRowIndex. Call UIComponent#pushComponentToEL
- and invoke the visit callback on this UIData instance as described in
- UIComponent#visitTree. Let the result of the invoctaion be
- visitResult. If visitResult is VisitResult#COMPLETE, take no further
- action and return true. Otherwise, determine if we need to visit our
- children. The default implementation calls
- VisitContext#getSubtreeIdsToVisit passing this as the argument. If the
- result of that call is non-empty, let doVisitChildren be true. If
- doVisitChildren is true and visitResult is VisitResult#ACCEPT, take
- the following action. If this component has facets, call
- UIComponent#getFacets on this instance and invoke the values() method.
- For each UIComponent in the returned Map, call UIComponent#visitTree.
- If this component has children, for each child UIComponent retured
- from calling #getChildren on this instance, if the child has facets,
- call UIComponent#getFacets on the child instance and invoke the
- values() method. For each UIComponent in the returned Map, call
- UIComponent#visitTree. Iterate over the columns and rows. Let
- rowsToProcess be the return from #getRows. Let rowIndex be the return
- from #getFirst - 1. While the number of rows processed is less than
- rowsToProcess, take the following actions. Call #setRowIndex, passing
- the current row index. If #isRowAvailable returns false, take no
- further action and return false. For each child component of this
- UIData that is also an instance of UIColumn, call
- UIComponent#visitTree on the child. If such a call returns true,
- terminate iteration and return true. Take no action on non UIColumn
- children. Call #popComponentFromEL and restore the saved row index
- with a call to #setRowIndex. Return false to allow the visiting to
- continue.
- Generate an identifier for a component. The identifier will be
- prefixed with UNIQUE_ID_PREFIX, and will be unique within this
- component-container. Optionally, a unique seed value can be supplied
- by component creators which should be included in the generated unique
- id.
-
-
- Override the UIComponent#getContainerClientId to allow users to
- disable this form from prepending its clientId to its descendent's
- clientIds depending on the value of this form's #isPrependId property.
-
-
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:712
-
String
-
jakarta.faces.component.UIForm.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:713
-
boolean
-
jakarta.faces.component.UIForm.isPrependId
-
-
The
- prependId flag.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:714
-
boolean
-
jakarta.faces.component.UIForm.isSubmitted
-
-
Returns
- the current value of the submitted property. The default value is
- false. See #setSubmitted for details.
-
- Override UIComponent#processDecodes to ensure that the form is decoded
- before its children. This is necessary to allow the submitted property
- to be correctly set.
-
-
- Override UIComponent#processValidators to ensure that the children of
- this UIForm instance are only processed if #isSubmitted returns true.
-
-
If this
- UIForm instance (as opposed to other forms in the page) is
- experiencing a submit during this request processing lifecycle, this
- method must be called, with true as the argument, during the
- UIComponent#decode for this UIForm instance. If this UIForm instance
- is not experiencing a submit, this method must be called, with false
- as the argument, during the UIComponent#decode for this UIForm
- instance. The value of a UIForm's submitted property must not be saved
- as part of its state.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:723
-
UIForm
-
jakarta.faces.component.UIForm.UIForm
-
-
Create
- a new UIForm instance with default property values.
Perform
- a tree visit starting at this node in the tree.
-
-
- UIComponent.visitTree() implementations do not invoke the
- VisitCallback directly, but instead call
- VisitContext#invokeVisitCallback to invoke the callback. This allows
- implementations to provide optimized tree traversals, for example by
- only calling the for a subset of components. UIComponent.visitTree()
- implementations must call UIComponent.pushComponentToEL() before
- performing the visit and UIComponent.popComponentFromEL() after the
- visit.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:725
-
String
-
jakarta.faces.component.UIGraphic.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:726
-
String
-
jakarta.faces.component.UIGraphic.getUrl
-
-
Return
- the image URL for this UIGraphic. This method is a typesafe alias for
- getValue().
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:727
-
Object
-
jakarta.faces.component.UIGraphic.getValue
-
-
Returns
- the value property of the UIGraphic. This will typically be rendered
- as an URL.
Return
- any ValueBinding set for value if a ValueBinding for url is requested;
- otherwise, perform the default superclass processing for this method.
-
-
Return
- any ValueExpression set for value if a ValueExpression for url is
- requested; otherwise, perform the default superclass processing for
- this method.
Store
- any ValueBinding specified for url under value instead; otherwise,
- perform the default superclass processing for this method. In all
- cases, the superclass is relied on to convert the ValueBinding to a
- ValueExpression.
For
- each of the attached objects on this instance that implement
- PartialStateHolder, call PartialStateHolder#clearInitialState on the
- attached object.
Decode
- any new state of this UIComponent from the request contained in the
- specified FacesContext, and store this state as needed. During
- decoding, events may be enqueued for later processing (by event
- listeners who have registered an interest), by calling queueEvent().
If
- there has been a call to #setConverterMessage on this instance, return
- the message. Otherwise, call #getValueExpression passing the key
- "converterMessage", get the result of the expression, and return it.
- Any ELExceptions thrown during the call to getValue() must be wrapped
- in a FacesException and rethrown.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:747
-
String
-
jakarta.faces.component.UIInput.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
If
- there has been a call to #setRequiredMessage on this instance, return
- the message. Otherwise, call #getValueExpression passing the key
- "requiredMessage", get the result of the expression, and return it.
- Any ELExceptions thrown during the call to getValue() must be wrapped
- in a FacesException and rethrown.
Return
- the submittedValue value of this UIInput component. This method should
- only be used by the decode() and validate() method of this component,
- or its corresponding Renderer.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:750
-
MethodBinding
-
jakarta.faces.component.UIInput.getValidator
-
-
Return
- a 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.
If
- there has been a call to #setValidatorMessage on this instance, return
- the message. Otherwise, call #getValueExpression passing the key
- "validatorMessage", get the result of the expression, and return it.
- Any ELExceptions thrown during the call to getValue() must be wrapped
- in a FacesException and rethrown.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:752
-
Validator[]
-
jakarta.faces.component.UIInput.getValidators
-
-
Return
- the set of registered Validators for this UIInput instance. If there
- are no registered validators, a zero-length array is returned.
If
- #setValueChangeListener was not previously called for this instance,
- this method must return null. If it was called, this method must
- return the exact MethodBinding instance that was passed to
- #setValueChangeListener.
Return
- the set of registered ValueChangeListeners for this UIInput instance.
- If there are no registered listeners, a zero-length array is returned.
-
In
- addition to the actions taken in UIOutput when
- PartialStateHolder#markInitialState() is called, check if any of the
- installed Validators are PartialStateHolders and if so, call
- jakarta.faces.component.PartialStateHolder#markInitialState() as
- appropriate.
- Specialized decode behavior on top of that provided by the superclass.
-
-
- In addition to the standard processDecodes behavior inherited from
- UIComponentBase, calls validate() if the the immediate property is
- true; if the component is invalid afterwards or a RuntimeException is
- thrown, calls FacesContext#renderResponse.
In
- addition to the standard processUpdates behavior inherited from
- UIComponentBase, calls updateModel(). If the component is invalid
- afterwards, calls FacesContext#renderResponse. If a RuntimeException
- is thrown during update processing, calls FacesContext#renderResponse
- and re-throw the exception.
In
- addition to the standard processValidators behavior inherited from
- UIComponentBase, calls validate() if the immediate property is false
- (which is the default); if the component is invalid afterwards, calls
- FacesContext#renderResponse. If a RuntimeException is thrown during
- validation processing, calls FacesContext#renderResponse and re-throw
- the exception.
- Convenience method to reset this component's value to the
- un-initialized state. This method does the following: Call #setValue
- passing null. Call #setSubmittedValue passing null. Call
- #setLocalValueSet passing false. Call #setValid passing true. Upon
- return from this call if the instance had a ValueBinding associated
- with it for the "value" property, this binding is evaluated when
- UIOutput#getValue is called. Otherwise, null is returned from
- getValue().
-
- Override any ValueExpression set for the "converterMessage" with the
- literal argument provided to this method. Subsequent calls to
- #getConverterMessage will return this value;
Set the
- "immediate" state for this component. When set to true, the
- component's value will be converted and validated immediately in the
- Apply Request Values phase, and ValueChangeEvents will be delivered in
- that phase as well. The default value for this property must be false.
-
-
- Override any ValueExpression set for the "requiredMessage" with the
- literal argument provided to this method. Subsequent calls to
- #getRequiredMessage will return this value;
Set the
- submittedValue value of this UIInput component. This method should
- only be used by the decode() and validate() method of this component,
- or its corresponding Renderer.
Set a
- 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. Any method referenced by such an
- expression must be public, with a return type of void, and accept
- parameters of type FacesContext, UIComponent, and Object.
-
- Override any ValueExpression set for the "validatorMessage" with the
- literal argument provided to this method. Subsequent calls to
- #getValidatorMessage will return this value;
Perform
- the following algorithm to update the model data associated with this
- UIInput, if any, as appropriate. If the valid property of this
- component is false, take no further action. If the localValueSet
- property of this component is false, take no further action. If no
- ValueExpression for value exists, take no further action. Call
- setValue() method of the ValueExpression to update the value that the
- ValueExpression points at. If the setValue() method returns
- successfully: Clear the local value of this UIInput. Set the
- localValueSet property of this UIInput to false. If the setValue()
- method throws an Exception: Enqueue an error message. Create a
- FacesMessage with the id #UPDATE_MESSAGE_ID. Create a
- UpdateModelException, passing the FacesMessage and the caught
- exception to the constructor. Create an ExceptionQueuedEventContext,
- passing the FacesContext, the UpdateModelException, this component
- instance, and PhaseId#UPDATE_MODEL_VALUES to its constructor. Call
- FacesContext#getExceptionHandler and then call
- ExceptionHandler#processEvent, passing the
- ExceptionQueuedEventContext. Set the valid property of this UIInput to
- false. The exception must not be re-thrown. This enables tree
- traversal to continue for this lifecycle phase, as in all the other
- lifecycle phases.
Perform
- the following algorithm to validate the local value of this UIInput.
-
-
-
-
-
-
- Retrieve the submitted value with #getSubmittedValue. If this returns
- null, exit without further processing. (This indicates that no value
- was submitted for this component.) If the
- jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL context
- parameter value is true (ignoring case), and getSubmittedValue()
- returns a zero-length String call #setSubmittedValue, passing null as
- the argument and continue processing using null as the current
- submitted value. Convert the submitted value into a "local value" of
- the appropriate data type by calling #getConvertedValue. Validate the
- property by calling #validateValue. If the valid property of this
- component is still true, retrieve the previous value of the component
- (with getValue()), store the new local value using setValue(), and
- reset the submitted value to null. If the local value is different
- from the previous value of this component, fire a ValueChangeEvent to
- be broadcast to all interested listeners. Application components
- implementing UIInput that wish to perform validation with logic
- embedded in the component should perform their own correctness checks,
- and then call the super.validate() method to perform the standard
- processing described above.
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:790
-
String
-
jakarta.faces.component.UIMessage.getFor
-
-
Return
- the client identifier of the component for which this component
- represents associated message(s) (if any).
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:791
-
boolean
-
jakarta.faces.component.UIMessage.isRedisplay
-
-
-
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:792
-
boolean
-
jakarta.faces.component.UIMessage.isShowDetail
-
-
Return
- the flag indicating whether the detail property of the associated
- message(s) should be displayed. Defaults to true.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:793
-
boolean
-
jakarta.faces.component.UIMessage.isShowSummary
-
-
Return
- the flag indicating whether the summary property of the associated
- message(s) should be displayed. Defaults to false.
Set the
- client identifier of the component for which this component represents
- associated message(s) (if any). This property must be set before the
- message is displayed.
Set the
- flag indicating whether the summary property of the associated
- message(s) should be displayed.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:798
-
UIMessage
-
jakarta.faces.component.UIMessage.UIMessage
-
-
Create
- a new UIMessage instance with default property values.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:799
-
String
-
jakarta.faces.component.UIMessages.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:800
-
String
-
jakarta.faces.component.UIMessages.getFor
-
-
Return
- the client identifier of the component for which this component
- represents associated message(s) (if any).
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:801
-
boolean
-
jakarta.faces.component.UIMessages.isGlobalOnly
-
-
Return
- the flag indicating whether only global messages (that is, messages
- with no associated client identifier) should be rendered. Mutually
- exclusive with the "for" property which takes precedence. Defaults to
- false.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:802
-
boolean
-
jakarta.faces.component.UIMessages.isRedisplay
-
-
-
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:803
-
boolean
-
jakarta.faces.component.UIMessages.isShowDetail
-
-
Return
- the flag indicating whether the detail property of the associated
- message(s) should be displayed. Defaults to false.
Set the
- client identifier of the component for which this component represents
- associated message(s) (if any). This property must be set before the
- message is displayed.
- Generate an identifier for a component. The identifier will be
- prefixed with UNIQUE_ID_PREFIX, and will be unique within this
- component-container. Optionally, a unique seed value can be supplied
- by component creators which should be included in the generated unique
- id.
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
Return
- the character used to separate segments of a clientId. The
- implementation must determine if there is a with the value given by
- the value of the symbolic constant #SEPARATOR_CHAR_PARAM_NAME. If
- there is a value for this param, the first character of the value must
- be returned from this method. Otherwise, the value of the symbolic
- constant NamingContainer#SEPARATOR_CHAR must be returned.
Perform
- a tree visit starting at this node in the tree.
-
-
- UIComponent.visitTree() implementations do not invoke the
- VisitCallback directly, but instead call
- VisitContext#invokeVisitCallback to invoke the callback. This allows
- implementations to provide optimized tree traversals, for example by
- only calling the for a subset of components. UIComponent.visitTree()
- implementations must call UIComponent.pushComponentToEL() before
- performing the visit and UIComponent.popComponentFromEL() after the
- visit.
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
Returns
- the outcome property of the UIOutcomeTarget. This value is passed to
- the jakarta.faces.application.NavigationHandler when resolving the
- target url of this component.
For
- each of the attached objects on this instance that implement
- PartialStateHolder, call PartialStateHolder#clearInitialState on the
- attached object.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:823
-
Converter
-
jakarta.faces.component.UIOutput.getConverter
-
-
Return
- the Converter (if any) that is registered for this UIComponent.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:824
-
String
-
jakarta.faces.component.UIOutput.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:825
-
Object
-
jakarta.faces.component.UIOutput.getLocalValue
-
-
Return
- the local value of this UIComponent (if any), without evaluating any
- associated ValueExpression.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:826
-
Object
-
jakarta.faces.component.UIOutput.getValue
-
-
Gets
- the value of this UIComponent. First, consult the local value property
- of this component. If non-null return it. If null, see if we have a
- ValueExpression for the value property. If so, return the result of
- evaluating the property, otherwise return null. Note that because the
- specification for UIComponent#setValueBinding requires a call through
- to UIComponent#setValueExpression, legacy tags will continue to work.
-
In
- addition to the actions taken in UIComponentBase when
- PartialStateHolder#markInitialState() is called, check if the
- installed Converter is a PartialStateHolder and if it is, call
- jakarta.faces.component.PartialStateHolder#markInitialState() on it.
Create
- a new UIOutput instance with default property values.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:833
-
String
-
jakarta.faces.component.UIPanel.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:834
-
UIPanel
-
jakarta.faces.component.UIPanel.UIPanel
-
-
Create
- a new UIPanel instance with default property values.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:835
-
String
-
jakarta.faces.component.UIParameter.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:836
-
String
-
jakarta.faces.component.UIParameter.getName
-
-
Return
- the optional parameter name for this parameter.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:837
-
Object
-
jakarta.faces.component.UIParameter.getValue
-
-
Returns
- the value property of the UIParameter.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:838
-
boolean
-
jakarta.faces.component.UIParameter.isDisable
-
-
Return
- the value of the disable directive for this component. This directive
- determines whether the parameter value should be disabled by assigning
- it a null value. If true, the value set on this component is ignored.
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
Return
- any ValueBinding set for value if a ValueBinding for selected is
- requested; otherwise, perform the default superclass processing for
- this method. Rely on the superclass implementation to wrap the
- returned ValueExpression in a ValueBinding.
Return
- any ValueExpression set for value if a ValueExpression for selected is
- requested; otherwise, perform the default superclass processing for
- this method.
Store
- any ValueBinding specified for selected under value instead;
- otherwise, perform the default superclass processing for this method.
- Rely on the superclass implementation to wrap the argument
- ValueBinding in a ValueExpression.
Create
- a new UISelectBoolean instance with default property values.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:855
-
String
-
jakarta.faces.component.UISelectItem.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
Return
- the value of the noSelectionOption property. If the value of this
- property is true, the system interprets the option represented by this
- UISelectItem instance as representing a "no selection" option. See
- UISelectOne#validateValue and UISelectMany#validateValue for usage.
Create
- a new UISelectItem instance with default property values.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:871
-
String
-
jakarta.faces.component.UISelectItems.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:872
-
Object
-
jakarta.faces.component.UISelectItems.getValue
-
-
Returns
- the value property of the UISelectItems.
Create
- a new UISelectItems instance with default property values.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:875
-
String
-
jakarta.faces.component.UISelectMany.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
Return
- any ValueBinding set for value if a ValueBinding for selectedValues is
- requested; otherwise, perform the default superclass processing for
- this method. This method relies on the superclass to provide the
- ValueExpression to ValueBinding wrapping.
Return
- any ValueExpression set for value if a ValueExpression for
- selectedValues is requested; otherwise, perform the default superclass
- processing for this method.
Store
- any ValueBinding specified for selectedValues under value instead;
- otherwise, perform the default superclass processing for this method.
- This method relies on the superclass to wrap the argument ValueBinding
- in a ValueExpression.
Store
- any ValueExpression specified for selectedValues under value instead;
- otherwise, perform the default superclass processing for this method.
-
-
Create
- a new UISelectMany instance with default property values.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:887
-
String
-
jakarta.faces.component.UISelectOne.getFamily
-
-
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:888
-
UISelectOne
-
jakarta.faces.component.UISelectOne.UISelectOne
-
-
Create
- a new UISelectOne instance with default property values.
-
-
- Override behavior from superclass to pull a value from the incoming
- request parameter map under the name given by #getName and store it
- with a call to UIInput#setSubmittedValue.
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:893
-
String
-
jakarta.faces.component.UIViewParameter.getName
-
-
Return
- the request parameter name from which the value is retrieved.
- Specialize superclass behavior to treat null differently. In this
- class, a null value along with the "required" flag being set to true
- will cause a validation failure.
Call
- through to superclass UIInput#updateModel then take the additional
- action of pushing the value into request scope if and only if the
- value is not a value expression, is valid, and the local value was set
- on this lifecycle execution.
Return
- the UIViewParameter to which this instance refers. If the current
- viewId is the same as the viewId passed to our constructor, use the
- index passed to the constructor to find the actual UIViewParameter
- instance and return it. Otherwise, call StateHolder#restoreState on
- the saved state and return the result.
Add
- argument component, which is assumed to represent a resource instance,
- as a resource to this view. A resource instance is rendered by a
- resource Renderer, as described in the Standard HTML RenderKit. The
- default implementation must call through to
- #addComponentResource(jakarta.faces.context.FacesContext,
- jakarta.faces.component.UIComponent, java.lang.String).
Add
- argument component, which is assumed to represent a resource instance,
- as a resource to this view. A resource instance is rendered by a
- resource Renderer, as described in the Standard HTML RenderKit. The
- component must be added using the following algorithm: If the target
- argument is null, look for a target attribute on the component. If
- there is no target attribute, set target to be the default value head
- Call #getComponentResources to obtain the child list for the given
- target. If the component ID of componentResource matches the the ID of
- a resource that has allready been added, remove the old resource. Add
- the component resource to the list.
- Broadcast any events that have been queued. First broadcast events
- that have been queued for PhaseId#ANY_PHASE. Then broadcast ane events
- that have been queued for the current phase. In both cases,
- UIComponent#pushComponentToEL must be called before the event is
- broadcast, and UIComponent#popComponentFromEL must be called after the
- return from the broadcast, even in the case of an exception.
- Generate an identifier for a component. The identifier will be
- prefixed with UNIQUE_ID_PREFIX, and will be unique within this
- UIViewRoot. Optionally, a unique seed value can be supplied by
- component creators which should be included in the generated unique
- id.
-
- Override the default UIComponentBase#encodeBegin behavior. If
- #getBeforePhaseListener returns non-null, invoke it, passing a
- PhaseEvent for the PhaseId#RENDER_RESPONSE phase. If the internal list
- populated by calls to #addPhaseListener is non-empty, any listeners in
- that list must have their PhaseListener#beforePhase method called,
- passing the PhaseEvent. Any errors that occur during invocation of any
- of the the beforePhase listeners must be logged and swallowed. After
- listeners are invoked call superclass processing.
If
- jakarta.faces.context.PartialViewContext#isAjaxRequest returns true,
- perform partial rendering by calling
- jakarta.faces.context.PartialViewContext#processPartial with
- PhaseId#RENDER_RESPONSE. If
- jakarta.faces.context.PartialViewContext#isAjaxRequest returns false,
- delegate to the parent
- jakarta.faces.component.UIComponentBase#encodeChildren method.
If
- #getAfterPhaseListener returns non-null, invoke it, passing a
- PhaseEvent for the PhaseId#RENDER_RESPONSE phase. Any errors that
- occur during invocation of the afterPhase listener must be logged and
- swallowed. If the current view has view parameters, as indicated by a
- non-empty and non-UnsupportedOperationException throwing return from
- jakarta.faces.view.ViewDeclarationLanguage#getViewMetadata(jakarta.faces.context.FacesContext,
- String), call UIViewParameter#encodeAll on each parameter. If calling
- getViewParameters() causes UnsupportedOperationException to be thrown,
- the exception must be silently swallowed.
Return
- an unmodifiable List of UIComponents for the provided target agrument.
- Each component in the List is assumed to represent a resource
- instance. The default implementation must use an algorithm equivalent
- to the the following. Locate the facet for the component by calling
- getFacet() using target as the argument. If the facet is not found,
- create the facet by calling context.getApplication().createComponent()
- using jakarta.faces.Panel as the argument Set the id of the facet to be
- target Add the facet to the facets Map using target as the key return
- the children of the facet
Return
- the identifier of the component family to which this component
- belongs. This identifier, in conjunction with the value of the
- rendererType property, may be used to select the appropriate Renderer
- for this component instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:923
-
Locale
-
jakarta.faces.component.UIViewRoot.getLocale
-
-
Return
- the Locale to be used in localizing the response being created for
- this view. Algorithm: If we have a locale ivar, return it. If we have
- a value expression for "locale", get its value. If the value is null,
- return the result of calling
- jakarta.faces.application.ViewHandler#calculateLocale. If the value is
- an instance of java.util.Locale return it. If the value is a String,
- convert it to a java.util.Locale and return it. If there is no value
- expression for "locale", return the result of calling
- jakarta.faces.application.ViewHandler#calculateLocale.
Return
- the render kit identifier of the jakarta.faces.render.RenderKit
- associated with this view. Unless explicitly set, as in
- jakarta.faces.application.ViewHandler#createView, the returned value
- will be null.
Returns
- a Map that acts as the interface to the data store that is the "view
- scope", or, if this instance does not have such a Map and the create
- argument is true, creates one and returns it. This map must be
- instantiated lazily and cached for return from subsequent calls to
- this method on this UIViewRoot instance.
- jakarta.faces.application.Application#publishEvent must be called,
- passing PostConstructViewMapEvent.class as the first argument and this
- UIViewRoot instance as the second argument. The returned Map must be
- implemented such that calling clear() on the Map causes
- jakarta.faces.application.Application#publishEvent to be called, passing
- PreDestroyViewMapEvent.class as the first argument and this UIViewRoot
- instance as the second argument. See FacesContext#setViewRoot for the
- specification of when the clear() method must be called.
-
-
- Broadcast any events that have been queued for the Invoke Application
- phase of the request processing lifecycle and to clear out any events
- for later phases if the event processing for this phase caused
- FacesContext#renderResponse or FacesContext#responseComplete to be
- called.
Perform
- partial processing by calling
- jakarta.faces.context.PartialViewContext#processPartial with
- PhaseId#APPLY_REQUEST_VALUES if:
- jakarta.faces.context.PartialViewContext#isPartialRequest returns true
- and we don't have a request to process all components in the view
- (jakarta.faces.context.PartialViewContext#isExecuteAll returns false)
- Perform full processing by calling UIComponentBase#processDecodes if
- one of the following conditions are met:
- jakarta.faces.context.PartialViewContext#isPartialRequest returns true
- and we have a request to process all components in the view
- (jakarta.faces.context.PartialViewContext#isExecuteAll returns true)
- jakarta.faces.context.PartialViewContext#isPartialRequest returns false
- Override the default UIComponentBase#processDecodes behavior to
- broadcast any queued events after the default processing or partial
- processing has been completed and to clear out any events for later
- phases if the event processing for this phase caused
- FacesContext#renderResponse or FacesContext#responseComplete to be
- called.
The
- default implementation must call UIComponentBase#processRestoreState
- from within a try block. The try block must have a finally block that
- ensures that no FacesEvents remain in the event queue, and that the
- this.UIComponent#visitTree is called, passing a ContextCallback that
- takes the following action: call the UIComponent#processEvent method
- of the current component. The argument event must be an instance of
- jakarta.faces.event.PostRestoreStateEvent whose component property is
- the current component in the traversal.
Perform
- partial processing by calling
- jakarta.faces.context.PartialViewContext#processPartial with
- PhaseId#UPDATE_MODEL_VALUES if:
- jakarta.faces.context.PartialViewContext#isPartialRequest returns true
- and we don't have a request to process all components in the view
- (jakarta.faces.context.PartialViewContext#isExecuteAll returns false)
- Perform full processing by calling UIComponentBase#processUpdates if
- one of the following conditions are met:
- jakarta.faces.context.PartialViewContext#isPartialRequest returns true
- and we have a request to process all components in the view
- (jakarta.faces.context.PartialViewContext#isExecuteAll returns true)
- jakarta.faces.context.PartialViewContext#isPartialRequest returns false
- Override the default UIComponentBase behavior to broadcast any queued
- events after the default processing or partial processing has been
- completed and to clear out any events for later phases if the event
- processing for this phase caused FacesContext#renderResponse or
- FacesContext#responseComplete to be called.
Perform
- partial processing by calling
- jakarta.faces.context.PartialViewContext#processPartial with
- PhaseId#PROCESS_VALIDATIONS if:
- jakarta.faces.context.PartialViewContext#isPartialRequest returns true
- and we don't have a request to process all components in the view
- (jakarta.faces.context.PartialViewContext#isExecuteAll returns false)
- Perform full processing by calling UIComponentBase#processValidators
- if one of the following conditions are met:
- jakarta.faces.context.PartialViewContext#isPartialRequest returns true
- and we have a request to process all components in the view
- (jakarta.faces.context.PartialViewContext#isExecuteAll returns true)
- jakarta.faces.context.PartialViewContext#isPartialRequest returns false
- Override the default UIComponentBase#processValidators behavior to
- broadcast any queued events after the default processing or partial
- processing has been completed and to clear out any events for later
- phases if the event processing for this phase caused
- FacesContext#renderResponse or FacesContext#responseComplete to be
- called.
Remove
- argument component, which is assumed to represent a resource instance,
- as a resource to this view. A resource instance is rendered by a
- resource Renderer, as described in the Standard HTML RenderKit. The
- component must be removed using the following algorithm: If the target
- argument is null, look for a target attribute on the component. If
- there is no target attribute, set target to be the default value head
- Call #getComponentResources to obtain the child list for the given
- target. Remove the component resource from the child list.
Allow
- an arbitrary method to be called for the "afterPhase" event as the
- UIViewRoot runs through its lifecycle. This method will be called for
- all phases including PhaseId#RESTORE_VIEW. Unlike a true
- PhaseListener, this approach doesn't allow for only receiving
- PhaseEvents for a given phase. The method must conform to the
- signature of PhaseListener#afterPhase.
Allow
- an arbitrary method to be called for the "beforePhase" event as the
- UIViewRoot runs through its lifecycle. This method will be called for
- all phases except PhaseId#RESTORE_VIEW. Unlike a true PhaseListener,
- this approach doesn't allow for only receiving PhaseEvents for a given
- phase. The method must conform to the signature of
- PhaseListener#beforePhase.
Set the
- render kit identifier of the jakarta.faces.render.RenderKit associated
- with this view. This method may be called at any time between the end
- of Apply Request Values phase of the request processing lifecycle
- (i.e. when events are being broadcast) and the beginning of the Render
- Response phase.
jakarta.faces.component.UIViewRoot.subscribeToViewEvent
-
- ( Class ,
- SystemEventListener )
-
Install
- the listener instance referenced by argument listener into the
- UIViewRoot as a listener for events of type systemEventClass. Note
- that installed listeners are not maintained as part of the
- UIViewRoot's state.
- Generate an identifier for a component. The identifier will be
- prefixed with UNIQUE_ID_PREFIX, and will be unique within this
- component-container. Optionally, a unique seed value can be supplied
- by component creators which should be included in the generated unique
- id.
Return
- the local value of this UIComponent (if any), without evaluating any
- associated ValueExpression.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:966
-
Object
-
jakarta.faces.component.ValueHolder.getValue
-
-
Gets
- the value of this UIComponent. First, consult the local value property
- of this component. If non-null return it. If null, see if we have a
- ValueExpression for the value property. If so, return the result of
- evaluating the property, otherwise return null. Note that because the
- specification for UIComponent#setValueBinding requires a call through
- to UIComponent#setValueExpression, legacy tags will continue to work.
-
Return
- a non-empty Collection of component identifiers that will be used to
- identify components that should be processed during the execute phase
- of the request processing lifecycle. Note that the returned collection
- may be unmodifiable. Modifications should be performed by calling
- #setExecute.
Return
- the String of JavaScript function name that will be used to identify
- the client callback function that should be run in the event of an
- error.
Return
- the String of JavaScript function name that will be used to identify
- the client callback function that should be run on the occurance of a
- client-side event.
Return
- a non-empty Collection of component identifiers that will be used to
- identify components that should be processed during the render phase
- of the request processing lifecycle. Note that the returned collection
- may be unmodifiable. Modifications should be performed by calling
- #setRender.
Returns
- the renderer type of the ClientBehaviorRenderer to use for the
- behavior. The default implementation returns null. Subclasses should
- either override this method to return a string that identifies the
- type of ClientBehaviorRenderer to use, or should override #getScript
- and perform script rendering locally in the ClientBehavior
- implementation.
Tests
- whether the immediate attribute is specified. Returns true if the
- immediate attribute is specified, either as a locally set property or
- as a value expression. This information allows an associated client
- behavior renderer to fall back on the parent component's immediate
- status when immediate is not explicitly specified on the AjaxBehavior.
-
Sets
- the component identifiers that will be used to identify components
- that should be processed during the execute phase of the request
- processing lifecycle.
Sets
- the component identifiers that will be used to identify components
- that should be processed during the render phase of the request
- processing lifecycle.
-
- Broadcast the specified BehaviorEvent to all registered event
- listeners who have expressed an interest in events of this type.
- Listeners are called in the order in which they were added.
Default
- implementation of Behavior#broadcast. Delivers the specified
- BehaviorEvent to all registered BehaviorListener event listeners who
- have expressed an interest in events of this type. Listeners are
- called in the order in which they were registered (added).
Decode
- any new state of this ClientBehavior from the request contained in the
- specified FacesContext. During decoding, events may be enqueued for
- later processing (by event listeners who have registered an interest),
- by calling queueEvent(). Default implementation delegates decoding to
- jakarta.faces.render.ClientBehaviorRenderer#decode(FacesContext,
- UIComponent, ClientBehavior)
Returns
- hints that describe the behavior of the ClientBehavior implementation.
- The hints may impact how Renderers behave in the presence of
- Behaviors. For example, when a Behavior that specifies
- ClientBehaviorHint.SUBMITTING is present, the Renderer may choose to
- alternate the scripts that it generates itself.
Return
- the script that implements this ClientBehavior's client-side logic.
- ClientBehavior.getScript() implementations are allowed to return null
- to indicate that no script is required for this particular getScript()
- call. For example, a ClientBehavior implementation may return null if
- the Behavior is disabled.
Default
- implementation of of ClientBehavior#decode. If a
- ClientBehaviorRenderer is available for the specified behavior
- renderer type, this method delegates to the ClientBehaviorRenderer's
- decode() method. Otherwise, no decoding is performed.
Returns
- the renderer type of the ClientBehaviorRenderer to use for the
- behavior. The default implementation returns null. Subclasses should
- either override this method to return a string that identifies the
- type of ClientBehaviorRenderer to use, or should override #getScript
- and perform script rendering locally in the ClientBehavior
- implementation.
Default
- implementation of of ClientBehavior#getScript. If a
- ClientBehaviorRenderer is available for the specified behavior
- renderer type, this method delegates to the
- ClientBehaviorRenderer#getScript method. Otherwise, this method
- returns null.
Returns
- parameters that "submitting" ClientBehavior implementations should
- include when posting back data into the Faces lifecycle. If no
- parameters are specified, this method returns an empty (non-null)
- collection.
Returns
- an id for use as the ClientBehavior source. ClientBehavior
- implementations that submit back to the Faces lifecycle are required
- to identify which component triggered the ClientBehavior-initiated
- request via the jakarta.faces.source request parameter. In most cases,
- th source id can be trivially derived from the element to which the
- behavior's client-side script is attached - ie. the source id is
- typically the id of this element. However, in components which produce
- more complex content, the behavior script may not be able to determine
- the correct id to use for the jakarta.faces.source value. The
- ClientBehaviorContext#getSourceId method allows the component to pass
- this information into the ClientBehavior#getScript implementation.
-
- Attaches a ClientBehavior to the component implementing this interface
- for the specified event. Valid event names for a UIComponent
- implementation are defined by .
Returns
- a non-null, unmodifiable Map that contains the the ClientBehaviors
- that have been attached to the component implementing this interface.
-
- The keys in this Map are event names defined by #getEventNames.
Returns
- the default event name for this ClientBehaviorHolder implementation.
-
- This must be one of the event names returned by #getEventNames or null
- if the component does not have a default event.
This
- method is called during component tree visits by
- VisitContext#invokeVisitCallback VisitContext.invokeVisitCallback() to
- visit the specified component. At the point in time when this method
- is called, the argument is guaranteed to be in the proper state with
- respect to its ancestors in the View.
Creates
- a VisitContext instance for use with UIComponent#visitTree
- UIComponent.visitTree(). This method can be used to obtain a
- VisitContext instance when all components should be visited with the
- default visit hints.
Returns
- hints that influence the behavior of the tree visit. Interested
- parties, such as UIComponent#visitTree UIComponent.visitTree()
- implementations, may check to see whether a particular hint is present
- by calling , passing in one of the hints defined by VisitHint.
Returns
- the ids of the components to visit. In the case of a full tree visit,
- this method returns the ALL_IDS collection. Otherwise, if a partial
- visit is beign performed, returns a modifiable collection containing
- the client ids of the components that should be visited.
Given a
- jakarta.faces.component.NamingContainer component, returns the client
- ids of any components underneath the NamingContainer that should be
- visited. This method is called by NamingContainer visitTree()
- implementations to determine whether the NamingContainer contains
- components to be visited. In the case where no such components exist,
- the NamingContainer can short-circuit the tree visit and avoid
- descending into child subtrees. In addition, iterating components such
- as UIData may be able to use the returned ids to determine which
- iterated states (ie. rows) need to be visited. This allows the visit
- traversal to be contstrained such only those rows that contain visit
- targets need to be traversed.
If this
- factory has been decorated, the implementation doing the decorating
- may override this method to provide access to the implementation being
- wrapped. A default implementation is provided that returns null.
Returns
- hints that influence the behavior of the tree visit. Interested
- parties, such as UIComponent#visitTree UIComponent.visitTree()
- implementations, may check to see whether a particular hint is present
- by calling , passing in one of the hints defined by VisitHint.
Returns
- the ids of the components to visit. In the case of a full tree visit,
- this method returns the ALL_IDS collection. Otherwise, if a partial
- visit is beign performed, returns a modifiable collection containing
- the client ids of the components that should be visited.
Given a
- jakarta.faces.component.NamingContainer component, returns the client
- ids of any components underneath the NamingContainer that should be
- visited. This method is called by NamingContainer visitTree()
- implementations to determine whether the NamingContainer contains
- components to be visited. In the case where no such components exist,
- the NamingContainer can short-circuit the tree visit and avoid
- descending into child subtrees. In addition, iterating components such
- as UIData may be able to use the returned ids to determine which
- iterated states (ie. rows) need to be visited. This allows the visit
- traversal to be contstrained such only those rows that contain visit
- targets need to be traversed.
Unwrap
- the argument t until the unwrapping encounters an Object whose
- getClass() is not equal to FacesException.class or
- jakarta.el.ELException.class. If there is no root cause, null is
- returned.
Return
- an Iterable over all ExceptionQueuedEvents that have not yet been
- handled by the #handle method.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1072
-
void
-
jakarta.faces.context.ExceptionHandler.handle
-
-
Take
- action to handle the Exception instances residing inside the
- ExceptionQueuedEvent instances that have been queued by calls to
- Application().publishEvent(ExceptionQueuedEvent.class, eventContext).
- The requirements of the default implementation are detailed in section
- JSF.6.2.1.
Create
- and return a A new ExceptionHandler instance. The implementation must
- return an ExceptionHandler instance suitable for the environment. For
- example, in some cases it may be desirable for an ExceptionHandler to
- write error information to the response instead of throwing exceptions
- as in the case of Ajax applications.
If this
- factory has been decorated, the implementation doing the decorating
- may override this method to provide access to the implementation being
- wrapped. A default implementation is provided that returns null.
The
- default behavior of this method is to call
- jakarta.faces.context.ExceptionHandler#getRootCause(Throwable) on the
- wrapped ExceptionHandler object.
The
- default behavior of this method is to call
- jakarta.faces.context.ExceptionHandler#isListenerForSource(Object) on
- the wrapped ExceptionHandler object.
The
- default behavior of this method is to call
- jakarta.faces.context.ExceptionHandler#processEvent(jakarta.faces.event.SystemEvent)
- on the wrapped ExceptionHandler object.
Adds
- the cookie represented by the arguments to the response. Servlet: This
- must be accomplished by calling the
- jakarta.servlet.http.HttpServletResponse method addCookie(). The Cookie
- argument must be constructed by passing the name and value parameters.
- If the properties arugument is non-null and not empty, the Cookie
- instance must be initialized as described below. Key in "values" Map
- Expected type of value. Name of setter method on Cookie instance to be
- set with the value from the Map. comment String setComment domain
- String setDomain maxAge Integer setMaxAge secure Boolean setSecure
- path String setPath The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Add the
- given name and value to the response header. Servlet:This must be
- performed by calling the jakarta.servlet.http.HttpServletResponse
- addHeader method. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
- Dispatch a request to the specified resource to create output for this
- response. Servlet: This must be accomplished by calling the
- jakarta.servlet.ServletContext method getRequestDispatcher(path), and
- calling the forward() method on the resulting object.
Return
- the input URL, after performing any rewriting needed to ensure that it
- will correctly identify an addressable action in the current
- application. Servlet: This must be the value returned by the
- jakarta.servlet.http.HttpServletResponse method encodeURL(url).
The
- purpose of this method is to generate a query string from the
- collection of Parameter objects provided by the parameters argument
- and append that query string to the baseUrl. This method must be able
- to encode the parameters to a baseUrl that may or may not have
- existing query parameters. The parameter values should be encoded
- appropriately for the environment so that the resulting URL can be
- used as the target of a link (e.g., in an href attribute) in a JSF
- response. It's possible for an ExternalContext implementation to
- override this method in any way that would make the URL bookmarkable
- in that environment. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Return
- the specified name, after prefixing it with a namespace that ensures
- that it will be unique within the context of a particular page.
- Servlet: The input value must be returned unchanged.
Return
- the input URL, after performing any rewriting needed to ensure that it
- can be used in a partial page submission (ajax request) to correctly
- identify an addressable action in the current application.
-
- Servlet:Returns the same encoded URL as the #encodeActionURL(String
- url) method. Portlet:Returns an encoded URL that, upon HTTP POST, will
- invoke the RESOURCE_PHASE of the portlet lifecycle.
The
- purpose of this method is to generate a query string from the
- collection of Parameter objects provided by the parameters argument
- and append that query string to the baseUrl. This method must be able
- to encode the parameters to a baseUrl that may or may not have
- existing query parameters. The parameter values should be encoded
- appropriately for the environment so that the resulting URL can be
- used as the target of a redirect. It's possible for an ExternalContext
- implementation to override this method to accomodate the definition of
- redirect for that environment.
Return
- the input URL, after performing any rewriting needed to ensure that it
- will correctly identify an addressable resource in the current
- application. Servlet: This must be the value returned by the
- jakarta.servlet.http.HttpServletResponse method encodeURL(url).
Return
- a mutable Map representing the application scope attributes for the
- current application. The returned Map must implement the entire
- contract for a modifiable map as described in the JavaDocs for
- java.util.Map. Modifications made in the Map must cause the
- corresponding changes in the set of application scope attributes.
- Particularly the clear(), remove(), put(), putAll(), and get()
- operations must take the appropriate action on the underlying data
- structure. For any of the Map methods that cause an element to be
- removed from the underlying data structure, the following action
- regarding managed-beans must be taken. If the element to be removed is
- a managed-bean, and it has one or more public no-argument void return
- methods annotated with jakarta.annotation.PreDestroy, each such method
- must be called before the element is removed from the underlying data
- structure. Elements that are not managed-beans, but do happen to have
- methods with that annotation must not have those methods called on
- removal. Any exception thrown by the PreDestroy annotated methods must
- by caught and not rethrown. The exception may be logged. It is valid
- to call this method during application startup or shutdown. If called
- at startup or shutdown time, this method returns a Map that is backed
- by the same container context instance (ServletContext or
- PortletContext) as the one returned by calling getApplicationMap() on
- the ExternalContext returned by the FacesContext during an actual
- request. Servlet: This must be the set of attributes available via the
- jakarta.servlet.ServletContext methods getAttribute(),
- getAttributeNames(), removeAttribute(), and setAttribute().
Return
- the name of the authentication scheme used to authenticate the current
- user, if any; otherwise, return null. For standard authentication
- schemes, the returned value will match one of the following constants:
- BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, or FORM_AUTH. Servlet: This
- must be the value returned by the
- jakarta.servlet.http.HttpServletRequest method getAuthType().
Return
- the application environment object instance for the current
- appication. It is valid to call this method during application startup
- or shutdown. If called during application startup or shutdown, this
- returns the same container context instance (ServletContext or
- PortletContext) as the one returned when calling getContext() on the
- ExternalContext returned by the FacesContext during an actual request.
- Servlet: This must be the current application's
- jakarta.servlet.ServletContext instance.
Return
- the name of the container context for this application. Return the
- result of calling getServletContextName() on the ServletContext
- instance for this application. It is valid to call this method during
- application startup or shutdown. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1114
-
Flash
-
jakarta.faces.context.ExternalContext.getFlash
-
-
Return
- the threadsafe Flash for this application. The default implementation
- will throw UnsupportedOperationException. Compliant JSF runtimes must
- provide an implementation of this method.
Return
- the value of the specified application initialization parameter (if
- any). Servlet: This must be the result of the
- jakarta.servlet.ServletContext method getInitParameter(name). It is
- valid to call this method during application startup or shutdown. If
- called during application startup or shutdown, this method calls
- through to the actual container context to return the init parameter
- value.
Return
- an immutable Map whose keys are the set of application initialization
- parameter names configured for this application, and whose values are
- the corresponding parameter values. The returned Map must implement
- the entire contract for an unmodifiable map as described in the
- JavaDocs for java.util.Map. It is valid to call this method during
- application startup or shutdown. If called during application startup
- or shutdown, this method returns a Map that is backed by the same
- container context instance (ServletContext or PortletContext) as the
- one returned by calling getInitParameterMap() on the ExternalContext
- returned by the FacesContext during an actual request. Servlet: This
- result must be as if it were synthesized by calling the
- jakarta.servlet.ServletContext method getInitParameterNames, and putting
- each configured parameter name/value pair into the result.
Returns
- the MIME type of the specified file or null if the MIME type is not
- known. The MIME type is determined by the container. It is valid to
- call this method during application startup or shutdown. If called
- during application startup or shutdown, this method calls through to
- the getMimeType() method on the same container context instance
- (ServletContext or PortletContext) as the one used when calling
- getMimeType() on the ExternalContext returned by the FacesContext
- during an actual request. Servlet: This must be the value returned by
- the jakarta.servlet.ServletContext method getMimeType().
Returns
- a String containing the real path for a given virtual path. Servlet:
- This must be the value returned by the jakarta.servlet.ServletContext
- method getRealPath(). The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Return
- the login name of the user making the current request if any;
- otherwise, return null. Servlet: This must be the value returned by
- the jakarta.servlet.http.HttpServletRequest method getRemoteUser().
Return
- the environment-specific object instance for the current request.
- Servlet: This must be the current request's
- jakarta.servlet.http.HttpServletRequest instance.
Return
- the character encoding currently being used to interpret this request.
- Servlet: This must return the value returned by the
- jakarta.servlet.ServletRequest method getCharacterEncoding(). The
- default implementation throws UnsupportedOperationException and is
- provided for the sole purpose of not breaking existing applications
- that extend this class.
Return
- the result of calling getContentLenth() on the ServletRequest instance
- for this request. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Return
- the MIME Content-Type for this request. If not available, return null.
- Servlet: This must return the value returned by the
- jakarta.servlet.ServletRequest method getContentType(). The default
- implementation throws UnsupportedOperationException and is provided
- for the sole purpose of not breaking existing applications that extend
- this class.
Return
- the portion of the request URI that identifies the web application
- context for this request. Servlet: This must be the value returned by
- the jakarta.servlet.http.HttpServletRequest method getContextPath().
Return
- an immutable Map whose keys are the set of cookie names included in
- the current request, and whose values (of type
- jakarta.servlet.http.Cookie) are the first (or only) cookie for each
- cookie name returned by the underlying request. The returned Map must
- implement the entire contract for an unmodifiable map as described in
- the JavaDocs for java.util.Map. Servlet: This must be the value
- returned by the jakarta.servlet.http.HttpServletRequest method
- getCookies(), unless null was returned, in which case this must be a
- zero-length array.
Return
- an immutable Map whose keys are the set of request header names
- included in the current request, and whose values (of type String) are
- the first (or only) value for each header name returned by the
- underlying request. The returned Map must implement the entire
- contract for an unmodifiable map as described in the JavaDocs for
- java.util.Map. In addition, key comparisons must be performed in a
- case insensitive manner. Servlet: This must be the set of headers
- available via the jakarta.servlet.http.HttpServletRequest methods
- getHeader() and getHeaderNames().
Return
- an immutable Map whose keys are the set of request header names
- included in the current request, and whose values (of type String[])
- are all of the value for each header name returned by the underlying
- request. The returned Map must implement the entire contract for an
- unmodifiable map as described in the JavaDocs for java.util.Map. In
- addition, key comparisons must be performed in a case insensitive
- manner. Servlet: This must be the set of headers available via the
- jakarta.servlet.http.HttpServletRequest methods getHeaders() and
- getHeaderNames().
Return
- the preferred Locale in which the client will accept content. Servlet:
- This must be the value returned by the jakarta.servlet.ServletRequest
- method getLocale().
Return
- an Iterator over the preferred Locales specified in the request, in
- decreasing order of preference. Servlet: This must be an Iterator over
- the values returned by the jakarta.servlet.ServletRequest method
- getLocales().
Return
- a mutable Map representing the request scope attributes for the
- current application. The returned Map must implement the entire
- contract for a modifiable map as described in the JavaDocs for
- java.util.Map. Modifications made in the Map must cause the
- corresponding changes in the set of request scope attributes.
- Particularly the clear(), remove(), put(), putAll(), and get()
- operations must take the appropriate action on the underlying data
- structure. For any of the Map methods that cause an element to be
- removed from the underlying data structure, the following action
- regarding managed-beans must be taken. If the element to be removed is
- a managed-bean, and it has one or more public no-argument void return
- methods annotated with jakarta.annotation.PreDestroy, each such method
- must be called before the element is removed from the underlying data
- structure. Elements that are not managed-beans, but do happen to have
- methods with that annotation must not have those methods called on
- removal. Any exception thrown by the PreDestroy annotated methods must
- by caught and not rethrown. The exception may be logged. Servlet: This
- must be the set of attributes available via the
- jakarta.servlet.ServletRequest methods getAttribute(),
- getAttributeNames(), removeAttribute(), and setAttribute().
Return
- an immutable Map whose keys are the set of request parameters names
- included in the current request, and whose values (of type String) are
- the first (or only) value for each parameter name returned by the
- underlying request. The returned Map must implement the entire
- contract for an unmodifiable map as described in the JavaDocs for
- java.util.Map. Servlet: This must be the set of parameters available
- via the jakarta.servlet.ServletRequest methods getParameter() and
- getParameterNames().
Return
- an Iterator over the names of all request parameters included in the
- current request. Servlet: This must be an Iterator over the values
- returned by the jakarta.servlet.ServletRequest method
- getParameterNames().
Return
- an immutable Map whose keys are the set of request parameters names
- included in the current request, and whose values (of type String[])
- are all of the values for each parameter name returned by the
- underlying request. The returned Map must implement the entire
- contract for an unmodifiable map as described in the JavaDocs for
- java.util.Map. Servlet: This must be the set of parameters available
- via the jakarta.servlet.ServletRequest methods getParameterValues() and
- getParameterNames().
Return
- the extra path information (if any) included in the request URI;
- otherwise, return null. Servlet: This must be the value returned by
- the jakarta.servlet.http.HttpServletRequest method getPathInfo().
Returns
- the name of the scheme used to make this request, for example, http,
- https, or ftp. Servlet: This must be the value returned by the
- jakarta.servlet.ServletRequest method getScheme(). The default
- implementation throws UnsupportedOperationException and is provided
- for the sole purpose of not breaking existing applications that extend
- this class.
Returns
- the host name of the server to which the request was sent. Servlet:
- This must be the value returned by the jakarta.servlet.ServletRequest
- method getServerName(). The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Returns
- the port number to which the request was sent. Servlet: This must be
- the value returned by the jakarta.servlet.ServletRequest method
- getServerPort(). The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Return
- the servlet path information (if any) included in the request URI;
- otherwise, return null. Servlet: This must be the value returned by
- the jakarta.servlet.http.HttpServletRequest method getServletPath().
Return
- a URL for the application resource mapped to the specified path, if it
- exists; otherwise, return null. It is valid to call this method during
- application startup or shutdown. If called during application startup
- or shutdown, this method calls through to the getResource() method on
- the same container context instance (ServletContext or PortletContext)
- as the one used when calling getResource() on the ExternalContext
- returned by the FacesContext during an actual request. Servlet: This
- must be the value returned by the jakarta.servlet.ServletContext method
- getResource(path).
Return
- an InputStream for an application resource mapped to the specified
- path, if it exists; otherwise, return null. It is valid to call this
- method during application startup or shutdown. If called during
- application startup or shutdown, this method calls through to the
- getResourceAsStream() method on the same container context instance
- (ServletContext or PortletContext) as the one used when calling
- getResourceAsStream() on the ExternalContext returned by the
- FacesContext during an actual request. Servlet: This must be the value
- returned by the jakarta.servlet.ServletContext method
- getResourceAsStream(path).
Return
- the Set of resource paths for all application resources whose resource
- path starts with the specified argument. It is valid to call this
- method during application startup or shutdown. If called during
- application startup or shutdown, this method calls through to the
- getResourcePaths() method on the same container context instance
- (ServletContext or PortletContext) as the one used when calling
- getResourcePaths() on the ExternalContext returned by the FacesContext
- during an actual request. Servlet: This must be the value returned by
- the jakarta.servlet.ServletContext method getResourcePaths(path).
Return
- the environment-specific object instance for the current response.
- Servlet: This is the current request's
- jakarta.servlet.http.HttpServletResponse instance.
Return
- the buffer size for the current response. Servlet: This must be
- performed by calling the jakarta.servlet.http.HttpServletResponse
- getBufferSize method. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Returns
- the name of the character encoding (MIME charset) used for the body
- sent in this response. Servlet: This must return the value returned by
- the jakarta.servlet.ServletResponse method getCharacterEncoding(). The
- default implementation throws UnsupportedOperationException and is
- provided for the sole purpose of not breaking existing applications
- that extend this class.
Return
- the MIME Content-Type for this response. If not available, return
- null. Servlet: This must return the value returned by the
- jakarta.servlet.ServletResponse method getContentType(). The default
- implementation throws UnsupportedOperationException and is provided
- for the sole purpose of not breaking existing applications that extend
- this class.
Returns
- an OutputStream suitable for writing binary data to the user-agent.
- Servlet: This must return the value returned by the
- jakarta.servlet.ServletResponse method getOutputStream(). The default
- implementation throws UnsupportedOperationException and is provided
- for the sole purpose of not breaking existing applications that extend
- this class.
Returns
- a Writer suitable for writing character data to the user-agent.
-
- Servlet: This must return the value returned by the
- jakarta.servlet.ServletResponse#getWriter. The default implementation
- throws UnsupportedOperationException and is provided for the sole
- purpose of not breaking existing applications that extend this class.
-
If the
- create parameter is true, create (if necessary) and return a session
- instance associated with the current request. If the create parameter
- is false return any existing session instance associated with the
- current request, or return null if there is no such session. Servlet:
- This must return the result of calling getSession(create) on the
- underlying jakarta.servlet.http.HttpServletRequest instance.
Return
- a mutable Map representing the session scope attributes for the
- current application. The returned Map must implement the entire
- contract for a modifiable map as described in the JavaDocs for
- java.util.Map. Modifications made in the Map must cause the
- corresponding changes in the set of session scope attributes.
- Particularly the clear(), remove(), put(), and get() operations must
- take the appropriate action on the underlying data structure.
- Accessing attributes via this Map must cause the creation of a session
- associated with the current request, if such a session does not
- already exist. For any of the Map methods that cause an element to be
- removed from the underlying data structure, the following action
- regarding managed-beans must be taken. If the element to be removed is
- a managed-bean, and it has one or more public no-argument void return
- methods annotated with jakarta.annotation.PreDestroy, each such method
- must be called before the element is removed from the underlying data
- structure. Elements that are not managed-beans, but do happen to have
- methods with that annotation must not have those methods called on
- removal. Any exception thrown by the PreDestroy annotated methods must
- by caught and not rethrown. The exception may be logged. Servlet: This
- must be the set of attributes available via the
- jakarta.servlet.http.HttpServletSession methods getAttribute(),
- getAttributeNames(), removeAttribute(), and setAttribute().
Return
- the Principal object containing the name of the current authenticated
- user, if any; otherwise, return null. Servlet: This must be the value
- returned by the jakarta.servlet.http.HttpServletRequest method
- getUserPrincipal().
- Invalidates this session then unbinds any objects bound to it.
- Servlet: This must be the value returned by the
- jakarta.servlet.http.HttpSession method invalidate(). The default
- implementation throws UnsupportedOperationException and is provided
- for the sole purpose of not breaking existing applications that extend
- this class.
Check
- if the current response has been committed. Servlet: This must be
- performed by calling the jakarta.servlet.http.HttpServletResponse
- isCommitted method. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Return
- true if the currently authenticated user is included in the specified
- role. Otherwise, return false. Servlet: This must be the value
- returned by the jakarta.servlet.http.HttpServletRequest method
- isUserInRole(role).
Log the
- specified message to the application object. It is valid to call this
- method during application startup or shutdown. If called during
- application startup or shutdown, this calls the log() method on the
- same container context instance (ServletContext or PortletContext) as
- the one used during a call to log() on the ExternalContext returned by
- the FacesContext during an actual request. Servlet: This must be
- performed by calling the jakarta.servlet.ServletContext method
- log(String).
Log the
- specified message and exception to the application object. It is valid
- to call this method during application startup or shutdown. If called
- during application startup or shutdown, this calls the log() method on
- the same container context instance (ServletContext or PortletContext)
- as the one used when calling log() on the ExternalContext returned by
- the FacesContext during an actual request. Servlet: This must be
- performed by calling the jakarta.servlet.ServletContext method
- log(String,Throwable).
-
- Redirect a request to the specified URL, and cause the
- responseComplete() method to be called on the FacesContext instance
- for the current request. The implementation must determine if the
- request is an Ajax request by obtaining a PartialViewContext instance
- from the FacesContext and calling PartialViewContext#isAjaxRequest().
- Servlet: For non Ajax requests, this must be accomplished by calling
- the jakarta.servlet.http.HttpServletResponse method sendRedirect(). For
- Ajax requests, the implementation must: Get a PartialResponseWriter
- instance from the FacesContext. Call #setResponseContentType with
- text/xml Call #setResponseCharacterEncoding with UTF-8 Call
- #addResponseHeader with Cache-Control, no-cache Call
- PartialResponseWriter#startDocument Call
- PartialResponseWriter#redirect with the url argument. Call
- PartialResponseWriter#endDocument
Flushes
- the buffered response content to the client. Servlet: This must be
- performed by calling the jakarta.servlet.http.HttpServletResponse
- flushBuffer method. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Resets
- the current response. Servlet: This must be performed by calling the
- jakarta.servlet.http.HttpServletResponse reset method. The default
- implementation throws UnsupportedOperationException and is provided
- for the sole purpose of not breaking existing applications that extend
- this class.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1174
-
void
-
jakarta.faces.context.ExternalContext.responseSendError
-
- ( int ,
- String )
-
Sends
- an HTTP status code with message. Servlet: This must be performed by
- calling the jakarta.servlet.http.HttpServletResponse sendError method.
- The default implementation throws UnsupportedOperationException and is
- provided for the sole purpose of not breaking existing applications
- that extend this class.
Set the
- environment-specific request to be returned by subsequent calls to
- #getRequest. This may be used to install a wrapper for the request.
- The default implementation throws UnsupportedOperationException and is
- provided for the sole purpose of not breaking existing applications
- that extend this class.
- Overrides the name of the character encoding used in the body of this
- request. Calling this method after the request has been accessed will
- have no no effect, unless a Reader or Stream has been obtained from
- the request, in which case an IllegalStateException is thrown.
- Servlet: This must call through to the jakarta.servlet.ServletRequest
- method setCharacterEncoding(). The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Set the
- environment-specific response to be returned by subsequent calls to
- #getResponse. This may be used to install a wrapper for the response.
- The default implementation throws UnsupportedOperationException and is
- provided for the sole purpose of not breaking existing applications
- that extend this class.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1180
-
void
-
jakarta.faces.context.ExternalContext.setResponseBufferSize
-
- ( int )
-
Set the
- buffer size for the current response. Servlet: This must be performed
- by calling the jakarta.servlet.http.HttpServletResponse setBufferSize
- method. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Sets
- the character encoding (MIME charset) of the response being sent to
- the client, for example, to UTF-8. Servlet: This must call through to
- the jakarta.servlet.ServletResponse method setCharacterEncoding(). The
- default implementation throws UnsupportedOperationException and is
- provided for the sole purpose of not breaking existing applications
- that extend this class.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1182
-
void
-
jakarta.faces.context.ExternalContext.setResponseContentLength
-
- ( int )
-
Set the
- content length of the response. Servlet: This must be performed by
- calling the jakarta.servlet.http.HttpServletResponse setContentLength
- method. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Sets
- the content type of the response being sent to the client, if the
- response has not been committed yet. Servlet: This must call
- setContentType() on the underlying jakarta.servlet.ServletResponse
- instance. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Set the
- response header with the given name and value. Servlet:This must be
- performed by calling the jakarta.servlet.http.HttpServletResponse
- setHeader method. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1185
-
void
-
jakarta.faces.context.ExternalContext.setResponseStatus
-
- ( int )
-
Sets
- the HTTP status code for the response. Servlet: This must be performed
- by calling the jakarta.servlet.http.HttpServletResponse setStatus
- method. The default implementation throws
- UnsupportedOperationException and is provided for the sole purpose of
- not breaking existing applications that extend this class.
Create
- (if needed) and return an ExternalContext instance that is initialized
- for the processing of the specified request and response objects, for
- this web application.
If this
- factory has been decorated, the implementation doing the decorating
- may override this method to provide access to the implementation being
- wrapped. A default implementation is provided that returns null.
The
- default behavior of this method is to call
- jakarta.faces.context.ExternalContext#encodeBookmarkableURL(String,
- java.util.Map) on the wrapped ExternalContext object.
Return
- the input URL, after performing any rewriting needed to ensure that it
- can be used in a partial page submission (ajax request) to correctly
- identify an addressable action in the current application.
-
- Servlet:Returns the same encoded URL as the #encodeActionURL(String
- url) method. Portlet:Returns an encoded URL that, upon HTTP POST, will
- invoke the RESOURCE_PHASE of the portlet lifecycle.
The
- default behavior of this method is to call
- jakarta.faces.context.ExternalContext#encodeRedirectURL(String,
- java.util.Map) on the wrapped ExternalContext object.
The
- default behavior of this method is to call
- jakarta.faces.context.ExternalContext#responseFlushBuffer() on the
- wrapped ExternalContext object.
The
- default behavior of this method is to call
- ExternalContext#getResponseCharacterEncoding on the wrapped
- ExternalContext object.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1266
-
void
-
jakarta.faces.context.ExternalContextWrapper.setResponseContentLength
-
- ( int )
-
The
- default behavior of this method is to call
- jakarta.faces.context.ExternalContext#setResponseContentLength(int) on
- the wrapped ExternalContext object.
Append
- a jakarta.faces.application.FacesMessage to the set of messages
- associated with the specified client identifier, if clientId is not
- null. If clientId is null, this jakarta.faces.application.FacesMessage
- is assumed to not be associated with any specific component instance.
-
Return
- the Application instance associated with this web application. It is
- valid to call this method during application startup or shutdown. If
- called during application startup or shutdown, returns the correct
- current jakarta.faces.application.Application instance.
Return
- a mutable Map representing the attributes associated wth this
- FacesContext instance. This Map is useful to store attributes that you
- want to go out of scope when the Faces lifecycle for the current
- request ends, which is not always the same as the request ending,
- especially in the case of Servlet filters that are invoked after the
- Faces lifecycle for this request completes. Accessing this Map does
- not cause any events to fire, as is the case with the other maps: for
- request, session, and application scope. When #release() is invoked,
- the attributes must be cleared. The Map returned by this method is not
- associated with the request. If you would like to get or set request
- attributes, see ExternalContext#getRequestMap. The default
- implementation throws UnsupportedOperationException and is provided
- for the sole purpose of not breaking existing applications that extend
- this class.
Return
- an Iterator over the client identifiers for which at least one
- jakarta.faces.application.FacesMessage has been queued. If there are no
- such client identifiers, an empty Iterator is returned. If any
- messages have been queued that were not associated with any specific
- client identifier, a null value will be included in the iterated
- values. The elements in the Iterator must be returned in the order in
- which they were added with #addMessage.
Return
- the FacesContext instance for the request that is being processed by
- the current thread. If called during application initialization or
- shutdown, any method documented as "valid to call this method during
- application startup or shutdown" must be supported during application
- startup or shutdown time. The result of calling a method during
- application startup or shutdown time that does not have this
- designation is undefined.
if this
- method is called after this instance has been released
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1283
-
ELContext
-
jakarta.faces.context.FacesContext.getELContext
-
-
Return
- the ELContext instance for this FacesContext instance. This ELContext
- instance has the same lifetime and scope as the FacesContext instance
- with which it is associated, and may be created lazily the first time
- this method is called for a given FacesContext instance. Upon creation
- of the ELContext instance, the implementation must take the following
- action: Call the ELContext#putContext method on the instance, passing
- in FacesContext.class and the this reference for the FacesContext
- instance itself. If the Collection returned by
- jakarta.faces.application.Application#getELContextListeners is
- non-empty, create an instance of jakarta.el.ELContextEvent and pass it
- to each jakarta.el.ELContextListener instance in the Collection by
- calling the jakarta.el.ELContextListener#contextCreated method.
Return
- the ExternalContext instance for this FacesContext instance. It is
- valid to call this method during application startup or shutdown. If
- called during application startup or shutdown, this method returns an
- ExternalContext instance with the special behaviors indicated in the
- javadoc for that class. Methods document as being valid to call during
- application startup or shutdown must be supported.
Return
- the maximum severity level recorded on any
- jakarta.faces.application.FacesMessages that has been queued, whether or
- not they are associated with any specific UIComponent. If no such
- messages have been queued, return null.
Like
- #getMessages, but returns a List, enabling use from EL expressions.
- The default implementation throws UnsupportedOperationException and is
- provided for the sole purpose of not breaking existing applications
- that extend this class.
Like
- #getMessages(java.lang.String), but returns a List of messages for the
- component with client id matching argument clientId. The default
- implementation throws UnsupportedOperationException and is provided
- for the sole purpose of not breaking existing applications that extend
- this class.
if this
- method is called after this instance has been released
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1294
-
Iterator
-
jakarta.faces.context.FacesContext.getMessages
-
-
Return
- an Iterator over the jakarta.faces.application.FacesMessages that have
- been queued, whether or not they are associated with any specific
- client identifier. If no such messages have been queued, return an
- empty Iterator. The elements of the Iterator must be returned in the
- order in which they were added with calls to #addMessage.
Return
- an Iterator over the jakarta.faces.application.FacesMessages that have
- been queued that are associated with the specified client identifier
- (if clientId is not null), or over the
- jakarta.faces.application.FacesMessages that have been queued that are
- not associated with any specific client identifier (if clientId is
- null). If no such messages have been queued, return an empty Iterator.
- The elements of the Iterator must be returned in the order in which
- they were added with calls to #addMessage.
Return
- the PartialViewContext for this request. The PartialViewContext is
- used to control the processing of specified components during the
- execute portion of the request processing lifecycle (known as partial
- processing) and the rendering of specified components (known as
- partial rendering). This method must return a new PartialViewContext
- if one does not already exist.
if this
- method is called after this instance has been released
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1300
-
RenderKit
-
jakarta.faces.context.FacesContext.getRenderKit
-
-
Return
- the RenderKit instance for the render kit identifier specified on our
- UIViewRoot, if there is one. If there is no current UIViewRoot, if the
- UIViewRoot does not have a specified renderKitId, or if there is no
- RenderKit for the specified identifier, return null instead.
Return
- the ResponseStream to which components should direct their binary
- output. Within a given response, components can use either the
- ResponseStream or the ResponseWriter, but not both.
Return
- the ResponseWriter to which components should direct their
- character-based output. Within a given response, components can use
- either the ResponseStream or the ResponseWriter, but not both.
if this
- method is called after this instance has been released
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1310
-
UIViewRoot
-
jakarta.faces.context.FacesContext.getViewRoot
-
-
Return
- the root component that is associated with the this request. It is
- valid to call this method during application startup or shutdown. If
- called during application startup or shutdown, this method returns a
- new UIViewRoot with its locale set to Locale.getDefault().
if this
- method is called after this instance has been released
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1312
-
boolean
-
jakarta.faces.context.FacesContext.isPostback
-
-
This
- utility method simply returns the result of
- jakarta.faces.render.ResponseStateManager#isPostback(FacesContext). The
- default implementation throws UnsupportedOperationException and is
- provided for the sole purpose of not breaking existing applications
- that extend this class.
if this
- method is called after this instance has been released
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1320
-
void
-
jakarta.faces.context.FacesContext.release
-
-
Release
- any resources associated with this FacesContext instance. Faces
- implementations may choose to pool instances in the associated
- FacesContextFactory to avoid repeated object creation and garbage
- collection. After release() is called on a FacesContext instance
- (until the FacesContext instance has been recycled by the
- implementation for re-use), calling any other methods will cause an
- IllegalStateException to be thrown. If a call was made to
- #getAttributes during the processing for this request, the
- implementation must call clear() on the Map returned from
- getAttributes(), and then de-allocate the data-structure behind that
- Map. The implementation must call #setCurrentInstance passing null to
- remove the association between this thread and this dead FacesContext
- instance.
Signal
- the Jakarta Server faces implementation that, as soon as the current phase
- of the request processing lifecycle has been completed, control should
- be passed to the Render Response phase, bypassing any phases that have
- not been executed yet.
Signal
- the Jakarta Server Faces implementation that the HTTP response for this
- request has already been generated (such as an HTTP redirect), and
- that the request processing lifecycle should be terminated as soon as
- the current phase is completed.
The
- implementation must call this method at the earliest possble point in
- time after entering into a new phase in the request processing
- lifecycle.
Allows
- control of wheter or not the runtime will publish events when
- Application#publishEvent(FacesContext, Class, Object) or
- Application#publishEvent(FacesContext, Class, Class, Object) is
- called.
Set the
- root component that is associated with this request. This method can
- only be called by the application handler (or a class that the handler
- calls), and only during the Invoke Application phase of the request
- processing lifecycle. If the current UIViewRoot is non-null, and
- calling equals() on the argument root, passing the current UIViewRoot
- returns false, the clear method must be called on the Map returned
- from UIViewRoot#getViewMap.
Sets a
- flag which indicates that a conversion or validation error occurred
- while processing the inputs. Inputs consist of either page parameters
- or form bindings. This flag can be read using #isValidationFailed.
Create
- (if needed) and return a FacesContext instance that is initialized for
- the processing of the specified request and response objects,
- utilizing the specified Lifecycle instance, for this web application.
-
-
-
-
-
-
-
- The implementation of this method must ensure that calls to the
- getCurrentInstance() method of FacesContext, from the same thread that
- called this method, will return the same FacesContext instance until
- the release() method is called on that instance. The implementation
- must call ExternalContextFactory#getExternalContext to produce the
- ExternalContext for the FacesContext instance. The default
- implementation must call ExceptionHandlerFactory#getExceptionHandler
- and make it so the return from that method is what gets returned from
- a call to FacesContext#getExceptionHandler on the returned
- FacesContext instance.
If this
- factory has been decorated, the implementation doing the decorating
- may override this method to provide access to the implementation being
- wrapped. A default implementation is provided that returns null.
The
- default behavior of this method is to call
- jakarta.faces.context.FacesContext#isProjectStage(jakarta.faces.application.ProjectStage)
- on the wrapped FacesContext object.
Called
- after the execution of every lifecycle phase, this method allows
- implementations to take the necessary actions to provide the Flash
- scope contract as it applies to the request procesing lifecycle.
Called
- before the execution of every lifecycle phase, this method allows
- implementations to take the necessary actions to provide the Flash
- scope contract as it applies to the request procesing lifecycle.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1384
-
Flash
-
jakarta.faces.context.Flash.Flash
-
-
-
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1385
-
boolean
-
jakarta.faces.context.Flash.isKeepMessages
-
-
Return
- the value of this JavaBeans property for the flash for this session.
-
-
- This value determines whether or not any
- jakarta.faces.application.FacesMessage instances queued in the current
- jakarta.faces.context.FacesContext must be preserved so they are
- accessible on the next traversal of the lifecycle on this session,
- regardless of the request being a redirect after post, or a normal
- postback. Map accesses for the special key “keepMessages”
- must return the value of this JavaBeans property. EL Usage Example
- First page Next page Any messages present on the first page must be
- displayed on this page.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1386
-
boolean
-
jakarta.faces.context.Flash.isRedirect
-
-
Return
- the value of this property for the flash for this session. This must
- be false unless: #setRedirect was called for the current lifecycle
- traversal with true as the argument. The current lifecycle traversal
- for this session is in the “execute” phase and the
- previous traversal had #setRedirect called with true as the argument.
-
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1387
-
void
-
jakarta.faces.context.Flash.keep
-
- ( String )
-
Causes
- a value stored with a previous call to #putNow, its EL equivalent, or
- to the request Map, to be promoted to the flash so that is available
- on the next traversal through the lifecycle on this session.
Puts a
- value in the flash so that it can be accessed on this traversal of the
- lifecycle, rather than on the next traversal. This is simply an alias
- for putting a value in the request map. EL Usage Example Value of
- \#{flash.now.bar}, should be barValue.
Setting
- this property to true indicates that the next request on this session
- will be a redirect. Recall that on a redirect, the server sends a
- special response to the client instructing it to issue a new request
- to a specific URI. The implementation must insure that reading the
- value of this property on that request will return true. EL Usage
- Example
Return
- a Collection of client identifiers from the current request with the
- request parameter name #PARTIAL_EXECUTE_PARAM_NAME. If there is no
- such request parameter, return an empty Collection. These client
- identifiers are used to identify components that will be processed
- during the execute phase of the request processing lifecycle. The
- returned Collection is mutable.
Return
- the ResponseWriter to which components should direct their output for
- partial view rendering. Within a given response, components can use
- either the ResponseStream or the ResponseWriter, but not both.
Return
- a Collection of client identifiers from the current request with the
- request parameter name #PARTIAL_RENDER_PARAM_NAME. If there is no such
- request parameter, return an empty Collection. These client
- identifiers are used to identify components that will be processed
- during the render phase of the request processing lifecycle. The
- returned Collection is mutable.
Return
- true if #isAjaxRequest returns true and #PARTIAL_EXECUTE_PARAM_NAME is
- present in the current request with the value
- #ALL_PARTIAL_PHASE_CLIENT_IDS. Otherwise, return false.
Return
- true #isAjaxRequest returns true or if the request header
- Faces-Request is present with the value partial/process. Otherwise,
- return false.
Return
- true if #isAjaxRequest returns true and #PARTIAL_RENDER_PARAM_NAME is
- present in the current request with the value
- #ALL_PARTIAL_PHASE_CLIENT_IDS. Otherwise, return false.
Perform
- lifecycle processing on components during the indicated phaseId. Only
- those components with identifiers existing in the Collection returned
- from #getExecuteIds and #getRenderIds will be processed.
Write
- whatever text should end a response. If there is an open element that
- has been created by a call to startElement(), that element will be
- closed first.
Write
- the end of an element, after closing any open element created by a
- call to startElement(). Elements must be closed in the inverse order
- from which they were opened; it is an error to do otherwise.
Flush
- any ouput buffered by the output method to the underlying Writer or
- OutputStream. This method will not flush the underlying Writer or
- OutputStream; it simply clears any values buffered by this
- ResponseWriter.
Open an
- XML CDATA block. Note that XML does not allow nested CDATA blocks,
- though this method does not enforce that constraint. The default
- implementation of this method takes no action when invoked.
Write
- the start of an element, up to and including the element name. Once
- this method has been called, clients can call the writeAttribute() or
- writeURIAttribute() methods to add attributes and corresponding
- values. The starting element will be closed (that is, the trailing
- '>' character added) on any subsequent call to startElement(),
- writeComment(), writeText(), endElement(), endDocument(), close(),
- flush(), or write().
Write
- an attribute name and corresponding value, after converting that text
- to a String (if necessary), and after performing any escaping
- appropriate for the markup language being rendered. This method may
- only be called after a call to startElement(), and before the opened
- element has been closed.
Write a
- comment containing the specified text, after converting that text to a
- String (if necessary), and after performing any escaping appropriate
- for the markup language being rendered. If there is an open element
- that has been created by a call to startElement(), that element will
- be closed first.
Write
- an object, after converting it to a String (if necessary), and after
- performing any escaping appropriate for the markup language being
- rendered. If there is an open element that has been created by a call
- to startElement(), that element will be closed first.
Write
- an object, after converting it to a String (if necessary), and after
- performing any escaping appropriate for the markup language being
- rendered. This method is equivalent to
- #writeText(java.lang.Object,java.lang.String) but adds a component
- property to allow custom ResponseWriter implementations to associate a
- component with an arbitrary portion of text. The default
- implementation simply ignores the component argument and calls through
- to #writeText(java.lang.Object,java.lang.String)
jakarta.faces.context.ResponseWriter.writeText
-
- ( char[] ,
- int ,
- int )
-
Write
- text from a character array, after any performing any escaping
- appropriate for the markup language being rendered. If there is an
- open element that has been created by a call to startElement(), that
- element will be closed first.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1497
-
void
-
jakarta.faces.context.ResponseWriter.writeText
-
- ( char[] ,
- int ,
- int )
- throws IOException
-
-
if an
- input/output error occurs
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1498
-
void
-
jakarta.faces.context.ResponseWriter.writeText
-
- ( char[] ,
- int ,
- int )
- throws IndexOutOfBoundsException
-
-
if the
- calculated starting or ending position is outside the bounds of the
- character array
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1499
-
void
-
jakarta.faces.context.ResponseWriter.writeText
-
- ( char[] ,
- int ,
- int )
- throws NullPointerException
-
Write a
- URI attribute name and corresponding value, after converting that text
- to a String (if necessary), and after performing any encoding
- appropriate to the markup language being rendered. This method may
- only be called after a call to startElement(), and before the opened
- element has been closed.
The
- default behavior of this method is to call
- ResponseWriter#startElement(String, jakarta.faces.component.UIComponent)
- on the wrapped ResponseWriter object.
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Returns
- the FacesMessage associated with this exception; this will only be
- available if the converter that thew this exception instance placed it
- there.
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Return
- the Locale to be used when parsing or formatting dates and times. If
- not explicitly set, the Locale stored in the
- jakarta.faces.component.UIViewRoot for the current request is returned.
-
The
- runtime must ensure that the #markInitialState method is called on
- each instance of this interface in the view at the appropriate time to
- indicate the component is in its initial state. The implementor of the
- interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called,
- after which time initialStateMarked() must return false. Also, during
- the time that the instance returns true from initialStateMarked(), the
- implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
Set the
- style to be used to format or parse dates. Valid values are default,
- short, medium, long, and full. An invalid value will cause a
- ConverterException when getAsObject() or getAsString() is called.
Set the
- Locale to be used when parsing or formatting dates and times. If set
- to null, the Locale stored in the jakarta.faces.component.UIViewRoot for
- the current request will be utilized.
Set the
- format pattern to be used when formatting and parsing dates and times.
-
- Valid values are those supported by java.text.SimpleDateFormat. An
- invalid value will cause a ConverterException when getAsObject() or
- getAsString() is called.
Set the
- style to be used to format or parse times. Valid values are default,
- short, medium, long, and full. An invalid value will cause a
- ConverterException when getAsObject() or getAsString() is called.
Set the
- type of value to be formatted or parsed. Valid values are both, date,
- or time. An invalid value will cause a ConverterException when
- getAsObject() or getAsString() is called.
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Convert
- the value argument to one of the enum constants of the class provided
- in our constructor. If no target class argument has been provided to
- the constructor of this instance, throw a ConverterException
- containing the #ENUM_NO_CLASS_ID message with proper parameters. If
- the value argument is null or it has a length of zero, return null.
- Otherwise, perform the equivalent of Enum.valueOf using target class
- and value and return the Object. If the conversion fails, throw a
- ConverterException containing the #ENUM_ID message with proper
- parameters.
Convert
- the enum constant given by the value argument into a String. If no
- target class argument has been provided to the constructor of this
- instance, throw a ConverterException containing the #ENUM_NO_CLASS_ID
- message with proper parameters. If the value argument is null, return
- null. If the value is an instance of the provided target class, return
- its string value by casting it to a java.lang.Enum and returning the
- result of calling the name() method. Otherwise, throw a
- ConverterException containing the #ENUM_ID message with proper
- parameters.
The
- runtime must ensure that the #markInitialState method is called on
- each instance of this interface in the view at the appropriate time to
- indicate the component is in its initial state. The implementor of the
- interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called,
- after which time initialStateMarked() must return false. Also, during
- the time that the instance returns true from initialStateMarked(), the
- implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
The
- value of this annotation attribute is taken to be the
- converter-for-class with which instances of this class of converter
- can be instantiated by calling
- jakarta.faces.application.Application#createConverter(java.lang.Class).
-
-
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1636
-
String
-
jakarta.faces.convert.FacesConverter.value
-
-
The
- value of this annotation attribute is taken to be the converter-id
- with which instances of this class of converter can be instantiated by
- calling
- jakarta.faces.application.Application#createConverter(java.lang.String).
-
-
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Return
- the ISO 4217 currency code used by getAsString() with a type of
- currency. If not set, the value used will be based on the formatting
- Locale.
Return
- the currency symbol used by getAsString() with a type of currency. If
- not set, the value used will be based on the formatting Locale.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1667
-
Locale
-
jakarta.faces.convert.NumberConverter.getLocale
-
-
Return
- the Locale to be used when parsing numbers. If this value is null, the
- Locale stored in the jakarta.faces.component.UIViewRoot for the current
- request will be utilized.
The
- runtime must ensure that the #markInitialState method is called on
- each instance of this interface in the view at the appropriate time to
- indicate the component is in its initial state. The implementor of the
- interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called,
- after which time initialStateMarked() must return false. Also, during
- the time that the instance returns true from initialStateMarked(), the
- implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
Set the
- Locale to be used when parsing numbers. If set to null, the Locale
- stored in the jakarta.faces.component.UIViewRoot for the current request
- will be utilized.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1687
-
void
-
jakarta.faces.convert.NumberConverter.setMaxFractionDigits
-
- ( int )
-
Set the
- maximum number of digits getAsString() should render in the fraction
- portion of the result. If not set, the number of digits depends on the
- value being converted.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1688
-
void
-
jakarta.faces.convert.NumberConverter.setMaxIntegerDigits
-
- ( int )
-
Set the
- maximum number of digits getAsString() should render in the integer
- portion of the result. If not set, the number of digits depends on the
- value being converted.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1689
-
void
-
jakarta.faces.convert.NumberConverter.setMinFractionDigits
-
- ( int )
-
Set the
- minimum number of digits getAsString() should render in the fraction
- portion of the result. If not set, the number of digits depends on the
- value being converted.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1690
-
void
-
jakarta.faces.convert.NumberConverter.setMinIntegerDigits
-
- ( int )
-
Set the
- minimum number of digits getAsString() should render in the integer
- portion of the result. If not set, the number of digits depends on the
- value being converted.
Set the
- format pattern to be used when formatting and parsing numbers. Valid
- values are those supported by java.text.DecimalFormat. An invalid
- value will cause a ConverterException when getAsObject() or
- getAsString() is called.
Set the
- number type to be used when formatting and parsing numbers. Valid
- values are currency, number, or percent. An invalid value will cause a
- ConverterException when getAsObject() or getAsString() is called.
Convert
- the specified string value, which is associated with the specified
- UIComponent, into a model data object that is appropriate for being
- stored during the Apply Request Values phase of the request processing
- lifecycle.
Convert
- the specified model object value, which is associated with the
- specified UIComponent, into a String that is suitable for being
- included in the response generated during the Render Response phase of
- the request processing lifeycle.
Return
- the (possibly null) expression String, with leading and trailing
- delimiters, from which this MethodBinding was built. The default
- implementation returns null.
Return
- the return value (if any) resulting from a call to the method
- identified by this method binding expression, passing it the specified
- parameters, relative to the specified FacesContext.
Return
- the java.lang.Class representing the type of the specified property.
- An instance of any Object of that type my be set as the value of that
- property, as long as the property is not read-only. The actual value
- of the property, if non-null, is guaranteed to be an instance of this
- type, or an instance of a subclass of this type. This method is also
- useful for discovering the type of Objects that may be set as the
- value of the property. For a bean base object, the property is coerced
- to a String and used as the property name. For all other base object
- types (e.g., a Map), the property is used without any coercing.
Return
- the value of the specified property from the specified base object.
- For a bean base object, the property is coerced to a String and used
- as the property name. For all other base object types (e.g., a Map),
- the property is used without any coercing.
Checks
- if the specified property is read-only. For a bean base object, the
- property is coerced to a String and used as the property name. For all
- other base object types (e.g., a Map), the property is used without
- any coercing.
Set the
- specified value of the specified property on the specified base
- object. For a bean base object, the property is coerced to a String
- and used as the property name. For all other base object types (e.g.,
- a Map), the property is used without any coercing.
if an
- exception is thrown while getting the description of the property (the
- thrown exception must be included as the cause property of this
- exception)
if an
- exception is thrown while getting the description of the property (the
- thrown exception must be included as the cause property of this
- exception)
Return
- true if this FacesListener is an instance of a listener class that
- this event supports. Typically, this will be accomplished by an
- "instanceof" check on the listener class.
-
-
- Broadcast this FacesEvent to the specified FacesListener, by whatever
- mechanism is appropriate. Typically, this will be accomplished by
- calling an event processing method, and passing this FacesEvent as a
- paramter.
-
- Broadcast this event instance to the specified FacesListener, by
- whatever mechanism is appropriate. Typically, this will be
- accomplished by calling an event processing method, and passing this
- instance as a parameter.
- Instantiate a new ExceptionQueuedEventContext that indicates the
- argument Throwable just occurred, relevant to the argument component,
- during the lifecycle phase phaseId.
- Construct a new event object from the specified source component.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1810
-
UIComponent
-
jakarta.faces.event.FacesEvent.getComponent
-
-
Return
- the source UIComponent that sent this event.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1811
-
PhaseId
-
jakarta.faces.event.FacesEvent.getPhaseId
-
-
Return
- the identifier of the request processing phase during which this event
- should be delivered. Legal values are the singleton instances defined
- by the PhaseId class, including PhaseId.ANY_PHASE, which is the
- default value.
Return
- true if this FacesListener is an instance of a listener class that
- this event supports. Typically, this will be accomplished by an
- "instanceof" check on the listener class.
-
-
- Broadcast this FacesEvent to the specified FacesListener, by whatever
- mechanism is appropriate. Typically, this will be accomplished by
- calling an event processing method, and passing this FacesEvent as a
- paramter.
The
- kind of object that emits events of the type given by the value of the
- #systemEventClass attribute. It is valid to have EL Expressions in the
- value of this attribute, as long as the expression resolves to an
- instance of the expected type.
The
- kind of system event for which this class will be installed as a
- listener. The implementation only supports exact matches on the Class
- and must not honor subclass relationships. It is valid to have EL
- Expressions in the value of this attribute, as long as the expression
- resolves to an instance of the expected type.
-
-
- Construct a ValueChangeListener that contains a MethodExpression. To
- accomodate method expression targets that take no arguments instead of
- taking an ActionEvent argument, the implementation of this class must
- take the argument methodExpressionOneArg, extract its expression
- string, and create another MethodExpression whose expected param types
- match those of a zero argument method. The usage requirements for both
- of these MethodExpression instances are described in #processAction.
Call
- through to the MethodExpression passed in our constructor. First, try
- to invoke the MethodExpression passed to the constructor of this
- instance, passing the argument ActionEvent as the argument. If a
- MethodNotFoundException is thrown, call to the zero argument
- MethodExpression derived from the MethodExpression passed to the
- constructor of this instance. If that fails for any reason, throw an
- AbortProcessingException, including the cause of the failure.
-
-
-
- Construct a ValueChangeListener that contains a MethodExpression.To
- accomodate method expression targets that take no arguments instead of
- taking a ValueChangeEvent argument, the implementation of this class
- must take the argument methodExpressionOneArg, extract its expression
- string, and create another MethodExpression whose expected param types
- match those of a zero argument method. The usage requirements for both
- of these MethodExpression instances are described in
- #processValueChange.
Call
- through to the MethodExpression passed in our constructor. First, try
- to invoke the MethodExpression passed to the constructor of this
- instance, passing the argument ValueChangeEvent as the argument. If a
- MethodNotFoundException is thrown, call to the zero argument
- MethodExpression derived from the MethodExpression passed to the
- constructor of this instance. If that fails for any reason, throw an
- AbortProcessingException, including the cause of the failure.
Denotes
- whether or not the Object implementing this interface must or must not
- participate in state saving or restoring.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1842
-
String
-
jakarta.faces.event.NamedEvent.shortName
-
-
The
- value of this annotation attribute is taken to be the short name for
- the jakarta.faces.event.ComponentSystemEvent. If the value of this
- attribute is ommitted, the following algorithm must be used by the
- code that processes this annotation to determine its value. Get the
- unqualified class name (e.g., UserLoginEvent) Strip off the trailing
- "Event", if present (e.g., UserLogin) Convert the first character to
- lower-case (e.g., userLogin) Prepend the package name to the
- lower-cased name.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1843
-
FacesContext
-
jakarta.faces.event.PhaseEvent.getFacesContext
-
-
Return
- the FacesContext for the request being processed.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1844
-
PhaseId
-
jakarta.faces.event.PhaseEvent.getPhaseId
-
-
Return
- the PhaseId representing the current request processing lifecycle
- phase.
Compare
- this PhaseId instance to the specified one. Returns a negative
- integer, zero, or a positive integer if this object is less than,
- equal to, or greater than the specified object.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1847
-
int
-
jakarta.faces.event.PhaseId.getOrdinal
-
-
Return
- the ordinal value of this PhaseId instance.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1848
-
String
-
jakarta.faces.event.PhaseId.toString
-
-
Return
- a String representation of this PhaseId instance.
Handle
- a notification that the processing for a particular phase of the
- request processing lifecycle is about to begin.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1851
-
PhaseId
-
jakarta.faces.event.PhaseListener.getPhaseId
-
-
Return
- the identifier of the request processing phase during which this
- listener is interested in processing PhaseEvent events. Legal values
- are the singleton instances defined by the PhaseId class, including
- PhaseId.ANY_PHASE to indicate an interest in being notified for all
- standard phases.
- Instantiate a new PostAddToViewNonPDLEvent that indicates the argument
- component was just added to the view. This constructor is only
- intended to be called to represent events that happen outside of the
- restore view phase.
-
- Broadcast this event instance to the specified FacesListener, by
- whatever mechanism is appropriate. Typically, this will be
- accomplished by calling an event processing method, and passing this
- instance as a paramter.
This
- method must return true if and only if this listener instance is
- interested in receiving events from the instance referenced by the
- source parameter.
Return
- true if this FacesListener is an instance of a listener class that
- this event supports. Typically, this will be accomplished by an
- "instanceof" check on the listener class.
-
-
- Broadcast this FacesEvent to the specified FacesListener, by whatever
- mechanism is appropriate. Typically, this will be accomplished by
- calling an event processing method, and passing this FacesEvent as a
- paramter.
- Construct a new event object from the specified source component, old
- value, and new value. The default PhaseId for this event is
- PhaseId#ANY_PHASE.
-
- Register a new PhaseListener instance that is interested in being
- notified before and after the processing for standard phases of the
- request processing lifecycle.
Execute
- all of the phases of the request processing lifecycle, up to but not
- including the Render Response phase, as described in the Jakarta Server
- Faces Specification, in the specified order. The processing flow can
- be affected (by the application, by components, or by event listeners)
- by calls to the renderResponse() or responseComplete() methods of the
- FacesContext instance associated with the current request.
-
- Deregister an existing PhaseListener instance that is no longer
- interested in being notified before and after the processing for
- standard phases of the request processing lifecycle. If no such
- listener instance has been registered, no action is taken.
Execute
- the Render Response phase of the request processing lifecycle, unless
- the responseComplete() method has been called on the FacesContext
- instance associated with the current request.
-
- Register a new Lifecycle instance, associated with the specified
- lifecycleId, to be supported by this LifecycleFactory. This method may
- be called at any time, and makes the corresponding Lifecycle instance
- available throughout the remaining lifetime of this web application.
Create
- (if needed) and return a Lifecycle instance for the specified
- lifecycle identifier. The set of available lifecycle identifiers is
- available via the getLifecycleIds() method. Each call to
- getLifecycle() for the same lifecycleId, from within the same web
- application, must return the same Lifecycle instance.
Return
- an Iterator over the set of lifecycle identifiers supported by this
- factory. This set must include the value specified by
- LifecycleFactory.DEFAULT_LIFECYCLE.
If this
- factory has been decorated, the implementation doing the decorating
- may override this method to provide access to the implementation being
- wrapped. A default implementation is provided that returns null.
if now
- row data is available at the currently specified row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1920
-
int
-
jakarta.faces.model.ArrayDataModel.getRowIndex
-
-
Return
- the zero-relative index of the currently selected row. If we are not
- currently positioned on a row, or no wrappedData is available, return
- -1.
Return
- true if there is wrappedData available, and the current value of
- rowIndex is greater than or equal to zero, and less than the length of
- the array. Otherwise, return false.
jakarta.faces.model.ArrayDataModel.setRowIndex
-
- ( int )
-
Set the
- zero-relative index of the currently selected row, or -1 to indicate
- that we are not positioned on a row. It is possible to set the row
- index at a value for which the underlying data collection does not
- contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the
- getRowData() method. If there is no wrappedData available when this
- method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent.
- Otherwise, if the currently selected row index is changed by this
- call, a DataModelEvent will be sent to the rowSelected() method of all
- registered DataModelListeners.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1926
-
void
-
jakarta.faces.model.ArrayDataModel.setRowIndex
-
- ( int )
- throws FacesException
-
-
if an
- error occurs setting the row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1927
-
void
-
jakarta.faces.model.ArrayDataModel.setRowIndex
-
- ( int )
- throws IllegalArgumentException
-
Set the
- object representing the data collection wrapped by this DataModel. If
- the specified data is null, detach this DataModel from any previously
- wrapped data collection instead. If data is non-null, the currently
- selected row index must be set to zero, and a DataModelEvent must be
- sent to the rowSelected() method of all registered DataModelListeners
- indicating that this row is now selected.
Return
- the set of DataModelListeners interested in notifications from this
- DataModel. If there are no such listeners, an empty array is returned.
-
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1934
-
int
-
jakarta.faces.model.DataModel.getRowCount
-
-
Return
- the number of rows of data objects represented by this DataModel. If
- the number of rows is unknown, or no wrappedData is available, return
- -1.
if now
- row data is available at the currently specified row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1939
-
int
-
jakarta.faces.model.DataModel.getRowIndex
-
-
Return
- the zero-relative index of the currently selected row. If we are not
- currently positioned on a row, or no wrappedData is available, return
- -1.
jakarta.faces.model.DataModel.setRowIndex
-
- ( int )
-
Set the
- zero-relative index of the currently selected row, or -1 to indicate
- that we are not positioned on a row. It is possible to set the row
- index at a value for which the underlying data collection does not
- contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the
- getRowData() method. If there is no wrappedData available when this
- method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent.
- Otherwise, if the currently selected row index is changed by this
- call, a DataModelEvent will be sent to the rowSelected() method of all
- registered DataModelListeners.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1948
-
void
-
jakarta.faces.model.DataModel.setRowIndex
-
- ( int )
- throws FacesException
-
-
if an
- error occurs setting the row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1949
-
void
-
jakarta.faces.model.DataModel.setRowIndex
-
- ( int )
- throws IllegalArgumentException
-
Set the
- object representing the data collection wrapped by this DataModel. If
- the specified data is null, detach this DataModel from any previously
- wrapped data collection instead. If data is non-null, the currently
- selected row index must be set to zero, and a DataModelEvent must be
- sent to the rowSelected() method of all registered DataModelListeners
- indicating that this row is now selected.
if now
- row data is available at the currently specified row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1962
-
int
-
jakarta.faces.model.ListDataModel.getRowIndex
-
-
Return
- the zero-relative index of the currently selected row. If we are not
- currently positioned on a row, or no wrappedData is available, return
- -1.
Return
- true if there is wrappedData available, and the current value of
- rowIndex is greater than or equal to zero, and less than the size of
- the list. Otherwise, return false.
-
- Construct a new ListDataModel with no specified wrapped data.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1968
-
ListDataModel
-
jakarta.faces.model.ListDataModel.ListDataModel
-
- ( List )
-
-
- Construct a new ListDataModel wrapping the specified list.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1969
-
void
-
jakarta.faces.model.ListDataModel.setRowIndex
-
- ( int )
-
Set the
- zero-relative index of the currently selected row, or -1 to indicate
- that we are not positioned on a row. It is possible to set the row
- index at a value for which the underlying data collection does not
- contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the
- getRowData() method. If there is no wrappedData available when this
- method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent.
- Otherwise, if the currently selected row index is changed by this
- call, a DataModelEvent will be sent to the rowSelected() method of all
- registered DataModelListeners.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1970
-
void
-
jakarta.faces.model.ListDataModel.setRowIndex
-
- ( int )
- throws FacesException
-
-
if an
- error occurs setting the row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1971
-
void
-
jakarta.faces.model.ListDataModel.setRowIndex
-
- ( int )
- throws IllegalArgumentException
-
Set the
- object representing the data collection wrapped by this DataModel. If
- the specified data is null, detach this DataModel from any previously
- wrapped data collection instead. If data is non-null, the currently
- selected row index must be set to zero, and a DataModelEvent must be
- sent to the rowSelected() method of all registered DataModelListeners
- indicating that this row is now selected.
if data
- is not of the appropriate type for this DataModel implementation
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1974
-
int
-
jakarta.faces.model.ResultDataModel.getRowCount
-
-
If
- there is wrappedData available, return the length of the array
- returned by calling getRows() on the underlying Result. If no
- wrappedData is available, return -1.
If row
- data is available, return the SortedMap array element at the index
- specified by rowIndex of the array returned by calling getRows() on
- the underlying Result. If no wrapped data is available, return null.
- Note that, if a non-null Map is returned by this method, it will
- contain the values of the columns for the current row, keyed by column
- name. Column name comparisons must be performed in a case-insensitive
- manner.
if now
- row data is available at the currently specified row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1979
-
int
-
jakarta.faces.model.ResultDataModel.getRowIndex
-
-
Return
- the zero-relative index of the currently selected row. If we are not
- currently positioned on a row, or no wrappedData is available, return
- -1.
Return
- true if there is wrappedData available, and the current value of
- rowIndex is greater than or equal to zero, and less than the length of
- the array returned by calling getRows() on the underlying Result.
- Otherwise, return false.
-
- Construct a new ResultDataModel with no specified wrapped data.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1985
-
ResultDataModel
-
jakarta.faces.model.ResultDataModel.ResultDataModel
-
- ( Result )
-
-
- Construct a new ResultDataModel wrapping the specified Result.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1986
-
void
-
jakarta.faces.model.ResultDataModel.setRowIndex
-
- ( int )
-
Set the
- zero-relative index of the currently selected row, or -1 to indicate
- that we are not positioned on a row. It is possible to set the row
- index at a value for which the underlying data collection does not
- contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the
- getRowData() method. If there is no wrappedData available when this
- method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent.
- Otherwise, if the currently selected row index is changed by this
- call, a DataModelEvent will be sent to the rowSelected() method of all
- registered DataModelListeners.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1987
-
void
-
jakarta.faces.model.ResultDataModel.setRowIndex
-
- ( int )
- throws FacesException
-
-
if an
- error occurs setting the row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:1988
-
void
-
jakarta.faces.model.ResultDataModel.setRowIndex
-
- ( int )
- throws IllegalArgumentException
-
Set the
- object representing the data collection wrapped by this DataModel. If
- the specified data is null, detach this DataModel from any previously
- wrapped data collection instead. If data is non-null, the currently
- selected row index must be set to zero, and a DataModelEvent must be
- sent to the rowSelected() method of all registered DataModelListeners
- indicating that this row is now selected.
Return
- -1, since ResultSet does not provide a standard way to determine the
- number of available rows without scrolling through the entire
- ResultSet, and this can be very expensive if the number of rows is
- large.
If row
- data is available, return a Map representing the values of the columns
- for the row specified by rowIndex, keyed by the corresponding column
- names. If no wrapped data is available, return null. If a non-null Map
- is returned, its behavior must correspond to the contract for a
- mutable Map as described in the JavaDocs for AbstractMap, with the
- following exceptions and specialized behavior: The Map, and any
- supporting objects it returns, must perform all column name
- comparisons in a case-insensitive manner. This case-insensitivity must
- be implemented using a case-insensitive Comparator, such as
- String.CASE_INSENSITIVE_ORDER. The following methods must throw
- UnsupportedOperationException: clear(), remove(). The entrySet()
- method must return a Set that has the following behavior: Throw
- UnsupportedOperationException for any attempt to add or remove entries
- from the Set, either directly or indirectly through an Iterator
- returned by the Set. Updates to the value of an entry in this set must
- write through to the corresponding column value in the underlying
- ResultSet. The keySet() method must return a Set that throws
- UnsupportedOperationException on any attempt to add or remove keys,
- either directly or through an Iterator returned by the Set. The put()
- method must throw IllegalArgumentException if a key value for which
- containsKey() returns false is specified. However, if a key already
- present in the Map is specified, the specified value must write
- through to the corresponding column value in the underlying ResultSet.
- The values() method must return a Collection that throws
- UnsupportedOperationException on any attempt to add or remove values,
- either directly or through an Iterator returned by the Collection.
Return
- the zero-relative index of the currently selected row. If we are not
- currently positioned on a row, or no wrappedData is available, return
- -1.
Return
- true if there is wrappedData available, and the result of calling
- absolute() on the underlying ResultSet, passing the current value of
- rowIndex plus one (to account for the fact that ResultSet uses
- one-relative indexing), returns true. Otherwise, return false.
-
- Construct a new ResultSetDataModel wrapping the specified ResultSet.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2003
-
void
-
jakarta.faces.model.ResultSetDataModel.setRowIndex
-
- ( int )
-
Set the
- zero-relative index of the currently selected row, or -1 to indicate
- that we are not positioned on a row. It is possible to set the row
- index at a value for which the underlying data collection does not
- contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the
- getRowData() method. If there is no wrappedData available when this
- method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent.
- Otherwise, if the currently selected row index is changed by this
- call, a DataModelEvent will be sent to the rowSelected() method of all
- registered DataModelListeners.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2004
-
void
-
jakarta.faces.model.ResultSetDataModel.setRowIndex
-
- ( int )
- throws FacesException
-
-
if an
- error occurs setting the row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2005
-
void
-
jakarta.faces.model.ResultSetDataModel.setRowIndex
-
- ( int )
- throws IllegalArgumentException
-
Set the
- object representing the data collection wrapped by this DataModel. If
- the specified data is null, detach this DataModel from any previously
- wrapped data collection instead. If data is non-null, the currently
- selected row index must be set to zero, and a DataModelEvent must be
- sent to the rowSelected() method of all registered DataModelListeners
- indicating that this row is now selected.
if now
- row data is available at the currently specified row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2013
-
int
-
jakarta.faces.model.ScalarDataModel.getRowIndex
-
-
Return
- the zero-relative index of the currently selected row. If we are not
- currently positioned on a row, or no wrappedData is available, return
- -1.
-
- Construct a new ScalarDataModel wrapping the specified scalar object.
-
-
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2020
-
void
-
jakarta.faces.model.ScalarDataModel.setRowIndex
-
- ( int )
-
Set the
- zero-relative index of the currently selected row, or -1 to indicate
- that we are not positioned on a row. It is possible to set the row
- index at a value for which the underlying data collection does not
- contain any row data. Therefore, callers may use the isRowAvailable()
- method to detect whether row data will be available for use by the
- getRowData() method. If there is no wrappedData available when this
- method is called, the specified rowIndex is stored (and may be
- retrieved by a subsequent call to getRowData()), but no event is sent.
- Otherwise, if the currently selected row index is changed by this
- call, a DataModelEvent will be sent to the rowSelected() method of all
- registered DataModelListeners.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2021
-
void
-
jakarta.faces.model.ScalarDataModel.setRowIndex
-
- ( int )
- throws FacesException
-
-
if an
- error occurs setting the row index
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2022
-
void
-
jakarta.faces.model.ScalarDataModel.setRowIndex
-
- ( int )
- throws IllegalArgumentException
-
Set the
- object representing the data collection wrapped by this DataModel. If
- the specified data is null, detach this DataModel from any previously
- wrapped data collection instead. If data is non-null, the currently
- selected row index must be set to zero, and a DataModelEvent must be
- sent to the rowSelected() method of all registered DataModelListeners
- indicating that this row is now selected.
if data
- is not of the appropriate type for this DataModel implementation
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2025
-
String
-
jakarta.faces.model.SelectItem.getDescription
-
-
Return
- a description of this item, for use in development tools.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2026
-
String
-
jakarta.faces.model.SelectItem.getLabel
-
-
Return
- the label of this item, to be rendered visibly for the user.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2027
-
Object
-
jakarta.faces.model.SelectItem.getValue
-
-
Return
- the value of this item, to be delivered to the model if this item is
- selected by the user.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2028
-
boolean
-
jakarta.faces.model.SelectItem.isDisabled
-
-
Return
- the disabled flag for this item, which should modify the rendered
- output to make this item unavailable for selection by the user if set
- to true.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2029
-
boolean
-
jakarta.faces.model.SelectItem.isEscape
-
-
If and
- only if this returns true, the code that renders this select item must
- escape the label using escaping syntax appropriate to the content type
- being rendered.
Return
- the value of the noSelectionOption property. If the value of this
- property is true, the system interprets the option represented by this
- SelectItem instance as representing a "no selection" option. See
- UISelectOne#validateValue and UISelectMany#validateValue for usage.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2031
-
SelectItem
-
jakarta.faces.model.SelectItem.SelectItem
-
-
- Construct a SelectItem with no initialized property values.
- Construct a SelectItem with the specified value. The label property
- will be set to the value (converted to a String, if necessary), the
- description property will be set to null, the disabled property will
- be set to false, and the escape property will be set to ( true.
- Construct a SelectItem with the specified value and label. The
- description property will be set to null, the disabled property will
- be set to false, and the escape property will be set to true.
- Construct a SelectItem instance with the specified value, label and
- description. This disabled property will be set to false, and the
- escape property will be set to true.
Set the
- disabled flag for this item, which should modify the rendered output
- to make this item unavailable for selection by the user if set to
- true.
- Construct a SelectItemGroup with the specified label and no associated
- selectItems. The value property will be set to a zero-length String,
- the description property will be set to null, and the disabled
- property will be set to false.
Decode
- any new state of this ClientBehavior from the request contained in the
- specified FacesContext. During decoding, events may be enqueued for
- later processing (by event listeners who have registered an interest),
- by calling queueEvent().
Return
- the script that implements this ClientBehavior's client-side logic.
- The default implementation returns null.
- ClientBehaviorRenderer.getScript() implementations are allowed to
- return null to indicate that no script is required for this particular
- getScript() call. For example, a ClientBehaviorRenderer implementation
- may return null if the associated ClientBehavior is disabled.
The
- value of this annotation attribute is taken to be the component-family
- which, in combination with #rendererType can be used to obtain a
- reference to an instance of this Renderer by calling
- jakarta.faces.render.RenderKit#getRenderer(java.lang.String,
- java.lang.String).
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2057
-
String
-
jakarta.faces.render.FacesRenderer.rendererType
-
-
The
- value of this annotation attribute is taken to be the renderer-type
- which, in combination with #componentFamily can be used to obtain a
- reference to an instance of this Renderer by calling
- jakarta.faces.render.RenderKit#getRenderer(java.lang.String,
- java.lang.String).
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2058
-
String
-
jakarta.faces.render.FacesRenderer.renderKitId
-
-
The
- value of this annotation attribute is taken to be the render-kit-id in
- which an instance of this class of Renderer must be installed.
Convert
- the component generated client id to a form suitable for transmission
- to the client. The default implementation returns the argument
- clientId unchanged.
Decode
- any new state of the specified UIComponent from the request contained
- in the specified FacesContext, and store that state on the
- UIComponent. During decoding, events may be enqueued for later
- processing (by event listeners that have registered an interest), by
- calling queueEvent() on the associated UIComponent.
Render
- the beginning specified UIComponent to the output stream or writer
- associated with the response we are creating. If the conversion
- attempted in a previous call to getConvertedValue() for this component
- failed, the state information saved during execution of decode()
- should be used to reproduce the incorrect input.
Render
- the child components of this UIComponent, following the rules
- described for encodeBegin() to acquire the appropriate value to be
- rendered. This method will only be called if the rendersChildren
- property of this component is true.
Render
- the ending of the current state of the specified UIComponent,
- following the rules described for encodeBegin() to acquire the
- appropriate value to be rendered.
Attempt
- to convert previously stored state information into an object of the
- type required for this component (optionally using the registered
- jakarta.faces.convert.Converter for this component, if there is one). If
- conversion is successful, the new value should be returned from this
- method; if not, a ConverterException should be thrown.
Return
- a flag indicating whether this Renderer is responsible for rendering
- the children the component it is asked to render. The default
- implementation returns false.
-
-
-
-
- Register the specified ClientBehaviorRenderer instance, associated
- with the specified component type, to the set of
- ClientBehaviorRenderers registered with this RenderKit, replacing any
- previously registered ClientBehaviorRenderer for this type.
-
-
-
-
- Register the specified Renderer instance, associated with the
- specified component family and rendererType, to the set of Renderers
- registered with this RenderKit, replacing any previously registered
- Renderer for this combination of identifiers.
Use the
- provided Writer to create a new ResponseWriter instance for the
- specified (optional) content type, and character encoding.
-
- Implementors are advised to consult the getCharacterEncoding() method
- of class jakarta.servlet.ServletResponse to get the required value for
- the characterEncoding for this method. Since the Writer for this
- response will already have been obtained (due to it ultimately being
- passed to this method), we know that the character encoding cannot
- change during the rendering of the response.
if no
- matching content type can be found in contentTypeList, no appropriate
- content type can be found with the implementation dependent best fit
- algorithm, or no matching character encoding can be found for the
- argument characterEncoding.
Return
- an Iterator over the component-family entries supported by this
- RenderKit instance. The default implementation of this method returns
- an empty Iterator
Return
- an Iterator over the renderer-type entries for the given
- component-family. If the specified componentFamily is not known to
- this RenderKit implementation, return an empty Iterator The default
- implementation of this method returns an empty Iterator
-
-
-
- Register the specified RenderKit instance, associated with the
- specified renderKitId, to be supported by this RenderKitFactory,
- replacing any previously registered RenderKit for this identifier.
Return
- a RenderKit instance for the specified render kit identifier, possibly
- customized based on dynamic characteristics of the specified
- FacesContext, if non-null. If there is no registered RenderKit for the
- specified identifier, return null. The set of available render kit
- identifiers is available via the getRenderKitIds() method.
Return
- an Iterator over the set of render kit identifiers registered with
- this factory. This set must include the value specified by
- RenderKitFactory.HTML_BASIC_RENDER_KIT.
If this
- factory has been decorated, the implementation doing the decorating
- may override this method to provide access to the implementation being
- wrapped. A default implementation is provided that returns null.
The
- default behavior of this method is to call
- RenderKit#addClientBehaviorRenderer(String, ClientBehaviorRenderer) on
- the wrapped RenderKit object.
The
- implementation must inspect the current request and return an Object
- representing the tree structure and component state passed in to a
- previous invocation of
- #writeState(jakarta.faces.context.FacesContext,java.lang.Object). For
- backwards compatability with existing ResponseStateManager
- implementations, the default implementation of this method calls
- #getTreeStructureToRestore and #getComponentStateToRestore and creates
- and returns a two element Object array with element zero containing
- the structure property and element one containing the state property
- of the SerializedView.
Return
- true if the current request is a postback. This method is leveraged
- from the Restore View Phase to determine if
- jakarta.faces.application.ViewHandler#restoreView or
- jakarta.faces.application.ViewHandler#createView should be called. The
- default implementation must return true if this ResponseStateManager
- instance wrote out state on a previous request to which this request
- is a postback, false otherwise. The implementation if this method for
- the Standard HTML RenderKit must consult the
- jakarta.faces.context.ExternalContext's requestParameterMap and return
- true if and only if there is a key equal to the value of the symbolic
- constant #VIEW_STATE_PARAM. For backwards compatability with
- implementations of ResponseStateManager prior to JSF 1.2, a default
- implementation is provided that consults the
- jakarta.faces.context.ExternalContext's requestParameterMap and return
- true if its size is greater than 0.
Take
- the argument state and write it into the output using the current
- ResponseWriter, which must be correctly positioned already. If the
- jakarta.faces.application.StateManager.SerializedView is to be written
- out to hidden fields, the implementation must take care to make all
- necessary character replacements to make the Strings suitable for
- inclusion as an HTTP request paramater. If the state saving method for
- this application is
- jakarta.faces.application.StateManager#STATE_SAVING_METHOD_CLIENT, the
- implementation may encrypt the state to be saved to the client. We
- recommend that the state be unreadable by the client, and also be
- tamper evident. The reference implementation follows these
- recommendations.
Return
- the validation groups passed to the Validation API when checking
- constraints. If the validationGroupsArray attribute is omitted or
- empty, the validation groups will be inherited from the branch
- defaults, or if there are no branch defaults, the
- jakarta.validation.groups.Default group will be used.
The
- runtime must ensure that the #markInitialState method is called on
- each instance of this interface in the view at the appropriate time to
- indicate the component is in its initial state. The implementor of the
- interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called,
- after which time initialStateMarked() must return false. Also, during
- the time that the instance returns true from initialStateMarked(), the
- implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
A
- comma-separated list of validation groups which are used to filter
- which validations get checked by this validator. If the
- validationGroupsArray attribute is omitted or is empty, the validation
- groups will be inherited from the branch defaults or, if there are no
- branch defaults, the jakarta.validation.groups.Default group will be
- used.
Verify
- that the value is valid according to the Bean Validation constraints.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Obtain a ValidatorFactory instance by calling
- jakarta.validation.Validation#buildDefaultValidatorFactory. Let
- validationGroupsArray be a Class [] representing validator groups set
- on the component by the tag handler for this validator. The first
- search component terminates the search for the validation groups
- value. If no such value is found use the class name of
- jakarta.validation.groups.Default as the value of the validation groups.
- Let valueExpression be the return from calling
- UIComponent#getValueExpression on the argument component, passing the
- literal string “value” (without the quotes) as an
- argument. If this application is running in an environment with a
- Unified EL Implementation for Java EE6 or later, obtain the
- ValueReference from valueExpression and let valueBaseClase be the
- return from calling ValueReference.getBase() and valueProperty be the
- return from calling ValueReference.getProperty(). If an earlier
- version of the Unified EL is present, use the appropriate methods to
- inspect valueExpression and derive values for valueBaseClass and
- valueProperty. If no ValueReference can be obtained, take no action
- and return. If ValueReference.getBase() return null, take no action
- and return. Obtain the ValidatorContext from the ValidatorFactory.
- Decorate the MessageInterpolator returned from
- ValidatorFactory#getMessageInterpolator with one that leverages the
- Locale returned from jakarta.faces.component.UIViewRoot#getLocale, and
- store it in the ValidatorContext using
- ValidatorContext#messageInterpolator. Obtain the
- jakarta.validation.Validator instance from the validatorContext. Obtain
- a jakarta.validation.BeanDescriptor from the jakarta.validation.Validator.
- If hasConstraints() on the BeanDescriptor returns false, take no
- action and return. Otherwise proceed. Call
- jakarta.validation.Validator#validateValue, passing valueBaseClass,
- valueProperty, the value argument, and validatorGroupsArray as
- arguments. If the returned Set<ConstraintViolation> is
- non-empty, for each element in the Set, create a FacesMessage where
- the summary and detail are the return from calling
- ConstraintViolation#getMessage. Capture all such FacesMessage
- instances into a Collection and pass them to
- ValidatorException#ValidatorException(java.util.Collection), throwing
- the new exception.
The
- runtime must ensure that the #markInitialState method is called on
- each instance of this interface in the view at the appropriate time to
- indicate the component is in its initial state. The implementor of the
- interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called,
- after which time initialStateMarked() must return false. Also, during
- the time that the instance returns true from initialStateMarked(), the
- implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
Perform
- the correctness checks implemented by this Validator against the
- specified UIComponent. If any violations are found, a
- ValidatorException will be thrown containing the
- jakarta.faces.application.FacesMessage describing the failure. For a
- validator to be fully compliant with Version 2 and later of the
- specification, it must not fail validation on null or empty values
- unless it is specifically intended to address null or empty values. An
- application-wide is provided to allow validators designed for JSF 1.2
- to work with JSF 2 and later. The jakarta.faces.VALIDATE_EMPTY_FIELDS
- must be set to false to enable this backwards compatibility behavior.
-
If
- true, the validator id for this annotation is added to the list of
- default validators by a call to
- jakarta.faces.application.Application#addDefaultValidatorId.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2155
-
String
-
jakarta.faces.validator.FacesValidator.value
-
-
The
- value of this annotation attribute is taken to be the validator-id
- with which instances of this class of component can be instantiated by
- calling
- jakarta.faces.application.Application#createValidator(java.lang.String).
-
-
The
- runtime must ensure that the #markInitialState method is called on
- each instance of this interface in the view at the appropriate time to
- indicate the component is in its initial state. The implementor of the
- interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called,
- after which time initialStateMarked() must return false. Also, during
- the time that the instance returns true from initialStateMarked(), the
- implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
Perform
- the correctness checks implemented by this Validator against the
- specified UIComponent. If any violations are found, a
- ValidatorException will be thrown containing the
- jakarta.faces.application.FacesMessage describing the failure. For a
- validator to be fully compliant with Version 2 and later of the
- specification, it must not fail validation on null or empty values
- unless it is specifically intended to address null or empty values. An
- application-wide is provided to allow validators designed for JSF 1.2
- to work with JSF 2 and later. The jakarta.faces.VALIDATE_EMPTY_FIELDS
- must be set to false to enable this backwards compatibility behavior.
-
The
- runtime must ensure that the #markInitialState method is called on
- each instance of this interface in the view at the appropriate time to
- indicate the component is in its initial state. The implementor of the
- interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called,
- after which time initialStateMarked() must return false. Also, during
- the time that the instance returns true from initialStateMarked(), the
- implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
Perform
- the correctness checks implemented by this Validator against the
- specified UIComponent. If any violations are found, a
- ValidatorException will be thrown containing the
- jakarta.faces.application.FacesMessage describing the failure. For a
- validator to be fully compliant with Version 2 and later of the
- specification, it must not fail validation on null or empty values
- unless it is specifically intended to address null or empty values. An
- application-wide is provided to allow validators designed for JSF 1.2
- to work with JSF 2 and later. The jakarta.faces.VALIDATE_EMPTY_FIELDS
- must be set to false to enable this backwards compatibility behavior.
-
Perform
- any processing required to restore the state from the entries in the
- state Object. If the class that implements this interface has
- references to instances that also implement StateHolder (such as a
- UIComponent with event handlers, validators, etc.) this method must
- call the #restoreState method on all those instances as well.
Gets
- the state of the instance as a Serializable Object. If the class that
- implements this interface has references to instances that implement
- StateHolder (such as a UIComponent with event handlers, validators,
- etc.) this method must call the #saveState method on all those
- instances as well. This method must not save the state of children and
- facets. That is done via the jakarta.faces.application.StateManager This
- method must not alter the state of the implementing object. In other
- words, after executing this code: Object state =
- component.saveState(facesContext); component should be the same as
- before executing it. The return from this method must be Serializable
-
Perform
- the correctness checks implemented by this Validator against the
- specified UIComponent. If any violations are found, a
- ValidatorException will be thrown containing the
- jakarta.faces.application.FacesMessage describing the failure. For a
- validator to be fully compliant with Version 2 and later of the
- specification, it must not fail validation on null or empty values
- unless it is specifically intended to address null or empty values. An
- application-wide is provided to allow validators designed for JSF 1.2
- to work with JSF 2 and later. The jakarta.faces.VALIDATE_EMPTY_FIELDS
- must be set to false to enable this backwards compatibility behavior.
-
The
- runtime must ensure that the #markInitialState method is called on
- each instance of this interface in the view at the appropriate time to
- indicate the component is in its initial state. The implementor of the
- interface must ensure that #initialStateMarked returns true from the
- time markInitialState() is called until #clearInitialState is called,
- after which time initialStateMarked() must return false. Also, during
- the time that the instance returns true from initialStateMarked(), the
- implementation must return only the state that has changed in its
- implementation of StateHolder#saveState.
Perform
- the correctness checks implemented by this Validator against the
- specified UIComponent. If any violations are found, a
- ValidatorException will be thrown containing the
- jakarta.faces.application.FacesMessage describing the failure. For a
- validator to be fully compliant with Version 2 and later of the
- specification, it must not fail validation on null or empty values
- unless it is specifically intended to address null or empty values. An
- application-wide is provided to allow validators designed for JSF 1.2
- to work with JSF 2 and later. The jakarta.faces.VALIDATE_EMPTY_FIELDS
- must be set to false to enable this backwards compatibility behavior.
-
Returns
- the FacesMessage associated with the exception. If this instance was
- created with a constructor that takes Collection, this method returns
- the first message in the Collection
If this
- instance was created with a constructor that takes Collection, this
- method returns the passed collection, otherwise this method returns
- null.
Take
- the argument parent and apply this attached object to it. The action
- taken varies with class that implements one of the subinterfaces of
- this interface.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2231
-
String
-
jakarta.faces.view.AttachedObjectHandler.getFor
-
-
Return
- the value of the "for" attribute specified by the page author on the
- tag for this AttachedObjectHandler.
-
true
-
-
-
true
-
-
-
JSF:JAVADOC:2232
-
String
-
jakarta.faces.view.AttachedObjectTarget.getName
-
-
Returns
- the name by which this attached object target is exposed to the page
- author.
Returns
- the List that this AttachedObjectTarget exposes. Each attached object
- exposed by the composite component author may point at multiple
- UIComponent instances within the composite component. This method is
- used by the
- jakarta.faces.view.ViewDeclarationLanguage#retargetAttachedObjects
- method to take the appropriate action on the attached object.
Restore
- the state of the view with information in the request. The default
- implementation must perform the following algorithm or its semantic
- equivalent. Build the view from the markup. For all components in the
- view that do not have an explicitly assigned id in the markup, the
- values of those ids must be the same as on an initial request for this
- view. This view will not contain any components programmatically added
- during the previous lifecycle run, and it will contain components that
- were programmatically deleted on the previous lifecycle run. Both of
- these cases must be handled. Call
- jakarta.faces.render.ResponseStateManager#getState to obtain the data
- structure returned from the previous call to #saveView. Visit the tree
- using jakarta.faces.component.UIComponent#visitTree. For each node, call
- jakarta.faces.component.UIComponent#restoreState, passing the state
- saved corresponding to the current client id. Ensure that any
- programmatically deleted components are removed. Ensure any
- programmatically added components are added. The implementation must
- ensure that the jakarta.faces.component.UIComponent#restoreState method
- is called for each node in the tree, except for those that were
- programmatically deleted on the previous run through the lifecycle.
Return
- the state of the current view in an Object that implements
- Serializable. The default implementation must perform the following
- algorithm or its semantic equivalent. If the UIViewRoot of the current
- view is marked transient, return null immediately. Traverse the view
- and verify that each of the client ids are unique. Throw
- IllegalStateException if more than one client id are the same. Visit
- the tree using jakarta.faces.component.UIComponent#visitTree. For each
- node, call jakarta.faces.component.UIComponent#saveState, saving the
- returned Object in a way such that it can be restored given only its
- client id. Special care must be taken to handle the case of components
- that were added or deleted programmatically during this lifecycle
- traversal, rather than by the VDL. The implementation must ensure that
- the jakarta.faces.component.UIComponent#saveState method is called for
- each node in the tree. The data structure used to save the state
- obtained by executing the above algorithm must be Serializable, and
- all of the elements within the data structure must also be
- Serializable.
Take
- any actions specific to this VDL implementation to cause the argument
- UIViewRoot which must have been created via a call to #createView, to
- be populated with children. The Facelets implementation must insure
- that markup comprising the view must be executed, with the
- jakarta.faces.component.UIComponent instances in the view being
- encountered in the same depth-first order as in other lifecycle
- methods defined on UIComponent, and added to the view (but not
- rendered) during the traversal. The runtime must guarantee that the
- view must be fully populated before any of the following happen. The
- jakarta.faces.event.PhaseListener#afterPhase method of any
- PhaseListeners attached to the application is called The
- jakarta.faces.component.UIViewRoot phase listener installed via
- jakarta.faces.component.UIViewRoot#setAfterPhaseListener or
- jakarta.faces.component.UIViewRoot#addPhaseListener are called. The
- implementation must take no action if the argument root already has
- non-metadata children. See section JSF.7.6.2.3 for the view metadata
- specification.
Create
- a UIViewRoot from the VDL contained in the artifact referenced by the
- argument viewId. See section JSF.7.6.2 for the specification of the
- default implementation.
Return
- a reference to the component metadata for the composite component
- represented by the argument componentResource, or null if the metadata
- cannot be found. See section JSF.7.6.2 for the specification of the
- default implementation. JSP implementations must throw
- UnsupportedOperationException.
Take
- implementation specific action to discover a Resource given the
- argument componentResource. See section JSF.7.6.2 for the
- specification of the default implementation. JSP implementations must
- throw UnsupportedOperationException.
For
- implementations that want to control the implementation of state
- saving and restoring, the StateManagementStrategy allows them to do
- so. Returning null indicates that the implementation wishes the
- runtime to handle the state saving and restoring. Implementations that
- provide the VDL for Facelets for JSF 2.0 and later must return
- non-null from this method.
Return
- a reference to the view metadata for the view represented by the
- argument viewId, or null if the metadata cannot be found. See section
- JSF.7.6.2 for the specification of the default implementation.
- Facelets for JSF 2 implementation must return non-null. JSP
- implementations must return null.
-
-
- Assuming the component metadata for argument topLevelComponent has
- been made available by an earlier call to
- ViewDeclarationLanguage#getComponentMetadata, leverage the component
- metadata for the purpose of re-targeting attached objects from the top
- level composite component to the individual AttachedObjectTarget
- instances inside the composite component. This method must be called
- by the ViewDeclarationLanguage implementation when creating the
- UIComponent tree when a composite component usage is encountered. An
- algorithm semantically equivalent to the following must be
- implemented. Obtain the metadata for the composite component.
- Currently this entails getting the value of the
- UIComponent#BEANINFO_KEY component attribute, which will be an
- instance of BeanInfo. If the metadata cannot be found, log an error
- message and return. Get the BeanDescriptor from the BeanInfo. Get the
- value of the AttachedObjectTarget#ATTACHED_OBJECT_TARGETS_KEY from the
- BeanDescriptor's getValue() method. This will be a
- List<AttachedObjectTarget>. Let this be targetList. For each
- curHandler entry in the argument handlers Let forAttributeValue be the
- return from AttachedObjectHandler#getFor. For each curTarget entry in
- targetList, the first of the following items that causes a match will
- take this action: For each UIComponent in the list returned from
- curTarget.getTargets(), call curHandler.applyAttachedObject(), passing
- the FacesContext and the UIComponent. and cause this inner loop to
- terminate. If curHandler is an instance of
- ActionSource2AttachedObjectHandler and curTarget is an instance of
- ActionSource2AttachedObjectTarget, and curTarget.getName() is equal to
- curTargetName, consider it a match. If curHandler is an instance of
- EditableValueHolderAttachedObjectHandler and curTarget is an instance
- of EditableValueHolderAttachedObjectTarget, and curTarget.getName() is
- equal to curTargetName, consider it a match. If curHandler is an
- instance of ValueHolderAttachedObjectHandler and curTarget is an
- instance of ValueHolderAttachedObjectTarget, and curTarget.getName()
- is equal to curTargetName, consider it a match. If curHandler is an
- instance of BehaviorHolderAttachedObjectHandler and curTarget is an
- instance of BehaviorHolderAttachedObjectTarget, and either of the
- following conditions are true, curHandler.getEventName() is not null
- and is equal to curTargetName. curHandler.getEventName() is null and
- curTarget.isDefaultEvent() is true. consider it a match. The
- implementation must support retargeting attached objects from the top
- level compsite component to targets that are composite and
- non-composite components. An implementation is provided that will
- throw UnsupportedOperationException. A Faces implementation compliant
- with version 2.0 and beyond of the specification must override this
- method.
-
- Assuming the component metadata for argument topLevelComponent has
- been made available by an earlier call to
- ViewDeclarationLanguage#getComponentMetadata, leverage the component
- metadata for the purpose of re-targeting any method expressions from
- the top level component to the appropriate inner component. For each
- attribute that is a MethodExpression (as indicated by the presence of
- a "method-signature" attribute and the absence of a "type" attribute),
- the following action must be taken: Get the value of the targets
- attribute. If the value is a ValueExpression evaluate it. If there is
- no targets attribute, let the name of the metadata element be the
- evaluated value of the targets attribute. Interpret targets as a space
- (not tab) separated list of ids. For each entry in the list: Find the
- inner component of the topLevelComponent with the id equal to the
- current list entry. For discussion, this component is called target.
- If not found, log and error and continue to the next attribute. For
- discussion the declared name of the attribute is called name. In the
- attributes map of the topLevelComponent, look up the entry under the
- key name. Assume the result is a ValueExpression. For discussion, this
- is attributeValueExpression. If not found, log an error and continue
- to the next attribute. If name is equal to the string "action", or
- "actionListener" without the quotes, assume target is an
- jakarta.faces.component.ActionSource2. If name is equal to the string
- "validator", or "valueChangeListener" without the quotes, assume
- target is an jakarta.faces.component.EditableValueHolder. Call
- getExpressionString() on the attributeValueExpression and use that
- string to create a MethodExpression of the appropriate signature for
- name. If name is not equal to any of the previously listed strings,
- call getExpressionString() on the attributeValueExpression and use
- that string to create a MethodExpression where the signature is
- created based on the value of the "method-signature" attribute of the
- tag. Let the resultant MethodExpression be called
- attributeMethodExpression for discussion. If name is equal to the
- string "action" without the quotes, call
- jakarta.faces.component.ActionSource2#setActionExpression on target,
- passing attributeMethodExpression. If name is equal to the string
- "actionListener" without the quotes, call
- jakarta.faces.component.ActionSource#addActionListener on target,
- passing attributeMethodExpression wrapped in a
- jakarta.faces.event.MethodExpressionActionListener. If name is equal to
- the string "validator" without the quotes, call
- jakarta.faces.component.EditableValueHolder#addValidator on target,
- passing attributeMethodExpression wrapped in a
- jakarta.faces.validator.MethodExpressionValidator. If name is equal to
- the string "valueChangeListener" without the quotes, call
- jakarta.faces.component.EditableValueHolder#addValueChangeListener on
- target, passing attributeMethodExpression wrapped in a
- jakarta.faces.event.MethodExpressionValueChangeListener. Otherwise,
- assume that the MethodExpression should be placed in the components
- attribute set. The runtme must create the MethodExpression instance
- based on the value of the "method-signature" attribute. An
- implementation is provided that will throw
- UnsupportedOperationException. A Faces implementation compliant with
- version 2.0 and beyond of the specification must override this method.
-
Return
- the ViewDeclarationLanguage instance suitable for handling the VDL
- contained in the page referenced by the argument viewId. The default
- implementation must return a valid ViewDeclarationLanguage instance
- for views written in either JSP or Facelets for JSF 2.
If this
- factory has been decorated, the implementation doing the decorating
- may override this method to provide access to the implementation being
- wrapped. A default implementation is provided that returns null.
Creates
- a new UIViewRoot containing only view parameter metadata. The
- processing of building this UIViewRoot with metadata should not cause
- any events to be published to the application. The implementation must
- call FacesContext#setProcessingEvents passing false as the argument,
- at the beginning of the method, and pass true to the same method at
- the end. The implementation must ensure that this happens regardless
- of ant exceptions that may be thrown.
-
-
- Leverage the TagHandlerDelegateFactory provided by the implementation
- to create an instance of TagHandlerDelegate designed for use with
- ComponentHandler.
- Determine if the passed component is not null and if it's new to the
- tree. This operation can be used for determining if attributes should
- be wired to the component.
Return
- an abstraction that takes appropriate action given the kind of rule
- represented by the argument name, in the context of this particular
- concrete subclass of MetaRule. The abstraction must encapsulate the
- value from the argument attribute.
- Customize this MetaRuleset by removing the attribute named by argument
- attribute and re-adding it under the name given by the argument
- property, returning this.
Every
- TagHandler instance is associated with a Tag. Each Tag instance has a
- TagAttributes property, which is simply a collection of TagAttribute
- instances. Extract and save as protected instance variables the
- TagConfig#getTagId, TagConfig#getTag and TagConfig#getNextHandler
- returns from the argument TagConfig. This constructor is only called
- when the Facelets View is compiled.
- Retrieve the id of the validator that is to be created and added to
- the parent EditableValueHolder. All subclasses should override this
- method because it is important for Facelets to have a unique way of
- identifying the validators that are added to this EditableValueHolder
- and allows exclusions to work properly. An exclusion is a validator
- declaration that has the attribute "disabled" which resolves to false,
- instructing Facelets not to register a default validator with the same
- id.
-
-
-
- Register the specified attribute name and value with the UIComponent
- instance associated with our most immediately surrounding
- UIComponentTag instance, if this UIComponent does not already have a
- value for the specified attribute name.
Create
- a new instance of the specified Converter class, and register it with
- the UIComponent instance associated with our most immediately
- surrounding UIComponentClassicTagBase instance, if the UIComponent
- instance was created by this execution of the containing JSP page. If
- the localValue of the UIComponent is a String, attempt to convert it.
-
Create
- a new instance of the specified Converter class, and register it with
- the UIComponent instance associated with our most immediately
- surrounding UIComponentTag instance, if the UIComponent instance was
- created by this execution of the containing JSP page. If the
- localValue of the UIComponent is a String, attempt to convert it.
Set the
- expression that will be used to create a ValueExpression that
- references a backing bean property of the Converter instance to be
- created.
if, for
- any reason, the startup of this Faces application failed. This
- includes errors in the config file that is parsed before or during the
- processing of this init() method.
Process
- an incoming request, and create the corresponding response according
- to the following specification. If the request and response arguments
- to this method are not instances of HttpServletRequest and
- HttpServletResponse, respectively, the results of invoking this method
- are undefined. This method must respond to requests that start with
- the following strings by invoking the sendError method on the response
- argument (cast to HttpServletResponse), passing the code
- HttpServletResponse.SC_NOT_FOUND as the argument. /WEB-INF/ /WEB-INF
- /META-INF/ /META-INF If none of the cases described above in the
- specification for this method apply to the servicing of this request,
- the following action must be taken to service the request. Acquire a
- FacesContext instance for this request. Acquire the ResourceHandler
- for this request by calling
- jakarta.faces.application.Application#getResourceHandler. Call
- jakarta.faces.application.ResourceHandler#isResourceRequest. If this
- returns true call
- jakarta.faces.application.ResourceHandler#handleResourceRequest. If this
- returns false, call jakarta.faces.lifecycle.Lifecycle#execute followed
- by jakarta.faces.lifecycle.Lifecycle#render. If a
- jakarta.faces.FacesException is thrown in either case, extract the cause
- from the FacesException. If the cause is null extract the message from
- the FacesException, put it inside of a new ServletException instance,
- and pass the FacesException instance as the root cause, then rethrow
- the ServletException instance. If the cause is an instance of
- ServletException, rethrow the cause. If the cause is an instance of
- IOException, rethrow the cause. Otherwise, create a new
- ServletException instance, passing the message from the cause, as the
- first argument, and the cause itself as the second argument. In a
- finally block, jakarta.faces.context.FacesContext#release must be
- called.
Create
- and return a A new ExceptionHandler instance. The implementation must
- return an ExceptionHandler instance suitable for the environment. For
- example, in some cases it may be desirable for an ExceptionHandler to
- write error information to the response instead of throwing exceptions
- as in the case of Ajax applications.
Perform
- any processing necessary to handle the content implications of CASE 3
- in the class description. The default implementation, which is
- intended to be sufficient for most components, calls
- #createVerbatimComponentFromBodyContent on this instance and adds it
- as a child of the component for this tag's component at the end of the
- child list. In addition, the following housekeeping steps are taken.
- Retrieve from the UIComponent the set of component ids of child
- components created by UIComponentTag instances the last time this page
- was processed (if any). Compare it to the list of children created
- during this page processing pass, and remove all children present in
- the old list but not the new. Save the new list as a component
- attribute so that it gets saved as part of the component's state.
- Retrieve from the UIComponent the set of facet names of facets created
- by UIComponentTag instances the last time this page was processed (if
- any). Compare it to the list of facets created during this page
- processing pass, and remove all facets present in the old list but not
- the new. Save the new list as a component attribute so that it gets
- saved as part of the component's state. Release all references to the
- component, and pop it from the component stack for this response,
- removing the stack if this was the outermost component. The flag value
- to be returned is acquired by calling the getDoEndValue() method,
- which tag subclasses may override if they do not want the default
- value.
Prepare
- for evaluation of the body. This method is invoked by the JSP page
- implementation object after setBodyContent() and before the first time
- the body is to be evaluated. This method will not be invoked for empty
- tags or for non-empty tags whose doStartTag() method returns SKIP_BODY
- or EVAL_BODY_INCLUDE.
Perform
- any processing necessary to find (or create) the UIComponent instance
- in the view corresponding to this tag instance in the page and, if and
- only if a component was created, insert it into the tree at the proper
- location as expected by the page author. Secondarily, cause a
- transient UIOutput component to be created and placed in the tree
- before the UIComponent instance for this tag. The value of this
- UIOutput component must include anything covered by CASE 1 or CASE 2
- in the class description. The default implementation, which is
- intended to be sufficient for most components, implements this
- secondary requirement by calling #getParentUIComponentClassicTagBase,
- and calling #createVerbatimComponentFromBodyContent on the result. It
- then adds the returned component to the tree before the actual
- component for this tag instance instance by calling
- #addVerbatimBeforeComponent. Before returning, the component is pushed
- onto the component stack for this response to enable the
- #getParentUIComponentClassicTagBase method to work properly. The flag
- value to be returned is acquired by calling the getDoStartValue()
- method, which tag subclasses may override if they do not want the
- default value.
Return
- the UIComponent instance that is associated with this tag instance.
- This method is designed to be used by tags nested within this tag, and
- only returns useful results between the execution of doStartTag() and
- doEndTag() on this tag instance.
Return
- true if we dynamically created a new component instance during
- execution of this tag. This method is designed to be used by tags
- nested within this tag, and only returns useful results between the
- execution of doStartTag() and doEndTag() on this tag instance.
Set the
- bodyContent for this tag handler. This method is invoked by the JSP
- page implementation object at most once per action invocation, before
- doInitiBody(). This method will not be invoked for empty tags or for
- non-empty tags whose doStartTag() method returns SKIP_BODY or
- EVAL_BODY_INCLUDE.
Defined
- on JspIdConsumer. This method is called by the container before
- #doStartTag. The argument is guaranteed to be unique within the page.
- IMPLEMENTATION NOTE: This method will detect where we are in an
- include and assign a unique ID for each include in a particular
- 'logical page'. This allows us to avoid possible duplicate ID
- situations for included pages that have components without explicit
- IDs.
Return
- true if the specified value conforms to the syntax requirements of a
- value binding expression. Such expressions ` * may be used on most
- component tag attributes to signal a desire for deferred evaluation of
- the attribute or property value to be set on the underlying
- UIComponent.
Return
- the UIComponent instance that is associated with this tag instance.
- This method is designed to be used by tags nested within this tag, and
- only returns useful results between the execution of doStartTag() and
- doEndTag() on this tag instance.
Return
- the component type for the component that is or will be bound to this
- tag. This value can be passed to
- jakarta.faces.application.Application#createComponent to create the
- UIComponent instance for this tag. Subclasses must override this
- method to return the appropriate value.
Return
- true if we dynamically created a new component instance during
- execution of this tag. This method is designed to be used by tags
- nested within this tag, and only returns useful results between the
- execution of doStartTag() and doEndTag() on this tag instance.
Return
- the rendererType property that selects the Renderer to be used for
- encoding this component, or null to ask the component to render itself
- directly. Subclasses must override this method to return the
- appropriate value.
Set the
- component identifier for the component corresponding to this tag
- instance. If the argument begins with
- jakarta.faces.component.UIViewRoot#UNIQUE_ID_PREFIX throw an
- IllegalArgumentException
Create
- a new instance of the specified Validator class, and register it with
- the UIComponent instance associated with our most immediately
- surrounding UIComponentTagBase instance, if the UIComponent instance
- was created by this execution of the containing JSP page.
Create
- a new instance of the specified Validator class, and register it with
- the UIComponent instance associated with our most immediately
- surrounding UIComponentTag instance, if the UIComponent instance was
- created by this execution of the containing JSP page.
Set the
- expression that will be used to create a ValueExpression that
- references a backing bean property of the Validator instance to be
- created.
Jakarta Server Faces 3.0
- Specification Assertion Detail
-
-
-
-
Totals
Total
Active
Deprecated
Removed
-
-
- # of Assertions
-
653
653
0
0
-
-
-
- # of Required Assertions
-
653
653
0
0
-
-
-
- # of Optional Assertions
-
0
0
0
0
-
-
-
-
-
ID
Chapter
Section
Description
Required
Dependency
Implementation Specific
Defined by
Status
Testable
-
-
JSF:SPEC:1
2
2.1
- The JSF implementation must perform the following tasks during
- the Restore View phase of the request processing lifecycle:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.1
2
2.1
- Examine the FacesContext instance for the current
- request. If it already contains a UIViewRoot:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.1.1
2
2.1
- Set the locale on the UIViewRoot to the value
- returned by getRequestLocale() method on the
- ExternalContext for this request
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.1.2
2
2.1
- For each component in the component tree,
- determine if a ValueExpression for binding is
- present. If so, call the setValue() method on
- this ValueExpression, passing the component
- instance on which it was found.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.1.3
2
2.1
- Take no further action during this phase, and
- return.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.2
2
2.1
- Derive the view identifier that corresponds to this
- request, as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.2.1
2
2.1
- If prefix mapping (such as /faces/*) is
- used for FacesServlet, the viewId is set from
- the extra path information of the request
- URI.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.2.2
2
2.1
- If suffix mapping (such as *.faces) is used for
- FacesServlet, the viewId is set from the servlet
- path information of the request URI, after
- replacing the suffix with the value of the
- context initialization parameter named by the
- symbolic constant
- ViewHandler.DEFAULT_SUFFIX_PARAM_NAME (if no
- such context initialization parameter is
- present, use the value of the symbolic constant
- ViewHandler.DEFAULT_SUFIX as the replacement
- suffix).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.2.3
2
2.1
- If no view identifier can be derived, throw an
- exception.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.3
2
2.1
- Determine if this request is a postback or initial
- request by executing the following algorithm. Find the
- render-kit-id for the current request by calling
- calculateRenderKitId() on the Application's ViewHandler.
- Get the RenderKit's ResponseStateManager and call its
- isPostback() method, passin gthe current FacesContext
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.4
2
2.1
- A request that is a non-postback request must call
- FacesContext.renderResponse() to cause intervening
- phases to be skipped.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.5
2
2.1
- If the request is a postback, call
- ViewHandler.restoreView() passing the FacesCOntext
- isntance for the current request and the derived view
- identifier, and returning a UIViewRoot for the restored
- view. If the return from ViewHandler.restoreView() is
- null, throw a FacesException with an appropriate error
- message.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.5.1
2
2.1
- For each component in the component tree,
- determine if a ValueExpression for binding is
- present. If so, call the setValeu() method on
- this ValueExpression, passing the component
- instance on which it was found. Do this in a
- parent-first fashion, calling setValue() method
- and then traversing the children.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.6
2
2.1
- If the request is a non-postback, call
- ViewHandler.createView(), passing the FacesContext
- instance for the current request and the derived view
- identifier.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:1.7
2
2.1
- Store the restored or created UIViewRoot in the
- FacesContext
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:2
2
2.2
- During the Apply Request Values phase, the JSF implementation
- must call the processDecodes() method of the UIViewRoot of the
- component tree.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:3
2
2.2
- During the decoding of request values, some components perform
- special processing:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:3.1
2
2.2
- Components that implement ActionSource, which recognize
- that they were activated, will queue an ActionEvent.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:3.1.1
2
2.2
- The event will be delivered at the end of Apply
- Request Values phase if the immediate property
- is true
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:3.1.2
2
2.2
- The event will be delivered at the end of Invoke
- Application phase if the immediate property is
- false
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:3.2
2
2.2
- Components that implement EditableValueHolder, and whose
- immediate property is set to true, will cause the
- conversion and validation processing that normally
- happens during Process Validations phase to occur during
- Apply Requst Values phase instead.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:4
2
2.2
- If any of the decode() methods that were invoked, or an event
- listener that processed a queued event, called
- responseComplete() on the FacesContext instance for the current
- request, clear the remaining events from the event queue and
- terminate the lifecycle processing of the current request.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:5
2
2.2
- If any of the decode() methods that were invoked, or an event
- listener that processed a queued event, called renderResponse()
- on the FacesContext instance for the current request, clear the
- remaining events from the event queue and terminate the
- lifecycle processing of the current request.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:6
2
2.2
- If any of the decode() methods that were invoked, or an event
- listener that processed a queued event, did not call
- responseComplete() or renderResponse() on the FacesContext
- instance for the current request, the implementation must
- proceed to the Process Validations phase.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:7
2
2.3
- During the Process Validations phase of the request processing
- lifecycle, the JSF implementation must call the
- processValidators() method of the UIViewRoot of the tree.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:8
2
2.3
- If any of the validate() methods that were invoked, or an event
- listener that processed a queued event, called renderResponse()
- on the FacesContext instance for the current request, clear the
- remaining events from the event queue and transfer control to
- the Render Response phase of the request processing lifecycle.
- Otherwise, control must proceed to the Update Model Values
- phase.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:9
2
2.4
- During the Update Model Values phase, the JSF implementation
- must call the processUpdates() method of the UIViewRoot
- component of the tree.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:10
2
2.4
- If any of the updateModel() methods that was invoked,
- or an event listener that processed a queued event, called
- renderResponse() on the FacesContext instance for the current
- request, clear the remaining events from the event queue and
- transfer control to the Render Response phase of the request
- processing lifecycle. Otherwise, control must proceed to the
- Invoke Application phase.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:11
2
2.5
- The implementation must ensure that the processApplication()
- method of the UIViewRoot instance is called.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:11.1
2
2.5
- The default behavior of this method will be to broadcast
- any queued events that specify a phase identifier of
- PhaseId.INVOKE_APPLICATION.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:12
2
2.6
- During the Render Response phase All JSF implementations
- must conform to the following requirements.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:12.1
2
2.6
- JSF implementations must provide a default ViewHandler
- implementation that performs a
- RequestDispatcher.forward() call to a web application
- resource whose context-relative path is equal to the
- view identifier of the component tree
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:12.2
2
2.6
- During the rendering process, additional components may
- be added to the component tree based on information
- available to the ViewHandler implementation. However,
- before adding a new component, the ViewHandler
- implementation must first check for the existence of the
- corresponding component in the component tree. If the
- component already exists (perhaps because a previous
- phase has pre-created one or more components), the
- existing component’s properties and attributes must be
- utilized.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:12.3
2
2.6
- Under no circumstances should a component be selected
- for rendering when its parent component, or any of its
- ancestors in the component tree, has its rendersChildren
- property set to true. In such cases, the parent or
- ancestor component must render the content of this child
- component when the parent or ancestor was selected.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:13
2
3
- For each queued event, the broadcast() method of the source
- UIComponent must be called to broadcast the event to all event
- listeners who have registered an interest, on this source
- component for events of the specified type, after which the
- event is removed from the event queue.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:14
2
3
- It is also possible for event listeners to cause additional
- events to be enqueued for processing during the current phase
- of the request processing lifecycle. Such events must be
- broadcast in the order they were enqueued, after all originally
- queued events have been broadcast, before the lifecycle
- management method returns.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:15
2
4.2.1
- The UIViewRoot instance returned by the createView() method must
- minimally contain a single UIViewRoot provided by the JSF
- implementation, which must encapsulate any
- implementation-specific component management that is required.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:16
2
4.2.1
- The caller of ViewHandler.createView() must cause the
- FacesContext to be populated with the new UIViewRoot.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:17
2
4.2.2
- The default ViewHandler must call calculateRenderKitId() on
- itself and set the result into the UIViewRoot’s renderKitId
- property.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:18
2
4.2.4
- Once the view has been created and configured, the FacesContext
- instance for this request must be made aware of it by calling
- setViewRoot().
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:19
2
5.2.1
- The create ViewHandler’s createView() method must cause the
- active Locale to be determined by looking at the user’s
- preferences combined with the application’s stated supported
- locales.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:20
2
5.2.2
- At the beginning of the render-response phase, the ViewHandler
- must ensure that the response Locale is set to be that of the
- UIViewRoot, for example by calling ServletResponse.setLocale()
- when running in the servlet environment.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:21
2
5.2.2
- At the end of the render-response phase, the ViewHandler must
- store the response character encoding used by the underlying
- response object (e.g., the servlet or portlet response) in the
- session (if and only if a session already exists) under a well
- known, implementation-dependent key
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:21.1
2
5.2.2
- On a subsequent postback, before any of the
- ExternalContext methods for accessing request
- parameters are invoked, the ViewHandler must examine the
- Content-Type header to read the charset attribute and
- use its value to set it as the request encoding for the
- underlying request object. If the Content-Type header
- doesn't contain a charset attribute, the encoding
- previously stored in the session (if and only if a
- session already exists), must be used to set the
- encoding for the underlying request object.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:21.2
2
5.2.2
- If no character encoding is found, the request encoding
- must be left unmodified.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22
2
5.2.4
- A JSF implementation must provide a jakarta.faces.Messages
- ResourceBundle containing all of the necessary keys for the
- standard messages.
-
- jakarta.faces.component.UIInput.REQUIRED --
- {0}: Validation Error: Value is required
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.3
2
5.2.4
- jakarta.faces.component.UIInput.UPDATE --
- {0}: An error occurred when processing your submitted
- information
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.4
2
5.2.4
- jakarta.faces.component.UISelectOne.INVALID --
- {0}: Validation Error: Value is not valid
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.5
2
5.2.4
- jakarta.faces.component.UISelectMany.INVALID --
- {0}: Validation Error: Value is not valid
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.6
2
5.2.4
- jakarta.faces.converter.BigDecimalConverter.DECIMAL={2}:
- ''{0}'' must be a signed decimal number.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.7
2
5.2.4
- jakarta.faces.converter.BigDecimalConverter.DECIMAL_detail
- ={2}: ''{0}'' must be asigned decimal number consisting
- of zero or more digits, that may be followed by a
- decimal point and fraction. Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.8
2
5.2.4
- jakarta.faces.converter.BigIntegerConverter.BIGINTEGER
- ={2}: ''{0}'' must be a number consisting of one or more
- digits.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.9
2
5.2.4
- jakarta.faces.converter.BigIntegerConverter.BIGINTEGER_
- detail={2}: ''{0}'' must be a number consisting of one
- or more digits. Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.10
2
5.2.4
- jakarta.faces.converter.BooleanConverter.BOOLEAN={1}:
- ''{0}'' must be 'true' or 'false'.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.11
2
5.2.4
- jakarta.faces.converter.BooleanConverter.BOOLEAN_detail
- ={1}: ''{0}'' must be 'true' or 'false'. Any value other
- than 'true' will evaluate to 'false'.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.12
2
5.2.4
- jakarta.faces.converter.ByteConverter.BYTE={2}: ''{0}''
- must be a number between 0 and 255.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.13
2
5.2.4
- jakarta.faces.converter.ByteConverter.BYTE_detail={2}:
- ''{0}'' must be a number between 0 and 255. Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.14
2
5.2.4
- jakarta.faces.converter.CharacterConverter.CHARACTER={1}:
- ''{0}'' must be a valid character.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.15
2
5.2.4
- jakarta.faces.converter.CharacterConverter.CHARACTER_
- detail={1}: ''{0}'' must be a valid ASCII character.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.16
2
5.2.4
- jakarta.faces.converter.DateTimeConverter.DATE={2}:
- ''{0}'' could not be understood as a date.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.17
2
5.2.4
- jakarta.faces.converter.DateTimeConverter.DATE_detail={2}:
- ''{0}'' could not be understood as a date. Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.18
2
5.2.4
- jakarta.faces.converter.DateTimeConverter.TIME={2}:
- ''{0}'' could not be understood as a time.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.19
2
5.2.4
- jakarta.faces.converter.DateTimeConverter.TIME_detail={2}:
- ''{0}'' could not be understood as a time. Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.20
2
5.2.4
- jakarta.faces.converter.DateTimeConverter.DATETIME={2}:
- ''{0}'' could not be understood as a date and time.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.21
2
5.2.4
- jakarta.faces.converter.DateTimeConverter.DATETIME_detail=
- {2}: ''{0}'' could not be understood as a date and time.
- Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.22
2
5.2.4
- jakarta.faces.converter.DateTimeConverter.PATTERN_TYPE=
- {1}: A 'pattern' or 'type' attribute must be specified
- to convert the value ''{0}''.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.23
2
5.2.4
- jakarta.faces.converter.DoubleConverter.DOUBLE={2}:
- ''{0}'' must be a number consisting of one or more
- digits.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.24
2
5.2.4
- jakarta.faces.converter.DoubleConverter.DOUBLE_detail={2}:
- ''{0}'' must be a number between 4.9E-324 and
- 1.7976931348623157E308 Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.25
2
5.2.4
- jakarta.faces.converter.EnumConverter.ENUM={2}: ''{0}''
- must be convertible to an enum.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.26
2
5.2.4
- jakarta.faces.converter.EnumConverter.ENUM_detail={2}:
- ''{0}'' must be convertible to an enum from the enum
- that contains the constant ''{1}''.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.27
2
5.2.4
- jakarta.faces.converter.EnumConverter.ENUM_NO_CLASS={1}:
- ''{0}'' must be convertible to an enum from the enum,
- but no enum class provided.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.28
2
5.2.4
- jakarta.faces.converter.EnumConverter.ENUM_NO_CLASS_detail
- ={1}: ''{0}'' must be convertible to an enum from the
- enum, but no enum class provided.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.29
2
5.2.4
- jakarta.faces.converter.FloatConverter.FLOAT={2}: ''{0}''
- must be a number consisting of one or more digits.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.30
2
5.2.4
- jakarta.faces.converter.FloatConverter.FLOAT_detail={2}:
- ''{0}'' must be a number between 1.4E-45 and
- 3.4028235E38 Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.31
2
5.2.4
- jakarta.faces.converter.IntegerConverter.INTEGER={2}:
- ''{0}'' must be a number consisting of one or more
- digits.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.32
2
5.2.4
- jakarta.faces.converter.IntegerConverter.INTEGER_detail=
- {2}: ''{0}'' must be a number between -2147483648
- and 2147483647 Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.33
2
5.2.4
- jakarta.faces.converter.LongConverter.LONG={2}: ''{0}''
- must be a number consisting of one or more digits.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.34
2
5.2.4
- jakarta.faces.converter.LongConverter.LONG_detail={2}:
- ''{0}'' must be a number between -9223372036854775808
- to 9223372036854775807 Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.35
2
5.2.4
- jakarta.faces.converter.NumberConverter.CURRENCY={2}:
- ''{0}'' could not be understood as a currency value.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.36
2
5.2.4
- jakarta.faces.converter.NumberConverter.CURRENCY_detail=
- {2}: ''{0}'' could not be understood as a currency value.
- Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.37
2
5.2.4
- jakarta.faces.converter.NumberConverter.PERCENT={2}:
- ''{0}'' could not be understood as a percentage.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.38
2
5.2.4
- jakarta.faces.converter.NumberConverter.PERCENT_detail=
- {2}: ''{0}'' could not be understood as a percentage.
- Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.39
2
5.2.4
- jakarta.faces.converter.NumberConverter.NUMBER={2}:
- ''{0}'' is not a number.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.40
2
5.2.4
- jakarta.faces.converter.NumberConverter.NUMBER_detail={2}:
- ''{0}'' is not a number. Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.41
2
5.2.4
- jakarta.faces.converter.NumberConverter.PATTERN={2}:
- ''{0}'' is not a number pattern.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.42
2
5.2.4
- jakarta.faces.converter.NumberConverter.PATTERN_detail=
- {2}: ''{0}'' is not a number pattern. Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.43
2
5.2.4
- jakarta.faces.converter.ShortConverter.SHORT={2}: ''{0}''
- must be a number consisting of one or more digits.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.44
2
5.2.4
- jakarta.faces.converter.ShortConverter.SHORT_detail={2}:
- ''{0}'' must be a number between -32768 and 32767
- Example: {1}
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.45
2
5.2.4
- jakarta.faces.converter.STRING={1}: Could not convert
- ''{0}'' to a string.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.46
2
5.2.4
- jakarta.faces.validator.DoubleRangeValidator.MAXIMUM --
- {1}: Validation Error: Value is greater than allowable
- maximum of ‘’{0}’’
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.47
2
5.2.4
- jakarta.faces.validator.DoubleRangeValidator.MINIMUM --
- {1}: Validation Error: Value is less than allowable
- minimum of ‘’{0}’’
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.48
2
5.2.4
- jakarta.faces.validator.DoubleRangeValidator.NOT_IN_RANGE
- -- {2}: Validation Error: Specified attribute is not
- between the expected values of {0} and {1}.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.49
2
5.2.4
- jakarta.faces.validator.DoubleRangeValidator.TYPE -- {0}:
- Validation Error: Value is not of the correct type
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.50
2
5.2.4
- jakarta.faces.validator.LengthValidator.MAXIMUM -- {1}:
- Validation Error: Value is greater than allowable
- maximum of ‘’{0}’’
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.51
2
5.2.4
- jakarta.faces.validator.LengthValidator.MINIMUM -- {1}:
- Validation Error: Value is less than allowable minimum
- of ‘’{0}’’
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.52
2
5.2.4
- jakarta.faces.validator.LongRangeValidator.MAXIMUM --
- {1}: Validation Error: Value is greater than allowable
- maximum of ‘’{0}’’
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.53
2
5.2.4
- jakarta.faces.validator.LongRangeValidator.MINIMUM -- {1}:
- Validation Error Value is less than allowable minimum of
- ‘’{0}’’
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.54
2
5.2.4
- jakarta.faces.validator.LongRangeValidator.NOT_IN_RANGE=
- {2}: Validation Error: Specified attribute is not
- between the expected values of {0} and {1}.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:22.55
2
5.2.4
- jakarta.faces.validator.LongRangeValidator.TYPE -- {0}:
- Validation Error: Value is not of the correct type
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:23
2
5.2.4
- These ResourceBundle keys must be used to look up the necessary
- values to create a localized FacesMessage instance. Note that
- the value of the summary and detail keys in the ResourceBundle
- may contain parameter substitution tokens, which must be
- substituted with the appropriate values using
- java.text.MessageFormat.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:24
2
5.2.4
- The following algorithm must be used to create a FacesMessage
- instance given a message key.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:24.1
2
5.2.4
- Call getMessageBundle() on the Application instance for
- this web application, to determine if the application
- has defined a resource bundle name. If so, load that
- ResourceBundle and look for the message there.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:24.2
2
5.2.4
- If not there, look in the jakarta.faces.Messages
- resource bundle.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:25
2
5.3.1
- A custom component that extends UIComponent directly, and does
- not extend any of the standard components must implement
- StateHolder manually.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:26
2
5.3.1
- A custom component that does extend from one of the standard
- components and maintains its own state, in addition to the state
- maintained by the superclass must take special care to implement
- StateHolder correctly. Notably, calls to saveState() must not
- alter the state in any way.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:27
3
1.1
- Every User Interface component may be named by a component
- identifier, which (if utilized) must be unique among the
- components that share a common naming container parent in a
- component tree.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:28
3
1.1
- Component identifiers must conform to the following rules:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:28.1
3
1.1
- They must start with a letter (as defined by the
- Character.isLetter() method).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:28.2
3
1.1
- Subsequent characters may be letters (as defined by the
- Character.isLetter() method), digits as defined by the
- Character.isDigit() method, dashes (‘-’), and
- underscores (‘_’).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:29
3
1.4
- The implementation of setValueExpression must detemine if the
- expression is a literal by calling
- ValueExpression.isLiteralText() on the expression argument.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:29.1
3
1.4
- If the expression argument is literal text, then
- ValueExpression.getValue() must be called on the
- expression argument.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:29.2
3
1.4
- The result must be used as the value argument, along
- with the name argument to this component
- getAttributes().put(name,value) method call.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:30
3
1.4
- For the standard component classes defined by this
- specification, all attributes, and all properties other than id
- and parent, are value expression enabled.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:31
3
1.5
- The specified ValueExpression must point to a read-write
- JavaBeans property of type UIComponent(or appropriate subclass).
- Such a component binding is used at two different times
- during the processing of a Faces Request:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:31.1
3
1.5
- When a component instance is first created (typically by
- virtue of being referenced by a UIComponentELTag in a
- JSP page), the JSF implementation will retrieve the
- ValueExpression for the name binding, and call
- getValue() on it.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:31.1.1
3
1.5
- If this call returns a non-null UIComponent
- value (because the JavaBean programmatically
- instantiated and configured a component
- already), that instance will be added to the
- component tree that is being created.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:31.1.2
3
1.5
- If the call returns null, a new component
- instance will be created, added to the component
- tree, and setValue() will be called on the
- ValueBinding (which will cause the property on
- the JavaBean to be set to the newly created
- component instance).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:31.2
3
1.5
- When a component tree is recreated during the Restore
- View phase of the request processing lifecycle, for each
- component that has a ValueExpression associated with the
- name “binding”, setValue() will be called on it, passing
- the recreated component instance.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:32
3
1.7
- The UIComponent.getChildren() method returns a mutable List.
- The returned List implementation must support all of the
- required and optional methods of the List interface, as well as
- update the parent property of children that are added and
- removed, as described in the Javadocs for this method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:33
3
1.7
- If there are no children, the getChildCount() method must
- return 0.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:34
3
1.7
- The getChildCount() must not cause the creation of a child
- component list, so it is preferred over calling
- getChildren().size() when there are no children.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:35
3
1.10
- The Map returned by getAttributes() must also support
- attribute-property transparency, which operates as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:35.1
3
1.10
- When the get() method is called, if the specified
- attribute name matches the name of a readable JavaBeans
- property on the component implementation class, the
- value returned will be acquired by calling the
- appropriate property getter method, and wrapping Java
- primitive values (such as int) in their corresponding
- wrapper classes (such as java.lang.Integer) if
- necessary. If the specified attribute name does not
- match the name of a readable JavaBeans property on the
- component implementation class, consult the internal
- data-structure to in which generic attributes are
- stored. If no entry exists in the internal
- data-structure, see if there is a ValueExpression for
- this attribute name by calling getValueExpression(),
- passing the attribute name as the key. If a
- ValueExpression exists, call getValue() on it, returning
- the result. If an ELException is thrown wrap it in a
- FacesException and re-throw it.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:35.2
3
1.10
- When the put() method is called, if the specified
- attribute name matches the name of a writable JavaBeans
- property on the component implementation class, the
- appropriate property setter method will be called. If
- the specified attribute name does not match the name of
- a writable JavaBeans property, simply put the value in
- the data-structure for generic attributes.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:35.3
3
1.10
- When the remove() method is called, if the specified
- attribute name matches the name of a JavaBeans property
- on the component, an IllegalArgumentException must be
- thrown.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:35.4
3
1.10
- When the containsKey() method is called, if the
- specified attribute name matches the name of a JavaBeans
- property, return false. Otherwise, return true if and
- only if the specified attribute name exists in the
- internal data-structure for the generic attributes.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36
3
1.10
- The following converter id values must be registered to create
- instances of the specified Converter implementation classes:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36.1
3
3.3
- jakarta.faces.BigDecimal -- An instance of
- jakarta.faces.convert.BigDecimalConverter (or a subclass
- of this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36.2
3
3.3
- jakarta.faces.BigInteger -- An instance of
- jakarta.faces.convert.BigIntegerConverter (or a subclass
- of this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36.3
3
3.3
- jakarta.faces.Boolean -- An instance of
- jakarta.faces.convert.BooleanConverter (or a subclass
- of this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36.4
3
3.3
- jakarta.faces.Byte -- An instance of
- jakarta.faces.convert.ByteConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36.5
3
3.3
- jakarta.faces.Character -- An instance of
- jakarta.faces.convert.CharacterConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36.6
3
3.3
- jakarta.faces.DateTime -- An instance of
- jakarta.faces.convert.DateTimeConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36.7
3
3.3
- jakarta.faces.Double -- An instance of
- jakarta.faces.convert.DoubleConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36.8
3
3.3
- jakarta.faces.Float -- An instance of
- jakarta.faces.convert.FloatConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36.9
3
3.3
- jakarta.faces.Integer -- An instance of
- jakarta.faces.convert.IntegerConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36.10
3
3.3
- jakarta.faces.Long -- An instance of
- jakarta.faces.convert.LongConverter (or a subclass of this
- class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36.11
3
3.3
- jakarta.faces.Number -- An instance of
- jakarta.faces.convert.NumberConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:36.12
3
3.3
- jakarta.faces.Short -- An instance of
- jakarta.faces.convert.ShortConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:37
3
3.3
- A JSF implementation must register converters for all of the
- following classes using the by-type registration mechanism:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:37.1
3
3.3
- java.math.BigDecimal, and java.math.BigDecimal.TYPE --
- An instance of jakarta.faces.convert.BigDecimalConverter
- (or a subclass of this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:37.2
3
3.3
- java.math.BigInteger, and java.math.BigInteger.TYPE --
- An instance of jakarta.faces.convert.BigIntegerConverter
- (or a subclass of this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:37.3
3
3.3
- java.lang.Boolean, and java.lang.Boolean.TYPE -- An
- instance of jakarta.faces.convert.BooleanConverter
- (or a subclass of this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:37.4
3
3.3
- java.lang.Byte, and java.lang.Byte.TYPE -- An instance
- of jakarta.faces.convert.ByteConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:37.5
3
3.3
- java.lang.Character, and java.lang.Character.TYPE -- An
- instance of jakarta.faces.convert.CharacterConverter
- (or a subclass of this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:37.6
3
3.3
- java.lang.Double, and java.lang.Double.TYPE -- An
- instance of jakarta.faces.convert.DoubleConverter (or a
- subclass of this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:37.7
3
3.3
- java.lang.Float, and java.lang.Float.TYPE -- An instance
- of jakarta.faces.convert.FloatConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:37.8
3
3.3
- java.lang.Integer, and java.lang.Integer.TYPE -- An
- instance of jakarta.faces.convert.IntegerConverter (or a
- subclass of this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:37.9
3
3.3
- java.lang.Long, and java.lang.Long.TYPE -- An instance
- of jakarta.faces.convert.LongConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:37.10
3
3.3
- java.lang.Short, and java.lang.Short.TYPE -- An instance
- of jakarta.faces.convert.ShortConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:37.11
3
3.3
- java.lang.Enum, and java.lang.Enum.TYPE -- An instance
- of jakarta.faces.convert.EnumConverter (or a subclass of
- this class).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:38
3
3.3
- A compliant implementation must allow the registration of a
- converter for class java.lang.String and java.lang.String.TYPE
- that will be used to convert values for these types.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:39
3
4.5
- A concrete UIComponent subclass that emits events of a
- particular type must include public methods to register and
- deregister a listener implementation.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:40
3
5.5
- The following standard Validator implementations (in the
- jakarta.faces.validator package) are provided:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:40.1
3
4.5
- DoubleRangeValidator—Checks the local value of a
- component, which must be of any numeric type, against
- specified maximum and/or minimum values. Standard
- identifier is “jakarta.faces.DoubleRange”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:40.2
3
4.5
- LengthValidator—Checks the length (i.e. number of
- characters) of the local value of a component, which
- must be of type String, against maximum and/or minimum
- values. Standard identifier is “jakarta.faces.Length”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:40.3
3
4.5
- LongRangeValidator—Checks the local value of a
- component, which must be of any numeric type convertible
- to long, against maximum and/or minimum values. Standard
- identifier is “jakarta.faces.LongRange”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:40.4
3
4.5
- MethodExpressionValidator—Wraps a MethodExpression and
- interprets it as pointing to a method that performs
- validation. Any exception thrown when the expression
- is invoked is wrapped in a ValidatorException in similar
- fashion as the above validators.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:41
4
1
- The implementation for each standard UIComponent class
- must specify two public static final String constant values:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:41.1
4
1
- COMPONENT_TYPE -- The standard component type identifier
- under which the corresponding component class is
- registered with the Application object for this
- application. This value may be used as a parameter to
- the createComponent() method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:41.2
4
1
- COMPONENT_FAMILY -- The standard component family
- identifier used to select an appropriate Renderer for
- this component.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:42
4
1.1.2
- UIColumn specializes the behavior of render-independent
- properties inherited from the parent class as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:42.1
4
1.1.2
- The default value of the family property must be set to
- “jakarta.faces.Column”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:42.2
4
1.1.2
- The default value of the rendererType property must be
- set to null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:43
4
1.2.2
- UICommand components specialize the behavior of
- renderindependent properties inherited from the parent class as
- follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:43.1
4
1.2.2
- The default value of the family property must be set to
- “jakarta.faces.Command”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:43.2
4
1.2.2
- The default value of the rendererType property must be
- set to “jakarta.faces.Button”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:44
4
1.3.2
- UIData specializes the behavior of render-independent properties
- inherited from the parent component as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:44.1
4
1.3.2
- The default value of the family property must be set to
- “jakarta.faces.Data”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:44.2
4
1.3.2
- The default value of the rendererType property must be
- set to “jakarta.faces.Table”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:45
4
1.3.2
- A DataModel wrapper instance must automatically be provided by
- the JSF implementation if the current value is of one of the
- following types:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:45.1
4
1.3.2
- java.util.List
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:45.2
4
1.3.2
- Array of java.util.Object
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:45.3
4
1.3.2
- java.sql.ResultSet (which therefore also supports
- javax.sql.RowSet)
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:45.4
4
1.3.2
- jakarta.servlet.jsp.jstl.sql.Result
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:45.5
4
1.3.2
- Any other Java object is wrapped by a DataModel instance
- with a single row
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:46
4
1.3.3
- UIData specializes the behavior of the processDecodes(),
- processValidators(), and processUpdates() methods inherited from
- its parent as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:46.1
4
1.3.3
- For each of these methods, the UIData implementation
- must iterate over each row in the underlying data model,
- starting with the row identified by the first property,
- for the number of rows indicated by the rows property,
- by calling the setRowIndex() method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:46.2
4
1.3.3
- When iteration is complete, set the rowIndex property of
- this component, and of the underlying DataModel, to
- zero, and remove any request attribute exposed via the
- var property.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:47
4
1.4.1
- The encodeEnd() method of the renderer for UIForm must call
- ViewHandler.writeState() before writing out the markup for the
- closing tag of the form.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:48
4
1.4.2
- UIForm specializes the behavior of render-independent properties
- inherited from the parent component as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:48.1
4
1.4.2
- The default value of the family property must be set to
- “jakarta.faces.Form”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:48.2
4
1.4.2
- The default value of the rendererType property must be
- set to “jakarta.faces.Form”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:49
4
1.4.3
- The setSubmitted() method of each UIForm instance in the view
- must be called during the Apply Request Values phase of the
- request processing lifecycle, during the processing performed by
- the UIComponent.decode() method. If this UIForm instance
- represents the form actually being submitted on this request,
- the parameter must be set to true; otherwise, it must be set to
- false.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:50
4
1.4.3
- The value of a UIForm's submitted property must not be saved as
- part of its state.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:51
4
1.4.3
- The saveState() method of UIForm must call setSubmitted(false)
- before calling super.saveState().
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:52
4
1.4.3
- Override the parent method to ensure that children of this
- UIForm instance in the view have the form’s clientId prepended
- to their clientIds if and only if the form’s prependId property
- is true.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:53
4
1.5.2
- UIGraphic specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:53.1
4
1.5.2
- The default value of the family property must be set to
- “jakarta.faces.Graphic”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:53.2
4
1.5.2
- The default value of the rendererType property must be
- set to “jakarta.faces.Image”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:54
4
1.6.2
- UIInput specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:54.1
4
1.6.2
- The default value of the family property must be set to
- “jakarta.faces.Input”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:54.2
4
1.6.2
- The default value of the rendererType property must be
- set to “jakarta.faces.Text”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:54.3
4
1.6.2
- The Converter specified by the converter property (if
- any) must also be used to perform String->Object
- conversions during decoding.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:54.4
4
1.6.2
- If the value property has an associated ValueExpression,
- the setValue() method of that ValueExpression will be
- called during the Update Model Values phase of the
- request processing lifecycle to push the local value of
- the component back to the corresponding model bean
- property.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:55
4
1.7.2
- UIMessage specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:55.1
4
1.7.2
- The default value of the family property must be set to
- “jakarta.faces.Message”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:55.2
4
1.7.2
- The default value of the rendererType property must be
- set to “jakarta.faces.Message”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:56
4
1.9.2
- UIOutput specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:56.1
4
1.9.2
- The default value of the family property must be set to
- “jakarta.faces.Output”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:56.2
4
1.9.2
- The default value of the rendererType property must be
- set to “jakarta.faces.Text”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:57
4
1.10.2
- UIPanel specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:57.1
4
1.10.2
- The default value of the family property must be set to
- “jakarta.faces.Panel”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:57.2
4
1.10.2
- The default value of the rendererType property must be
- set to null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:58
4
1.11.2
- UIParameter specializes the behavior of renderindependent
- properties inherited from the parent component as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:58.1
4
1.11.2
- The default value of the family property must be set to
- “jakarta.faces.Parameter”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:58.2
4
1.11.2
- The default value of the rendererType property must be
- set to null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:59
4
1.12.2
- UISelectBoolean specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:59.1
4
1.12.2
- The default value of the family property must be set to
- “jakarta.faces.SelectBoolean”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:59.2
4
1.12.2
- The default value of the rendererType property must be
- set to “jakarta.faces.Checkbox”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:60
4
1.13.2
- UISelectItem specializes the behavior of renderindependent
- properties inherited from the parent component as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:60.1
4
1.13.2
- The default value of the family property must be set to
- “jakarta.faces.SelectItem”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:60.2
4
1.13.2
- The default value of the rendererType property must be
- set to null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:60.3
4
1.13.2
- If the value property is non-null, it must contain a
- SelectItem instance used to configure the selection item
- specified by this component.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:60.4
4
1.13.2
- If the value property is a value expression, it must
- point at a SelectItem instance used to configure the
- selection item specified by this component.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:60.5
4
1.13.2
- If the value property is null, and there is no
- corresponding value expression, the itemDescription,
- itemDisabled, itemLabel and itemValue properties must be
- used to construct a new SelectItem representing the
- selection item specified by this component.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:61
4
1.14.2
- UISelectItems specializes the behavior of renderindependent
- properties inherited
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:61.1
4
1.14.2
- The default value of the family property must be set to
- “jakarta.faces.SelectItems”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:61.2
4
1.14.2
- The default value of the rendererType property must be
- set to null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:61.3
4
1.14.2
- If the value property (or the value returned by a value
- expression associated with the value property) is
- non-null, it must contain a SelectItem bean, an array of
- SelectItem beans, a Collection of SelectItem beans, or a
- Map, where each map entry is used to construct a
- SelectItem bean with the key as the label property of
- the bean, and the value as the value property of the
- bean (which must be of the same basic type as the value
- of the parent component’s value).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:62
4
1.15.3
- UISelectMany must provide a specialized validate() method which
- ensures that any decoded values are valid options (from the
- nested UISelectItem and UISelectItems children).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:63
4
1.16.2
- UISelectOne specializes the behavior of renderindependent
- properties inherited from the parent component as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:63.1
4
1.16.2
- The default value of the family property must be set to
- “jakarta.faces.SelectOne”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:63.2
4
1.16.2
- The default value of the rendererType property must be
- set to “jakarta.faces.Menu”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:64
4
1.16.3
- UISelectOne must provide a specialized validate() method which
- ensures that any decoded value is a valid option (from the
- nested UISelectItem and UISelectItems children).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:65
4
1.17.3
- UIViewRoot specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:65.1
4
1.17.3
- The default value of the family property must be set to
- “jakarta.faces.ViewRoot”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:65.2
4
1.17.3
- The default value of the rendererType property must be
- set to null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:66
4
2.1.4
- The JSF implementation must provide concrete implementations of
- DataModel (in the jakarta.faces.model package) for the following
- data wrapping scenarios:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:66.1
4
2.1.4
- ArrayDataModel -- Wrap an array of Java objects.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:66.2
4
2.1.4
- ListDataModel -- Wrap a java.util.List of Java objects.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:66.3
4
2.1.4
- ResultDataModel -- Wrap an object of type
- jakarta.servlet.jsp.jstl.sql.Result (the query results
- from JSTL’s SQL tag library)
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:66.4
4
2.1.4
- ResultSetDataModel -- Wrap an object of type
- java.sql.ResultSet (which therefore means that
- javax.sql.RowSet instances are also supported).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:66.5
4
2.1.4
- ScalarDataModel -- Wrap a single Java object in what
- appears to be a one-row data set.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:67
5
3
- It is an error to specify a managed bean class that does not
- exist, or that cannot be instantiated with a public, zero-args
- constructor.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:68
5
3
- It is an error to specify a <property-name> element for a
- property that does not exist, or does not have a public setter
- method, on the specified managed bean class.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:69
5
3
- It is an error to specify a value element that cannot be
- converted to the type required by a managed property, or that,
- when evaluated, results in a value that cannot be converted to
- the type required by a managed property.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:70
5
3
- If the type of the property referenced by the
- <managed-property> element is a Java enum, the contents of
- the <value> element must be a String that yields a valid
- return from java.lang.Enum.valueOf(PROPERTY_CLASS, VALUE) where
- PROPERTY_CLASS is the java.lang.Class for the property and VALUE
- is the contents of <value> element in the application
- configuration resource. If any exception is thrown from
- Enum.valueOf() it is an error.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:71
5
3
- It is an error for a managed bean created through The Managed
- Bean Creation Facility to have a property that points at an
- object stored in a scope with a (potentially) shorter life span.
- Specifically, this means, for an object created with the
- specified <managed-bean-scope>, then <value>
- evaluations can only point at created objects with the specified
- managed bean scope:
-
- ■ none -- none
- ■ application -- none, application
- ■ session -- none, application, session
- ■ request -- none, application, session, request
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:72
5
3
- Data accessed via an implicit object is also defined to be in a
- scope. The following implicit objects are considered to be in
- request scope:
-
- ■ cookie
- ■ facesContext
- ■ header
- ■ headerValues
- ■ param
- ■ paramValues
- ■ request
- ■ requestScope
- ■ view
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:73
5
3
- The only implicit objects in session scope are session and
- sessionScope.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:74
5
3
- The following implicit objects are considered to be in
- application scope:
-
- ■ application
- ■ applicationScope
- ■ initParam
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:75
5
3
- It is an error to configure cyclic references between managed
- beans.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:76
5
3
- Managed bean names must conform to the syntax of a Java language
- identifier.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:77
5
3
- <null-value/> -- An empty element indicating that this property
- must be explicitly initialized to null. This element is not allowed if
- the underlying property is of a Java primitive type.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:78
5
3
- Each <managed-property> element contains the following elements
- used to configure the execution of the corresponding property setter
- call:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:78.1
5
3
- <property-name> -- The property name of the property to be
- configured.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:78.2
5
3
- <map-entries> -- A set of key/value pairs used to
- initialize the contents of a property of type java.util.Map.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:78.3
5
3
- <null-value/> -- An empty element indicating that this
- property must be explicitly initialized to null. This element is
- not allowed if the underlying property is of a Java primitive
- type.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:78.4
5
3
- <value> -- A String value that will have any leading and
- trailing spaces stripped, and then be converted prior to
- setting it to this value.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:78.5
5
3
- <list-entries> -- A set of values used to initialize the
- contents of a property of type array or java.util.List.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:79
5
3
- The initialization of bean properties from <map-entries> elements
- must adhere to the following algorithm:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:79.1
5
3
- Call the property getter. If the getter returns null or doesn't
- exist, create a java.util.HashMap, otherwise
- use the returned java.util.Map.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:79.2
5
3
- Add all entries defined by nested <map-entry> elements in
- the order they are listed, converting key values defined by
- nested <key> elements to the type defined by <keyclass>
- and entry values defined by nested <value> elements to the
- type defined by <value-class>.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:79.3
5
3
- If a value is given as a value expression, evaluate the
- reference and store the result, converting to <value-class>
- if necessary. If <key-class> and/or <value-class>
- are not defined, use java.lang.String. Add null for each
- <null-value> element.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:79.4
5
3
- If a new java.util.Map was created, set the property by calling
- the setter method, or log an error if there is no setter method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:80
5
3
- The initialization of bean properties from <list-entries> elements
- must adhere to the following algorithm:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:80.1
5
3
- Call the property getter, If the getter returns null or doesn't
- exist, create a java.util.ArrayList, otherwise use the returned
- Object (an array or a java.util.List).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:80.2
5
3
- add all elements defined by nested <value> elements in the
- order they are listed, converting values defined by nested
- <value> elements to the type defined by <value-class>.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:80.3
5
3
- If a value is given as a value expression, evaluate the
- reference and store the result, converting to <valueclass>
- if necessary. If a <value-class> is not defined, use the
- value as-is (i.e., as a java.lang.String). Add null for each
- <null-value> element.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:80.4
5
3
- If an array was returned, create a java.util.ArrayList and copy
- all elements from the returned array to the new List, wrapping
- elements of a primitive type.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:80.5
5
3
- If a new java.util.List was created, and the property is of type
- List, set the property by calling the setter method, or log an
- error if there is no setter method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:80.6
5
3
- If a new java.util.List was created, and the property is a java
- array, convert the List into an array of the property type, and
- set it by calling the setter method, or log an error if there is
- no setter method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:80.7
5
3
- If a new java.util.List was created, convert the List
- to an array of the proper type for the property and set the
- property by calling the setter method, or log an error if there
- is no setter method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:81
5
4
- Here is a summary of the valid injection annotations one may use
- in a managed bean.
-
- @Resource
- @Resources
- @EJB
- @EJBs
- @WebServiceRef
- @WebServiceRefs
- @PersistenceContext
- @PersistenceContexts
- @PersistenceUnit
- @PersistenceUnits
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:82
5
4.1
- JSF implementations running in a Java EE 5 compliant container must
- support attaching the @PostConstruct and @PreDestroy annotations to aid
- in awareness of the managedbean lifecycle.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:82.1
5
4.1
- Methods on managed beans declared to be in request, session, or
- application scope, annotated with @PostConstruct, must be called
- by the JSF implementation after resource injection is performed
- (if any) but before the bean is placed into scope.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:82.2
5
4.1
- If the method throws an unchecked exception, the JSF
- implementation must not put the managed-bean into service and
- further methods on that managed bean instance must not be
- called.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:82.3
5
4.1
- Methods on managed beans declared to be in request, session, or
- application scope, annotated with @PreDestroy, must be called by
- the JSF implementation before the bean is removed from its scope
- or before the scope itself is destroyed, whichever comes first.
- This annotation must be supported in all cases where the above
- @PostConstruct annotation is supported.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:82.4
5
4.1
- If the method throws an unchecked exception, the JSF
- implementation may log it, but the exception must not otherwise
- alter the execution.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:83
6
1.1
- The JSF implementation must ensure that the Application instance
- for the current web application is available via this method, as
- a convenient alternative to lookup via an ApplicationFactory.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:84
6
1.2
- Upon creation of the ELContext instance, the implementation must
- take the following action:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:84.1
6
1.2
- Call the ELContext.putContext(java.lang.Class,
- java.lang.Object) method on the instance, passing in
- FacesContext.class and the this reference for the
- FacesContext instance itself.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:84.2
6
1.2
- If the Collection returned by
- jakarta.faces.Application.getELContextListeners() is
- non-empty, create an instance of ELContextEvent and pass
- it to each ELContextListener instance in the Collection
- by calling the ELContextListener.contextCreated
- (jakarta.el.ELContextEvent) method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:85
6
1.3
- The ExternalContext abstract class must be implemented along
- with the FacesContext class, and must be accessible via the
- getExternalContext method in FacesContext.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:86
6
1.3
- The dispatch() must use a RequestDispatcher provided by the
- application context object to incorporate content from a
- specified context-relative resource. The redirect() method must
- cause an HTTP Redirect to be sent to the client.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:87
6
1.5
- The getClientIdsWithMessages() method must return an Iterator
- over the client identifiers for which at least one Message has
- been queued. This method must be implemented so the clientIds
- are returned in the order of calls to addMessage().
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:88
6
1.8
- In some circumstances, it is possible that both renderResponse()
- and responseComplete() might have been called for the request.
- In this case, the JSF implementation must respect the
- responseComplete() call (if it was made) before checking to see
- if renderResponse() was called.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:89
6
1.9
- The getCurrentInstance() method may be called by any Java class
- in the current web application to retrieve an instance of the
- FacesContext for this request. The JSF implementation must
- ensure that this value is set correctly before
- FacesContextFactory returns a FacesContext instance,
- and that the value is maintained in a thread-safe manner.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:90
6
5
- A single instance of jakarta.faces.context.FacesContextFactory
- must be made available to each JSF-based web application
- running in a servlet or portlet container.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:91
7
1.1
- The JSF implementation must provide a default implementation
- ActionListener that performs the following functions:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:91.1
7
1.1
- The processAction() method must call
- FacesContext.renderResponse() in order to bypass any
- intervening lifecycle phases, once the method returns.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:91.2
7
1.1
- The processAction() method must next determine the
- logical outcome of this event, as follows:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:91.2.1
7
1.1
- If the originating component has a non-null
- action property, retrieve the MethodBinding and
- call invoke() to perform the application-
- specified processing in this action method. If
- the method returns non-null, call toString() on
- the result and use the value returned as the
- logical outcome.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:91.2.2
7
1.1
- The default logical outcome is null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:92
7
1.7
- If a call is made to setViewHandler() after the first time the
- Render Response phase has executed, the call must be ignored by
- the implementation.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:93
7
1.8
- The default implementation simply returns the ExpressionFactory
- from the JSP container by calling JspFactory.getDefaultFactory()
- .getJspApplicationContext(servletContext)
- .getExpressionFactory().
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:94
7
1.10
- The "public UIComponent createComponent(ValueExpression
- componentExpression, FacesContext context,
- String componentType);" method has the following behavior:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:94.1
7
1.10
- Call the getValue() method on the specified
- ValueExpression, in the context of the specified
- FacesContext. If this results in a non-null UIComponent
- instance, return it as the value of this method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:94.2
7
1.10
- If the getValue() call did not return a component
- instance, create a new component instance of the
- specified component type, pass the new component to the
- setValue() method of the specified ValueExpression, and
- return it.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:95
7
4.2
- The default NavigationHandler implementation must behave as if
- it were performing the following algorithm (although optimized
- implementation techniques may be utilized):
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:95.1
7
4.2
- If the logical outcome value passed to the
- handleNavigation() method is null, do not scan for
- matching rules. This is an indication that the current
- view should be redisplayed.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:95.2
7
4.2
- Find a <navigation-rule> element for which the
- view identifier (of the view in the FacesContext
- instance for the current request) matches the
- <from-view-id> matching pattern of the
- <navigation-rule>. Rule instances are considered
- in the following order:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:95.2.1
7
4.2
- An exact match of the view identifier against a
- <from-view-id> pattern that does not end with an
- asterisk (“*”) character.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:95.2.2
7
4.2
- For <from-view-id> patterns that end with an
- asterisk, an exact match on characters preceding the
- asterisk against the prefix of the view id. If the
- patterns for multiple navigation rules match, pick the
- longest matching prefix first.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:95.2.3
7
4.2
- If there is a <navigation-rule> with a
- <from-view-id> pattern of only an asterisk3, it
- matches any view identifier.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:95.3
7
4.2
- From the <avigation-case> elements nested within the
- matching <navigationrule> element, locate a matching
- navigation case by matching the <from-action> and
- <from-outcome> values against the corresponding parameter
- values passed in to the handleNavigation() method. Navigation
- cases are checked in the following order:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:95.3.1
7
4.2
- Cases specifying both a <from-action> value and a
- <from-outcome> value are matched against the
- action expression and outcome parameters passed to the
- handleNavigation() method (both parameters must be not
- null, and both must be equal to the corresponding
- condition values, in order to match).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:95.3.2
7
4.2
- Cases that specify only a <from-outcome> value are
- matched against the outcome parameter passed to the
- handleNavigation() method (which must be not null,
- and equal to the corresponding condition value, to
- match).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:95.3.3
7
4.2
- Cases that specify only a <from-action> value are
- matched against the action expression parameter passed
- to the handleNavigation() method (which must be not
- null, and equal to the corresponding condition value, to
- match).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:95.4
7
4.2
- If a matching <navigation-case> element was located, and
- the <redirect/> element was not specified in this
- <navigation-case> (or the application is running in a
- Portlet environment, where redirects are not possible), use the
- <to-view-id> element of the matching case to request a new
- UIViewRoot instance from the ViewHandler instance for this
- application, and pass it to the setViewRoot() method of the
- FacesContext instance for the current request. Then, exit the
- algorithm.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:95.5
7
4.2
- If a matching <navigation-case> element was located, the
- <redirect/> element was specified in this
- <navigation-case>, and the application is not running in a
- Portlet environment, use the <to-view-id> element of the
- matching case to construct a context-relative path that
- corresponds to that view id, cause the current response to
- perform an HTTP redirect to this path, and call
- responseComplete() on the FacesContext instance for the current
- request.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:95.6
7
4.2
- If no matching <navigation-case> element was located,
- return to Step 1 and find the next matching
- <navigation-rule> element (if any). If there are no more
- matching rule elements, return without changing the current
- view.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:96
7
5.2
- The calculateCharacterEncoding() method must fulfill the following
- responsibilities:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:96.1
7
5.2
- Examine the Content-Type request header. If it has a charset
- parameter extract it and return it.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:96.2
7
5.2
- If not, test for the existence of a session by calling
- getSession(false) on the ExternalContext for this FacesContext.
- If the session is non-null, look in the Map returned by the
- getSessionMap() method of the ExternalContext for a value under
- the key given by the value of the symbolic constant
- jakarta.faces.application.ViewHandler.CHARACTER_ENCODING_KEY. If a
- value is found, convert it to a String and return it.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:97
7
5.2
- The calculateLocale() method must fulfill the following
- responsibilities:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:97.1
7
5.2
- Attempt to match one of the locales returned by the getLocales()
- method of the ExternalContext instance for this request, against
- the supported locales for this application as defined in the
- application configuration resources. Matching is performed by
- the algorithm described in Section JSTL.8.3.2 of the JSTL
- Specification. If a match is found, return the corresponding
- Locale object.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:97.2
7
5.2
- Otherwise, if the application has specified a default locale in
- the application configuration resources, return the
- corresponding Locale object.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:97.3
7
5.2
- Otherwise, return the value returned by calling
- Locale.getDefault().
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:98
7
5.2
- The calculateRenderKitId() method must fulfill the following
- responsibilities:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:98.1
7
5.2
- Return the value of the request parameter named by the symbolic
- constant ResponseStateManager.RENDER_KIT_ID_PARAM if it is not
- null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:98.2
7
5.2
- Otherwise, return the value returned by
- Application.getDefaultRenderKitId() if it is not null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:98.3
7
5.2
- Otherwise, return the value specified by the symbolic constant
- RenderKitFactory.HTML_BASIC_RENDER_KIT.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:99
7
5.2
- The createView() method must fulfill the following responsibilities:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:99.1
7
5.2
- Calculate the viewId that corresponds to this request, as
- follows:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:99.1.1
7
5.2
- If prefix mapping (such as “/faces/*”) is used for
- FacesServlet, the viewId is set from the extra path
- information of the request URI.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:99.1.2
7
5.2
- If suffix mapping (such as “*.faces”) is used for
- FacesServlet, the viewId is set from the servlet path
- information of the request URI, after replacing the
- suffix with the value of the context initialization
- parameter named by the symbolic constant
- ViewHandler.DEFAULT_SUFFIX_PARAM_NAME (if no such
- context initialization parameter is present, use the
- value of the symbolic constant
- ViewHandler.DEFAULT_SUFFIX as the replacement suffix).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:99.2
7
5.2
- If no viewId could be identified, or the viewId is exactly equal
- to the servlet mapping, call the redirect() method of the
- ExternalContext instance for this request, passing the context
- path of this web application.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:99.3
7
5.2
- Create a new UIViewRoot object instance
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:99.4
7
5.2
- Conditionally copy the renderKitId and locale from any current
- view for the current request (as described in the Javadocs for
- createView()).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:99.5
7
5.2
- Return the newly created UIViewRoot.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:100
7
5.2
- The getActionURL() method must fulfill the following responsibilities:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:100.1
7
5.2
- If the specified viewId does not start with a “/”, throw
- IllegalArgumentException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:100.2
7
5.2
- If prefix mapping (such as “/faces/*”) is used for FacesServlet,
- prepend the context path of the current application, and the
- specified prefix, to the specified viewId and return the
- completed value. For example “/cardemo/faces/chooseLocale.jsp”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:100.3
7
5.2
- If suffix mapping (such as “*.faces”) is used for FacesServlet,
- and the specified viewId ends with the specified suffix,
- replacing the suffix with the value specified by the context
- initialization parameter named by the symbolic constant
- ViewHandler.DEFAULT_SUFFIX_NAME (if no such context
- initialization parameter is present, use the value of the
- symbolic constant ViewHandler.DEFAULT_SUFFIX as the replacement
- suffix), prefix this value with the context path for the current
- web application, and return the result. For example
- “/cardemo/chooseLocale.faces”
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:101
7
5.2
- The getResourceURL() method must fulfill the following responsibilities:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:101.1
7
5.2
- If the specified path starts with a “/”, prefix it with the
- context path for the current web application, and return the
- result.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:101.2
7
5.2
- Otherwise, return the specified path value unchanged.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:102
7
5.2
- The initView() method must fulfill the following responsibilities:
- Call calculateCharacterEncoding(). If the result is non-null pass the
- result to the setRequestCharacterEncoding() method of the
- ExternalContext for this FacesContext.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103
7
5.2
- The renderView() method must fulfill the following responsibilities:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:103.1
7
5.2
- If the current request is a ServletRequest, call the set()
- method of the jakarta.servlet.jsp.jstl.core.Config class, passing
- the current ServletRequest, the symbolic constant
- Config.FMT_LOCALE, and the locale property of the specfied
- UIViewRoot. This configures JSTL with the application’s
- preferred locale for rendering this response.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103.2
7
5.2
- Update the JSTL locale attribute in request scope so that JSTL
- picks up the new locale from the UIViewRoot.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103.3
7
5.2
- Create a wrapper around the current response from the
- ExternalContext and set it as the new response in the
- ExternalContext.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103.4
7
5.2
- Execute the JSP page to build the view by treating the viewId as
- a context-relative path(starting with a slash character), by
- passing it to the dispatch() method of the ExternalContext
- associated with this request.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103.5
7
5.2
- Restore the original response into the ExternalContext.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103.6
7
5.2
- If the FacesContext has a non-null ResponseWriter create a new
- writer using its cloneWithWriter() method, passing the
- response’s Writer as the argument.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103.7
7
5.2
- Set the new ResponseWriter into the FacesContext, saving the
- old one aside.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103.8
7
5.2
- Call saveView() on the StateManager for this application, saving
- the result in a thread-safe manner for use in the writeState()
- method of ViewHandler.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103.9
7
5.2
- Call startDocument() on the ResponseWriter.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103.10
7
5.2
- Call encodeAll() on the UIViewRoot.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103.11
7
5.2
- Output any content in the wrapped response from above to the
- response, removing the wrapped response from the thread-safe
- storage.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103.12
7
5.2
- Call endDocument() on the ResponseWriter.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:103.13
7
5.2
- If the old ResponseWriter was not null, place the old
- ResponseWriter back into the FacesContext.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:104
7
5.2
- The restoreView() method must fulfill the following responsibilities:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:104.1
7
5.2
- Calculate the viewId that corresponds to this request using the
- “The ViewId derivation algorithm”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:104.2
7
5.2
- If no viewId could be identified, return null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:104.3
7
5.2
- Call the restoreView() method of the associated StateManager,
- passing the FacesContext instance for the current request and
- the calculated viewId, and return the returned UIViewRoot,
- which may be null
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:105
7
5.2
- The writeState() method must Obtain the saved state stored in a
- thread-safe manner during the invocation of renderView() and pass it to
- the writeState() method of the StateManager for this application.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:106
7
6.3
- The "public Object saveView(FacesContext context)" method causes the
- tree structure and component state of the view contained in the argument
- FacesContext to be collected, stored, and returned in a java.lang.Object
- instance that must implement java.io.Serializable. If null is returned
- from this method, there is no state tosave.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:107
7
6.5
- The "public boolean isSavingStateInClient(FacesContext context)" method
- will Return true if and only if the value of the ServletContext init
- parameter named by the value of the constant
- StateManager.STATE_SAVING_METHOD_PARAM_NAME is equal to the value of the
- constant STATE_SAVING_METHOD_CLIENT. Return false otherwise.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:108
8
1.0
- A JSF implementation must provide a default RenderKit instance
- (named by the render kit identifier associated with the String constant
- RenderKitFactory.HTML_BASIC_RENDER_KIT) that is utilized if no other
- RenderKit is selected.
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:109
8
1.0
- The RenderKit must support a value for the contentTypeList argument that
- comes straight from the Accept HTTP header, and therefore requires
- parsing according to the specification of the Accept header.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:110
8
3.0
- The "getState(FacesContext context)" implementation must inspect the
- current request and return the component tree state Object passed to it
- on a previous invocation of writeState().
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:111
8
3.0
- The ResponseStateManager.RENDER_KIT_ID_PARAM identifier must not be
- written if:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:111.1
8
3.0
- it is the default render kit identifier as returned by
- Application.getDefaultRenderKitId().
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:111.2
8
3.0
- the render kit identifier is the value of
- RenderKitFactory.HTML_BASIC_RENDER_KIT and
- Application.getDefaultRenderKitId() returns null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:112
8
4.0
- A single instance of jakarta.faces.render.RenderKitFactory must be made
- available to each JSFbased web application running in a servlet or
- portlet container.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:113
8
4.0
- Every JSF implementation must provide a RenderKit instance for a default
- render kit identifier that is designated by the String constant
- RenderKitFactory.HTML_BASIC_RENDER_KIT.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:114
8
4.0
- The returned Iterator from getRenderKitIds() must include the value
- specified by RenderKitFactory.HTML_BASIC_RENDER_KIT.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:115
8
5.0
- As with the standard components in the jakarta.faces.component package,
- each HTML component implementation class must define a static public
- final String constant named COMPONENT_TYPE, whose value is “jakarta.faces.”
- concatenated with the class name.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:116
8
5.0
- HTML components, must not define a COMPONENT_FAMILY constant, or
- override the getFamily() method they inherit from their superclass.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:117
9
4.0
- All JSF implementations must provide a tag library containing core
- actions (described below) that are independent of a particular
- RenderKit.The corresponding tag library descriptor must meet the
- following requirements:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:117.1
9
4.0
- Must declare a tag library version (tlib-version) value of 1.2.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:117.2
9
4.0
- Must declare a URI (uri) value of http://java.sun.com/jsf/core.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:117.3
9
4.0
- Must be included in the META-INF directory of a JAR file
- containing the corresponding implementation classes, suitable
- for inclusion with a web application, such that the tag library
- descriptor will be located automatically by the algorithm
- described in Section 7.3 of the Jakarta Server Pages Specification
- (version 2.1).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:118
9
4.1
- If the f:actionListener tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement ActionSource, or the specified listener class does not
- implement jakarta.faces.event.ActionListener, throw a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:119
9
4.3
- If the f:convertDateTime tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement ValueHolder, throw a JspException
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:120
9
4.3
- The implementation class for f:convertDateTime must meet the following
- requirements:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:120.1
9
4.3
- Must extend jakarta.faces.webapp.ConverterTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:120.2
9
4.3
- createConverter() method must, if binding is non-null,
- call getValue() on it to obtain a reference to the
- Converter instance. If there is no exception thrown, and
- binding.getValue() returned a non-null object that implements
- jakarta.faces.convert.Converter, it must then cast the returned
- instance to jakarta.faces.convert.DateTimeConverter and configure
- its properties based on the specified attributes for this custom
- action, and return the configured instance.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:120.3
9
4.3
- If the createConverter()method has an exception thrown, rethrow
- the exception as a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:120.4
9
4.3
- If dateStyle is specified but timeStyle is not specified,
- default to date.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:120.5
9
4.3
- If dateStyle is not specified but timeStyle is specified,
- default to time.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:120.6
9
4.3
- If both dateStyle and timeStyle are specified, default to both.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:121
9
4.4
- If the f:convertNumber tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement ValueHolder, throw a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:122
9
4.4
- The implementation class for the f:convertNumber action must meet the
- following requirements:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:122.1
9
4.4
- Must extend jakarta.faces.webapp.ConverterTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:122.2
9
4.4
- The createConverter() method, If binding is non-null, call
- binding.getValue() to obtain a reference to the Converter
- instance. If there is no exception thrown, and
- binding.getValue() returned a non-null object that implements
- jakarta.faces.convert.Converter, it must then cast the returned
- instance to jakarta.faces.convert.NumberConverter and configure
- its properties based on the specified attributes for this custom
- action, and return the configured instance.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:122.3
9
4.4
- If there was an exception thrown, rethrow the exception as a
- JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:122.4
9
4.4
- Call the createConverter() method of the Application
- instance for this application, passing converter id
- “jakarta.faces.Number”. If the binding attribute was also set,
- store the converter instance by calling binding.setValue(). It
- must then cast the returned instance to
- jakarta.faces.convert.NumberConverter and configure its properties
- based on the specified attributes for this custom action, and
- return the configured instance.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:123
9
4.5
- If this tag is not nested inside a UIComponent custom action, or the
- UIComponent implementation class does not correctly implement
- ValueHolder, throw a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:124
9
4.5
- The implementation class for f:converter action must meet the following
- requirements:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:124.1
9
4.5
- Must extend jakarta.faces.webapp.ConverterJspTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:124.2
9
4.5
- The createConverter() method must, If binding is non-null, call
- binding.getValue() to obtain a reference to the Converter
- instance. If there is no exception thrown, and
- binding.getValue() returned a non-null object that implements
- jakarta.faces.convert.Converter, register it by calling
- setConverter(). If there was an exception thrown, rethrow
- the exception as a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:124.3
9
4.5
- Use the converterId attribute if the converter instance could
- not be created from the binding attribute. If the converterId
- attribute is set, call the createConverter() method of the
- Application instance for this application, passing converter id
- specified by their converterId attribute. If the binding
- attribute was also set, store the converter instance by calling
- binding.setValue(). Register the converter instance by calling
- setConverter(). If there was an exception thrown, rethrow the
- exception as a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:125
9
4.6
- f:facet tag must be nested inside a UIComponent custom action.
- Exactly one UIComponent custom action must be nested inside this custom action
- (although the nested component custom action could itself have nested children).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:126
9
4.6
- Exactly one UIComponent custom action must be nested inside this custom
- action(although the nested component custom action could itself have
- nested children).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:127
9
4.6
- The implementation class of the f:facet tag must be, or extend,
- jakarta.faces.webapp.FacetTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:128
9
4.7
- f:loadBundle tag must be nested inside an f:view tag custom action.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:129
9
4.8
- f:param tag must be nested inside a UIComponent custom action.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:130
9
4.8
- The implementation class for f:param tag this action must meet the
- following requirements:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:130.1
9
4.8
- Must extend jakarta.faces.UIComponentELTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:130.2
9
4.8
- The getComponentType() method must return “Parameter”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:130.3
8
4.8
- The getRendererType() method must return null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:131
9
4.9
- f:phaseListener tag must be nested inside a UIViewRoot custom action.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:132
9
4.9
- The specified listener class for f:phaseListener must implement
- jakarta.faces.event.PhaseListener.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:133
9
4.9
- type and/or binding must be specified for the phaseListener impl.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:134
9
4.10
- f:selectItem must be nested inside a UIComponent custom action
- that creates a UISelectMany or UISelectOne component instance.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:135
9
4.10
- The implementation class for this action must meet the following
- requirements:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:135.1
9
4.10
- Must extend jakarta.faces.UIComponentELTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:135.2
9
4.10
- The getComponentType() method must return “SelectItem”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:135.3
9
4.10
- The getRendererType() method must return null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:136
9
4.11
- Must be nested inside a UIComponent custom action that creates a
- UISelectMany or UISelectOne component instance.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:137
9
4.11
- The implementation class for the f:selectItems action must meet
- the following requirements:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:137.1
9
4.11
- Must extend jakarta.faces.UIComponentELTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:137.2
9
4.11
- The getComponentType() method must return
- “jakarta.faces.SelectItems”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:137.3
9
4.11
- The getRendererType() method must return null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:138
9
4.12
- f:setPropertyActionListener must be nested inside a UIComponent custom
- action.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:139
9
4.12
- The corresponding UIComponent implementation class for
- f:setPropertyActionListener must implement ActionSource, and therefore
- define a public addActionListener() method that accepts an
- ActionListener parameter.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:140
- The tag implementation must only create and register the ActionListener
- instance the first time the component for this tag is created
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:141
9
4.12
- When the listener executes, call getValue() on the "value"
- ValueExpression. Pass the result to a call to setValue() on the "target"
- ValueExpression
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:142
9
4.12
- This tag creates no output to the page currently being created. It is
- used solely for the side effect of ActionListener creation and addition.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:143
9
4.12
- If this tag is not nested inside a UIComponent custom action, or the
- UIComponent implementation class does not correctly implement
- ActionSource, or the specified listener class does not implement
- jakarta.faces.event.ActionListener, throw a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:144
9
4.13
- f:subview must be nested inside a f:view custom action although this
- custom action might be in a page that is including the page containing
- the f:subview custom action.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:145
9
4.13
- f:subview must not contain an f:view custom action.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:146
9
4.13
- f:subview must have an id attribute whose value is unique within the
- scope of the parent naming container.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:147
9
4.13
- The implementation class for f:subview must extend
- jakarta.faces.UIComponentELTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:148
9
4.13
- The implementation class's getComponentType() method must return
- “NamingContainer”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:149
9
4.13
- The implementation class's getRendererType() method must return null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:150
9
4.14
- If the f:validateDoubleRange tag is not nested inside a UIComponent
- custom action, or the UIComponent implementation class does not
- correctly implement EditableValueHolder throw a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:151
9
4.14
- The implementation class for the f:validateDoubleRange action must meet
- the following requirements:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:151.1
9
4.14
- Must extend jakarta.faces.webapp.ValidatorTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:151.2
9
4.14
- The createValidator() method must, If binding is non-null,
- create a ValueBinding by invoking
- Application.createValueExpression() with binding as the
- expression argument, and Validator.class as the expectedType
- argument.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:151.3
9
4.14
- use the validatorId if the validator instance could not be
- created from the binding attribute.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:151.4
9
4.14
- If there is an exception thrown, rethrow the exception as a
- JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:152
9
4.15
- If the f:validateLength tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement EditableValueHolder, throw a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:153
9
4.15
- The implementation class for this action must meet the following
- requirements:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:153.1
9
4.15
- Must extend jakarta.faces.webapp.ValidatorTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:153.2
9
4.15
- If binding is non-null, create a ValueExpression by invoking
- Application.createValueExpression() with binding as the
- expression argument, and Validator.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:153.3
9
4.15
- Use the validatorId if the validator instance could not be
- created from the binding attribute. Call the createValidator()
- method of the Application instance for this application,
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:153.4
9
4.15
- If there was an exception thrown, rethrow the exception
- as a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:154
9
4.16
- f:validateLongRange must be nested inside a EditableValueHolder custom
- action whose value is (or is convertible to) a long.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:155
9
4.16
- f:validateLongRange must specify either the maximum attribute, the
- minimum attribute, or both.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:156
9
4.16
- For f:validateLongRange if both limits are specified, the maximum limit
- must be greater than the minimum limit.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:157
9
4.16
- If the f:validateLongRange tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement EditableValueHolder, throw a JspException
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:158
9
4.16
- The implementation class for the f:validateLongRange action must meet
- the following requirements:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:158.1
9
4.16
- Must extend jakarta.faces.webapp.ValidatorTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:158.2
9
4.16
- The createValidator() method must, if binding is non-null,
- create a ValueExpression by invoking
- Application.createValueExpression() with binding as the
- expression argument, and Validator.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:158.3
9
4.16
- The createValidator() method must, use the validatorId if the
- validator instance could not be created from the binding
- attribute.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:158.4
9
4.16
- If there is an exception thrown, rethrow the exception as a
- JspException
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:159
9
4.17
- f:validator tag must be nested inside a UIComponent custom action whose
- component class implements EditableValueHolder.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:160
9
4.17
- validatorId and/or binding must be specified.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:161
9
4.17
- If the f:validator tag is not nested inside a UIComponent custom action,
- or the UIComponent implementation class does not correctly implement
- EditableValueHolder throw a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:162
9
4.17
- The implementation class for the f:validator action must meet the
- following requirements:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:162.1
9
4.17
- Must extend jakarta.faces.webapp.ValidatorJspTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:162.2
9
4.17
- The createValidator() method must, if binding is non-null,
- call binding.getValue() to obtain a reference to the
- Validator instance.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:162.3
9
4.17
- The createValidator() method must, use the validatorId attribute
- if the validator instance could not be created from the binding
- attribute.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:162.4
9
4.17
- The createValidator() method must, If there was an exception
- thrown, rethrow the exception as a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:163
9
4.18
- f:valueChangeListener must be nested inside a UIComponent custom action.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:164
9
4.18
- The corresponding UIComponent implementation class for
- f:valueChangeListener must implement EditableValueHolder, and therefore
- define a public addValueChangeListener() method that accepts an
- ValueChangeListener parameter.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:165
9
4.18
- The specified listener class for f:valueChangeListener must implement
- jakarta.faces.event.ValueChangeListener.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:166
9
4.18
- type and/or binding must be specified.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:167
9
4.18
- If this tag is not nested inside a UIComponent custom action, or the
- UIComponent implementation class does not correctly implement
- EditableValueHolder, or the specified listener class does not implement
- jakarta.faces.event.ValueChangeListener, throw a JspException.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:168
9
4.19
- f:verbatim must be implemented as a UIComponentBodyTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:169
9
4.19
- The rendererType property for the f:verbatim tag's UIOutput component
- must be set to “jakarta.faces.Text”
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:170
9
4.19
- The f:verbatim tag's transient property must be set to true.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:171
9
4.19
- The value (or value binding, if it is an expression) of the escape
- attribute must be passed on to the renderer as the value the escape
- attribute on the UIOutput component.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:172
9
4.20
- Any JSP-created response using actions from the JSF Core Tag Library,
- as well as actions extending jakarta.faces.webapp.UIComponentELTag from
- other tag libraries, must be nested inside an occurrence of the
- f:view action.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:173
9
4.20
- The implementation class for the f:view action must meet the following
- requirements:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:173.1
9
4.20
- Must extend jakarta.faces.UIComponentBodyTag.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:173.2
9
4.20
- The getComponentType() method must return “ViewRoot”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:173.3
9
4.20
- The getRendererType() method must return null.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:174
9
5.0
- The tag library descriptor for this tag library must meet the following
- requirements:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:174.1
9
5.0
- Must declare a tag library version (tlib-version) value of
- 1.2.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:174.2
9
5.0
- Must declare a URI tag value of
- http://java.sun.com/jsf/html.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:174.3
9
5.0
- Must be included in the META-INF directory of a JAR file
- containing the corresponding implementation classes, suitable
- for inclusion with a web application, such that the tag library
- descriptor will be located automatically by the algorithm
- described in Section 7.3 of the Jakarta Server Pages Specification
- (version 1.2).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:175
9
5.0
- The custom actions defined in this tag library must specify the
- following return values for the getComponentType() and getRendererType()
- methods, respectively:
-
- The tag library descriptor for this tag library (and the corresponding
- tag handler implementation classes) must meet the following
- requirements:
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:176.1
9
5.0
- The attributes for the tags, both in the TLD and in the
- associated tag handlers, must conform exactly to the type, name,
- and description given in the TLDDocs for the
- html_basic tag library.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:176.2
9
5.0
- If the type of the attribute is jakarta.el.MethodExpression, the
- TLD for the attribute must contain a <deferred-method>
- with a nested <method-signature>, inside of which is the
- method signature for that MethodExpression, as given in the
- TLDDocs. The JavaBeans setter method in the tag handler for the
- tag must be of type jakarta.el.MethodExpression.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:176.3
9
5.0
- Any attributes listed in the TLDDocs with a request-time value
- of true must specify an <rtexprvalue> of true in the TLD.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:176.4
9
5.0
- The following action must be taken to handle the value of the
- converter property. If isLiteralText() on the converter property
- returns true, get the value of the property and treat it as a
- converterId by passing it as the argument to the
- createConverter() method of the Application instance for this
- webapp, then pass the created Converter to the setConverter()
- method of the component for this tag. If isLiteralText() on the
- converter property returns false, call setValueExpression() on
- the component, passing “converter” as the name of the
- ValueExpression and the ValueExpression instance as the value.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:176.5
9
5.0
- For a non-null action attribute on custom actions related to
- ActionSource2 components (commandButton, commandLink), the
- setProperties() method of the tag handler implementation class
- must pass the value of the action attribtue, which is a
- MethodExpression, to the component’s setActionExpression()
- method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:176.6
9
5.0
- For other non-null attributes that correspond to
- MethodExpression attributes on the underlying components
- (actionListener, validator, valueChangeListener), the
- setProperties() method of the tag handler implementation class
- must store that instance as the value of the corresponding
- component property.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:176.7
9
5.0
- For any non-null id, scope, or var attribute, the
- setProperties() method of the tag handler implementation class
- must simply set the value of the corresponding component
- attribute.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:176.8
9
5.0
- For all other non-null attributes, the setProperties() of the
- tag handler implementation class method must, if the
- attribute.isLiteralText() returns true, set the corresponding
- attribute on the underlying component (after performing any
- necessary type conversion). Otherwise, call the
- setValueExpression() method on the underlying component,
- passing the attribute name and the ValueExpression‘ instance as
- parameters.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:177
10
3.1
- Facelet pages are authored in XHTML. The runtime must support all XHTML
- pages that confirm with the XHTML-1.0-Transitional DTD, as described at
- http://www.w3.org/TR/xhtml1/#a_dtd_XHTML-1.0-Transitional
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:178
10
3.2
- The runtime must support the following syntax for making the tags in a
- tag library available for use in a Facelet page.
- <html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:prefix="namespace_uri">
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:179
10
3.2
- The runtime must support the following syntax for making the tags in a
- tag library available for use in a Facelet page
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:179.1
10
3.2
- Via declaration in the web.xml, as specified in Section11.1.3
- “Application Configuration Parameters”
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:179.2
10
3.2
- Via auto discovery by placing the tag library discriptor file
- within a jar on the web application classpath, naming the
- file so that it ends with “.taglib.xml”, without the quotes,
- and placing the file in the META-INF directory in the jar file
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:180
10
3.2
- Failure to parse, process and otherwise interpret any of the tag
- library files discovered must cause the application to fail to deploy
- and must cause an informative error message to be logged.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:181
10
3.3.1
- The runtime must support the following two ways of declaring a
- composite component library.
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:181.1
10
3.3.1
- If a facelet taglibrary is declared in an XHTML page with a
- namespace starting with the string
- “http://java.sun.com/jsf/composite/” (without the quotes),
- the remainder of the namespace declaration is taken as the name
- of a resource library as described in Section2.6.1.4 “Libraries
- of Localized and Versioned Resources
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:181.2
10
3.3.1
- the runtime must also support the <composite-library-name>
- element.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:182
10
3.3.2
- If, during the process of building the view, the facelet runtime
- encounters an element in the page using the prefix for the namespace of
- a composite component library, the runtime must create a Resource
- instance with a library property equal to the library name derived in
- Section10.3.3.1 “Declaring a composite component library for use in a
- Facelet page”and call the variant of application.createComponent() that
- takes a Resource.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:183
10
3.3.2
- After causing the top level component to be instantiated, the runtime
- must create a UIComponent with component- family of jakarta.faces.Panel
- and renderer-type jakarta.faces.Group to be installed as a facet of the
- top level component under the facet name
- UIComponent.COMPOSITE_FACET_NAME.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:184
10
3.3.3
- The runtime must support the use of composite: tag library in the
- defining page pointed to by the Resource derived as specified in
- Section10.3.3.2 “Creating an instance of a top level component”
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:185
10
3.3.3
- The runtime must ensure that all UIComponent children in the composite
- component definition within the defining page are placed as children of
- the UIComponent.COMPOSITE_FACET_NAME facet of the top level facet
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:186
10
3.3.3
- The runtime must ensure that all such attributes are copied to the
- attributes map of the top level component instance in the following
- manner.
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:186.1
10
3.3.3
- Obtain a reference to the ExpressionFactory, for discussion
- called expressionFactory.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:186.2
10
3.3.3
- Let the value of the attribute in the using page be value.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:186.3
10
3.3.3
- If value is “id” or “binding” without the quotes, skip to the
- next attribute.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:186.4
10
3.3.3
- f the value of the attribute starts with “#{“ (without the
- quotes) call expressionFactory.createValueExpression(elContext,
- value, Object.class)
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:186.5
10
3.3.3
- If the value of the attribute does not start with “#{“, call
- expressionFactory.createValueExpression(value, Object.class)
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:186.6
10
3.3.3
- If there already is a key in the map for value, inspect the type
- of the value at that key. If the type is MethodExpression take
- no action.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:187
10
3.3.3
- If the type of the attribute is a MethodExpression, the code that
- takes the value of the attribute and creates an actual
- MethodExpression instance around it must take the following special
- action.
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:187.1
10
3.3.3
- Obtain a reference to the current composite component by calling
- UIComponent.getCurrentCompositeComponent().
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:187.2
10
3.3.3
- Look in the attribute of the component for a key under the value
- attrName.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:187.3
10
3.3.3
- There must be a value and it must be of type MethodExpression.
- If either of these conditions are false allow the ensuing
- exception to be thrown.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:187.4
10
3.3.3
- Call invoke() on the discovered MethodExpression, passing the
- arguments passed to our invoke() method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:188
10
4.1.1
- The String value for identifiers specified for execute and render may be
- specified as a search expression as outlined in the JavaDocs for
- UIComponent.findComponent.The implementation must resolve these
- identifiers as specified for UIComponent.findComponent.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:189
10
4.1.1
- A TagAttibuteException must be thrown if an “event” attribute value is
- specified that does not match the events supported by the component
- type.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:190
10
4.1.1
- The event attribute that is specified, must be one of the events
- returned from the ClientBehaviorHolder component implementation of
- ClientBehaviorHolder.getEventNames.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:191
10
4.1.1
- If an event is not specified the value returned from the component
- implementation of ClientBehaviorHolder.getDefaultEventName must be used.
- If the event is still not determined, a TagAttributeException must be
- thrown.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:192
10
4.1.1
- If an event is not specified the value returned from the component
- implementation of ClientBehaviorHolder.getDefaultEventName must be used.
- If the event is still not determined, a TagAttributeException must be
- thrown.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:193
10
4.1.1
- The "Description" tag handler must create an instance of
- jakarta.faces.component.behavior.AjaxBehavior instance using the tag
- attribute values.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:194
10
4.1.1
- If teh "Description" tag is nested within a single ClientBehaviorHolder
- component:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:194.1
10
4.1.1
- If the event attribute is not specified, determine the event by
- calling the component’s getDefaultEventName method. If that
- returns null, throw an exception.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:194.2
10
4.1.1
- If the event attribute is specified, ensure that it is a valid
- event - that is one of the events contained in the Collection
- returned from getEventNames method. If it does not exist in this
- Collection, throw an exception.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:194.3
10
4.1.1
- Add the AjaxBehavior to the component by calling the addBehavior
- method, passing the event and AjaxBehavior instance.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:195
10
5
- When the VDL calls for the creation of a UIComponent instance, after
- calling Application.createComponent() to instantiate the component
- instance, and after calling setRendererType() on the newly instantiated
- component instance, the following action must be taken.
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:195.1
10
4.1.1
- Obtain the Renderer for this component. If no Renderer is
- present, ignore the following steps.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:195.2
10
4.1.1
- Call getClass() on the Renderer instance and inspect if the
- ListenerFor annotation is present. If so, inspect if the
- Renderer instance implements ComponentSystemEventListener. If
- neither of these conditions are true, ignore the following
- steps.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:195.3
10
4.1.1
- Obtain the value of the systemEventClass() property of the
- ListenerFor annotation on the Renderer instance.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:195.4
10
4.1.1
- Call subscribeToEvent() on the UIComponent instance from which
- the Renderer instance was obtained, using the systemEventClass
- from the annotation as the second argument, and the Renderer
- instance as the third argument.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:196
11
1.1
- This servlet must be defined, in the deployment descriptor of an
- application that wishes to employ this portable mechanism.
- The servlet name, denoted as faces-servlet-name above, may be any
- desired value; however, the same value must be used as teh servlet-name
- in the servlet mapping.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:197
11
1.2
- JSF implementations must support web application that define a
- <servlet-mapping> that maps any valid url-pattern to the
- FacesServlet.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198
11
1.3
- JSF implementations are required to support the following application
- configuration parameter names:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:198.1
11
1.3
- jakarta.faces.CONFIG_FILES -- Comma-delimited list of
- context-relative resource paths under which the JSF
- implementation will look for application configuration
- resources before loading a configuration resource named
- “/WEB-INF/faces-config.xml”
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.2
11
1.3
- jakarta.faces.DEFAULT_SUFFIX -- The default suffix for
- extension-mapped resources that contain JSF components. If not
- specified, the default value “.jsp” must be used.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.3
11
1.3
- jakarta.faces.FACELETS_SUFFIX -- Allow the web application to
- define an alternate suffix for Facelet based XHTML pages
- containing JSF content. See the javadocs for the symbolic
- constant ViewHandler.FACELETS_SUFFIX_PARAM_NAME for the
- complete specification.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.4
11
1.3
- jakarta.faces.LIFECYCLE_ID -- Lifecycle identifier of the
- Lifecycle instance to be used when processing JSF requests for
- this web application. If not specified, the JSF default
- instance, identified by LifecycleFactory.DEFAULT_LIFECYCLE, must
- be used.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.5
11
1.3
- jakarta.faces.STATE_SAVING_METHOD -- The location where state
- information is saved. Valid values are “server” (typically saved
- in HttpSession) and “client (typically saved as a hidden field
- in the subsequent form submit). If not specified, the default
- value “server” must be used.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.6
11
1.3
- jakarta.faces.PARTIAL_STATE_SAVING --The ServletContext init
- parameter consulted by the runtime to determine if the partial
- state saving mechanism should be used. If undefined, the runtime
- must determine the version level of the application.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.6.1
11
1.3
- For applications versioned at 1.2 and under, the runtime
- must not use the partial state saving mechanism.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.6.2
11
1.3
- For applications versioned at 2.0 and above, the runtime
- must use the partial state saving mechanism.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.7
11
1.3
- jakarta.faces.FULL_STATE_SAVING_VIEW_IDS -- The runtime must
- interpret the value of this parameter as a comma separated list
- of view IDs, each of which must have their state saved using the
- state saving mechanism specified in JSF 1.2.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.8
11
1.3
- jakarta.faces.PROJECT_STAGE -- A human readable string describing
- where this particular JSF application is in the software
- development lifecycle.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.9
11
1.3
- jakarta.faces.DISABLE_FACELET_JSF_VIEWHANDLER -- If this param is
- set, and calling toLowerCase().equals("true") on a String
- representation of its value returns true, the default
- ViewHandler must behave as specified in the latest 1.2 version
- of this specification.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.10
11
1.3
- jakarta.faces.FACELETS_LIBRARIES -- If this param is set, the
- runtime must interpret it as a semicolon (;) separated list of
- paths, starting with “/” (without the quotes).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.11
11
1.3
- jakarta.faces.FACELETS_VIEW_MAPPINGS -- If this param is set, the
- runtime must interpret it as a semicolon (;) separated list of
- strings that is used to forcibly declare that certain pages in
- the application must be interpreted as using Facelets,
- regardless of their extension.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.12
11
1.3
- jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL --
- If this param is set, and calling toLowerCase().equals("true")
- on a String representation of its value returns true, any
- implementation of UIInput.validate() must take the following
- additional action. context parameter value is true (ignoring
- case), and UIInput.getSubmittedValue() returns a zero-length
- String call UIInput.setSubmittedValue(null) and continue
- processing using null as the current submitted value
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.13
11
1.3
- jakarta.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZO
- NE -- If this param is set, and calling toLowerCase().equals(
- "true") on a String representation of its value returns true,
- Application.createConverter() must guarantee that the default
- for the timezone of all jakarta.faces.convert.DateTimeConverter
- instances must be equal to TimeZone.getDefault() instead of
- “GMT”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.14
11
1.3
- jakarta.faces.VALIDATE_EMPTY_FIELDS -- If this param is set, and
- calling toLowerCase().equals("true") on a String representation
- of its value returns true, all submitted fields will be
- validated
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:198.15
11
1.3
- jakarta.faces.validator.DISABLE_DEFAULT_BEAN_VALIDATOR -- If this
- param is set, and calling toLowerCase().equals("true") on a
- String representation of its value returns true, the runtime
- must not automatically add the validator with validator-id equal
- to the value of the symbolic constant
- jakarta.faces.validator.VALIDATOR_ID to the list of default
- validators.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:199
11
2.6.1
- JSF implementations must also include implementations of the several
- factory classes. In order to be dynamically instantiated according to
- the algorithm defined above, the factory implementation class must
- include a public, no-arguments constructor.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:200
11
2.6.1
- jakarta.faces.FactoryFinder implements the standard discovery algorithm
- for all factory objects specified in the Jakarta Server Faces APIs.
- For a given factory class name, a corresponding implementation class is
- searched for based on the following algorithm. Items are listed in order
- of decreasing search precedence:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:200.1
11
2.6.1
- If a default Jakarta Server Faces configuration file
- (/WEB-INF/faces-config.xml) is bundled into the web application,
- and it contains a factory entry of the given factory class name,
- that factory class is used.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:200.2
11
2.6.1
- If the Jakarta Server Faces configuration resource(s) named by the
- jakarta.faces.CONFIG_FILES ServletContext init parameter (if any)
- contain any factory entries of the given factory class name,
- those factories are used, with the last one taking precedence.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:200.3
11
2.6.1
- If there are any META-INF/faces-config.xml resources bundled any
- JAR files in the web ServletContext’s resource paths, the
- factory entries of the given factory class name in those files
- are used, with the last one taking precedence.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:200.4
11
2.6.1
- If a META-INF/services/{factory-class-name} resource is visible
- to the web application class loader for the calling application
- (typically as a result of being present in the manifest of a
- JAR file), its first line is read and assumed to be the name of
- the factory implementation class to use.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:200.5
11
2.6.1
- If none of the above steps yield a match, the Jakarta Server Faces
- implementation specific class is used.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:201
11
2.6.1
- For each of the public static final String fields on the class
- FactoryFinder whose field names end with the string “_FACTORY”
- (without the quotes), the implementation must provide an implementation
- of the corresponding Factory class using the algorithm described earlier
- in this section.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:202
11
2.6.2
- The FacesServlet implementation class must also declare two static
- public final String constants whose value is a context initialization
- parameter that affects the behavior of the servlet
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:202.1
11
2.6.2
- CONFIG_FILES_ATTR -- the context initialization attribute that
- may optionally contain a comma-delimited list of context
- relative resources (in addition to /WEB-INF/facesconfig. xml
- which is always processed if it is present) to be processed.
- The value of this constant must be “jakarta.faces.CONFIG_FILES”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:202.2
11
2.6.2
- LIFECYCLE_ID_ATTR -- the lifecycle identifier of the Lifecycle
- instance to be used for processing requests to this application,
- if an instance other than the default is required. The value of
- this constant must be “jakarta.faces.LIFECYCLE_ID”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:203
11
2.6.3
- UIComponentELTag is an implementation of
- jakarta.servlet.jsp.tagext.BodyTag, and must be the base class for any JSP
- custom action that corresponds to a JSF UIComponent.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:204
11
3.1
- The faces implementation must now provide the attributetag class.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:205
11
4.2
- the JSF implementation must process zero or more application
- configuration resources, located according to the following algorithm:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:205.1
11
4.2
- Search for all resources named “META-INF/faces-config.xml” in the
- ServletContext resource paths for this web application, and load
- each as a JSF configuration resource (in reverse order of the
- order in which they are returned by getResources() on the
- current Thread’s ContextClassLoader).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:205.2
11
4.2
- Check for the existence of a context initialization parameter
- named jakarta.faces.CONFIG_FILES. If it exists, treat it as a
- comma-delimited list of context relative resource paths
- (starting with a “/”), and load each of the specfied resources.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:205.3
11
4.2
- Check for the existence of a web application configuration
- resource named “/WEBINF/faces-config.xml”, and load it if the
- resource exists.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:206
11
4.2
- The runtime must publish the
- jakarta.faces.event.PostConstructApplicationEvent immediately after all
- application configuration resources have been processed.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:207
11
4.2
- XML parsing errors detected during the loading of an application
- resource file are fatal to application startup, and must cause the
- application to not be made available by the container.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:208
11
4.2
- JSF implementations that are part of a Java EE technology compliant
- implementation are required to validate the application resource file
- against the XML schema for structural correctness. The validation is not
- required for JSF implementations that are not part of a Java EE
- technology-compliant implementation.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:209
11
4.3
- Application configuration resources must conform to the XML schema
- shown in Appendix 1.1. In addition, they must include the following
- schema declaration.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:210
11
4.4
- Application configuration resources that are written to run on JSF 2.0
- must include the following schema declaration...
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:211
11
4.4
- Application configuration resources that are written to run on JSF 1.2
- must include the following schema declaration...
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:212
11
4.4
- Application configuration resources that are written to run on JSF 1.1
- must include the following schema declaration...
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:213
11
4.4
- Application configuration resources that are written to run on JSF 1.0
- must include the following schema declaration...
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:214
11
4.6
- The runtime must support the decorator design pattern as specified
- below for the following artifacts.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:215
11
4.7
- If an <name> element is present, it must be considered for the
- ordering of decoratable artifacts (unless the duplicate name exception
- applies, as described below).
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:215.1
11
4.7
- Absolute ordering: an <absolute-ordering> element in the
- applicationFacesConfig
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:215.2
11
4.7
- Relative ordering: an <ordering> element within a file in
- the applicationConfigurationResources
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:216
11
4.7
- The preceding example illustrates some, but not all, of the following
- principles.
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:216.1
11
4.7
- <before> means the document must be ordered before the
- document with the name matching the name specified within the
- nested <name> element.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:216.2
11
4.7
- <after> means the document must be ordered after the
- document with the name matching the name specified within the
- nested <name> element.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:216.3
11
4.7
- There is a special element <others /> which may be included
- zero or one time within the <before> or <after> element,
- or zero or one time directly within the <absolute-ordering>
- element. The <others /> element must be handled as follows.
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:216.3.1
11
4.7
- If the <before> element contains a nested
- <others />, the document will be moved to the
- beginning of the list of sorted documents.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:216.3.2
11
4.7
- If the <after> element contains a nested
- <others />, the document will be moved to the end of
- the list of sorted documents.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:216.3.3
11
4.7
- Within a <before> or <after> element, if an
- <tothers /> element is present, but is not the only
- <name> element within its parent element, the other
- elements within that parent must be considered in the
- ordering process.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:216.3.4
11
4.7
- If the <others /> element appears directly within
- the <absolute-ordering> element, the runtime must
- ensure that any application configuration resources in
- applicationConfigurationResources not explicitly named
- in the <absolute-ordering> section are included at
- that point in the processing order.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:216.4
11
4.7
- If a faces-config file does not have an <ordering> or
- <absolute-ordering> element the artifacts are assumed to not
- have any ordering dependency.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:216.5
11
4.7
- If the runtime discovers circular references, an informative
- message must be logged, and the application must fail to deploy.
- Again, one course of action the user may take is to use absolute
- ordering in the applicationFacesConfig.
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:217
11
5.1
- If the <faces-config>> element in the WEB-INF/faces-config.xml file
- contains metadata-complete attribute whose value is “true”, the
- implementation must not perform annotation scanning on any classes
- except for those classes provided by the implementation itself.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:218
11
5.1
- If the runtime discovers a conflict between an entry in the Application
- Configuration Resources and an annotation, the entry in the Application
- Configuration Resources takes precedence.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:219
11
5.1
- All classes in WEB-INF/classes must be scanned.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:220
11
5.1
- For every jar in the application's WEB-INF/lib directory, if the jar
- contains a “META-INF/faces-config.xml” file or a file that matches the
- regular expression “META-INF/.*faces-config.xml” (even an empty one),
- all classes in that jar must be scanned.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:221
12
1
- Upon receipt of each JSF-destined request to this web application,
- the JSF implementation must acquire a reference to the Lifecycle
- instance for this web application, and call its execute() and render()
- methods to perform the request processing lifecycle.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:222
12
3
- Any exceptions thrown during the beforePhase() listeners must be caught
- and published to the ExceptionHandler.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:223
12
3
- Any exceptions thrown during the execution of the actual lifecycle
- phase, that reach the runtime code that implements the JSF lifecycle
- phase, must be caught and and published to the ExceptionHandler
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:224
12
3
- Any exceptions thrown during the afterPhase() liseteners must be caught
- and published to the ExceptionHandler.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:225
13
1
- There must be a single JavaScript resource that exists with the resource
- identifier jsf.js
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:226
13
1
- The jsf.js must exist under the resource library jakarta.faces, following
- the conventions in Section 2.6 “Resource Handling”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:227
13
2
- If the OpenAjax library is available, libraries must register themselves
- using OpenAjax.registerLibrary() at the time when the JavaScript files
- are fetched and parsed by the browser’s JavaScript engine.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:228
13
2
- Any implementation that intends to use the Jakarta Server Faces 2.0 JavaScript
- API must define a top level JavaScript object name jsf, whose type is a
- JavaScript associative array. Within that top level JavaScript object,
- found in the OpenAjax Hub, there must be a property named ajax..
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:229
13
3.2
- All Ajax requests must be put into a client side request queue before
- they are sent to the server to ensure Ajax requests are processed in the
- order they are sent.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:230
13
3.2
- After a request is sent, the Ajax request callback function must remove
- the request from the queue (also known as dequeuing). If the request
- completed successfully, it must be removed from the queue. If there was
- an error, the client must be notified, but the request must still be
- removed from the queue
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:231
13
3.3.3
- The Ajax request callback function is called when the Ajax
- request/response interaction is complete. This function must perform the
- following actions:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:231.1
13
3.3.1
- If the return status is >= 200 and < 300, send a “complete”
- event following Section13.3.5.3 “Sending Events”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:231.2
13
3.3.1
- If the return status is outside the range mentioned above, send
- a “complete” event following Section13.3.5.3 “Sending Events”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:231.3
13
3.3.1
- Regardless of whether the request completed successfully or not:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:231.3.1
13
3.3.1
- remove the completed requests (Ajax readystate 4) from
- the request queue (dequeue) - specifically the requests
- that have been on the queue the longest.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:231.3.2
13
3.3.1
- find the next oldest unprocessed (Ajax readystate 0)
- request on the queue, and send it. The implementation
- must ensure that the request that is sent does not enter
- the queue again.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:232
13
3.4
- The implementation of jsf.ajax.response must handle the response as
- outlined in the JavaScript documentation for jsf.ajax.response. The
- elements in the response must be processed in the
- order they appear in the response.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:233
13
3.5.2
- The implementation must ensure the JavaScript function that is
- registered for an Ajax request must be called in accordance with the
- events outlined in SectionTABLE14-3 “Events”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:234
13
3.5.3
- The implementation must send events to the runtime as follows:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:234.1
13
3.5.3
- Construct a data payload for events using the properties
- described in SectionTABLE14-4 “Event Data Payload”
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:234.2
13
3.5.3
- If an event handler function was registered with the “onevent”
- attribute (Section13.3.5.1 “Monitoring Events For An Ajax
- Request”) call it passing the data payload.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:234.3
13
3.5.3
- If any event handling functions were registered with the
- “addOnEvent” function (Section13.3.5.2 “Monitoring Events
- For All Ajax Requests”) call them passing the data payload.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:235
13
3.6.1
- The implementation must ensure the JavaScript function that is
- registered for an Ajax request must be called in accordance when the
- request status code from the server is as outlined in SectionTABLE14-5
- “Errors”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:236
13
3.6.2
- The implementation must ensure the JavaScript function that is
- registered must be called in accordance with the errors outlined in
- SectionTABLE14-5 “Errors”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:237
13
3.6.3
- The implementation must signal errors to the runtime as follows:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:237.1
13
3.6.3
- Construct a data payload for errors using the properties
- described in SectionTABLE14-6 “Error Data Payload”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:237.2
13
3.6.3
- If an error handler function was registered with the “onerror”
- attribute (Section13.3.6.1 “Handling Errors For An Ajax
- Request”) call it passing the data payload.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:237.3
13
3.6.3
- If any error handling functions were registered with the
- “addOnError” function (Section13.3.6.2 “Handling Errors For All
- Ajax Requests”) call them passing the data payload.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:237.4
13
3.6.3
- If the project stage is “development” (see Section14.5
- “Determining An Application’s Project Stage”) use JavaScript
- “alert” to signal the error(s).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:238
13
3.7
- Jakarta Server Faces Ajax frameworks must ensure exception information is
- written to the response in the format:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:238.1
13
3.7
- Extract the “class” from the “Throwable” object and write that
- as the contents of error-name in the response.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:238.2
13
3.7
- Extract the “cause” from the “Throwable” object if it is
- available and write that as the contents of error-message in the
- response. If “cause” is not available, write the string returned
- from “Throwable.getMessage()”.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:238.3
13
3.7
- Implementations must ensure that an ExceptionHandler suitable
- for writing exceptions to the partial response is installed if
- the current request required an Ajax response
- (PartialViewContext.isAjaxRequest() returns true).
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:239
13
4.2
- The UIViewRoot processDecodes, processValidators and processUpdates
- methods must determine if the request is a partial request using the
- FacesContext.isPartialRequest() method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:240
13
4.3
- The UIViewRoot getRendersChildren and encodeChildren methods must
- determine if the request is an Ajax request using the
- FacesContext.isAjaxRequest() method.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:241
13
4.4
- Implementations must adhere to the response format as specified in the
- JavaScript docs for jsf.ajax.response.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:242
13
4.4
- Implementations must adhere to the response format as specified in the
- JavaScript docs for jsf.ajax.response.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:243
14
2
- The jsf.ajax.request function is responsible for sending an Ajax request
- to the server. The requirements for this function are as follows:
-
true
-
-
false
technology
active
false
-
-
-
JSF:SPEC:243.1
14
2
- The request must be sent asynchronously
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:243.2
14
2
- The request must be sent with method type POST
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:243.3
14
2
- The request URL will be the form action attribute
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:243.4
14
2
- All requests will be queued with the use of a client side
- request queue to help ensure request ordering
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:244
14
2.1
- It must be a DOM element object or a string identifier for a DOM
- element.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:245
14
2.4
- The request header must be set with the name Faces-Request and the value
- partial/ajax.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:246
14
3
- The specifics details of this function’s operation must follow the
- jsf.ajax.response JavaScript documentation.
-
true
-
-
false
technology
active
true
-
-
-
JSF:SPEC:247
14
5
- This function must return the constant representing the current state of
- the running application in a typical product development lifecycle. The
- returned value must be the value returned from the server side method
- jakarta.faces.application.Application.getProjectStage()
-
true
-
-
false
technology
active
true
-
-
-
-
diff --git a/install/jsf/docs/index.html b/install/jsf/docs/index.html
deleted file mode 100644
index 263d7311f3..0000000000
--- a/install/jsf/docs/index.html
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
-
- Welcome to the Jakarta EE Server Faces TCK
-
-
-
-
-
Welcome to the Jakarta EE Server Faces Test Compatibility
- Kit, Version 3.0
-
Your Starting Point
-
-
-
Jakarta EE Server Faces TCK 3.0 Documentation
-
The Jakarta EE Server Faces TCK 3.0 documentation includes the following:
-
The Jakarta EE Server Faces TCK User's Guide (HTML,
- PDF)
- provides the information that you need to install, set up, and run the
- Jakarta EE Server Faces TCK, Version 3.0. In addition, the guide also
- provides the rules with which you must comply to pass the Jakarta EE
- Server Faces TCK.
-
-
-
The Javadoc
- Assertion List lists all the javadoc assertions that are
- indirectly tested by the Jakarta EE Server Faces TCK.
-
-
-
The Specification
- Assertion List lists all the specification assertions that are
- tested by the Jakarta EE Server Faces TCK.
-
-
-
JT Harness Documentation
-
The online version of the JT Harness version 5.0 documentation is
- available here.
-
-
- Copyright 2017, 2021 Oracle and/or its affiliates. All
- rights reserved.
-
-
-
-
diff --git a/install/jsf/other/testsuite.jtt b/install/jsf/other/testsuite.jtt
deleted file mode 100644
index 928d74b818..0000000000
--- a/install/jsf/other/testsuite.jtt
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
-#
-# This program and the accompanying materials are made available under the
-# terms of the Eclipse Public License v. 2.0, which is available at
-# http://www.eclipse.org/legal/epl-2.0.
-#
-# This Source Code may also be made available under the following Secondary
-# Licenses when the conditions for such availability set forth in the
-# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
-# version 2 with the GNU Classpath Exception, which is available at
-# https://www.gnu.org/software/classpath/license.html.
-#
-# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-#
-classpath=$TS_HOME/lib/tsharness.jar
-testsuite=com.sun.ts.lib.harness.TS
-name=JavaServer Faces TCK/2.3
diff --git a/internal/docs/jsf/JSFJavadocAssertions-2_2.xml b/internal/docs/jsf/JSFJavadocAssertions-2_2.xml
deleted file mode 100644
index b0bd78fbe5..0000000000
--- a/internal/docs/jsf/JSFJavadocAssertions-2_2.xml
+++ /dev/null
@@ -1,31362 +0,0 @@
-
-
-
-
-
- 3090
- 2939
- JSF
- JSF:JAVADOC:JSF
- JavaServer Faces
- 2.2
-
-
-
-
-
- JSF:JAVADOC:1
- Construct a new exception with no detail message or root cause.
- jakarta.faces
- FacesException
-
-
-
- JSF:JAVADOC:2
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces
- FacesException
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:3
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces
- FacesException
-
-
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:4
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces
- FacesException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:5
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
- jakarta.faces
- FacesException
-
-
-
- JSF:JAVADOC:6
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces
- FacesWrapper
-
-
-
- JSF:JAVADOC:8
- if the web application class loader cannot be identified
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:9
- if factoryName does not identify a standard JavaServer Faces factory name
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:10
- if there is no configured factory implementation class for the specified factory name
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:11
- if factoryname is null
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:12
- Release any references to factory instances associated with the class loader for the calling web application. This method must be called during of web application shutdown.
- jakarta.faces
- FactoryFinder
-
-
-
- JSF:JAVADOC:13
- if the web application class loader cannot be identified
- jakarta.faces
- FactoryFinder
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:14
- This method will store the argument factoryName/implName mapping in such a way that #getFactory will find this mapping when searching for a match. This method has no effect if getFactory() has already been called looking for a factory for this factoryName. This method can be used by implementations to store a factory mapping while parsing the Faces configuration file
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:15
- if factoryName does not identify a standard JavaServer Faces factory name
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:16
- if factoryname is null
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:17
- Register a new mapping of behavior id to the name of the corresponding Behavior class. This allows subsequent calls to createBehavior() to serve as a factory for Behavior instances.
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:18
- if behaviorId or behaviorClass is null
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:19
- Register a new mapping of component type to the name of the corresponding UIComponent class. This allows subsequent calls to createComponent() to serve as a factory for UIComponent instances.
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:20
- if componentType or componentClass is null
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:21
- Register a new mapping of converter id to the name of the corresponding Converter class. This allows subsequent calls to createConverter() to serve as a factory for Converter instances.
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:22
- if converterId or converterClass is null
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:23
- Register a new converter class that is capable of performing conversions for the specified target class.
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- java.lang.String
-
-
-
-
- JSF:JAVADOC:24
- if targetClass or converterClass is null
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:26
- Provide a way for Faces applications to register an ELContextListener that will be notified on creation of ELContext instances. This listener will be called once per request. An implementation is provided that throws UnsupportedOperationException so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
- ELContextListener
-
-
-
-
- JSF:JAVADOC:27
- Cause an the argument resolver to be added to the resolver chain as specified in section JSF.5.5.1 of the JavaServer Faces Specification. It is not possible to remove an ELResolver registered with this method, once it has been registered. It is illegal to register an ELResolver after the application has received any requests from the client. If an attempt is made to register a listener after that time, an IllegalStateException must be thrown. This restriction is in place to allow the JSP container to optimize for the common case where no additional ELResolvers are in the chain, aside from the standard ones. It is permissible to add ELResolvers before or after initialization to a CompositeELResolver that is already in the chain. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend Application.
- jakarta.faces.application
- Application
-
-
- ELResolver
-
-
-
-
- JSF:JAVADOC:28
- Register a new mapping of validator id to the name of the corresponding Validator class. This allows subsequent calls to createValidator() to serve as a factory for Validator instances.
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:29
- if validatorId or validatorClass is null
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:30
-
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:31
- Instantiate and return a new Behavior instance of the class specified by a previous call to addBehavior() for the specified behavior id.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:32
- if the Behavior cannot be created
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:33
- if behaviorId is null
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:34
- Instantiate and return a new UIComponent instance of the class specified by a previous call to addComponent() for the specified component type. Before the component instance is returned, it must be inspected for the presence of a jakarta.faces.event.ListenerFor (or jakarta.faces.event.ListenersFor) or ResourceDependency (or ResourceDependencies) annotation. If any of these annotations are present, the action listed in jakarta.faces.event.ListenerFor or ResourceDependency must be taken on the component, before it is returned from this method. This variant of createComponent must not inspect the jakarta.faces.render.Renderer for the component to be returned for any of the afore mentioned annotations. Such inspection is the province of #createComponent(ValueExpression, FacesContext, String, String) or #createComponent(FacesContext, String, String).
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:35
- if a UIComponent of the specified type cannot be created
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:36
- if componentType is null
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:37
- Wrap the argument componentBinding in an implementation of ValueExpression and call through to #createComponent(jakarta.el.ValueExpression,jakarta.faces.context.FacesContext,java.lang.String).
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.ValueBinding
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:38
- if a UIComponent cannot be created
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.ValueBinding
- jakarta.faces.context.FacesContext
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:39
- if any parameter is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.ValueBinding
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:40
- Call the getValue() method on the specified ValueExpression. If it returns a UIComponent instance, return it as the value of this method. If it does not, instantiate a new UIComponent instance of the specified component type, pass the new component to the setValue() method of the specified ValueExpression, and return it. Before the component instance is returned, it must be inspected for the presence of a jakarta.faces.event.ListenerFor (or jakarta.faces.event.ListenersFor) or ResourceDependency (or ResourceDependencies) annotation. If any of these annotations are present, the action listed in jakarta.faces.event.ListenerFor or ResourceDependency must be taken on the component, before it is returned from this method. This variant of createComponent must not inspect the jakarta.faces.render.Renderer for the component to be returned for any of the afore mentioned annotations. Such inspection is the province of #createComponent(ValueExpression, FacesContext, String, String) or #createComponent(FacesContext, String, String).
- jakarta.faces.application
- Application
-
-
- ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:41
- if a UIComponent cannot be created
- jakarta.faces.application
- Application
-
-
- ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:42
- if any parameter is null A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function.
- jakarta.faces.application
- Application
-
-
- ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:43
- Like #createComponent(ValueExpression, FacesContext, String) except the Renderer for the component to be returned must be inspected for the annotations mentioned in #createComponent(ValueExpression, FacesContext, String) as specified in the documentation for that method. The Renderer instance to inspect must be obtained by calling FacesContext#getRenderKit and calling jakarta.faces.render.RenderKit#getRenderer on the result, passing the argument componentType as the first argument and the result of calling UIComponent#getFamily on the newly created component as the second argument. If no such Renderer can be found, a message must be logged with a helpful error message. Otherwise, UIComponent#setRendererType must be called on the newly created UIComponent instance, passing the argument rendererType as the argument. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function.
- jakarta.faces.application
- Application
-
-
- ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:44
- if a UIComponent cannot be created
- jakarta.faces.application
- Application
-
-
- ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:45
- if any of the parameters componentExpression, context, or componentType are null
- jakarta.faces.application
- Application
-
-
- ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:46
- Like #createComponent(String) except the Renderer for the component to be returned must be inspected for the annotations mentioned in #createComponent(ValueExpression, FacesContext, String) as specified in the documentation for that method. The Renderer instance to inspect must be obtained by calling FacesContext#getRenderKit and calling jakarta.faces.render.RenderKit#getRenderer on the result, passing the argument componentType as the first argument and the result of calling UIComponent#getFamily on the newly created component as the second argument. If no such Renderer can be found, a message must be logged with a helpful error message. Otherwise, UIComponent#setRendererType must be called on the newly created UIComponent instance, passing the argument rendererType as the argument. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:47
- if a UIComponent cannot be created
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:48
- if any of the parameters context, or componentType are null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:50
- if a UIComponent from the Resource cannot be created
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:51
- if any parameter is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- <code>NullPointerException</code>
-
-
-
- JSF:JAVADOC:52
- if unable, for any reason, to obtain a ViewDeclarationLanguage instance as described above.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:53
- Instantiate and return a new Converter instance of the class specified by a previous call to addConverter() for the specified converter id. If the toLowerCase() of the String represenation of the value of the "jakarta.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE" application configuration parameter is "true" (without the quotes) and the Converter instance to be returned is an instance of jakarta.faces.convert.DateTimeConverter, jakarta.faces.convert.DateTimeConverter#setTimeZone must be called, passing the return from TimeZone.getDefault(). The argument converter must be inspected for the presence of the jakarta.faces.application.ResourceDependency annotation. If the ResourceDependency annotation is present, the action described in ResourceDependency must be taken. If the ResourceDependency annotation is not present, the argument converter must be inspected for the presence of the jakarta.faces.application.ResourceDependencies annotation. If the ResourceDependencies annotation is present, the action described in ResourceDependencies must be taken.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:54
- if the Converter cannot be created
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:55
- if converterId is null
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:56
- Instantiate and return a new Converter instance of the class that has registered itself as capable of performing conversions for objects of the specified type. If no such Converter class can be identified, return null. To locate an appropriate Converter class, the following algorithm is performed, stopping as soon as an appropriate Converter class is found: Locate a Converter registered for the target class itself. Locate a Converter registered for interfaces that are implemented by the target class (directly or indirectly). Locate a Converter registered for the superclass (if any) of the target class, recursively working up the inheritance hierarchy. If the Converter has a single argument constructor that accepts a Class, instantiate the Converter using that constructor, passing the argument targetClass as the sole argument. Otherwise, simply use the zero-argument constructor. If the toLowerCase() of the String represenation of the value of the "jakarta.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE" application configuration parameter is "true" (without the quotes) and the Converter instance to be returned is an instance of jakarta.faces.convert.DateTimeConverter, jakarta.faces.convert.DateTimeConverter#setTimeZone must be called, passing the return from TimeZone.getDefault().
- jakarta.faces.application
- Application
-
-
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:57
- if the Converter cannot be created
- jakarta.faces.application
- Application
-
-
- java.lang.Class
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:58
- if targetClass is null
- jakarta.faces.application
- Application
-
-
- java.lang.Class
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:59
- Call #getExpressionFactory then call ExpressionFactory#createMethodExpression, passing the given arguments, and wrap the result in a MethodBinding implementation, returning it.
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.Class[]
-
-
-
-
- JSF:JAVADOC:60
- if the specified ref has invalid syntax
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.Class[]
-
- jakarta.faces.el.ReferenceSyntaxException
-
-
-
- JSF:JAVADOC:61
- if ref is null
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.Class[]
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:62
- Instantiate and return a new Validator instance of the class specified by a previous call to addValidator() for the specified validator id. The argument validator must be inspected for the presence of the jakarta.faces.application.ResourceDependency annotation. If the ResourceDependency annotation is present, the action described in ResourceDependency must be taken. If the ResourceDependency annotation is not present, the argument validator must be inspected for the presence of the jakarta.faces.application.ResourceDependencies annotation. If the ResourceDependencies annotation is present, the action described in ResourceDependencies must be taken.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:63
- if a Validator of the specified id cannot be created
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:64
- if validatorId is null
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:65
- Call #getExpressionFactory then call ExpressionFactory#createValueExpression, passing the argument ref, Object.class for the expectedType, and null, for the fnMapper.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:66
- if the specified ref has invalid syntax
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- jakarta.faces.el.ReferenceSyntaxException
-
-
-
- JSF:JAVADOC:67
- if ref is null
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:68
- Get a value by evaluating an expression. Call #getExpressionFactory then call ExpressionFactory#createValueExpression passing the argument expression and expectedType. Call FacesContext#getELContext and pass it to ValueExpression#getValue, returning the result. An implementation is provided that throws UnsupportedOperationException so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:69
-
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Class
-
- ELException
-
-
-
- JSF:JAVADOC:71
- Return an Iterator over the set of currently registered behavior ids for this Application.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:72
- Return an Iterator over the set of currently defined component types for this Application.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:73
- Return an Iterator over the set of currently registered converter ids for this Application.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:74
- Return an Iterator over the set of Class instances for which Converter classes have been explicitly registered.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:75
- Return the default Locale for this application. If not explicitly set, null is returned.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:76
- Return the renderKitId to be used for rendering this application. If not explicitly set, null is returned.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:77
- Return an immutable Map over the set of currently registered default validator IDs and their class name for this Application. An implementation is provided that returns Collections.emptyMap so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:78
- If no calls have been made to #addELContextListener, this method must return an empty array. Otherwise, return an array representing the list of listeners added by calls to #addELContextListener. An implementation is provided that throws UnsupportedOperationException so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:79
- Return the singleton ELResolver instance to be used for all EL resolution. This is actually an instance of jakarta.el.CompositeELResolver that must contain the following ELResolver instances in the following order: ELResolver instances declared using the element in the application configuration resources. An implementation that wraps the head of the legacy VariableResolver chain, as per section VariableResolver ChainWrapper in Chapter JSF.5 in the spec document. An implementation that wraps the head of the legacy PropertyResolver chain, as per section PropertyResolver ChainWrapper in Chapter JSF.5 in the spec document. Any ELResolver instances added by calls to #addELResolver. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend Application.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:80
- Return the ExpressionFactory instance for this application. This instance is used by the convenience method #evaluateExpressionGet. The implementation must return the ExpressionFactory from the JSP container by calling JspFactory.getDefaultFactory().getJspApplicationContext(servletContext).getExpressionFactory(). An implementation is provided that throws UnsupportedOperationException so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:81
- Return the fully qualified class name of the ResourceBundle to be used for JavaServer Faces messages for this application. If not explicitly set, null is returned.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:82
- Return the NavigationHandler instance that will be passed the outcome returned by any invoked application action for this web application. If not explicitly set, a default implementation must be provided that performs the functions described in the NavigationHandler class description.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:83
- Return the project stage for the currently running application instance. The default value is ProjectStage#Production The implementation of this method must perform the following algorithm or an equivalent with the same end result to determine the value to return. If the value has already been determined by a previous call to this method, simply return that value. Look for a JNDI environment entry under the key given by the value of ProjectStage#PROJECT_STAGE_JNDI_NAME (return type of java.lang.String). If found, continue with the algorithm below, otherwise, look for an entry in the initParamMap of the ExternalContext from the current FacesContext with the key given by the value of ProjectStage#PROJECT_STAGE_PARAM_NAME If a value is found, see if an enum constant can be obtained by calling ProjectStage.valueOf(), passing the value from the initParamMap. If this succeeds without exception, save the value and return it. If not found, or any of the previous attempts to discover the enum constant value have failed, log a descriptive error message, assign the value as ProjectStage.Production and return it. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:84
- Return a PropertyResolver instance that wraps the ELResolver instance that Faces provides to the unified EL for the resolution of expressions that appear programmatically in an application. Note that this no longer returns the default PropertyResolver since that class is now a no-op that aids in allowing custom PropertyResolvers to affect the EL resolution process.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:85
- Find a ResourceBundle as defined in the application configuration resources under the specified name. If a ResourceBundle was defined for the name, return an instance that uses the locale of the current jakarta.faces.component.UIViewRoot. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:86
- if a bundle was defined, but not resolvable
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:87
- if ctx == null || name == null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:88
- Return the singleton, stateless, thread-safe ResourceHandler for this application. The JSF implementation must support the following techniques for declaring an alternate implementation of ResourceHandler. The ResourceHandler implementation is declared in the application configuration resources by giving the fully qualified class name as the value of the element within the element. In all of the above cases, the runtime must employ the decorator pattern as for every other pluggable artifact in JSF. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:89
- Return the StateManager instance that will be utilized during the Restore View and Render Response phases of the request processing lifecycle. If not explicitly set, a default implementation must be provided that performs the functions described in the StateManager description in the JavaServer Faces Specification.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:90
- Return an Iterator over the supported Locales for this appication.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:91
- Return an Iterator over the set of currently registered validator ids for this Application.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:92
- Return the VariableResolver that wraps the ELResolver instance that Faces provides to the unified EL for the resolution of expressions that appear programmatically in an application. The implementation of the VariableResolvermust pass null as the base argument for any methods invoked on the underlying ELResolver. Note that this method no longer returns the default VariableResolver, since that class now is a no-op that aids in allowing custom VariableResolvers to affect the EL resolution process.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:93
- Return the ViewHandler instance that will be utilized during the Restore View and Render Response phases of the request processing lifecycle. If not explicitly set, a default implementation must be provided that performs the functions described in the ViewHandler description in the JavaServer Faces Specification.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:94
- If jakarta.faces.context.FacesContext#isProcessingEvents() is true and there are one or more listeners for events of the type represented by systemEventClass, call those listeners, passing source as the source of the event. The implementation should be as fast as possible in determining whether or not a listener for the given systemEventClass and source has been installed, and should return immediately once such a determination has been made. The implementation of publishEvent must honor the requirements stated in #subscribeToEvent regarding the storage and retrieval of listener instances. Specifically, if #subscribeToEvent(Class,Class,SystemEventListener) was called, the sourceClass argument must match exactly the Class of the source argument in the call to publishEvent(). The implementation must not do any inheritance hierarachy inspection when looking for a match between the sourceClass passed to #subscribeToEvent(Class,Class,SystemEventListener) and the sourceClass passed to publishEvent() in order to find any listeners to which the event should be published. In the case where the Class of the source argument does not match the Class of the sourceClass used when the listener was subscribed using subscribeToEvent(), #publishEvent(FacesContext,Class,Class,Object) can be used to provide the Class used to perform the listener lookup and match. The default implementation must implement an algorithm semantically equivalent to the following to locate listener instances and to invoke them. If the source argument implements jakarta.faces.event.SystemEventListenerHolder, call jakarta.faces.event.SystemEventListenerHolder#getListenersForEventClass on it, passing the systemEventClass argument. If the list is not empty, perform algorithm traverseListenerList on the list. If any view level listeners have been installed by previous calls to #subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener) on the jakarta.faces.component.UIViewRoot, perform algorithm traverseListenerList on the list of listeners for that event installed on the UIViewRoot. If any Application level listeners have been installed by previous calls to #subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener), perform algorithm traverseListenerList on the list. If any Application level listeners have been installed by previous calls to #subscribeToEvent(Class, jakarta.faces.event.SystemEventListener), perform algorithm traverseListenerList on the list. If the act of invoking the processListener method causes an jakarta.faces.event.AbortProcessingException to be thrown, processing of the listeners must be aborted, no further processing of the listeners for this event must take place, and the exception must be logged with Level.SEVERE. Algorithm traverseListenerList: For each listener in the list, Call jakarta.faces.event.SystemEventListener#isListenerForSource, passing the source argument. If this returns false, take no action on the listener. Otherwise, if the event to be passed to the listener instances has not yet been constructed, construct the event, passing source as the argument to the one-argument constructor that takes an Object. This same event instance must be passed to all listener instances. Call jakarta.faces.event.SystemEvent#isAppropriateListener, passing the listener instance as the argument. If this returns false, take no action on the listener. Call jakarta.faces.event.SystemEvent#processListener, passing the listener instance. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.Class
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:95
- if either context, systemEventClass or source is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.Class
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:96
- This method functions exactly like #publishEvent(FacesContext,Class,Object), except the run-time must use the argument sourceBaseType to find the matching listener instead of using the Class of the source argument. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.Class
- java.lang.Class
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:98
- Remove the argument listener from the list of ELContextListeners. If listener is null, no exception is thrown and no action is performed. If listener is not in the list, no exception is thrown and no action is performed. An implementation is provided that throws UnsupportedOperationException so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
- ELContextListener
-
-
-
-
- JSF:JAVADOC:99
- Set the default ActionListener to be registered for all jakarta.faces.component.ActionSource components.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
- JSF:JAVADOC:100
- if listener is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.event.ActionListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:101
- Set the default Locale for this application.
- jakarta.faces.application
- Application
-
-
- java.util.Locale
-
-
-
-
- JSF:JAVADOC:102
- if locale is null
- jakarta.faces.application
- Application
-
-
- java.util.Locale
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:103
- Set the renderKitId to be used to render this application. Unless the client has provided a custom ViewHandler that supports the use of multiple jakarta.faces.render.RenderKit instances in the same application, this method must only be called at application startup, before any Faces requests have been processed. This is a limitation of the current Specification, and may be lifted in a future release.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:104
- Set the fully qualified class name of the ResourceBundle to be used for JavaServer Faces messages for this application. See the JavaDocs for the java.util.ResourceBundle class for more information about the syntax for resource bundle names.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:105
- if bundle is null
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:106
- Set the NavigationHandler instance that will be passed the outcome returned by any invoked application action for this web application.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.NavigationHandler
-
-
-
-
- JSF:JAVADOC:107
- if handler is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.NavigationHandler
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:108
- Set the PropertyResolver instance that will be utilized to resolve method and value bindings. This method is now deprecated but the implementation must cause the argument to be set as the head of the legacy PropertyResolver chain, replacing any existing value that was set from the application configuration resources. It is illegal to call this method after the application has received any requests from the client. If an attempt is made to register a listener after that time it must have no effect.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.PropertyResolver
-
-
-
-
- JSF:JAVADOC:109
- if resolver is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.PropertyResolver
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:110
- if called after the first request to the jakarta.faces.webapp.FacesServlet has been serviced.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.PropertyResolver
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:111
- Set the ResourceHandler instance that will be utilized for rendering the markup for resources, and for satisfying client requests to serve up resources.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.ResourceHandler
-
-
-
-
- JSF:JAVADOC:112
- if this method is called after at least one request has been processed by the Lifecycle instance for this application.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.ResourceHandler
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:113
- if resourceHandler is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.ResourceHandler
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:114
- Set the StateManager instance that will be utilized during the Restore View and Render Response phases of the request processing lifecycle.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.StateManager
-
-
-
-
- JSF:JAVADOC:115
- if this method is called after at least one request has been processed by the Lifecycle instance for this application.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.StateManager
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:116
- if manager is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.StateManager
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:117
- Set the Locale instances representing the supported Locales for this application.
- jakarta.faces.application
- Application
-
-
- java.util.Collection
-
-
-
-
- JSF:JAVADOC:118
- if the argument newLocales is null.
- jakarta.faces.application
- Application
-
-
- java.util.Collection
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:119
- Set the VariableResolver instance that will be consulted to resolve method and value bindings. This method is now deprecated but the implementation must cause the argument to be set as the head of the legacy VariableResolver chain, replacing any existing value that was set from the application configuration resources. It is illegal to call this method after the application has received any requests from the client. If an attempt is made to register a listener after that time it must have no effect.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.VariableResolver
-
-
-
-
- JSF:JAVADOC:120
- if resolver is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.VariableResolver
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:121
- if called after the first request to the jakarta.faces.webapp.FacesServlet has been serviced.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.VariableResolver
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:122
- Set the ViewHandler instance that will be utilized during the Restore View and Render Response phases of the request processing lifecycle.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.ViewHandler
-
-
-
-
- JSF:JAVADOC:123
- if this method is called after at least one request has been processed by the Lifecycle instance for this application.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.ViewHandler
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:124
- if handler is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.ViewHandler
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:126
- if any combination of systemEventClass, or listener are null.
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
- <code>NullPointerException</code>
-
-
-
- JSF:JAVADOC:127
- Install the listener instance referenced by argument listener into application as a listener for events of type systemEventClass. The default implementation simply calls through to #subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener) passing null as the sourceClass argument A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function.
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
- JSF:JAVADOC:128
- if any combination of systemEventClass, or listener are null.
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
- <code>NullPointerException</code>
-
-
-
- JSF:JAVADOC:130
- if any combination of context, systemEventClass, or listener are null.
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
- <code>NullPointerException</code>
-
-
-
- JSF:JAVADOC:132
- if any combination of context, systemEventClass, or listener are null. http://java.sun.com/javaee/javaserverfaces/reference/api/index.html
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
- <code>NullPointerException</code>
-
-
-
- JSF:JAVADOC:133
-
- jakarta.faces.application
- ApplicationFactory
-
-
-
- JSF:JAVADOC:134
- Create (if needed) and return an Application instance for this web application.
- jakarta.faces.application
- ApplicationFactory
-
-
-
- JSF:JAVADOC:135
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. A default implementation is provided that returns null.
- jakarta.faces.application
- ApplicationFactory
-
-
-
- JSF:JAVADOC:136
- Replace the Application instance that will be returned for this web application.
- jakarta.faces.application
- ApplicationFactory
-
-
- jakarta.faces.application.Application
-
-
-
-
- JSF:JAVADOC:137
- if application is null.
- jakarta.faces.application
- ApplicationFactory
-
-
- jakarta.faces.application.Application
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:138
- The default behavior of this method is to call Application#addBehavior(String, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:139
- The default behavior of this method is to call Application#addComponent(String, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:140
- The default behavior of this method is to call Application#addConverter(String, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:141
- The default behavior of this method is to call Application#addConverter(Class, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.Class
- java.lang.String
-
-
-
-
- JSF:JAVADOC:142
- The default behavior of this method is to call Application#addDefaultValidatorId(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:143
- The default behavior of this method is to call Application#addELContextListener(jakarta.el.ELContextListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- ELContextListener
-
-
-
-
- JSF:JAVADOC:144
- The default behavior of this method is to call Application#addELResolver(jakarta.el.ELResolver) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- ELResolver
-
-
-
-
- JSF:JAVADOC:145
- The default behavior of this method is to call Application#addValidator(String, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:146
-
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:147
- The default behavior of this method is to call Application#createBehavior(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:148
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:149
- The default behavior of this method is to call Application#createComponent(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:150
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:153
- The default behavior of this method is to call Application#createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:154
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:155
- The default behavior of this method is to call Application#createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:156
- The default behavior of this method is to call Application#createComponent(jakarta.faces.context.FacesContext, String, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:157
- The default behavior of this method is to call Application#createComponent(jakarta.faces.context.FacesContext, Resource) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
-
-
-
- JSF:JAVADOC:158
- The default behavior of this method is to call Application#createConverter(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:159
- The default behavior of this method is to call Application#createConverter(Class) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:162
- The default behavior of this method is to call Application#createValidator(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:163
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:164
- The default behavior of this method is to call Application#createValueBinding(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:165
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
- jakarta.faces.el.ReferenceSyntaxException
-
-
-
- JSF:JAVADOC:168
- The default behavior of this method is to call Application#getActionListener on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:169
- The default behavior of this method is to call Application#getBehaviorIds on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:170
- The default behavior of this method is to call Application#getComponentTypes on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:171
- The default behavior of this method is to call Application#getConverterIds on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:172
- The default behavior of this method is to call Application#getConverterTypes on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:173
- The default behavior of this method is to call Application#getDefaultLocale on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:174
- The default behavior of this method is to call Application#getDefaultRenderKitId on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:175
- The default behavior of this method is to call Application#getDefaultValidatorInfo on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:176
- The default behavior of this method is to call Application#getELContextListeners on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:177
- The default behavior of this method is to call Application#getELResolver on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:178
- The default behavior of this method is to call Application#getExpressionFactory on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:179
- The default behavior of this method is to call Application#getMessageBundle on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:180
- The default behavior of this method is to call Application#getNavigationHandler on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:181
- The default behavior of this method is to call Application#getProjectStage on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:183
- The default behavior of this method is to call Application#getResourceBundle(jakarta.faces.context.FacesContext, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:184
- The default behavior of this method is to call Application#getResourceHandler on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:185
- The default behavior of this method is to call Application#getStateManager on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:186
- The default behavior of this method is to call Application#getSupportedLocales on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:187
- The default behavior of this method is to call Application#getValidatorIds on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:189
- The default behavior of this method is to call Application#getViewHandler on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:190
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:191
- The default behavior of this method is to call Application#publishEvent(jakarta.faces.context.FacesContext, Class, Object) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.Class
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:192
- The default behavior of this method is to call Application#publishEvent(jakarta.faces.context.FacesContext, Class, Class, Object) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.Class
- java.lang.Class
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:193
- The default behavior of this method is to call Application#removeELContextListener(jakarta.el.ELContextListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- ELContextListener
-
-
-
-
- JSF:JAVADOC:194
- The default behavior of this method is to call Application#setActionListener(jakarta.faces.event.ActionListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
- JSF:JAVADOC:195
- The default behavior of this method is to call Application#setDefaultLocale(java.util.Locale) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.util.Locale
-
-
-
-
- JSF:JAVADOC:196
- The default behavior of this method is to call Application#setDefaultRenderKitId(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:197
- The default behavior of this method is to call Application#setMessageBundle(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:198
- The default behavior of this method is to call Application#setNavigationHandler(NavigationHandler) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.NavigationHandler
-
-
-
-
- JSF:JAVADOC:200
- The default behavior of this method is to call Application#setResourceHandler(ResourceHandler) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.ResourceHandler
-
-
-
-
- JSF:JAVADOC:201
- The default behavior of this method is to call Application#setStateManager(StateManager) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.StateManager
-
-
-
-
- JSF:JAVADOC:202
- The default behavior of this method is to call Application#setSupportedLocales(java.util.Collection) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.util.Collection
-
-
-
-
- JSF:JAVADOC:204
- The default behavior of this method is to call Application#setViewHandler(ViewHandler) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.ViewHandler
-
-
-
-
- JSF:JAVADOC:205
- The default behavior of this method is to call Application#subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.Class
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
- JSF:JAVADOC:206
- The default behavior of this method is to call Application#subscribeToEvent(Class, jakarta.faces.event.SystemEventListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
- JSF:JAVADOC:207
- The default behavior of this method is to call Application#unsubscribeFromEvent(Class, Class, jakarta.faces.event.SystemEventListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.Class
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
- JSF:JAVADOC:208
- The default behavior of this method is to call Application#unsubscribeFromEvent(Class, jakarta.faces.event.SystemEventListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
- JSF:JAVADOC:209
-
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
-
- JSF:JAVADOC:210
- Return the NavigationCase representing the navigation that would be taken had NavigationHandler#handleNavigation been called with the same arguments or null if there is no such case.
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:211
- if context is null
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:212
- Return a Map where the keys are values and the values are Set where each element in the Set is a NavigationCase that applies to that . The implementation must support live modifications to this Map.
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
-
- JSF:JAVADOC:214
- if this method is called after this instance has been released
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
- java.lang.String
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:215
- Construct a new jakarta.faces.application.FacesMessage with no initial values. The severity is set to Severity.INFO.
- jakarta.faces.application
- FacesMessage
-
-
-
- JSF:JAVADOC:216
- Construct a new jakarta.faces.application.FacesMessage with just a summary. The detail is null, the severity is set to Severity.INFO.
- jakarta.faces.application
- FacesMessage
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:217
- Construct a new jakarta.faces.application.FacesMessage with the specified initial values. The severity is set to Severity.INFO.
- jakarta.faces.application
- FacesMessage
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:218
- Construct a new FacesMessage with the specified initial values.
- jakarta.faces.application
- FacesMessage
-
-
- jakarta.faces.application.FacesMessage.FacesMessage.Severity
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:219
- Return the localized detail text. If no localized detail text has been defined for this message, return the localized summary text instead.
- jakarta.faces.application
- FacesMessage
-
-
-
- JSF:JAVADOC:220
- Return the severity level.
- jakarta.faces.application
- FacesMessage
-
-
-
- JSF:JAVADOC:221
- Return the localized summary text.
- jakarta.faces.application
- FacesMessage
-
-
-
- JSF:JAVADOC:222
-
- jakarta.faces.application
- FacesMessage
-
-
-
- JSF:JAVADOC:223
- Marks this message as having been rendered to the client.
- jakarta.faces.application
- FacesMessage
-
-
-
- JSF:JAVADOC:224
- Set the localized detail text.
- jakarta.faces.application
- FacesMessage
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:225
- Set the severity level.
- jakarta.faces.application
- FacesMessage
-
-
- jakarta.faces.application.FacesMessage.FacesMessage.Severity
-
-
-
-
- JSF:JAVADOC:226
- if the specified severity level is not one of the supported values
- jakarta.faces.application
- FacesMessage
-
-
- jakarta.faces.application.FacesMessage.FacesMessage.Severity
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:227
- Set the localized summary text.
- jakarta.faces.application
- FacesMessage
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:228
- Compare this jakarta.faces.application.FacesMessage.Severity instance to the specified one. Returns a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object.
- jakarta.faces.application
- FacesMessage.Severity
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:229
- Return the ordinal value of this FacesMessage.Severity instance.
- jakarta.faces.application
- FacesMessage.Severity
-
-
-
- JSF:JAVADOC:230
- Return a String representation of this FacesMessage.Severity instance.
- jakarta.faces.application
- FacesMessage.Severity
-
-
-
- JSF:JAVADOC:231
-
- jakarta.faces.application
- NavigationCase
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:232
- Construct an absolute URL to this NavigationCase instance using jakarta.faces.application.ViewHandler#getActionURL on the path portion of the url.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:233
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
- JSF:JAVADOC:234
- Construct an absolute URL suitable for a bookmarkable link to this NavigationCase instance using jakarta.faces.application.ViewHandler#getBookmarkableURL on the path portion of the url. This URL may include view parameters specified as metadata within the view.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:235
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
- JSF:JAVADOC:237
- exceptions encountered during the process of evaluating the expression or obtaining its value.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
- any
-
-
-
- JSF:JAVADOC:238
- Return the for this
- jakarta.faces.application
- NavigationCase
-
-
-
- JSF:JAVADOC:239
- Return the for this
- jakarta.faces.application
- NavigationCase
-
-
-
- JSF:JAVADOC:240
- Return the of the inside which this is nested.
- jakarta.faces.application
- NavigationCase
-
-
-
- JSF:JAVADOC:241
- Return the parameters to be included for navigation cases requiring a redirect. If no parameters are defined, null will be returned. The keys in the Map are parameter names. For each key, the corresponding value is a List of unconverted values.
- jakarta.faces.application
- NavigationCase
-
-
-
- JSF:JAVADOC:242
- Construct an absolute URL suitable for a "redirect" to this NavigationCase instance using jakarta.faces.application.ViewHandler#getRedirectURL on the path portion of the url.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:243
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
- JSF:JAVADOC:244
- Construct an absolute URL to this NavigationCase instance using jakarta.faces.application.ViewHandler#getResourceURL on the path portion of the url.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:245
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
- JSF:JAVADOC:246
- Evaluates the for this
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:247
- Test if this navigation case has an associated element.
- jakarta.faces.application
- NavigationCase
-
-
-
- JSF:JAVADOC:248
-
- jakarta.faces.application
- NavigationCase
-
-
-
- JSF:JAVADOC:249
- Return the value for this . This will be true if the view parametets should be encoded into the redirect URL (only applies to redirect case)
- jakarta.faces.application
- NavigationCase
-
-
-
- JSF:JAVADOC:250
- Return the value for this . This will be true if the new view should be navigated to via a jakarta.faces.context.ExternalContext#redirect(String)
- jakarta.faces.application
- NavigationCase
-
-
-
- JSF:JAVADOC:251
- Construct a new NavigationCase based on the provided arguments. See section JSF.7.4.2 for how a NavigationCase is used by the standard ConfigurableNavigationHandler
- jakarta.faces.application
- NavigationCase
-
-
- java.lang.String
- java.lang.String
- java.lang.String
- java.lang.String
- java.lang.String
- java.util.Map
- boolean
- boolean
-
-
-
-
- JSF:JAVADOC:252
-
- jakarta.faces.application
- NavigationCase
-
-
-
- JSF:JAVADOC:253
- Perform navigation processing based on the state information in the specified FacesContext, plus the outcome string returned by an executed application action. If the implementation class also extends ConfigurableNavigationHandler, the implementation must guarantee that the logic used in a call to ConfigurableNavigationHandler#getNavigationCase is used in this method to determine the correct navigation. This method must set the render targets (used in partial rendering) to render all invoking jakarta.faces.context.PartialViewContext#setRenderAll) if the view identifier has changed as the result of an application action (to take into account Ajax requests).
- jakarta.faces.application
- NavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:254
- if context is null
- jakarta.faces.application
- NavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:255
-
- jakarta.faces.application
- NavigationHandler
-
-
-
- JSF:JAVADOC:256
-
- jakarta.faces.application
- ProjectStage
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:257
-
- jakarta.faces.application
- ProjectStage
-
-
-
- JSF:JAVADOC:258
- Return the MIME content-type for this resource.
- jakarta.faces.application
- Resource
-
-
-
- JSF:JAVADOC:259
- If the current request is a resource request, (that is, ResourceHandler#isResourceRequest returns true), return an InputStream containing the bytes of the resource. Otherwise, throw an IOException.
- jakarta.faces.application
- Resource
-
-
-
- JSF:JAVADOC:260
- if the current request is not a resource request.
- jakarta.faces.application
- Resource
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:261
- Return the libraryName for this resource. May be null. The libraryName for a resource is an optional String that indicates membership in a "resource library". All resources with the same libraryName belong to the same "resource library". The "resource library" concept allows disambiguating resources that have the same resourceName. See ResourceHandler for more information.
- jakarta.faces.application
- Resource
-
-
-
- JSF:JAVADOC:263
- Return the resourceName for this resource. Will never be null. All Resource instances must have a resourceName.
- jakarta.faces.application
- Resource
-
-
-
- JSF:JAVADOC:264
- Returns a mutable Map whose entries will be sent as response headers during ResourceHandler#handleResourceRequest. The entries in this map must not persist beyond the scope of a single request. Any modifications made to the map after the resource has been served will be ignored by the run-time.
- jakarta.faces.application
- Resource
-
-
-
- JSF:JAVADOC:265
- Return an actual URL instance that refers to this resource instance.
- jakarta.faces.application
- Resource
-
-
-
- JSF:JAVADOC:266
-
- jakarta.faces.application
- Resource
-
-
-
- JSF:JAVADOC:267
- Set the MIME content-type for this resource. The default implementation performs no validation on the argument.
- jakarta.faces.application
- Resource
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:268
- Set the libraryName for this resource.
- jakarta.faces.application
- Resource
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:269
- Set the resourceName for this resource.
- jakarta.faces.application
- Resource
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:270
- if argument resourceName is null.
- jakarta.faces.application
- Resource
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:271
- Call through to #getRequestPath and return the result.
- jakarta.faces.application
- Resource
-
-
-
- JSF:JAVADOC:273
-
- jakarta.faces.application
- ResourceDependencies
-
-
-
- JSF:JAVADOC:274
- The libraryName in which the resource pointed to by this ResourceDependency resides. If not specified, defaults to the empty string. It is valid to have EL Expressions in the value of this attribute, as long as the expression resolves to an instance of the expected type.
- jakarta.faces.application
- ResourceDependency
-
-
-
- JSF:JAVADOC:275
- The resourceName of the resource pointed to by this ResourceDependency. It is valid to have EL Expressions in the value of this attribute, as long as the expression resolves to an instance of the expected type.
- jakarta.faces.application
- ResourceDependency
-
-
-
- JSF:JAVADOC:276
- The value given for this attribute will be passed as the "target" argument to jakarta.faces.component.UIViewRoot#addComponentResource(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent, java.lang.String). If this attribute is specified, jakarta.faces.component.UIViewRoot#addComponentResource(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent) must be called instead, as described above. It is valid to have EL Expressions in the value of this attribute, as long as the expression resolves to an instance of the expected type.
- jakarta.faces.application
- ResourceDependency
-
-
-
- JSF:JAVADOC:278
- if resourceName is null.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:280
- if resourceName is null
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
- java.lang.String
-
- <code>NullPointerException</code>
-
-
-
- JSF:JAVADOC:282
- if resourceName is null.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
- java.lang.String
- java.lang.String
-
- <code>NullPointerException</code>
-
-
-
- JSF:JAVADOC:283
- Return the renderer-type for a jakarta.faces.render.Renderer that is capable of rendering this resource. The default implementation must return values according to the following table. If no renderer-type can be determined, null must be returned. example resource name renderer-type mycomponent.js jakarta.faces.resource.Script mystyle.css jakarta.faces.resource.Stylesheet
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:284
- This method specifies the contract for satisfying resource requests. This method is called from jakarta.faces.webapp.FacesServlet#service after that method determines the current request is a resource request by calling #isResourceRequest. Thus, handleResourceRequest may assume that the current request is a resource request. The default implementation must implement an algorithm semantically identical to the following algorithm. For discussion, in all cases when a status code is to be set, this spec talks only using the Servlet API, but it is understood that in a portlet environment the appropriate equivalent API must be used. If the resourceIdentifier ends with any of the extensions listed in the value of the #RESOURCE_EXCLUDES_PARAM_NAME init parameter, HttpServletRequest.SC_NOT_FOUND must be passed to HttpServletResponse.setStatus(), then handleResourceRequest must immediately return. Extract the resourceName from the resourceIdentifier by taking the substring of resourceIdentifier that starts at #RESOURCE_IDENTIFIER.length() + 1 and goes to the end of resourceIdentifier. If no resourceName can be extracted, HttpServletRequest.SC_NOT_FOUND must be passed to HttpServletResponse.setStatus(), then handleResourceRequest must immediately return. Extract the libraryName from the request by looking in the request parameter map for an entry under the key "ln", without the quotes. If found, use its value as the libraryName. If resourceName and libraryName are present, call #createResource(String, String) to create the Resource. If only resourceName is present, call #createResource(String) to create the Resource. If the Resource cannot be successfully created, HttpServletRequest.SC_NOT_FOUND must be passed to HttpServletResponse.setStatus(), then handleResourceRequest must immediately return. Call Resource#userAgentNeedsUpdate. If this method returns false, HttpServletRequest.SC_NOT_MODIFIED must be passed to HttpServletResponse.setStatus(), then handleResourceRequest must immediately return. Pass the result of Resource#getContentType to HttpServletResponse.setContentType. Call Resource#getResponseHeaders. For each entry in this Map, call HttpServletResponse.setHeader(), passing the key as the first argument and the value as the second argument. Call Resource#getInputStream and serve up the bytes of the resource to the response. Call HttpServletResponse.setContentLength() passing the byte count of the resource. If an IOException is thrown during any of the previous steps, log a descriptive, localized message, including the resourceName and libraryName (if present). Then, HttpServletRequest.SC_NOT_FOUND must be passed to HttpServletResponse.setStatus(), then handleResourceRequest must immediately return. In all cases in this method, any streams, channels, sockets, or any other IO resources must be closed before this method returns.
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:285
-
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:286
- Return true if the current request is a resource request. This method is called by jakarta.faces.webapp.FacesServlet#service to determine if this request is a view request or a resource request.
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:288
-
- jakarta.faces.application
- ResourceHandler
-
-
-
- JSF:JAVADOC:289
- The default behavior of this method is to call ResourceHandler#createResource(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:290
- The default behavior of this method is to call ResourceHandler#createResource(String, String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:291
- The default behavior of this method is to call ResourceHandler#createResource(String, String, String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:292
- The default behavior of this method is to call ResourceHandler#getRendererTypeForResourceName(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:293
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
-
- JSF:JAVADOC:294
- The default behavior of this method is to call ResourceHandler#handleResourceRequest(jakarta.faces.context.FacesContext) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:295
-
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:296
- The default behavior of this method is to call ResourceHandler#isResourceRequest(jakarta.faces.context.FacesContext) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:297
- The default behavior of this method is to call ResourceHandler#libraryExists(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:298
-
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
-
- JSF:JAVADOC:299
- The default behavior of this method is to call Resource#getInputStream on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
- JSF:JAVADOC:300
-
- jakarta.faces.application
- ResourceWrapper
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:301
- The default behavior of this method is to call Resource#getRequestPath on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
- JSF:JAVADOC:302
- The default behavior of this method is to call Resource#getResponseHeaders on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
- JSF:JAVADOC:303
- The default behavior of this method is to call Resource#getURL on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
- JSF:JAVADOC:304
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- ResourceWrapper
-
-
-
- JSF:JAVADOC:305
-
- jakarta.faces.application
- ResourceWrapper
-
-
-
- JSF:JAVADOC:306
- The default behavior of this method is to call Resource#userAgentNeedsUpdate on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:307
- Convenience method to return the view state as a String with no RenderKit specific markup. This default implementation of this method will call #saveView(jakarta.faces.context.FacesContext) and passing the result to and returning the resulting value from ResponseStateManager#getViewState(jakarta.faces.context.FacesContext, Object).
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:308
-
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:309
- if context is null.
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:311
- if renderKitId is null.
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:312
- Return the tree structure and component state information for the view contained in the specified FacesContext instance as an object of type StateManager.SerializedView. If there is no state information to be saved, return null instead. Components may opt out of being included in the serialized view by setting their transient property to true. This must cause the component itself, as well as all of that component's children and facets, to be omitted from the saved tree structure and component state information. This method must also enforce the rule that, for components with non-null ids, all components that are descendants of the same nearest NamingContainer must have unique identifiers.
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:313
- if more than one component or facet within the same NamingContainer in this view has the same non-null component id
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:315
- if more than one component or facet within the same NamingContainer in this view has the same non-null component id
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:316
-
- jakarta.faces.application
- StateManager
-
-
-
- JSF:JAVADOC:317
- Save the state represented in the specified state Object instance, in an implementation dependent manner. This method will typically simply delegate the actual writing to the writeState() method of the ResponseStateManager instance provided by the RenderKit being used to render this view. This method assumes that the caller has positioned the ResponseWriter at the correct position for the saved state to be written. For backwards compatability with existing StateManager implementations, the default implementation of this method checks if the argument is an instance of Object [] of length greater than or equal to two. If so, it creates a SerializedView instance with the tree structure coming from element zero and the component state coming from element one and calls through to #writeState(jakarta.faces.context.FacesContext,jakarta.faces.application.StateManager.SerializedView). If not, does nothing.
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:318
-
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:319
- Save the state represented in the specified SerializedView isntance, in an implementation dependent manner. This method must consult the context initialization parameter named by the symbolic constant StateManager.STATE_SAVING_METHOD_PARAM_NAME to determine whether state should be saved on the client or the server. If not present, client side state saving is assumed. If the init parameter indicates that client side state saving should be used, this method must delegate the actual writing to the writeState() method of the ResponseStateManager instance provided by the RenderKit being used to render this view. This method assumes that the caller has positioned the ResponseWriter at the correct position for the saved state to be written.
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.StateManager.StateManager.SerializedView
-
-
-
-
- JSF:JAVADOC:320
-
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.StateManager.StateManager.SerializedView
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:321
-
- jakarta.faces.application
- StateManager.SerializedView
-
-
-
- JSF:JAVADOC:322
-
- jakarta.faces.application
- StateManager.SerializedView
-
-
-
- JSF:JAVADOC:323
-
- jakarta.faces.application
- StateManager.SerializedView
-
-
- java.lang.Object
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:324
- The default behavior of this method is to call StateManager#getViewState(jakarta.faces.context.FacesContext) on the wrapped StateManager object.
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:325
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- StateManagerWrapper
-
-
-
- JSF:JAVADOC:326
- The default behavior of this method is to call StateManager#isSavingStateInClient(jakarta.faces.context.FacesContext) on the wrapped StateManager object.
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:327
- The default behavior of this method is to call StateManager#restoreView(jakarta.faces.context.FacesContext, String, String) on the wrapped StateManager object.
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:328
- The default behavior of this method is to call StateManager#saveSerializedView(jakarta.faces.context.FacesContext) on the wrapped StateManager object.
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:329
- The default behavior of this method is to call StateManager#saveView(jakarta.faces.context.FacesContext) on the wrapped StateManager object.
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:330
-
- jakarta.faces.application
- StateManagerWrapper
-
-
-
- JSF:JAVADOC:331
- The default behavior of this method is to call StateManager#writeState(jakarta.faces.context.FacesContext, java.lang.Object) on the wrapped StateManager object.
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:332
-
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:333
- The default behavior of this method is to call StateManager#writeState(jakarta.faces.context.FacesContext, jakarta.faces.application.StateManager.SerializedView) on the wrapped StateManager object.
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.StateManager.StateManager.SerializedView
-
-
-
-
- JSF:JAVADOC:334
-
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.StateManager.StateManager.SerializedView
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:335
- Return the message for this exception prepended with the view identifier if the view identifier is not null, otherwise, return the message.
- jakarta.faces.application
- ViewExpiredException
-
-
-
- JSF:JAVADOC:336
- Return the view identifier of this exception, or null if the view identifier is nonexistent or unknown.
- jakarta.faces.application
- ViewExpiredException
-
-
-
- JSF:JAVADOC:337
- Construct a new exception with no detail message or root cause.
- jakarta.faces.application
- ViewExpiredException
-
-
-
- JSF:JAVADOC:338
- Construct a new exception with the specified view identifier.
- jakarta.faces.application
- ViewExpiredException
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:339
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.application
- ViewExpiredException
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:340
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.application
- ViewExpiredException
-
-
- java.lang.Throwable
- java.lang.String
-
-
-
-
- JSF:JAVADOC:341
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.application
- ViewExpiredException
-
-
- java.lang.String
- java.lang.Throwable
- java.lang.String
-
-
-
-
- JSF:JAVADOC:342
- Returns the correct character encoding to be used for this request. The following algorithm is employed. Examine the Content-Type request header. If it has a charset parameter, extract it and return that as the encoding. If no charset parameter was found, check for the existence of a session by calling ExternalContext#getSession(boolean) passing false as the argument. If that method returns true, get the session Map by calling ExternalContext#getSessionMap and look for a value under the key given by the value of the symbolic constant ViewHandler#CHARACTER_ENCODING_KEY. If present, return the value, converted to String. Otherwise, return null
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:343
- Returns an appropriate Locale to use for this and subsequent requests for the current client.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:344
- if context is null
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:345
- Return an appropriate renderKitId for this and subsequent requests from the current client. It is an error for this method to return null. The default return value is jakarta.faces.render.RenderKitFactory#HTML_BASIC_RENDER_KIT.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:346
- if context is null
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:347
- Create and return a new UIViewRoot instance initialized with information from the argument FacesContext and viewId. Locate the ViewDeclarationLanguage implementation for the VDL used in the view. The argument viewId must be converted to a physical viewId that can refer to an actual resource suitable for use by the ViewDeclarationLanguage ViewDeclarationLanguage#createView, which must be called by this method.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:348
- if context is null
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:351
- if viewId is not valid for this ViewHandler, or does not start with "/".
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:352
- if context or viewId is null.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:355
- If the value returned from this method is used as the file argument to the four-argument constructor for java.net.URL (assuming appropriate values are used for the first three arguments), then a client making a request to the toExternalForm() of that URL will select the argument path for direct rendering. If the specified path starts with a slash, it must be treated as context relative; otherwise, it must be treated as relative to the action URL of the current view.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:356
- if viewId is not valid for this ViewHandler.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:357
- if context or path is null.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:358
- Return the ViewDeclarationLanguage instance used for this ViewHandler instance. The default implementation must use jakarta.faces.view.ViewDeclarationLanguageFactory#getViewDeclarationLanguage to obtain the appropriate ViewDeclarationLanguage implementation for the argument viewId. Any exceptions thrown as a result of invoking that method must not be swallowed. The default implementation of this method returns null.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:359
- Initialize the view for the request processing lifecycle. This method must be called at the beginning of the Restore View Phase of the Request Processing Lifecycle. It is responsible for performing any per-request initialization necessary to the operation of the lifycecle. The default implementation must perform the following actions. If ExternalContext#getRequestCharacterEncoding returns null, call #calculateCharacterEncoding and pass the result, if non-null, into the ExternalContext#setRequestCharacterEncoding method. If ExternalContext#getRequestCharacterEncoding returns non-null take no action.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:360
- if a problem occurs setting the encoding, such as the UnsupportedEncodingException thrown by the underlying Servlet or Portlet technology when the encoding is not supported.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:361
- Perform whatever actions are required to render the response view to the response object associated with the current FacesContext. Otherwise, the default implementation must obtain a reference to the ViewDeclarationLanguage for the viewId of the argument viewToRender and call its ViewDeclarationLanguage#renderView method, returning the result and not swallowing any exceptions thrown by that method.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:362
- if an input/output error occurs
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:363
- if a servlet error occurs
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:364
- if context or viewToRender is null
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:365
- Perform whatever actions are required to restore the view associated with the specified FacesContext and viewId. It may delegate to the restoreView of the associated StateManager to do the actual work of restoring the view. If there is no available state for the specified viewId, return null. Otherwise, the default implementation must obtain a reference to the ViewDeclarationLanguage for this viewId and call its ViewDeclarationLanguage#restoreView method, returning the result and not swallowing any exceptions thrown by that method.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:366
- if context is null
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:367
- if a servlet error occurs
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:368
-
- jakarta.faces.application
- ViewHandler
-
-
-
- JSF:JAVADOC:369
- Take any appropriate action to either immediately write out the current state information (by calling StateManager#writeState, or noting where state information should later be written. This method must do nothing if the current request is an Ajax request. When responding to Ajax requests, the state is obtained by calling StateManager#getViewState and then written into the Ajax response during final encoding (jakarta.faces.component.UIViewRoot#encodeEnd.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:370
- if an input/output error occurs
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:371
- if context is null
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:372
- The default behavior of this method is to call ViewHandler#calculateCharacterEncoding(jakarta.faces.context.FacesContext) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:373
- The default behavior of this method is to call ViewHandler#calculateLocale(jakarta.faces.context.FacesContext) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:374
- The default behavior of this method is to call ViewHandler#calculateRenderKitId(jakarta.faces.context.FacesContext) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:375
- The default behavior of this method is to call ViewHandler#createView(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:376
- The default behavior of this method is to call ViewHandler#deriveViewId(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:377
- The default behavior of this method is to call ViewHandler#getActionURL(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:378
- The default behavior of this method is to call ViewHandler#getBookmarkableURL(jakarta.faces.context.FacesContext, String, java.util.Map, boolean) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.util.Map
- boolean
-
-
-
-
- JSF:JAVADOC:379
- The default behavior of this method is to call ViewHandler#getRedirectURL(jakarta.faces.context.FacesContext, String, java.util.Map, boolean) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.util.Map
- boolean
-
-
-
-
- JSF:JAVADOC:380
- The default behavior of this method is to call ViewHandler#getResourceURL(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:381
- The default behavior of this method is to call ViewHandler#getViewDeclarationLanguage on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:382
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
-
- JSF:JAVADOC:383
- The default behavior of this method is to call ViewHandler#initView on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:384
-
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:385
- The default behavior of this method is to call ViewHandler#renderView(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:386
-
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:387
-
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:388
- The default behavior of this method is to call ViewHandler#restoreView(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:389
-
- jakarta.faces.application
- ViewHandlerWrapper
-
-
-
- JSF:JAVADOC:390
- The default behavior of this method is to call ViewHandler#writeState(jakarta.faces.context.FacesContext) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:391
-
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:392
- Add a new ActionListener to the set of listeners interested in being notified when ActionEvents occur.
- jakarta.faces.component
- ActionSource
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
- JSF:JAVADOC:393
- if listener is null
- jakarta.faces.component
- ActionSource
-
-
- jakarta.faces.event.ActionListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:394
- If the implementing class also implements ActionSource2, the implementation of this method must call through to ActionSource2#getActionExpression and examine the result. If the result came from a previous call to #setAction, extract the MethodBinding from it and return it. Otherwise, wrap the returned jakarta.el.MethodExpression in a MethodBinding implementation, and return it. If the implementing class does not implement ActionSource2, return the MethodBindingpointing 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.
- jakarta.faces.component
- ActionSource
-
-
-
- JSF:JAVADOC:395
- If #setActionListener was not previously called for this instance, this method must return null. If it was called, this method must return the exact MethodBinding instance that was passed to #setActionListener. The method to be invoked, if this UIComponent is activated by the user, will be called during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending upon the value of the immediate property.
- jakarta.faces.component
- ActionSource
-
-
-
- JSF:JAVADOC:396
- Return the set of registered ActionListeners for this ActionSource instance. If there are no registered listeners, a zero-length array is returned.
- jakarta.faces.component
- ActionSource
-
-
-
- JSF:JAVADOC:397
- Return a flag indicating that the default ActionListener provided by the JavaServer Faces implementation should be executed immediately (that is, during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase. The default value for this property must be false.
- jakarta.faces.component
- ActionSource
-
-
-
- JSF:JAVADOC:398
- Remove an existing ActionListener (if any) from the set of listeners interested in being notified when ActionEvents occur.
- jakarta.faces.component
- ActionSource
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
- JSF:JAVADOC:399
- if listener is null
- jakarta.faces.component
- ActionSource
-
-
- jakarta.faces.event.ActionListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:400
- If the implementing class also implements ActionSource2, the implementation of this method must wrap the argument action in a class that implements jakarta.el.MethodExpression and call through to ActionSource2#setActionExpression, passing the wrapped action. If the implementing class does not implement ActionSource2, set the MethodBinding pointing at the appication 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. Any method referenced by such an expression must be public, with a return type of String, and accept no parameters.
- jakarta.faces.component
- ActionSource
-
-
- jakarta.faces.el.MethodBinding
-
-
-
-
- JSF:JAVADOC:401
- Wrap the argument actionListener in an implementation of ActionListener and store it in the internal data structure that backs the #getActionListeners method, taking care to over-write any instance that was stored by a previous call to setActionListener. Any method referenced by such an expression must be public, with a return type of void, and accept a single parameter of type ActionEvent.
- jakarta.faces.component
- ActionSource
-
-
- jakarta.faces.el.MethodBinding
-
-
-
-
- JSF:JAVADOC:402
- Set the "immediate execution" flag for this UIComponent.
- jakarta.faces.component
- ActionSource
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:403
- Return the MethodExpression 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. Note that it's possible that the returned MethodExpression is just a wrapper around a MethodBinding instance whith was set by a call to ActionSource#setAction. This makes it possible for the default ActionListener to continue to work properly with older components.
- jakarta.faces.component
- ActionSource2
-
-
-
- JSF:JAVADOC:404
- Set the MethodExpression pointing at the appication 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. Any method referenced by such an expression must be public, with a return type of String, and accept no parameters.
- jakarta.faces.component
- ActionSource2
-
-
- MethodExpression
-
-
-
-
- JSF:JAVADOC:405
- This method will be called by an implementation of UIComponent#invokeOnComponent and must be passed the component with the clientId given as an argument to invokeOnComponent. At the point in time when this method is called, the argument target is guaranteed to be in the proper state with respect to its ancestors in the View.
- jakarta.faces.component
- ContextCallback
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:406
- Add a Validator instance to the set associated with this component.
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.validator.Validator
-
-
-
-
- JSF:JAVADOC:407
- if validator is null
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:408
- Add a new ValueChangeListener to the set of listeners interested in being notified when ValueChangeEvents occur.
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.event.ValueChangeListener
-
-
-
-
- JSF:JAVADOC:409
- if listener is null
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.event.ValueChangeListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:411
- If #setValidator was not previously called for this instance, this method must return null. If it was called, this method must return the exact MethodBinding instance that was passed to #setValidator. This method will be called during the Process Validations or Apply Request Values phases (depending on the value of the immediate property).
- jakarta.faces.component
- EditableValueHolder
-
-
-
- JSF:JAVADOC:412
- Return the set of registered Validators for this component instance. If there are no registered validators, a zero-length array is returned.
- jakarta.faces.component
- EditableValueHolder
-
-
-
- JSF:JAVADOC:413
- If #setValueChangeListener was not previously called for this instance, this method must return null. If it was called, this method must return the exact MethodBinding instance that was passed to #setValueChangeListener.
- jakarta.faces.component
- EditableValueHolder
-
-
-
- JSF:JAVADOC:414
- Return the set of registered ValueChangeListeners for this component instance. If there are no registered listeners, a zero-length array is returned.
- jakarta.faces.component
- EditableValueHolder
-
-
-
- JSF:JAVADOC:415
- Return the "immediate" state for this component.
- jakarta.faces.component
- EditableValueHolder
-
-
-
- JSF:JAVADOC:416
- Return the "local value set" state for this component. Calls to setValue() automatically reset this property to true.
- jakarta.faces.component
- EditableValueHolder
-
-
-
- JSF:JAVADOC:417
- Return the "required field" state for this component.
- jakarta.faces.component
- EditableValueHolder
-
-
-
- JSF:JAVADOC:418
- Return a flag indicating whether the local value of this component is valid (no conversion error has occurred).
- jakarta.faces.component
- EditableValueHolder
-
-
-
- JSF:JAVADOC:419
- Remove a Validator instance from the set associated with this component, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.validator.Validator
-
-
-
-
- JSF:JAVADOC:420
- Remove an existing ValueChangeListener (if any) from the set of listeners interested in being notified when ValueChangeEvents occur.
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.event.ValueChangeListener
-
-
-
-
- JSF:JAVADOC:421
- if listener is null
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.event.ValueChangeListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:422
- Convenience method to reset this component's value to the un-initialized state.
- jakarta.faces.component
- EditableValueHolder
-
-
-
- JSF:JAVADOC:423
- Set the "immediate" state for this component. When set to true, the component's value will be converted and validated immediately in the Apply Request Values phase, and ValueChangeEvents will be delivered in that phase as well. The default value for this property must be false.
- jakarta.faces.component
- EditableValueHolder
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:424
- Sets the "local value set" state for this component.
- jakarta.faces.component
- EditableValueHolder
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:425
- Set the "required field" state for this component.
- jakarta.faces.component
- EditableValueHolder
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:427
- Set a flag indicating whether the local value of this component is valid (no conversion error has occurred).
- jakarta.faces.component
- EditableValueHolder
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:428
- Wrap the argument validatorBinding in an implementation of jakarta.faces.validator.Validator and store it in the internal data structure that backs the #getValidators method, taking care to over-write any instance that was stored by a previous call to setValidator. The argument method will be called during the Process Validations or Apply Request Values phases (depending on the value of the immediate property). Any method referenced by such an expression must be public, with a return type of void, and accept parameters of type jakarta.faces.context.FacesContext, UIComponent, and Object.
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.el.MethodBinding
-
-
-
-
- JSF:JAVADOC:429
- Wrap the argument valueChangeMethod in an implementation of ValueChangeListener and store it in the internal data structure that backs the #getValueChangeListeners method, taking care to over-write any instance that was stored by a previous call to setValueChangeListener. This argument method will be called during the Process Validations or Apply Request Values phases (depending on the value of the immediate property). Any method referenced by such an expression must be public, with a return type of void, and accept a parameter of type jakarta.faces.event.ValueChangeEvent.
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.el.MethodBinding
-
-
-
-
- JSF:JAVADOC:431
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.component
- PartialStateHolder
-
-
-
- JSF:JAVADOC:432
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.component
- PartialStateHolder
-
-
-
- JSF:JAVADOC:433
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.component
- PartialStateHolder
-
-
-
- JSF:JAVADOC:434
- Store the specified value in a List that is internal to the StateHelper. It's important to note for delta tracking that any modifications to the internal List be made through this method or StateHelper#remove(java.io.Serializable, Object).
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:435
- Attempts to find a value associated with the specified key, using the value expression collection from the component if no such value is found.
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
-
-
-
-
- JSF:JAVADOC:436
- Performs the same logic as #eval(java.io.Serializable) } but if no value is found, this will return the specified defaultValue
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:437
- Return the value currently associated with the specified key if any.
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
-
-
-
-
- JSF:JAVADOC:438
- Return the previously stored value and store the specified key/value pair. This is intended to store data that would otherwise reside in an instance variable on the component.
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:439
- Store the specified mapKey/value in a Map that is internal to the helper, and return the previously stored value. The Map will then be associated with key. It's important to note for delta tracking that any modifications to the internal Map be made through this method or StateHelper#remove(java.io.Serializable, Object).
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
- java.lang.String
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:440
- Remove the key/value pair from the helper, returning the value previously stored under this key.
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
-
-
-
-
- JSF:JAVADOC:441
- Remove a value from the inner data structure. Look in the inner data structure for the value at the given key. If the value is a Map, remove and return the value under the key given by the valueOrKey argument. If the value is a Collection, simply remove the value given by the argument valueOrKey and return null.
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:442
- If true, the Object implementing this interface must not participate in state saving or restoring.
- jakarta.faces.component
- StateHolder
-
-
-
- JSF:JAVADOC:445
- Gets the state of the instance as a Serializable Object. If the class that implements this interface has references to instances that implement StateHolder (such as a UIComponent with event handlers, validators, etc.) this method must call the #saveState method on all those instances as well. This method must not save the state of children and facets. That is done via the jakarta.faces.application.StateManager This method must not alter the state of the implementing object. In other words, after executing this code: Object state = component.saveState(facesContext); component should be the same as before executing it. The return from this method must be Serializable
- jakarta.faces.component
- StateHolder
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:446
- if context is null
- jakarta.faces.component
- StateHolder
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:447
- Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
- jakarta.faces.component
- StateHolder
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:448
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIColumn
-
-
-
- JSF:JAVADOC:449
- Return the footer facet of the column (if any). A convenience method for getFacet("footer").
- jakarta.faces.component
- UIColumn
-
-
-
- JSF:JAVADOC:450
- Return the header facet of the column (if any). A convenience method for getFacet("header").
- jakarta.faces.component
- UIColumn
-
-
-
- JSF:JAVADOC:451
- Set the footer facet of the column. A convenience method for getFacets().put("footer", footer).
- jakarta.faces.component
- UIColumn
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:452
- if footer is null
- jakarta.faces.component
- UIColumn
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:453
- Set the header facet of the column. A convenience method for getFacets().put("header", header).
- jakarta.faces.component
- UIColumn
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:454
- if header is null
- jakarta.faces.component
- UIColumn
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:455
- Create a new UIColumn instance with default property values.
- jakarta.faces.component
- UIColumn
-
-
-
- JSF:JAVADOC:456
-
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
- JSF:JAVADOC:457
- {@inheritDoc}
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.ActionListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:458
- In addition to to the default UIComponent#broadcast processing, pass the ActionEvent being broadcast to the method referenced by actionListener (if any), and to the default ActionListener registered on the jakarta.faces.application.Application.
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
- JSF:JAVADOC:459
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:460
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:461
- if event is null
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:462
-
- jakarta.faces.component
- UICommand
-
-
-
- JSF:JAVADOC:463
- Return the MethodExpression 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. Note that it's possible that the returned MethodExpression is just a wrapper around a MethodBinding instance whith was set by a call to ActionSource#setAction. This makes it possible for the default ActionListener to continue to work properly with older components.
- jakarta.faces.component
- UICommand
-
-
-
- JSF:JAVADOC:464
-
- jakarta.faces.component
- UICommand
-
-
-
- JSF:JAVADOC:465
-
- jakarta.faces.component
- UICommand
-
-
-
- JSF:JAVADOC:466
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UICommand
-
-
-
- JSF:JAVADOC:467
- Returns the value property of the UICommand. This is most often rendered as a label.
- jakarta.faces.component
- UICommand
-
-
-
- JSF:JAVADOC:468
- The immediate flag.
- jakarta.faces.component
- UICommand
-
-
-
- JSF:JAVADOC:469
- Intercept queueEvent and take the following action. If the event is an ActionEvent, obtain the UIComponent instance from the event. If the component is an ActionSource obtain the value of its "immediate" property. If it is true, mark the phaseId for the event to be PhaseId.APPLY_REQUEST_VALUES otherwise, mark the phaseId to be PhaseId.INVOKE_APPLICATION. The event must be passed on to super.queueEvent() before returning from this method.
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
- JSF:JAVADOC:470
-
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
- JSF:JAVADOC:471
- {@inheritDoc}
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.ActionListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:472
-
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.el.MethodBinding
-
-
-
-
- JSF:JAVADOC:473
- Set the MethodExpression pointing at the appication 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. Any method referenced by such an expression must be public, with a return type of String, and accept no parameters.
- jakarta.faces.component
- UICommand
-
-
- MethodExpression
-
-
-
-
- JSF:JAVADOC:474
-
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.el.MethodBinding
-
-
-
-
- JSF:JAVADOC:475
-
- jakarta.faces.component
- UICommand
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:476
- Sets the value property of the UICommand. This is most often rendered as a label.
- jakarta.faces.component
- UICommand
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:477
- Create a new UICommand instance with default property values.
- jakarta.faces.component
- UICommand
-
-
-
- JSF:JAVADOC:479
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:480
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:481
- if event is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:482
- An implementation of PartialStateHolder#clearInitialState, this method is called by the runtime to tell the instance to stop tracking state changes.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:483
- Decode any new state of this UIComponent from the request contained in the specified FacesContext, and store this state as needed. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling queueEvent().
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:484
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:485
- If this component returns true from #isRendered, take the following action. Render this component and all its children that return true from isRendered(), regardless of the value of the #getRendersChildren flag.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:486
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:487
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:488
- If our rendered property is true, render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. Call #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent). Call jakarta.faces.application.Application#publishEvent, passing jakarta.faces.event.PreRenderComponentEvent.class as the first argument and the component instance to be rendered as the second argument. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer#encodeBegin(FacesContext, UIComponent). If our rendered property is false, call #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent) and return immediately.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:489
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:490
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:491
- If our rendered property is true, render the child UIComponents of this UIComponent. This method will only be called if the rendersChildren property is true. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer#encodeChildren(FacesContext, UIComponent). If no Renderer is associated with this UIComponent, iterate over each of the children of this component and call #encodeAll(jakarta.faces.context.FacesContext).
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:492
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:493
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:494
- If our rendered property is true, render the ending of the current state of this UIComponent. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer#encodeEnd(FacesContext, UIComponent). Call UIComponent#popComponentFromEL. before returning regardless of the value of the rendered property.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:495
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:496
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:498
- if an intermediate identifier in a search expression identifies a UIComponent that is not a NamingContainer
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:499
- if expr is null
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:500
- Return a mutable Map representing the attributes (and properties, see below) associated wth this UIComponent, keyed by attribute name (which must be a String). The returned implementation must support all of the standard and optional Map methods, plus support the following additional requirements: The Map implementation must implement the java.io.Serializable interface. Any attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a String must throw a ClassCastException. If the attribute name specified as a key matches a property of this UIComponent's implementation class, the following methods will have special behavior: containsKey - Return false. get() - If the property is readable, call the getter method and return the returned value (wrapping primitive values in their corresponding wrapper classes); otherwise throw IllegalArgumentException. put() - If the property is writeable, call the setter method to set the corresponding value (unwrapping primitive values in their corresponding wrapper classes). If the property is not writeable, or an attempt is made to set a property of primitive type to null, throw IllegalArgumentException. remove - Throw IllegalArgumentException.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:501
- Return the number of child UIComponents that are associated with this UIComponent. If there are no children, this method must return 0. The method must not cause the creation of a child component list.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:503
- Enable EL to access the clientId of a component. This is particularly useful in combination with the component and cc implicit objects. A default implementation is provided that simply calls FacesContext#getCurrentInstance and then calls through to #getClientId(FacesContext).
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:504
- Return a client-side identifier for this component, generating one if necessary. The associated Renderer, if any, will be asked to convert the clientId to a form suitable for transmission to the client. The return from this method must be the same value throughout the lifetime of the instance, unless the id property of the component is changed, or the component is placed in a NamingContainer whose client ID changes (for example, UIData). However, even in these cases, consecutive calls to this method must always return the same value. The implementation must follow these steps in determining the clientId: Find the closest ancestor to this component in the view hierarchy that implements NamingContainer. Call getContainerClientId() on it and save the result as the parentId local variable. Call #getId on this component and save the result as the myId local variable. If myId is null, call context.getViewRoot().createUniqueId() and assign the result to myId. If parentId is non-null, let myId equal parentId + UINamingContainer#getSeparatorChar + myId. Call Renderer#convertClientId, passing myId, and return the result.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:505
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:506
- Finds the nearest composite component parent of the specified component.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:507
- Allow components that implement NamingContainer to selectively disable prepending their clientId to their descendent's clientIds by breaking the prepending logic into a seperately callable method. See #getClientId for usage. By default, this method will call through to #getClientId and return the result.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:508
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:509
- Return the UIComponent instance that is currently processing. This is equivalent to evaluating the EL expression "#{component}" and doing a getValue operation on the resultant ValueExpression. This method must return null if there is no currently processing UIComponent
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:510
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:511
- Return the closest ancestor component, relative to the component returned from #getCurrentComponent, that is a composite component, or null if no such component exists.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:512
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:513
- Convenience method to return the named facet, if it exists, or null otherwise. If the requested facet does not exist, the facets Map must not be created.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:514
- Return the number of facet UIComponents that are associated with this UIComponent. If there are no facets, this method must return 0. The method must not cause the creation of a facet component map. For backwards compatability with classes that extend UIComponent directly, a default implementation is provided that simply calls #getFacets and then calls the size() method on the returned Map. A more optimized version of this method is provided in UIComponentBase#getFacetCount.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:515
- Return a mutable Map representing the facet UIComponents associated with this UIComponent, keyed by facet name (which must be a String). The returned implementation must support all of the standard and optional Map methods, plus support the following additional requirements: The Map implementation must implement the java.io.Serializable interface. Any attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a String must throw a ClassCastException. Any attempt to add a value that is not a UIComponent must throw a ClassCastException. Whenever a new facet UIComponent is added: The parent property of the component must be set to this component instance. If the parent property of the component was already non-null, the component must first be removed from its previous parent (where it may have been either a child or a facet). Whenever an existing facet UIComponent is removed: The parent property of the facet must be set to null.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:516
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned. The returned Iterator must not support the remove() operation.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:517
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:518
- Return the component identifier of this UIComponent.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:521
- Starting with "this", return the closest component in the ancestry that is a NamingContainer or null if none can be found.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:522
- Return the parent UIComponent of this UIComponent, if any. A component must allow child components to be added to and removed from the list of children of this component, even though the child component returns null from getParent( ).
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:523
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:524
- Return a flag indicating whether this component is responsible for rendering its child components. The default implementation in UIComponentBase#getRendersChildren tries to find the renderer for this component. If it does, it calls Renderer#getRendersChildren and returns the result. If it doesn't, it returns false. As of version 1.2 of the JavaServer Faces Specification, component authors are encouraged to return true from this method and rely on UIComponentBase#encodeChildren.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:525
- Return a Map of the ResourceBundle for this component. A component may have a ResourceBundle associated with it. This bundle may contain localized properties relating to instances of this component. The default implementation first looks for a ResourceBundle with a base name equal to the fully qualified class name of the current UIComponent this and Locale equal to the Locale of the current UIViewRoot. If no such bundle is found, and the component is a composite component, let resourceName be the resourceName of the Resource for this composite component, replacing the file extension with ".properties". Let libraryName be the libraryName of the the Resource for this composite component. Call jakarta.faces.application.ResourceHandler#createResource(java.lang.String,java.lang.String), passing the derived resourceName and libraryName. Note that this will automatically allow for the localization of the ResourceBundle due to the localization facility implemented in createResource, which is specified in section JSF.2.6.1.3 of the spec prose document. If the resultant Resource exists and can be found, the InputStream for the resource is used to create a ResourceBundle. If either of the two previous steps for obtaining the ResourceBundle for this component is successful, the ResourceBundle is wrapped in a Map and returned. Otherwise Collections.EMPTY_MAP is returned.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:526
- Call through to #getValueExpression and examine the result. If the result is an instance of the wrapper class mandated in #setValueBinding, extract the ValueBinding instance and return it. Otherwise, wrap the result in an implementation of ValueBinding, and return it.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:527
- if name is null
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:528
- Return the ValueExpression used to calculate the value for the specified attribute or property name, if any. This method must be overridden and implemented for components that comply with JSF 1.2 and later.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:529
- if name is null
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:530
- An implementation of PartialStateHolder#initialStateMarked, this method is called by the runtime to test if the PartialStateHolder#markInitialState method was called.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:532
- if the argument Callback throws an Exception, it is wrapped in a FacesException and re-thrown.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:533
- if any of the arguments are null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:534
- Return true if component is a composite component, otherwise false.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:535
- if component is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:536
- Return true if this component is within the view hierarchy otherwise false
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:537
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:538
- An implementation of PartialStateHolder#markInitialState, this method is called by the runtime to indicate that the instance should start tracking changes to its state.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:539
- Pop the current UIComponent from the FacesContext attributes map so that the previous UIComponent, if any, becomes the current component.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:540
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:541
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. If the rendered property of this UIComponent is false, skip further processing. Call #pushComponentToEL. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component. Call #popComponentFromEL from inside of a finally block, just before returning. If a RuntimeException is thrown during decode processing, call FacesContext#renderResponse and re-throw the exception.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:542
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:544
-
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.ComponentSystemEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:545
- Perform the component tree processing required by the Restore View phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the restoreState() method of this component. Call UIComponent#pushComponentToEL. Call the processRestoreState() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). After returning from the processRestoreState() method on a child or facet, call UIComponent#popComponentFromEL This method may not be called if the state saving method is set to server.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:546
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:547
- Perform the component tree processing required by the state saving portion of the Render Response phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. consult the transient property of this component. If true, just return null. Call #pushComponentToEL. Call the processSaveState() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(), skipping children and facets that are transient. Ensure that #popComponentFromEL is called correctly after each child or facet. Call the saveState() method of this component. Encapsulate the child state and your state into a Serializable Object and return it. This method may not be called if the state saving method is set to server.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:548
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:549
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. If the rendered property of this UIComponent is false, skip further processing. Call #pushComponentToEL. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). After returning from the processUpdates() method on a child or facet, call UIComponent#popComponentFromEL
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:550
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:552
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:553
- Push the current UIComponent this to the FacesContext attribute map using the key #CURRENT_COMPONENT saving the previous UIComponent associated with #CURRENT_COMPONENT for a subsequent call to #popComponentFromEL. This method and popComponentFromEL() form the basis for the contract that enables the EL Expression "#{component}" to resolve to the "current" component that is being processed in the lifecycle. The requirements for when pushComponentToEL() and popComponentFromEL() must be called are specified as needed in the javadoc for this class. After pushComponentToEL() returns, a call to #getCurrentComponent must return this UIComponent instance until popComponentFromEL() is called, after which point the previous UIComponent instance will be returned from getCurrentComponent()
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:554
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:555
- Queue an event for broadcast at the end of the current request processing lifecycle phase. The default implementation in UIComponentBase must delegate this call to the queueEvent() method of the parent UIComponent.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
- JSF:JAVADOC:556
- if this component is not a descendant of a UIViewRoot
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:557
- if event is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:558
- Set the component identifier of this UIComponent (if any). Component identifiers must obey the following syntax restrictions: Must not be a zero-length String. First character must be a letter or an underscore ('_'). Subsequent characters must be a letter, a digit, an underscore ('_'), or a dash ('-'). Component identifiers must also obey the following semantic restrictions (note that this restriction is NOT enforced by the setId() implementation): The specified identifier must be unique among all the components (including facets) that are descendents of the nearest ancestor UIComponent that is a NamingContainer, or within the scope of the entire component tree if there is no such ancestor that is a NamingContainer.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:559
- if id is not syntactically valid
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:560
- Updates the status as to whether or not this component is currently within the view hierarchy. This method must never be called by developers; a UIComponent's internal implementation will call it as components are added to or removed from a parent's child List or facet Map.
- jakarta.faces.component
- UIComponent
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:562
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UIComponent
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:563
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:564
- Wrap the argument binding in an implementation of ValueExpression and call through to #setValueExpression.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
-
-
-
- JSF:JAVADOC:565
- if name is one of id or parent
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:566
- if name is null
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:567
- Set the ValueExpression used to calculate the value for the specified attribute or property name, if any. The implementation must call ValueExpression#isLiteralText on the argument expression. If isLiteralText() returns true, invoke ValueExpression#getValue on the argument expression and pass the result as the value parameter in a call to this.#getAttributes().put(name, value) where name is the argument name. If an exception is thrown as a result of calling ValueExpression#getValue, wrap it in a jakarta.faces.FacesException and re-throw it. If isLiteralText() returns false, simply store the un-evaluated expression argument in the collection of ValueExpressions under the key given by the argument name. This method must be overridden and implemented for components that comply with JSF 1.2 and later.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
- ValueExpression
-
-
-
-
- JSF:JAVADOC:568
- if name is one of id or parent
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
- ValueExpression
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:569
- if name is null
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:572
-
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:576
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#addClientBehavior. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
- jakarta.faces.component.behavior.ClientBehavior
-
-
-
-
- JSF:JAVADOC:578
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:579
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:580
- if event is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:581
- For each of the attached objects on this instance that implement PartialStateHolder, call PartialStateHolder#clearInitialState on the attached object.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:582
- Decode any new state of this UIComponent from the request contained in the specified FacesContext, and store this state as needed. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling queueEvent().
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:583
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:584
- If our rendered property is true, render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. Call #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent). Call jakarta.faces.application.Application#publishEvent, passing jakarta.faces.event.PreRenderComponentEvent.class as the first argument and the component instance to be rendered as the second argument. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer#encodeBegin(FacesContext, UIComponent). If our rendered property is false, call #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent) and return immediately.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:585
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:586
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:587
- If our rendered property is true, render the child UIComponents of this UIComponent. This method will only be called if the rendersChildren property is true. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer#encodeChildren(FacesContext, UIComponent). If no Renderer is associated with this UIComponent, iterate over each of the children of this component and call #encodeAll(jakarta.faces.context.FacesContext).
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:588
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:589
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:590
- If our rendered property is true, render the ending of the current state of this UIComponent. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer#encodeEnd(FacesContext, UIComponent). Call UIComponent#popComponentFromEL. before returning regardless of the value of the rendered property.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:591
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:592
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:594
- if an intermediate identifier in a search expression identifies a UIComponent that is not a NamingContainer
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:595
- if expr is null
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:596
- Return a mutable Map representing the attributes (and properties, see below) associated wth this UIComponent, keyed by attribute name (which must be a String). The returned implementation must support all of the standard and optional Map methods, plus support the following additional requirements: The Map implementation must implement the java.io.Serializable interface. Any attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a String must throw a ClassCastException. If the attribute name specified as a key matches a property of this UIComponent's implementation class, the following methods will have special behavior: containsKey - Return false. get() - If the property is readable, call the getter method and return the returned value (wrapping primitive values in their corresponding wrapper classes); otherwise throw IllegalArgumentException. put() - If the property is writeable, call the setter method to set the corresponding value (unwrapping primitive values in their corresponding wrapper classes). If the property is not writeable, or an attempt is made to set a property of primitive type to null, throw IllegalArgumentException. remove - Throw IllegalArgumentException.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:597
- Return the number of child UIComponents that are associated with this UIComponent. If there are no children, this method must return 0. The method must not cause the creation of a child component list.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:599
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getClientBehaviors. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must add an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:600
- Return a client-side identifier for this component, generating one if necessary. The associated Renderer, if any, will be asked to convert the clientId to a form suitable for transmission to the client. The return from this method must be the same value throughout the lifetime of the instance, unless the id property of the component is changed, or the component is placed in a NamingContainer whose client ID changes (for example, UIData). However, even in these cases, consecutive calls to this method must always return the same value. The implementation must follow these steps in determining the clientId: Find the closest ancestor to this component in the view hierarchy that implements NamingContainer. Call getContainerClientId() on it and save the result as the parentId local variable. Call #getId on this component and save the result as the myId local variable. If myId is null, call context.getViewRoot().createUniqueId() and assign the result to myId. If parentId is non-null, let myId equal parentId + UINamingContainer#getSeparatorChar + myId. Call Renderer#convertClientId, passing myId, and return the result.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:601
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:602
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:603
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:604
- Convenience method to return the named facet, if it exists, or null otherwise. If the requested facet does not exist, the facets Map must not be created.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:605
- Return the number of facet UIComponents that are associated with this UIComponent. If there are no facets, this method must return 0. The method must not cause the creation of a facet component map. For backwards compatability with classes that extend UIComponent directly, a default implementation is provided that simply calls #getFacets and then calls the size() method on the returned Map. A more optimized version of this method is provided in UIComponentBase#getFacetCount.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:606
- Return a mutable Map representing the facet UIComponents associated with this UIComponent, keyed by facet name (which must be a String). The returned implementation must support all of the standard and optional Map methods, plus support the following additional requirements: The Map implementation must implement the java.io.Serializable interface. Any attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a String must throw a ClassCastException. Any attempt to add a value that is not a UIComponent must throw a ClassCastException. Whenever a new facet UIComponent is added: The parent property of the component must be set to this component instance. If the parent property of the component was already non-null, the component must first be removed from its previous parent (where it may have been either a child or a facet). Whenever an existing facet UIComponent is removed: The parent property of the facet must be set to null.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:607
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned. The returned Iterator must not support the remove() operation.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:608
- Return the component identifier of this UIComponent.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:609
- Return the parent UIComponent of this UIComponent, if any. A component must allow child components to be added to and removed from the list of children of this component, even though the child component returns null from getParent( ).
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:610
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:611
- Return a flag indicating whether this component is responsible for rendering its child components. The default implementation in UIComponentBase#getRendersChildren tries to find the renderer for this component. If it does, it calls Renderer#getRendersChildren and returns the result. If it doesn't, it returns false. As of version 1.2 of the JavaServer Faces Specification, component authors are encouraged to return true from this method and rely on UIComponentBase#encodeChildren.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:612
-
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:613
- if name is null
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:614
-
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
- JSF:JAVADOC:615
- {@inheritDoc}
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:616
- if any of the arguments are null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:617
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:618
-
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:619
- For each of the attached objects on this instance that implement PartialStateHolder, call PartialStateHolder#markInitialState on the attached object.
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:620
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. If the rendered property of this UIComponent is false, skip further processing. Call #pushComponentToEL. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component. Call #popComponentFromEL from inside of a finally block, just before returning. If a RuntimeException is thrown during decode processing, call FacesContext#renderResponse and re-throw the exception.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:621
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:622
- Perform the component tree processing required by the Restore View phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the restoreState() method of this component. Call UIComponent#pushComponentToEL. Call the processRestoreState() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). After returning from the processRestoreState() method on a child or facet, call UIComponent#popComponentFromEL This method may not be called if the state saving method is set to server.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:623
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:624
- Perform the component tree processing required by the state saving portion of the Render Response phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. consult the transient property of this component. If true, just return null. Call #pushComponentToEL. Call the processSaveState() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(), skipping children and facets that are transient. Ensure that #popComponentFromEL is called correctly after each child or facet. Call the saveState() method of this component. Encapsulate the child state and your state into a Serializable Object and return it. This method may not be called if the state saving method is set to server.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:625
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:626
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. If the rendered property of this UIComponent is false, skip further processing. Call #pushComponentToEL. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). After returning from the processUpdates() method on a child or facet, call UIComponent#popComponentFromEL
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:627
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:629
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:630
- Queue an event for broadcast at the end of the current request processing lifecycle phase. The default implementation in UIComponentBase must delegate this call to the queueEvent() method of the parent UIComponent.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
- JSF:JAVADOC:631
- if this component is not a descendant of a UIViewRoot
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:632
- if event is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:633
- This method is called by UIComponent subclasses that need to restore the objects they saved using #saveAttachedState. This method is tightly coupled with #saveAttachedState. This method supports restoring all attached objects types supported by #saveAttachedState.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:634
- if the object is not previously returned by #saveAttachedState.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:635
- if context is null.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:636
-
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:637
- This method is called by UIComponent subclasses that want to save one or more attached objects. It is a convenience method that does the work of saving attached objects that may or may not implement the StateHolder interface. Using this method implies the use of #restoreAttachedState to restore the attached objects. This method supports saving attached objects of the following type: Objects, null values, and Collections of these objects. If any contained objects are not Collections and do not implement StateHolder, they must have zero-argument public constructors. The exact structure of the returned object is undefined and opaque, but will be serializable.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:638
- if the context argument is null.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:639
-
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:640
- Set the component identifier of this UIComponent (if any). Component identifiers must obey the following syntax restrictions: Must not be a zero-length String. First character must be a letter or an underscore ('_'). Subsequent characters must be a letter, a digit, an underscore ('_'), or a dash ('-'). Component identifiers must also obey the following semantic restrictions (note that this restriction is NOT enforced by the setId() implementation): The specified identifier must be unique among all the components (including facets) that are descendents of the nearest ancestor UIComponent that is a NamingContainer, or within the scope of the entire component tree if there is no such ancestor that is a NamingContainer.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:641
- if id is not syntactically valid
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:643
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UIComponentBase
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:644
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:645
-
- jakarta.faces.component
- UIComponentBase
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:646
-
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
-
-
-
- JSF:JAVADOC:647
- if name is one of id or parent
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:648
- if name is null
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:649
-
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:650
- Override the default UIComponentBase#broadcast processing to unwrap any wrapped FacesEvent and reset the current row index, before the event is actually broadcast. For events that we did not wrap (in queueEvent()), default processing will occur.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
- JSF:JAVADOC:651
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.event.FacesEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:652
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:653
- if event is null
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:654
- Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed value can be supplied by component creators which should be included in the generated unique id.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:655
- In addition to the default behavior, ensure that any saved per-row state for our child input components is discarded unless it is needed to rerender the current page with errors.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:656
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:657
- if context is null
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:658
- Return a client identifier for this component that includes the current value of the rowIndex property, if it is not set to -1. This implies that multiple calls to getClientId() may return different results, but ensures that child components can themselves generate row-specific client identifiers (since UIData is a NamingContainer).
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:659
- if context is null
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:660
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:661
- Return the zero-relative row number of the first row to be displayed.
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:662
- Return the footer facet of this component (if any). A convenience method for getFacet("footer").
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:663
- Return the header facet of this component (if any). A convenience method for getFacet("header").
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:664
- Return the number of rows in the underlying data model. If the number of available rows is unknown, return -1.
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:665
- if an error occurs getting the row count
- jakarta.faces.component
- UIData
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:666
- Return the data object representing the data for the currently selected row index, if any.
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:667
- if an error occurs getting the row data
- jakarta.faces.component
- UIData
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:668
- if now row data is available at the currently specified row index
- jakarta.faces.component
- UIData
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:669
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, return -1. This property is not enabled for value binding expressions.
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:670
- if an error occurs getting the row index
- jakarta.faces.component
- UIData
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:671
- Return the number of rows to be displayed, or zero for all remaining rows in the table. The default value of this property is zero.
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:673
- Return the request-scope attribute under which the data object for the current row will be exposed when iterating. This property is not enabled for value binding expressions.
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:674
- Override behavior from UIComponentBase#invokeOnComponent to provide special care for positioning the data properly before finding the component and invoking the callback on it. If the argument clientId is equal to this.getClientId() simply invoke the contextCallback, passing the context argument and this as arguments, and return true. If the argument clientId is not equal to this.getClientId(), inspect each of the facet children of this UIData instance and for each one, compare its clientId with the argument clientId. If there is a match, invoke the contextCallback, passing the context argument and this as arguments, and return true. Otherwise, attempt to extract a rowIndex from the clientId. For example, if the argument clientId was form:data:3:customerHeader the rowIndex would be 3. Let this value be called newIndex. The current rowIndex of this instance must be saved aside and restored before returning in all cases, regardless of the outcome of the search or if any exceptions are thrown in the process. The implementation of this method must never return true if setting the rowIndex of this instance to be equal to newIndex causes this instance to return false from #isRowAvailable.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
- JSF:JAVADOC:675
- {@inheritDoc} Also throws FacesException if any exception is thrown when deriving the rowIndex from the argument clientId.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:676
- if any of the arguments are null
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:677
- Return a flag indicating whether there is rowData available at the current rowIndex. If no wrappedData is available, return false.
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:678
- if an error occurs getting the row availability
- jakarta.faces.component
- UIData
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:679
- Override the default UIComponentBase#processDecodes processing to perform the following steps. If the rendered property of this UIComponent is false, skip further processing. Set the current rowIndex to -1. Call the processDecodes() method of all facets of this UIData, in the order determined by a call to getFacets().keySet().iterator(). Call the processDecodes() method of all facets of the UIColumn children of this UIData. Iterate over the set of rows that were included when this component was rendered (i.e. those defined by the first and rows properties), performing the following processing for each row: Set the current rowIndex to the appropriate value for this row. If isRowAvailable() returns true, iterate over the children components of each UIColumn child of this UIData component, calling the processDecodes() method for each such child. Set the current rowIndex to -1. Call the decode() method of this component. If a RuntimeException is thrown during decode processing, call FacesContext#renderResponse and re-throw the exception.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:680
- if context is null
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:681
- Override the default UIComponentBase#processUpdates processing to perform the following steps. If the rendered property of this UIComponent is false, skip further processing. Set the current rowIndex to -1. Call the processUpdates() method of all facets of this UIData, in the order determined by a call to getFacets().keySet().iterator(). Call the processUpdates() method of all facets of the UIColumn children of this UIData. Iterate over the set of rows that were included when this component was rendered (i.e. those defined by the first and rows properties), performing the following processing for each row: Set the current rowIndex to the appropriate value for this row. If isRowAvailable() returns true, iterate over the children components of each UIColumn child of this UIData component, calling the processUpdates() method for each such child. Set the current rowIndex to -1.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:682
- if context is null
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:683
- Override the default UIComponentBase#processValidators processing to perform the following steps. If the rendered property of this UIComponent is false, skip further processing. Set the current rowIndex to -1. Call the processValidators() method of all facets of this UIData, in the order determined by a call to getFacets().keySet().iterator(). Call the processValidators() method of all facets of the UIColumn children of this UIData. Iterate over the set of rows that were included when this component was rendered (i.e. those defined by the first and rows properties), performing the following processing for each row: Set the current rowIndex to the appropriate value for this row. If isRowAvailable() returns true, iterate over the children components of each UIColumn child of this UIData component, calling the processValidators() method for each such child. Set the current rowIndex to -1.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:684
- if context is null
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:685
- Override the default UIComponentBase#queueEvent processing to wrap any queued events in a wrapper so that we can reset the current row index in broadcast().
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
- JSF:JAVADOC:686
- if this component is not a descendant of a UIViewRoot
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:687
- if event is null
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:688
- Set the zero-relative row number of the first row to be displayed.
- jakarta.faces.component
- UIData
-
-
- int
-
-
-
-
- JSF:JAVADOC:689
- if first is negative
- jakarta.faces.component
- UIData
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:690
- Set the footer facet of this component. A convenience method for getFacets().put("footer", footer).
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:691
- if footer is null
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:692
- Set the header facet of this component. A convenience method for getFacets().put("header", header).
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:693
- if header is null
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:695
- if an error occurs setting the row index
- jakarta.faces.component
- UIData
-
-
- int
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:696
- if rowIndex is less than -1
- jakarta.faces.component
- UIData
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:697
- Set the number of rows to be displayed, or zero for all remaining rows in the table.
- jakarta.faces.component
- UIData
-
-
- int
-
-
-
-
- JSF:JAVADOC:698
- if rows is negative
- jakarta.faces.component
- UIData
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:699
- Set the value of the UIData. This value must either be be of type DataModel, or a type that can be adapted into a DataModel.
- jakarta.faces.component
- UIData
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:700
- If "name" is something other than "value", "var", or "rowIndex", rely on the superclass conversion from ValueBinding to ValueExpression.
- jakarta.faces.component
- UIData
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
-
-
-
- JSF:JAVADOC:701
- if name is one of id, parent, var, or rowIndex
- jakarta.faces.component
- UIData
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:702
- if name is null
- jakarta.faces.component
- UIData
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:703
- Set the ValueExpression used to calculate the value for the specified attribute or property name, if any. In addition, if a ValueExpression is set for the value property, remove any synthesized DataModel for the data previously bound to this component.
- jakarta.faces.component
- UIData
-
-
- java.lang.String
- ValueExpression
-
-
-
-
- JSF:JAVADOC:704
- if name is one of id, parent, var, or rowIndex
- jakarta.faces.component
- UIData
-
-
- java.lang.String
- ValueExpression
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:705
- if name is null
- jakarta.faces.component
- UIData
-
-
- java.lang.String
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:706
- Set the request-scope attribute under which the data object for the current row wil be exposed when iterating.
- jakarta.faces.component
- UIData
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:707
- Create a new UIData instance with default property values.
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:709
- if any of the parameters are null.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.component.visit.VisitContext
- jakarta.faces.component.visit.VisitCallback
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:711
- Override the UIComponent#getContainerClientId to allow users to disable this form from prepending its clientId to its descendent's clientIds depending on the value of this form's #isPrependId property.
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:712
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIForm
-
-
-
- JSF:JAVADOC:713
- The prependId flag.
- jakarta.faces.component
- UIForm
-
-
-
- JSF:JAVADOC:715
- Override UIComponent#processDecodes to ensure that the form is decoded before its children. This is necessary to allow the submitted property to be correctly set.
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:716
- if context is null
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:717
- Override UIComponent#processUpdates to ensure that the children of this UIForm instance are only processed if #isSubmitted returns true.
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:718
- if context is null
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:719
- Override UIComponent#processValidators to ensure that the children of this UIForm instance are only processed if #isSubmitted returns true.
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:720
- if context is null
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:721
-
- jakarta.faces.component
- UIForm
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:723
- Create a new UIForm instance with default property values.
- jakarta.faces.component
- UIForm
-
-
-
- JSF:JAVADOC:725
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIGraphic
-
-
-
- JSF:JAVADOC:726
- Return the image URL for this UIGraphic. This method is a typesafe alias for getValue().
- jakarta.faces.component
- UIGraphic
-
-
-
- JSF:JAVADOC:727
- Returns the value property of the UIGraphic. This will typically be rendered as an URL.
- jakarta.faces.component
- UIGraphic
-
-
-
- JSF:JAVADOC:728
- Return any ValueBinding set for value if a ValueBinding for url is requested; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:729
- if name is null
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:730
- Return any ValueExpression set for value if a ValueExpression for url is requested; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:731
- if name is null
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:732
- Set the image URL for this UIGraphic. This method is a typesafe alias for setValue().
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:733
- Sets the value property of the UIGraphic. This will typically be rendered as an URL.
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:734
- Store any ValueBinding specified for url under value instead; otherwise, perform the default superclass processing for this method. In all cases, the superclass is relied on to convert the ValueBinding to a ValueExpression.
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
-
-
-
- JSF:JAVADOC:735
- if name is null
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:736
- Store any ValueExpression specified for url under value instead; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
- ValueExpression
-
-
-
-
- JSF:JAVADOC:737
- if name is null
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:738
- Create a new UIGraphic instance with default property values.
- jakarta.faces.component
- UIGraphic
-
-
-
- JSF:JAVADOC:739
- Add a Validator instance to the set associated with this UIInput.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.validator.Validator
-
-
-
-
- JSF:JAVADOC:740
- if validator is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:741
- Add a new ValueChangeListener to the set of listeners interested in being notified when ValueChangeEvents occur.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.ValueChangeListener
-
-
-
-
- JSF:JAVADOC:742
- if listener is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.ValueChangeListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:743
- For each of the attached objects on this instance that implement PartialStateHolder, call PartialStateHolder#clearInitialState on the attached object.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:744
- Decode any new state of this UIComponent from the request contained in the specified FacesContext, and store this state as needed. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling queueEvent().
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:745
- if context is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:746
- If there has been a call to #setConverterMessage on this instance, return the message. Otherwise, call #getValueExpression passing the key "converterMessage", get the result of the expression, and return it. Any ELExceptions thrown during the call to getValue() must be wrapped in a FacesException and rethrown.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:747
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:748
- If there has been a call to #setRequiredMessage on this instance, return the message. Otherwise, call #getValueExpression passing the key "requiredMessage", get the result of the expression, and return it. Any ELExceptions thrown during the call to getValue() must be wrapped in a FacesException and rethrown.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:749
- Return the submittedValue value of this UIInput component. This method should only be used by the decode() and validate() method of this component, or its corresponding Renderer.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:750
- Return a 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.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:751
- If there has been a call to #setValidatorMessage on this instance, return the message. Otherwise, call #getValueExpression passing the key "validatorMessage", get the result of the expression, and return it. Any ELExceptions thrown during the call to getValue() must be wrapped in a FacesException and rethrown.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:752
- Return the set of registered Validators for this UIInput instance. If there are no registered validators, a zero-length array is returned.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:753
- If #setValueChangeListener was not previously called for this instance, this method must return null. If it was called, this method must return the exact MethodBinding instance that was passed to #setValueChangeListener.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:754
- Return the set of registered ValueChangeListeners for this UIInput instance. If there are no registered listeners, a zero-length array is returned.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:755
-
- jakarta.faces.component
- UIInput
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:756
- Return the "immediate" state for this component.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:757
- Return the "local value set" state for this component. Calls to setValue() automatically reset this property to true.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:758
- Return the "required field" state for this component.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:759
- Return a flag indicating whether the local value of this component is valid (no conversion error has occurred).
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:760
- In addition to the actions taken in UIOutput when PartialStateHolder#markInitialState() is called, check if any of the installed Validators are PartialStateHolders and if so, call jakarta.faces.component.PartialStateHolder#markInitialState() as appropriate.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:761
- Specialized decode behavior on top of that provided by the superclass. In addition to the standard processDecodes behavior inherited from UIComponentBase, calls validate() if the the immediate property is true; if the component is invalid afterwards or a RuntimeException is thrown, calls FacesContext#renderResponse.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:762
- if context is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:763
- In addition to the standard processUpdates behavior inherited from UIComponentBase, calls updateModel(). If the component is invalid afterwards, calls FacesContext#renderResponse. If a RuntimeException is thrown during update processing, calls FacesContext#renderResponse and re-throw the exception.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:764
- if context is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:765
- In addition to the standard processValidators behavior inherited from UIComponentBase, calls validate() if the immediate property is false (which is the default); if the component is invalid afterwards, calls FacesContext#renderResponse. If a RuntimeException is thrown during validation processing, calls FacesContext#renderResponse and re-throw the exception.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:766
- if context is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:767
- Remove a Validator instance from the set associated with this UIInput, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.validator.Validator
-
-
-
-
- JSF:JAVADOC:768
- Remove an existing ValueChangeListener (if any) from the set of listeners interested in being notified when ValueChangeEvents occur.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.ValueChangeListener
-
-
-
-
- JSF:JAVADOC:769
- if listener is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.ValueChangeListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:771
-
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:772
-
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:773
- Override any ValueExpression set for the "converterMessage" with the literal argument provided to this method. Subsequent calls to #getConverterMessage will return this value;
- jakarta.faces.component
- UIInput
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:774
- Set the "immediate" state for this component. When set to true, the component's value will be converted and validated immediately in the Apply Request Values phase, and ValueChangeEvents will be delivered in that phase as well. The default value for this property must be false.
- jakarta.faces.component
- UIInput
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:775
- Sets the "local value set" state for this component.
- jakarta.faces.component
- UIInput
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:776
- Set the "required field" state for this component.
- jakarta.faces.component
- UIInput
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:777
- Override any ValueExpression set for the "requiredMessage" with the literal argument provided to this method. Subsequent calls to #getRequiredMessage will return this value;
- jakarta.faces.component
- UIInput
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:778
- Set the submittedValue value of this UIInput component. This method should only be used by the decode() and validate() method of this component, or its corresponding Renderer.
- jakarta.faces.component
- UIInput
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:779
- Set a flag indicating whether the local value of this component is valid (no conversion error has occurred).
- jakarta.faces.component
- UIInput
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:780
- Set a 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. Any method referenced by such an expression must be public, with a return type of void, and accept parameters of type FacesContext, UIComponent, and Object.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.el.MethodBinding
-
-
-
-
- JSF:JAVADOC:781
- Override any ValueExpression set for the "validatorMessage" with the literal argument provided to this method. Subsequent calls to #getValidatorMessage will return this value;
- jakarta.faces.component
- UIInput
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:782
- Set the value of this UIComponent (if any).
- jakarta.faces.component
- UIInput
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:783
-
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.el.MethodBinding
-
-
-
-
- JSF:JAVADOC:784
- Create a new UIInput instance with default property values.
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:785
- Perform the following algorithm to update the model data associated with this UIInput, if any, as appropriate. If the valid property of this component is false, take no further action. If the localValueSet property of this component is false, take no further action. If no ValueExpression for value exists, take no further action. Call setValue() method of the ValueExpression to update the value that the ValueExpression points at. If the setValue() method returns successfully: Clear the local value of this UIInput. Set the localValueSet property of this UIInput to false. If the setValue() method throws an Exception: Enqueue an error message. Create a FacesMessage with the id #UPDATE_MESSAGE_ID. Create a UpdateModelException, passing the FacesMessage and the caught exception to the constructor. Create an ExceptionQueuedEventContext, passing the FacesContext, the UpdateModelException, this component instance, and PhaseId#UPDATE_MODEL_VALUES to its constructor. Call FacesContext#getExceptionHandler and then call ExceptionHandler#processEvent, passing the ExceptionQueuedEventContext. Set the valid property of this UIInput to false. The exception must not be re-thrown. This enables tree traversal to continue for this lifecycle phase, as in all the other lifecycle phases.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:786
- if context is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:788
- if context is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:789
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIMessage
-
-
-
- JSF:JAVADOC:791
-
- jakarta.faces.component
- UIMessage
-
-
-
- JSF:JAVADOC:792
- Return the flag indicating whether the detail property of the associated message(s) should be displayed. Defaults to true.
- jakarta.faces.component
- UIMessage
-
-
-
- JSF:JAVADOC:793
- Return the flag indicating whether the summary property of the associated message(s) should be displayed. Defaults to false.
- jakarta.faces.component
- UIMessage
-
-
-
- JSF:JAVADOC:795
- Set the flag indicating whether the detail property of the associated message(s) should be displayed.
- jakarta.faces.component
- UIMessage
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:796
- Set the flag indicating whether the detail property of the associated message(s) should be displayed.
- jakarta.faces.component
- UIMessage
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:797
- Set the flag indicating whether the summary property of the associated message(s) should be displayed.
- jakarta.faces.component
- UIMessage
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:798
- Create a new UIMessage instance with default property values.
- jakarta.faces.component
- UIMessage
-
-
-
- JSF:JAVADOC:799
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIMessages
-
-
-
- JSF:JAVADOC:800
- Return the client identifier of the component for which this component represents associated message(s) (if any).
- jakarta.faces.component
- UIMessages
-
-
-
- JSF:JAVADOC:801
- Return the flag indicating whether only global messages (that is, messages with no associated client identifier) should be rendered. Mutually exclusive with the "for" property which takes precedence. Defaults to false.
- jakarta.faces.component
- UIMessages
-
-
-
- JSF:JAVADOC:802
-
- jakarta.faces.component
- UIMessages
-
-
-
- JSF:JAVADOC:803
- Return the flag indicating whether the detail property of the associated message(s) should be displayed. Defaults to false.
- jakarta.faces.component
- UIMessages
-
-
-
- JSF:JAVADOC:804
- Return the flag indicating whether the summary property of the associated message(s) should be displayed. Defaults to true.
- jakarta.faces.component
- UIMessages
-
-
-
- JSF:JAVADOC:805
- Set the client identifier of the component for which this component represents associated message(s) (if any). This property must be set before the message is displayed.
- jakarta.faces.component
- UIMessages
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:806
- Set the flag indicating whether only global messages (that is, messages with no associated client identifier) should be rendered.
- jakarta.faces.component
- UIMessages
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:807
- Set the flag indicating whether the detail property of the associated message(s) should be displayed.
- jakarta.faces.component
- UIMessages
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:808
- Set the flag indicating whether the detail property of the associated message(s) should be displayed.
- jakarta.faces.component
- UIMessages
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:809
- Set the flag indicating whether the summary property of the associated message(s) should be displayed.
- jakarta.faces.component
- UIMessages
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:810
- Create a new UIMessages instance with default property values.
- jakarta.faces.component
- UIMessages
-
-
-
- JSF:JAVADOC:811
- Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed value can be supplied by component creators which should be included in the generated unique id.
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:812
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UINamingContainer
-
-
-
- JSF:JAVADOC:813
- Return the character used to separate segments of a clientId. The implementation must determine if there is a with the value given by the value of the symbolic constant #SEPARATOR_CHAR_PARAM_NAME. If there is a value for this param, the first character of the value must be returned from this method. Otherwise, the value of the symbolic constant NamingContainer#SEPARATOR_CHAR must be returned.
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:814
- Create a new UINamingContainer instance with default property values.
- jakarta.faces.component
- UINamingContainer
-
-
-
- JSF:JAVADOC:816
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIOutcomeTarget
-
-
-
- JSF:JAVADOC:817
- Returns the outcome property of the UIOutcomeTarget. This value is passed to the jakarta.faces.application.NavigationHandler when resolving the target url of this component.
- jakarta.faces.component
- UIOutcomeTarget
-
-
-
- JSF:JAVADOC:818
- Return whether or not the view parameters should be encoded into the target url.
- jakarta.faces.component
- UIOutcomeTarget
-
-
-
- JSF:JAVADOC:819
- Set whether or not the page parameters should be encoded into the target url.
- jakarta.faces.component
- UIOutcomeTarget
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:820
- Sets the outcome property of the UIOutcomeTarget. This value is passed to the NavigationHandler when resolving the target url of this component.
- jakarta.faces.component
- UIOutcomeTarget
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:821
- Create a new UIOutcomeTarget instance with default property values.
- jakarta.faces.component
- UIOutcomeTarget
-
-
-
- JSF:JAVADOC:822
- For each of the attached objects on this instance that implement PartialStateHolder, call PartialStateHolder#clearInitialState on the attached object.
- jakarta.faces.component
- UIOutput
-
-
-
- JSF:JAVADOC:823
- Return the Converter (if any) that is registered for this UIComponent.
- jakarta.faces.component
- UIOutput
-
-
-
- JSF:JAVADOC:824
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIOutput
-
-
-
- JSF:JAVADOC:825
- Return the local value of this UIComponent (if any), without evaluating any associated ValueExpression.
- jakarta.faces.component
- UIOutput
-
-
-
- JSF:JAVADOC:827
- In addition to the actions taken in UIComponentBase when PartialStateHolder#markInitialState() is called, check if the installed Converter is a PartialStateHolder and if it is, call jakarta.faces.component.PartialStateHolder#markInitialState() on it.
- jakarta.faces.component
- UIOutput
-
-
-
- JSF:JAVADOC:828
-
- jakarta.faces.component
- UIOutput
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:829
-
- jakarta.faces.component
- UIOutput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:830
- Set the Converter (if any) that is registered for this UIComponent.
- jakarta.faces.component
- UIOutput
-
-
- jakarta.faces.convert.Converter
-
-
-
-
- JSF:JAVADOC:831
- Set the value of this UIComponent (if any).
- jakarta.faces.component
- UIOutput
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:832
- Create a new UIOutput instance with default property values.
- jakarta.faces.component
- UIOutput
-
-
-
- JSF:JAVADOC:833
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIPanel
-
-
-
- JSF:JAVADOC:834
- Create a new UIPanel instance with default property values.
- jakarta.faces.component
- UIPanel
-
-
-
- JSF:JAVADOC:835
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIParameter
-
-
-
- JSF:JAVADOC:836
- Return the optional parameter name for this parameter.
- jakarta.faces.component
- UIParameter
-
-
-
- JSF:JAVADOC:837
- Returns the value property of the UIParameter.
- jakarta.faces.component
- UIParameter
-
-
-
- JSF:JAVADOC:838
- Return the value of the disable directive for this component. This directive determines whether the parameter value should be disabled by assigning it a null value. If true, the value set on this component is ignored.
- jakarta.faces.component
- UIParameter
-
-
-
- JSF:JAVADOC:839
- Sets the disable property of the UIParameter.
- jakarta.faces.component
- UIParameter
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:840
- Set the optional parameter name for this parameter.
- jakarta.faces.component
- UIParameter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:841
- Sets the value property of the\ UIParameter.
- jakarta.faces.component
- UIParameter
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:842
- Create a new UIParameter instance with default property values.
- jakarta.faces.component
- UIParameter
-
-
-
- JSF:JAVADOC:843
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UISelectBoolean
-
-
-
- JSF:JAVADOC:844
- Return any ValueBinding set for value if a ValueBinding for selected is requested; otherwise, perform the default superclass processing for this method. Rely on the superclass implementation to wrap the returned ValueExpression in a ValueBinding.
- jakarta.faces.component
- UISelectBoolean
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:845
- if name is null
- jakarta.faces.component
- UISelectBoolean
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:846
- Return any ValueExpression set for value if a ValueExpression for selected is requested; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UISelectBoolean
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:847
- if name is null
- jakarta.faces.component
- UISelectBoolean
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:848
- Return the local value of the selected state of this component. This method is a typesafe alias for getValue().
- jakarta.faces.component
- UISelectBoolean
-
-
-
- JSF:JAVADOC:849
- Set the local value of the selected state of this component. This method is a typesafe alias for setValue().
- jakarta.faces.component
- UISelectBoolean
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:850
- Store any ValueBinding specified for selected under value instead; otherwise, perform the default superclass processing for this method. Rely on the superclass implementation to wrap the argument ValueBinding in a ValueExpression.
- jakarta.faces.component
- UISelectBoolean
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
-
-
-
- JSF:JAVADOC:851
- if name is null
- jakarta.faces.component
- UISelectBoolean
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:852
- Store any ValueExpression specified for selected under value instead; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UISelectBoolean
-
-
- java.lang.String
- ValueExpression
-
-
-
-
- JSF:JAVADOC:853
- if name is null
- jakarta.faces.component
- UISelectBoolean
-
-
- java.lang.String
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:854
- Create a new UISelectBoolean instance with default property values.
- jakarta.faces.component
- UISelectBoolean
-
-
-
- JSF:JAVADOC:855
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UISelectItem
-
-
-
- JSF:JAVADOC:856
- Return the description for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
-
- JSF:JAVADOC:857
- Return the localized label for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
-
- JSF:JAVADOC:858
- Return the server value for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
-
- JSF:JAVADOC:859
- Returns the value property of the UISelectItem.
- jakarta.faces.component
- UISelectItem
-
-
-
- JSF:JAVADOC:860
- Return the disabled setting for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
-
- JSF:JAVADOC:861
- Return the escape setting for the label of this selection item.
- jakarta.faces.component
- UISelectItem
-
-
-
- JSF:JAVADOC:862
- Return the value of the noSelectionOption property. If the value of this property is true, the system interprets the option represented by this UISelectItem instance as representing a "no selection" option. See UISelectOne#validateValue and UISelectMany#validateValue for usage.
- jakarta.faces.component
- UISelectItem
-
-
-
- JSF:JAVADOC:863
- Set the description for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:864
- Set the disabled value for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:865
- Set the escape value for the label of this selection item.
- jakarta.faces.component
- UISelectItem
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:866
- Set the localized label for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:867
- Set the server value for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:868
- Set the value of the noSelectionOption property.
- jakarta.faces.component
- UISelectItem
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:869
- Sets the value property of the UISelectItem.
- jakarta.faces.component
- UISelectItem
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:870
- Create a new UISelectItem instance with default property values.
- jakarta.faces.component
- UISelectItem
-
-
-
- JSF:JAVADOC:871
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UISelectItems
-
-
-
- JSF:JAVADOC:872
- Returns the value property of the UISelectItems.
- jakarta.faces.component
- UISelectItems
-
-
-
- JSF:JAVADOC:873
- Sets the value property of the UISelectItems.
- jakarta.faces.component
- UISelectItems
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:874
- Create a new UISelectItems instance with default property values.
- jakarta.faces.component
- UISelectItems
-
-
-
- JSF:JAVADOC:875
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UISelectMany
-
-
-
- JSF:JAVADOC:876
- Return the currently selected values, or null if there are no currently selected values. This is a typesafe alias for getValue().
- jakarta.faces.component
- UISelectMany
-
-
-
- JSF:JAVADOC:877
- Return any ValueBinding set for value if a ValueBinding for selectedValues is requested; otherwise, perform the default superclass processing for this method. This method relies on the superclass to provide the ValueExpression to ValueBinding wrapping.
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:878
- if name is null
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:879
- Return any ValueExpression set for value if a ValueExpression for selectedValues is requested; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:880
- if name is null
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:881
- Set the currently selected values, or null to indicate that there are no currently selected values. This is a typesafe alias for setValue().
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.Object[]
-
-
-
-
- JSF:JAVADOC:882
- Store any ValueBinding specified for selectedValues under value instead; otherwise, perform the default superclass processing for this method. This method relies on the superclass to wrap the argument ValueBinding in a ValueExpression.
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
-
-
-
- JSF:JAVADOC:883
- if name is null
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.String
- jakarta.faces.el.ValueBinding
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:884
- Store any ValueExpression specified for selectedValues under value instead; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.String
- ValueExpression
-
-
-
-
- JSF:JAVADOC:885
- if name is null
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.String
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:886
- Create a new UISelectMany instance with default property values.
- jakarta.faces.component
- UISelectMany
-
-
-
- JSF:JAVADOC:887
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UISelectOne
-
-
-
- JSF:JAVADOC:888
- Create a new UISelectOne instance with default property values.
- jakarta.faces.component
- UISelectOne
-
-
-
- JSF:JAVADOC:889
- Override behavior from superclass to pull a value from the incoming request parameter map under the name given by #getName and store it with a call to UIInput#setSubmittedValue.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:890
- Called specially by UIViewRoot#encodeEnd, this method simply sets the submitted value to be the return from #getStringValue.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:891
-
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:892
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIViewParameter
-
-
-
- JSF:JAVADOC:893
- Return the request parameter name from which the value is retrieved.
- jakarta.faces.component
- UIViewParameter
-
-
-
- JSF:JAVADOC:894
- If the value of this parameter comes from a ValueExpression return the value of the expression, otherwise, return the local value.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:895
- Manually perform standard conversion steps to get a string value from the value expression.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:896
-
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:898
- Return false. The immediate setting is not relevant for view parameters and must be assumed to be false.
- jakarta.faces.component
- UIViewParameter
-
-
-
- JSF:JAVADOC:899
- Specialize superclass behavior to treat null differently. In this class, a null value along with the "required" flag being set to true will cause a validation failure.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:900
- Set the request parameter name from which the value is retrieved.
- jakarta.faces.component
- UIViewParameter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:901
- PENDING (docs) Interesting that submitted value isn't saved by the parent
- jakarta.faces.component
- UIViewParameter
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:902
- Create a new UIViewParameter instance with default property values.
- jakarta.faces.component
- UIViewParameter
-
-
-
- JSF:JAVADOC:903
- Call through to superclass UIInput#updateModel then take the additional action of pushing the value into request scope if and only if the value is not a value expression, is valid, and the local value was set on this lifecycle execution.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:904
- Return the UIViewParameter to which this instance refers. If the current viewId is the same as the viewId passed to our constructor, use the index passed to the constructor to find the actual UIViewParameter instance and return it. Otherwise, call StateHolder#restoreState on the saved state and return the result.
- jakarta.faces.component
- UIViewParameter.Reference
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:905
- Construct a reference to a UIViewParameter. This constructor cause the StateHolder#saveState method to be called on argument UIViewParameter.
- jakarta.faces.component
- UIViewParameter.Reference
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewParameter
- int
- java.lang.String
-
-
-
-
- JSF:JAVADOC:906
- Add argument component, which is assumed to represent a resource instance, as a resource to this view. A resource instance is rendered by a resource Renderer, as described in the Standard HTML RenderKit. The default implementation must call through to #addComponentResource(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent, java.lang.String).
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:907
- Add argument component, which is assumed to represent a resource instance, as a resource to this view. A resource instance is rendered by a resource Renderer, as described in the Standard HTML RenderKit. The component must be added using the following algorithm: If the target argument is null, look for a target attribute on the component. If there is no target attribute, set target to be the default value head Call #getComponentResources to obtain the child list for the given target. If the component ID of componentResource matches the the ID of a resource that has allready been added, remove the old resource. Add the component resource to the list.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:908
- Add the argument newPhaseListener to the list of PhaseListeners on this UIViewRoot.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.event.PhaseListener
-
-
-
-
- JSF:JAVADOC:909
- Broadcast any events that have been queued. First broadcast events that have been queued for PhaseId#ANY_PHASE. Then broadcast ane events that have been queued for the current phase. In both cases, UIComponent#pushComponentToEL must be called before the event is broadcast, and UIComponent#popComponentFromEL must be called after the return from the broadcast, even in the case of an exception.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.event.PhaseId
-
-
-
-
- JSF:JAVADOC:911
- Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this UIViewRoot. Optionally, a unique seed value can be supplied by component creators which should be included in the generated unique id.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:912
- Override the default UIComponentBase#encodeBegin behavior. If #getBeforePhaseListener returns non-null, invoke it, passing a PhaseEvent for the PhaseId#RENDER_RESPONSE phase. If the internal list populated by calls to #addPhaseListener is non-empty, any listeners in that list must have their PhaseListener#beforePhase method called, passing the PhaseEvent. Any errors that occur during invocation of any of the the beforePhase listeners must be logged and swallowed. After listeners are invoked call superclass processing.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:913
-
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:914
- If jakarta.faces.context.PartialViewContext#isAjaxRequest returns true, perform partial rendering by calling jakarta.faces.context.PartialViewContext#processPartial with PhaseId#RENDER_RESPONSE. If jakarta.faces.context.PartialViewContext#isAjaxRequest returns false, delegate to the parent jakarta.faces.component.UIComponentBase#encodeChildren method.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:915
-
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:916
- If #getAfterPhaseListener returns non-null, invoke it, passing a PhaseEvent for the PhaseId#RENDER_RESPONSE phase. Any errors that occur during invocation of the afterPhase listener must be logged and swallowed. If the current view has view parameters, as indicated by a non-empty and non-UnsupportedOperationException throwing return from jakarta.faces.view.ViewDeclarationLanguage#getViewMetadata(jakarta.faces.context.FacesContext, String), call UIViewParameter#encodeAll on each parameter. If calling getViewParameters() causes UnsupportedOperationException to be thrown, the exception must be silently swallowed.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:917
-
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:918
- Return the MethodExpression that will be invoked after this view is rendered.
- jakarta.faces.component
- UIViewRoot
-
-
-
- JSF:JAVADOC:919
- Return the MethodExpression that will be invoked before this view is rendered.
- jakarta.faces.component
- UIViewRoot
-
-
-
- JSF:JAVADOC:921
- if target or context is null
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:922
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIViewRoot
-
-
-
- JSF:JAVADOC:923
- Return the Locale to be used in localizing the response being created for this view. Algorithm: If we have a locale ivar, return it. If we have a value expression for "locale", get its value. If the value is null, return the result of calling jakarta.faces.application.ViewHandler#calculateLocale. If the value is an instance of java.util.Locale return it. If the value is a String, convert it to a java.util.Locale and return it. If there is no value expression for "locale", return the result of calling jakarta.faces.application.ViewHandler#calculateLocale.
- jakarta.faces.component
- UIViewRoot
-
-
-
- JSF:JAVADOC:924
- Return an unmodifiable list of the PhaseListener instances attached to this UIViewRoot instance.
- jakarta.faces.component
- UIViewRoot
-
-
-
- JSF:JAVADOC:925
- Return the render kit identifier of the jakarta.faces.render.RenderKit associated with this view. Unless explicitly set, as in jakarta.faces.application.ViewHandler#createView, the returned value will be null.
- jakarta.faces.component
- UIViewRoot
-
-
-
- JSF:JAVADOC:926
- Call UIComponentBase#getRendersChildren If jakarta.faces.context.PartialViewContext#isAjaxRequest returns true this method must return true.
- jakarta.faces.component
- UIViewRoot
-
-
-
- JSF:JAVADOC:927
- Return the view identifier for this view.
- jakarta.faces.component
- UIViewRoot
-
-
-
- JSF:JAVADOC:928
- Return the SystemEventListener instances registered on this UIComponent instance that are interested in events of type eventClass.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:929
- if argument systemEvent is null.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.Class
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:930
- This implementation simply calls through to #getViewMap(boolean), passing true as the argument, and returns the result.
- jakarta.faces.component
- UIViewRoot
-
-
-
- JSF:JAVADOC:933
- Broadcast any events that have been queued for the Invoke Application phase of the request processing lifecycle and to clear out any events for later phases if the event processing for this phase caused FacesContext#renderResponse or FacesContext#responseComplete to be called.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:934
- if context is null
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:935
- Perform partial processing by calling jakarta.faces.context.PartialViewContext#processPartial with PhaseId#APPLY_REQUEST_VALUES if: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we don't have a request to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns false) Perform full processing by calling UIComponentBase#processDecodes if one of the following conditions are met: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we have a request to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns true) jakarta.faces.context.PartialViewContext#isPartialRequest returns false Override the default UIComponentBase#processDecodes behavior to broadcast any queued events after the default processing or partial processing has been completed and to clear out any events for later phases if the event processing for this phase caused FacesContext#renderResponse or FacesContext#responseComplete to be called.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:936
- if context is null
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:938
- Perform partial processing by calling jakarta.faces.context.PartialViewContext#processPartial with PhaseId#UPDATE_MODEL_VALUES if: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we don't have a request to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns false) Perform full processing by calling UIComponentBase#processUpdates if one of the following conditions are met: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we have a request to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns true) jakarta.faces.context.PartialViewContext#isPartialRequest returns false Override the default UIComponentBase behavior to broadcast any queued events after the default processing or partial processing has been completed and to clear out any events for later phases if the event processing for this phase caused FacesContext#renderResponse or FacesContext#responseComplete to be called.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:939
- if context is null
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:940
- Perform partial processing by calling jakarta.faces.context.PartialViewContext#processPartial with PhaseId#PROCESS_VALIDATIONS if: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we don't have a request to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns false) Perform full processing by calling UIComponentBase#processValidators if one of the following conditions are met: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we have a request to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns true) jakarta.faces.context.PartialViewContext#isPartialRequest returns false Override the default UIComponentBase#processValidators behavior to broadcast any queued events after the default processing or partial processing has been completed and to clear out any events for later phases if the event processing for this phase caused FacesContext#renderResponse or FacesContext#responseComplete to be called.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:941
- if context is null
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:942
- Override the default UIComponentBase#queueEvent behavior to accumulate the queued events for later broadcasting.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
- JSF:JAVADOC:943
- if this component is not a descendant of a UIViewRoot
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:944
- if event is null
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:945
- Remove argument component, which is assumed to represent a resource instance, as a resource to this view.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:946
- Remove argument component, which is assumed to represent a resource instance, as a resource to this view. A resource instance is rendered by a resource Renderer, as described in the Standard HTML RenderKit. The component must be removed using the following algorithm: If the target argument is null, look for a target attribute on the component. If there is no target attribute, set target to be the default value head Call #getComponentResources to obtain the child list for the given target. Remove the component resource from the child list.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:947
- If the argument toRemove is in the list of PhaseListeners for this instance, it must be removed.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.event.PhaseListener
-
-
-
-
- JSF:JAVADOC:948
-
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:949
-
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:950
- Allow an arbitrary method to be called for the "afterPhase" event as the UIViewRoot runs through its lifecycle. This method will be called for all phases including PhaseId#RESTORE_VIEW. Unlike a true PhaseListener, this approach doesn't allow for only receiving PhaseEvents for a given phase. The method must conform to the signature of PhaseListener#afterPhase.
- jakarta.faces.component
- UIViewRoot
-
-
- MethodExpression
-
-
-
-
- JSF:JAVADOC:951
- Allow an arbitrary method to be called for the "beforePhase" event as the UIViewRoot runs through its lifecycle. This method will be called for all phases except PhaseId#RESTORE_VIEW. Unlike a true PhaseListener, this approach doesn't allow for only receiving PhaseEvents for a given phase. The method must conform to the signature of PhaseListener#beforePhase.
- jakarta.faces.component
- UIViewRoot
-
-
- MethodExpression
-
-
-
-
- JSF:JAVADOC:952
- Overridden to take no action.
- jakarta.faces.component
- UIViewRoot
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:953
- Set the Locale to be used in localizing the response being created for this view.
- jakarta.faces.component
- UIViewRoot
-
-
- java.util.Locale
-
-
-
-
- JSF:JAVADOC:954
- Set the render kit identifier of the jakarta.faces.render.RenderKit associated with this view. This method may be called at any time between the end of Apply Request Values phase of the request processing lifecycle (i.e. when events are being broadcast) and the beginning of the Render Response phase.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:955
- Set the view identifier for this view.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:956
- Install the listener instance referenced by argument listener into the UIViewRoot as a listener for events of type systemEventClass. Note that installed listeners are not maintained as part of the UIViewRoot's state.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
- JSF:JAVADOC:957
- if systemEventClass or listener are null.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
- <code>NullPointerException</code>
-
-
-
- JSF:JAVADOC:958
- Create a new UIViewRoot instance with default property values.
- jakarta.faces.component
- UIViewRoot
-
-
-
- JSF:JAVADOC:959
- Remove the listener instance referenced by argument listener from the UIViewRoot as a listener for events of type systemEventClass.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
- JSF:JAVADOC:960
- if systemEventClass or listener are null.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
- <code>NullPointerException</code>
-
-
-
- JSF:JAVADOC:961
- Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed value can be supplied by component creators which should be included in the generated unique id.
- jakarta.faces.component
- UniqueIdVendor
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:962
- Return the FacesMessage passed to the constructor.
- jakarta.faces.component
- UpdateModelException
-
-
-
- JSF:JAVADOC:963
- Store the argument facesMessage so it may be returned from #getFacesMessage and pass the argument cause to the super constructor.
- jakarta.faces.component
- UpdateModelException
-
-
- jakarta.faces.application.FacesMessage
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:964
- Return the Converter (if any) that is registered for this UIComponent.
- jakarta.faces.component
- ValueHolder
-
-
-
- JSF:JAVADOC:965
- Return the local value of this UIComponent (if any), without evaluating any associated ValueExpression.
- jakarta.faces.component
- ValueHolder
-
-
-
- JSF:JAVADOC:967
- Set the Converter (if any) that is registered for this UIComponent.
- jakarta.faces.component
- ValueHolder
-
-
- jakarta.faces.convert.Converter
-
-
-
-
- JSF:JAVADOC:968
- Set the value of this UIComponent (if any).
- jakarta.faces.component
- ValueHolder
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:969
- Add the specified AjaxBehaviorListener to the set of listeners registered to receive event notifications from this AjaxBehavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- jakarta.faces.event.AjaxBehaviorListener
-
-
-
-
- JSF:JAVADOC:970
- if listener is null
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- jakarta.faces.event.AjaxBehaviorListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:971
-
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:972
- Return a non-empty Collection of component identifiers that will be used to identify components that should be processed during the execute phase of the request processing lifecycle. Note that the returned collection may be unmodifiable. Modifications should be performed by calling #setExecute.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:973
- This method returns an unmodifiable Set containing the ClientBehaviorHint SUBMITTING.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:974
- Return the String of JavaScript function name that will be used to identify the client callback function that should be run in the event of an error.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:975
- Return the String of JavaScript function name that will be used to identify the client callback function that should be run on the occurance of a client-side event.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:976
- Return a non-empty Collection of component identifiers that will be used to identify components that should be processed during the render phase of the request processing lifecycle. Note that the returned collection may be unmodifiable. Modifications should be performed by calling #setRender.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:977
- Returns the renderer type of the ClientBehaviorRenderer to use for the behavior. The default implementation returns null. Subclasses should either override this method to return a string that identifies the type of ClientBehaviorRenderer to use, or should override #getScript and perform script rendering locally in the ClientBehavior implementation.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:978
- Returns the ValueExpression used to calculate the value for the specified property name, if any.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:979
- if name is null
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:980
- Return the disabled status of this behavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:982
- Tests whether the immediate attribute is specified. Returns true if the immediate attribute is specified, either as a locally set property or as a value expression. This information allows an associated client behavior renderer to fall back on the parent component's immediate status when immediate is not explicitly specified on the AjaxBehavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:983
- Remove the specified AjaxBehaviorListener from the set of listeners registered to receive event notifications from this AjaxBehavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- jakarta.faces.event.AjaxBehaviorListener
-
-
-
-
- JSF:JAVADOC:984
- if listener is null
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- jakarta.faces.event.AjaxBehaviorListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:985
- Implementation of jakarta.faces.component.StateHolder#restoreState.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:986
- Implementation of jakarta.faces.component.StateHolder#saveState.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:987
- Sets the disabled status of this behavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:988
- Sets the component identifiers that will be used to identify components that should be processed during the execute phase of the request processing lifecycle.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.util.Collection
-
-
-
-
- JSF:JAVADOC:989
- Sets the immediate status of this behavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:990
- Sets the JavaScript function name that will be used to identify the client callback function that should be run in the event of an error.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:991
- Sets the JavaScript function name that will be used to identify the client callback function that should be run in response to event activity.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:992
- Sets the component identifiers that will be used to identify components that should be processed during the render phase of the request processing lifecycle.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.util.Collection
-
-
-
-
- JSF:JAVADOC:993
- Sets the ValueExpression used to calculate the value for the specified property name.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.lang.String
- ValueExpression
-
-
-
-
- JSF:JAVADOC:994
- if name is null
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.lang.String
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:995
- Broadcast the specified BehaviorEvent to all registered event listeners who have expressed an interest in events of this type. Listeners are called in the order in which they were added.
- jakarta.faces.component.behavior
- Behavior
-
-
- jakarta.faces.event.BehaviorEvent
-
-
-
-
- JSF:JAVADOC:996
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component.behavior
- Behavior
-
-
- jakarta.faces.event.BehaviorEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:997
- if the implementation class of this BehaviorEvent is not supported by this component
- jakarta.faces.component.behavior
- Behavior
-
-
- jakarta.faces.event.BehaviorEvent
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:998
- if event is null
- jakarta.faces.component.behavior
- Behavior
-
-
- jakarta.faces.event.BehaviorEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:999
-
- jakarta.faces.component.behavior
- BehaviorBase
-
-
-
- JSF:JAVADOC:1000
- Default implementation of Behavior#broadcast. Delivers the specified BehaviorEvent to all registered BehaviorListener event listeners who have expressed an interest in events of this type. Listeners are called in the order in which they were registered (added).
- jakarta.faces.component.behavior
- BehaviorBase
-
-
- jakarta.faces.event.BehaviorEvent
-
-
-
-
- JSF:JAVADOC:1001
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component.behavior
- BehaviorBase
-
-
- jakarta.faces.event.BehaviorEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1002
- if the implementation class of this BehaviorEvent is not supported by this component
- jakarta.faces.component.behavior
- BehaviorBase
-
-
- jakarta.faces.event.BehaviorEvent
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1003
- if event is null
- jakarta.faces.component.behavior
- BehaviorBase
-
-
- jakarta.faces.event.BehaviorEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1004
- Clears the initial state flag, causing the behavior to revert from partial to full state saving.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
-
- JSF:JAVADOC:1005
- Implementation of jakarta.faces.component.PartialStateHolder#initialStateMarked.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
-
- JSF:JAVADOC:1006
- Implementation of jakarta.faces.component.StateHolder#isTransient.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
-
- JSF:JAVADOC:1007
- Implementation of jakarta.faces.component.PartialStateHolder#markInitialState.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
-
- JSF:JAVADOC:1008
- Implementation of jakarta.faces.component.StateHolder#restoreState.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1009
- Implementation of jakarta.faces.component.StateHolder#saveState.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1010
- Implementation of jakarta.faces.component.StateHolder#setTransient.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1011
- Decode any new state of this ClientBehavior from the request contained in the specified FacesContext. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling queueEvent(). Default implementation delegates decoding to jakarta.faces.render.ClientBehaviorRenderer#decode(FacesContext, UIComponent, ClientBehavior)
- jakarta.faces.component.behavior
- ClientBehavior
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1012
- if context or component is null.
- jakarta.faces.component.behavior
- ClientBehavior
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1013
- Returns hints that describe the behavior of the ClientBehavior implementation. The hints may impact how Renderers behave in the presence of Behaviors. For example, when a Behavior that specifies ClientBehaviorHint.SUBMITTING is present, the Renderer may choose to alternate the scripts that it generates itself.
- jakarta.faces.component.behavior
- ClientBehavior
-
-
-
- JSF:JAVADOC:1014
- Return the script that implements this ClientBehavior's client-side logic. ClientBehavior.getScript() implementations are allowed to return null to indicate that no script is required for this particular getScript() call. For example, a ClientBehavior implementation may return null if the Behavior is disabled.
- jakarta.faces.component.behavior
- ClientBehavior
-
-
- jakarta.faces.component.behavior.ClientBehaviorContext
-
-
-
-
- JSF:JAVADOC:1015
- if behaviorContext is null
- jakarta.faces.component.behavior
- ClientBehavior
-
-
- jakarta.faces.component.behavior.ClientBehaviorContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1016
-
- jakarta.faces.component.behavior
- ClientBehaviorBase
-
-
-
- JSF:JAVADOC:1017
- Default implementation of of ClientBehavior#decode. If a ClientBehaviorRenderer is available for the specified behavior renderer type, this method delegates to the ClientBehaviorRenderer's decode() method. Otherwise, no decoding is performed.
- jakarta.faces.component.behavior
- ClientBehaviorBase
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1018
- if context or component is null.
- jakarta.faces.component.behavior
- ClientBehaviorBase
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1019
- Default implementation of ClientBehavior#getHints(). By default, no hints are specified, and this method returns an empty, umodifiable set.
- jakarta.faces.component.behavior
- ClientBehaviorBase
-
-
-
- JSF:JAVADOC:1020
- Returns the renderer type of the ClientBehaviorRenderer to use for the behavior. The default implementation returns null. Subclasses should either override this method to return a string that identifies the type of ClientBehaviorRenderer to use, or should override #getScript and perform script rendering locally in the ClientBehavior implementation.
- jakarta.faces.component.behavior
- ClientBehaviorBase
-
-
-
- JSF:JAVADOC:1021
- Default implementation of of ClientBehavior#getScript. If a ClientBehaviorRenderer is available for the specified behavior renderer type, this method delegates to the ClientBehaviorRenderer#getScript method. Otherwise, this method returns null.
- jakarta.faces.component.behavior
- ClientBehaviorBase
-
-
- jakarta.faces.component.behavior.ClientBehaviorContext
-
-
-
-
- JSF:JAVADOC:1022
- if behaviorContext is null
- jakarta.faces.component.behavior
- ClientBehaviorBase
-
-
- jakarta.faces.component.behavior.ClientBehaviorContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1023
-
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
-
- JSF:JAVADOC:1024
- Creates a ClientBehaviorContext instance.
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
- java.lang.String
- java.util.Collection
-
-
-
-
- JSF:JAVADOC:1025
- if context, component or eventName is null
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
- java.lang.String
- java.util.Collection
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1026
- Returns the UIComponent that is requesting the ClientBehavior script.
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
-
- JSF:JAVADOC:1027
- Returns the name of the behavior event for which the ClientBehavior script is being requested.
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
-
- JSF:JAVADOC:1028
- Returns the FacesContext for the current request.
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
-
- JSF:JAVADOC:1029
- Returns parameters that "submitting" ClientBehavior implementations should include when posting back data into the Faces lifecycle. If no parameters are specified, this method returns an empty (non-null) collection.
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
-
- JSF:JAVADOC:1030
- Returns an id for use as the ClientBehavior source. ClientBehavior implementations that submit back to the Faces lifecycle are required to identify which component triggered the ClientBehavior-initiated request via the jakarta.faces.source request parameter. In most cases, th source id can be trivially derived from the element to which the behavior's client-side script is attached - ie. the source id is typically the id of this element. However, in components which produce more complex content, the behavior script may not be able to determine the correct id to use for the jakarta.faces.source value. The ClientBehaviorContext#getSourceId method allows the component to pass this information into the ClientBehavior#getScript implementation.
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
-
- JSF:JAVADOC:1031
- Creates a Parameter instance.
- jakarta.faces.component.behavior
- ClientBehaviorContext.Parameter
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1032
- Returns the Parameter's name.
- jakarta.faces.component.behavior
- ClientBehaviorContext.Parameter
-
-
-
- JSF:JAVADOC:1033
- Returns the Parameter's value.
- jakarta.faces.component.behavior
- ClientBehaviorContext.Parameter
-
-
-
- JSF:JAVADOC:1034
-
- jakarta.faces.component.behavior
- ClientBehaviorHint
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1035
-
- jakarta.faces.component.behavior
- ClientBehaviorHint
-
-
-
- JSF:JAVADOC:1037
- Returns a non-null, unmodifiable Map that contains the the ClientBehaviors that have been attached to the component implementing this interface. The keys in this Map are event names defined by #getEventNames.
- jakarta.faces.component.behavior
- ClientBehaviorHolder
-
-
-
- JSF:JAVADOC:1038
- Returns the default event name for this ClientBehaviorHolder implementation. This must be one of the event names returned by #getEventNames or null if the component does not have a default event.
- jakarta.faces.component.behavior
- ClientBehaviorHolder
-
-
-
- JSF:JAVADOC:1039
- Returns a non-null, unmodifiable Collection containing the names of the logical events supported by the component implementing this interface.
- jakarta.faces.component.behavior
- ClientBehaviorHolder
-
-
-
- JSF:JAVADOC:1040
-
- jakarta.faces.component.behavior
- FacesBehavior
-
-
-
- JSF:JAVADOC:1042
- Returns a VisitContext instance that is initialized with the specified ids and hintsfor use with UIComponent#visitTree.
- jakarta.faces.component.visit
- VisitContext
-
-
- jakarta.faces.context.FacesContext
- java.util.Collection
- java.util.Set
-
-
-
-
- JSF:JAVADOC:1043
- Creates a VisitContext instance for use with UIComponent#visitTree UIComponent.visitTree(). This method can be used to obtain a VisitContext instance when all components should be visited with the default visit hints.
- jakarta.faces.component.visit
- VisitContext
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1044
- Returns the FacesContext for the current request.
- jakarta.faces.component.visit
- VisitContext
-
-
-
- JSF:JAVADOC:1046
- Returns the ids of the components to visit. In the case of a full tree visit, this method returns the ALL_IDS collection. Otherwise, if a partial visit is beign performed, returns a modifiable collection containing the client ids of the components that should be visited.
- jakarta.faces.component.visit
- VisitContext
-
-
-
- JSF:JAVADOC:1047
- Given a jakarta.faces.component.NamingContainer component, returns the client ids of any components underneath the NamingContainer that should be visited. This method is called by NamingContainer visitTree() implementations to determine whether the NamingContainer contains components to be visited. In the case where no such components exist, the NamingContainer can short-circuit the tree visit and avoid descending into child subtrees. In addition, iterating components such as UIData may be able to use the returned ids to determine which iterated states (ie. rows) need to be visited. This allows the visit traversal to be contstrained such only those rows that contain visit targets need to be traversed.
- jakarta.faces.component.visit
- VisitContext
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1049
- Called by UIComponent#visitTree UIComponent.visitTree() to visit a single component.
- jakarta.faces.component.visit
- VisitContext
-
-
- jakarta.faces.component.UIComponent
- jakarta.faces.component.visit.VisitCallback
-
-
-
-
- JSF:JAVADOC:1050
-
- jakarta.faces.component.visit
- VisitContext
-
-
-
- JSF:JAVADOC:1051
- Return a new VisitContext instance.
- jakarta.faces.component.visit
- VisitContextFactory
-
-
- jakarta.faces.context.FacesContext
- java.util.Collection
- java.util.Set
-
-
-
-
- JSF:JAVADOC:1052
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. A default implementation is provided that returns null.
- jakarta.faces.component.visit
- VisitContextFactory
-
-
-
- JSF:JAVADOC:1053
-
- jakarta.faces.component.visit
- VisitContextFactory
-
-
-
- JSF:JAVADOC:1054
- Returns the FacesContext for the current request.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
-
- JSF:JAVADOC:1056
- Returns the ids of the components to visit. In the case of a full tree visit, this method returns the ALL_IDS collection. Otherwise, if a partial visit is beign performed, returns a modifiable collection containing the client ids of the components that should be visited.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
-
- JSF:JAVADOC:1057
- Given a jakarta.faces.component.NamingContainer component, returns the client ids of any components underneath the NamingContainer that should be visited. This method is called by NamingContainer visitTree() implementations to determine whether the NamingContainer contains components to be visited. In the case where no such components exist, the NamingContainer can short-circuit the tree visit and avoid descending into child subtrees. In addition, iterating components such as UIData may be able to use the returned ids to determine which iterated states (ie. rows) need to be visited. This allows the visit traversal to be contstrained such only those rows that contain visit targets need to be traversed.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1059
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
-
- JSF:JAVADOC:1060
- Called by UIComponent#visitTree UIComponent.visitTree() to visit a single component.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
- jakarta.faces.component.UIComponent
- jakarta.faces.component.visit.VisitCallback
-
-
-
-
- JSF:JAVADOC:1061
-
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
-
- JSF:JAVADOC:1062
-
- jakarta.faces.component.visit
- VisitHint
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1063
-
- jakarta.faces.component.visit
- VisitHint
-
-
-
- JSF:JAVADOC:1064
-
- jakarta.faces.component.visit
- VisitResult
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1065
-
- jakarta.faces.component.visit
- VisitResult
-
-
-
- JSF:JAVADOC:1066
-
- jakarta.faces.context
- ExceptionHandler
-
-
-
- JSF:JAVADOC:1067
- Return the first ExceptionQueuedEvent handled by this handler.
- jakarta.faces.context
- ExceptionHandler
-
-
-
- JSF:JAVADOC:1068
- The default implementation must return an Iterable over all ExceptionQueuedEvents that have been handled by the #handle method.
- jakarta.faces.context
- ExceptionHandler
-
-
-
- JSF:JAVADOC:1069
- Unwrap the argument t until the unwrapping encounters an Object whose getClass() is not equal to FacesException.class or jakarta.el.ELException.class. If there is no root cause, null is returned.
- jakarta.faces.context
- ExceptionHandler
-
-
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1070
- if argument t is null.
- jakarta.faces.context
- ExceptionHandler
-
-
- java.lang.Throwable
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1071
- Return an Iterable over all ExceptionQueuedEvents that have not yet been handled by the #handle method.
- jakarta.faces.context
- ExceptionHandler
-
-
-
- JSF:JAVADOC:1072
- Take action to handle the Exception instances residing inside the ExceptionQueuedEvent instances that have been queued by calls to Application().publishEvent(ExceptionQueuedEvent.class, eventContext). The requirements of the default implementation are detailed in section JSF.6.2.1.
- jakarta.faces.context
- ExceptionHandler
-
-
-
- JSF:JAVADOC:1073
- if and only if a problem occurs while performing the algorithm to handle the Exception, not as a means of conveying a handled Exception itself.
- jakarta.faces.context
- ExceptionHandler
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1074
-
- jakarta.faces.context
- ExceptionHandler
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1075
-
- jakarta.faces.context
- ExceptionHandler
-
-
- jakarta.faces.event.SystemEvent
-
-
-
-
- JSF:JAVADOC:1076
-
- jakarta.faces.context
- ExceptionHandler
-
-
- jakarta.faces.event.SystemEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1077
-
- jakarta.faces.context
- ExceptionHandlerFactory
-
-
-
- JSF:JAVADOC:1078
- Create and return a A new ExceptionHandler instance. The implementation must return an ExceptionHandler instance suitable for the environment. For example, in some cases it may be desirable for an ExceptionHandler to write error information to the response instead of throwing exceptions as in the case of Ajax applications.
- jakarta.faces.context
- ExceptionHandlerFactory
-
-
-
- JSF:JAVADOC:1079
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. A default implementation is provided that returns null.
- jakarta.faces.context
- ExceptionHandlerFactory
-
-
-
- JSF:JAVADOC:1080
-
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
-
- JSF:JAVADOC:1081
- The default behavior of this method is to call ExceptionHandler#getHandledExceptionQueuedEvent() on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
-
- JSF:JAVADOC:1082
- The default behavior of this method is to call ExceptionHandler#getHandledExceptionQueuedEvents() on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
-
- JSF:JAVADOC:1083
- The default behavior of this method is to call jakarta.faces.context.ExceptionHandler#getRootCause(Throwable) on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1084
- The default behavior of this method is to call ExceptionHandler#getUnhandledExceptionQueuedEvents() on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
-
- JSF:JAVADOC:1085
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
-
- JSF:JAVADOC:1086
- The default behavior of this method is to call jakarta.faces.context.ExceptionHandler#handle() on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
-
- JSF:JAVADOC:1087
-
- jakarta.faces.context
- ExceptionHandlerWrapper
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1088
- The default behavior of this method is to call jakarta.faces.context.ExceptionHandler#isListenerForSource(Object) on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1089
- The default behavior of this method is to call jakarta.faces.context.ExceptionHandler#processEvent(jakarta.faces.event.SystemEvent) on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
- jakarta.faces.event.SystemEvent
-
-
-
-
- JSF:JAVADOC:1090
-
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
- jakarta.faces.event.SystemEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1092
- if the properties Map is not-null and not empty and contains any keys that are not one of the keys listed above.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.lang.String
- java.util.Map
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1093
- Add the given name and value to the response header. Servlet:This must be performed by calling the javax.servlet.http.HttpServletResponse addHeader method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1095
- if an input/output error occurs
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1096
- thrown if a ServletException occurs
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1100
- if url is null
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1102
- Return the specified name, after prefixing it with a namespace that ensures that it will be unique within the context of a particular page. Servlet: The input value must be returned unchanged.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1105
- if url is null
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1107
- Return the input URL, after performing any rewriting needed to ensure that it will correctly identify an addressable resource in the current application. Servlet: This must be the value returned by the javax.servlet.http.HttpServletResponse method encodeURL(url).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1108
- if url is null
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1109
-
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1110
- Return a mutable Map representing the application scope attributes for the current application. The returned Map must implement the entire contract for a modifiable map as described in the JavaDocs for java.util.Map. Modifications made in the Map must cause the corresponding changes in the set of application scope attributes. Particularly the clear(), remove(), put(), putAll(), and get() operations must take the appropriate action on the underlying data structure. For any of the Map methods that cause an element to be removed from the underlying data structure, the following action regarding managed-beans must be taken. If the element to be removed is a managed-bean, and it has one or more public no-argument void return methods annotated with jakarta.annotation.PreDestroy, each such method must be called before the element is removed from the underlying data structure. Elements that are not managed-beans, but do happen to have methods with that annotation must not have those methods called on removal. Any exception thrown by the PreDestroy annotated methods must by caught and not rethrown. The exception may be logged. It is valid to call this method during application startup or shutdown. If called at startup or shutdown time, this method returns a Map that is backed by the same container context instance (ServletContext or PortletContext) as the one returned by calling getApplicationMap() on the ExternalContext returned by the FacesContext during an actual request. Servlet: This must be the set of attributes available via the javax.servlet.ServletContext methods getAttribute(), getAttributeNames(), removeAttribute(), and setAttribute().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1111
- Return the name of the authentication scheme used to authenticate the current user, if any; otherwise, return null. For standard authentication schemes, the returned value will match one of the following constants: BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, or FORM_AUTH. Servlet: This must be the value returned by the javax.servlet.http.HttpServletRequest method getAuthType().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1112
- Return the application environment object instance for the current appication. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this returns the same container context instance (ServletContext or PortletContext) as the one returned when calling getContext() on the ExternalContext returned by the FacesContext during an actual request. Servlet: This must be the current application's javax.servlet.ServletContext instance.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1113
- Return the name of the container context for this application. Return the result of calling getServletContextName() on the ServletContext instance for this application. It is valid to call this method during application startup or shutdown. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1114
- Return the threadsafe Flash for this application. The default implementation will throw UnsupportedOperationException. Compliant JSF runtimes must provide an implementation of this method.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1115
- Return the value of the specified application initialization parameter (if any). Servlet: This must be the result of the javax.servlet.ServletContext method getInitParameter(name). It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method calls through to the actual container context to return the init parameter value.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1116
- if name is null
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1117
- Return an immutable Map whose keys are the set of application initialization parameter names configured for this application, and whose values are the corresponding parameter values. The returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs for java.util.Map. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method returns a Map that is backed by the same container context instance (ServletContext or PortletContext) as the one returned by calling getInitParameterMap() on the ExternalContext returned by the FacesContext during an actual request. Servlet: This result must be as if it were synthesized by calling the javax.servlet.ServletContext method getInitParameterNames, and putting each configured parameter name/value pair into the result.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1118
- Returns the MIME type of the specified file or null if the MIME type is not known. The MIME type is determined by the container. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method calls through to the getMimeType() method on the same container context instance (ServletContext or PortletContext) as the one used when calling getMimeType() on the ExternalContext returned by the FacesContext during an actual request. Servlet: This must be the value returned by the javax.servlet.ServletContext method getMimeType().
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1119
- Returns a String containing the real path for a given virtual path. Servlet: This must be the value returned by the javax.servlet.ServletContext method getRealPath(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1120
- Return the login name of the user making the current request if any; otherwise, return null. Servlet: This must be the value returned by the javax.servlet.http.HttpServletRequest method getRemoteUser().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1121
- Return the environment-specific object instance for the current request. Servlet: This must be the current request's javax.servlet.http.HttpServletRequest instance.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1122
- Return the character encoding currently being used to interpret this request. Servlet: This must return the value returned by the javax.servlet.ServletRequest method getCharacterEncoding(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1123
- Return the result of calling getContentLenth() on the ServletRequest instance for this request. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1124
- Return the MIME Content-Type for this request. If not available, return null. Servlet: This must return the value returned by the javax.servlet.ServletRequest method getContentType(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1125
- Return the portion of the request URI that identifies the web application context for this request. Servlet: This must be the value returned by the javax.servlet.http.HttpServletRequest method getContextPath().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1126
- Return an immutable Map whose keys are the set of cookie names included in the current request, and whose values (of type javax.servlet.http.Cookie) are the first (or only) cookie for each cookie name returned by the underlying request. The returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs for java.util.Map. Servlet: This must be the value returned by the javax.servlet.http.HttpServletRequest method getCookies(), unless null was returned, in which case this must be a zero-length array.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1127
- Return an immutable Map whose keys are the set of request header names included in the current request, and whose values (of type String) are the first (or only) value for each header name returned by the underlying request. The returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs for java.util.Map. In addition, key comparisons must be performed in a case insensitive manner. Servlet: This must be the set of headers available via the javax.servlet.http.HttpServletRequest methods getHeader() and getHeaderNames().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1128
- Return an immutable Map whose keys are the set of request header names included in the current request, and whose values (of type String[]) are all of the value for each header name returned by the underlying request. The returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs for java.util.Map. In addition, key comparisons must be performed in a case insensitive manner. Servlet: This must be the set of headers available via the javax.servlet.http.HttpServletRequest methods getHeaders() and getHeaderNames().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1129
- Return the preferred Locale in which the client will accept content. Servlet: This must be the value returned by the javax.servlet.ServletRequest method getLocale().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1130
- Return an Iterator over the preferred Locales specified in the request, in decreasing order of preference. Servlet: This must be an Iterator over the values returned by the javax.servlet.ServletRequest method getLocales().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1131
- Return a mutable Map representing the request scope attributes for the current application. The returned Map must implement the entire contract for a modifiable map as described in the JavaDocs for java.util.Map. Modifications made in the Map must cause the corresponding changes in the set of request scope attributes. Particularly the clear(), remove(), put(), putAll(), and get() operations must take the appropriate action on the underlying data structure. For any of the Map methods that cause an element to be removed from the underlying data structure, the following action regarding managed-beans must be taken. If the element to be removed is a managed-bean, and it has one or more public no-argument void return methods annotated with jakarta.annotation.PreDestroy, each such method must be called before the element is removed from the underlying data structure. Elements that are not managed-beans, but do happen to have methods with that annotation must not have those methods called on removal. Any exception thrown by the PreDestroy annotated methods must by caught and not rethrown. The exception may be logged. Servlet: This must be the set of attributes available via the javax.servlet.ServletRequest methods getAttribute(), getAttributeNames(), removeAttribute(), and setAttribute().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1132
- Return an immutable Map whose keys are the set of request parameters names included in the current request, and whose values (of type String) are the first (or only) value for each parameter name returned by the underlying request. The returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs for java.util.Map. Servlet: This must be the set of parameters available via the javax.servlet.ServletRequest methods getParameter() and getParameterNames().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1133
- Return an Iterator over the names of all request parameters included in the current request. Servlet: This must be an Iterator over the values returned by the javax.servlet.ServletRequest method getParameterNames().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1134
- Return an immutable Map whose keys are the set of request parameters names included in the current request, and whose values (of type String[]) are all of the values for each parameter name returned by the underlying request. The returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs for java.util.Map. Servlet: This must be the set of parameters available via the javax.servlet.ServletRequest methods getParameterValues() and getParameterNames().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1135
- Return the extra path information (if any) included in the request URI; otherwise, return null. Servlet: This must be the value returned by the javax.servlet.http.HttpServletRequest method getPathInfo().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1136
- Returns the name of the scheme used to make this request, for example, http, https, or ftp. Servlet: This must be the value returned by the javax.servlet.ServletRequest method getScheme(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1137
- Returns the host name of the server to which the request was sent. Servlet: This must be the value returned by the javax.servlet.ServletRequest method getServerName(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1138
- Returns the port number to which the request was sent. Servlet: This must be the value returned by the javax.servlet.ServletRequest method getServerPort(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1139
- Return the servlet path information (if any) included in the request URI; otherwise, return null. Servlet: This must be the value returned by the javax.servlet.http.HttpServletRequest method getServletPath().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1140
- Return a URL for the application resource mapped to the specified path, if it exists; otherwise, return null. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method calls through to the getResource() method on the same container context instance (ServletContext or PortletContext) as the one used when calling getResource() on the ExternalContext returned by the FacesContext during an actual request. Servlet: This must be the value returned by the javax.servlet.ServletContext method getResource(path).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1141
- if the specified path is not in the correct form
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.net.MalformedURLException
-
-
-
- JSF:JAVADOC:1142
- if path is null
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1143
- Return an InputStream for an application resource mapped to the specified path, if it exists; otherwise, return null. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method calls through to the getResourceAsStream() method on the same container context instance (ServletContext or PortletContext) as the one used when calling getResourceAsStream() on the ExternalContext returned by the FacesContext during an actual request. Servlet: This must be the value returned by the javax.servlet.ServletContext method getResourceAsStream(path).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1144
- if path is null
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1145
- Return the Set of resource paths for all application resources whose resource path starts with the specified argument. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method calls through to the getResourcePaths() method on the same container context instance (ServletContext or PortletContext) as the one used when calling getResourcePaths() on the ExternalContext returned by the FacesContext during an actual request. Servlet: This must be the value returned by the javax.servlet.ServletContext method getResourcePaths(path).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1146
- if path is null
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1147
- Return the environment-specific object instance for the current response. Servlet: This is the current request's javax.servlet.http.HttpServletResponse instance.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1148
- Return the buffer size for the current response. Servlet: This must be performed by calling the javax.servlet.http.HttpServletResponse getBufferSize method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1149
- Returns the name of the character encoding (MIME charset) used for the body sent in this response. Servlet: This must return the value returned by the javax.servlet.ServletResponse method getCharacterEncoding(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1150
- Return the MIME Content-Type for this response. If not available, return null. Servlet: This must return the value returned by the javax.servlet.ServletResponse method getContentType(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1151
- Returns an OutputStream suitable for writing binary data to the user-agent. Servlet: This must return the value returned by the javax.servlet.ServletResponse method getOutputStream(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1152
-
- jakarta.faces.context
- ExternalContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1153
- Returns a Writer suitable for writing character data to the user-agent. Servlet: This must return the value returned by the javax.servlet.ServletResponse#getWriter. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1154
-
- jakarta.faces.context
- ExternalContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1155
- If the create parameter is true, create (if necessary) and return a session instance associated with the current request. If the create parameter is false return any existing session instance associated with the current request, or return null if there is no such session. Servlet: This must return the result of calling getSession(create) on the underlying javax.servlet.http.HttpServletRequest instance.
- jakarta.faces.context
- ExternalContext
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1157
- Return the Principal object containing the name of the current authenticated user, if any; otherwise, return null. Servlet: This must be the value returned by the javax.servlet.http.HttpServletRequest method getUserPrincipal().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1158
- Invalidates this session then unbinds any objects bound to it. Servlet: This must be the value returned by the javax.servlet.http.HttpSession method invalidate(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1159
- Check if the current response has been committed. Servlet: This must be performed by calling the javax.servlet.http.HttpServletResponse isCommitted method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1160
- Return true if the currently authenticated user is included in the specified role. Otherwise, return false. Servlet: This must be the value returned by the javax.servlet.http.HttpServletRequest method isUserInRole(role).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1161
- if role is null
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1162
- Log the specified message to the application object. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this calls the log() method on the same container context instance (ServletContext or PortletContext) as the one used during a call to log() on the ExternalContext returned by the FacesContext during an actual request. Servlet: This must be performed by calling the javax.servlet.ServletContext method log(String).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1163
- if message is null
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1164
- Log the specified message and exception to the application object. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this calls the log() method on the same container context instance (ServletContext or PortletContext) as the one used when calling log() on the ExternalContext returned by the FacesContext during an actual request. Servlet: This must be performed by calling the javax.servlet.ServletContext method log(String,Throwable).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1165
- if message or exception is null
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.lang.Throwable
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1166
- Redirect a request to the specified URL, and cause the responseComplete() method to be called on the FacesContext instance for the current request. The implementation must determine if the request is an Ajax request by obtaining a PartialViewContext instance from the FacesContext and calling PartialViewContext#isAjaxRequest(). Servlet: For non Ajax requests, this must be accomplished by calling the javax.servlet.http.HttpServletResponse method sendRedirect(). For Ajax requests, the implementation must: Get a PartialResponseWriter instance from the FacesContext. Call #setResponseContentType with text/xml Call #setResponseCharacterEncoding with UTF-8 Call #addResponseHeader with Cache-Control, no-cache Call PartialResponseWriter#startDocument Call PartialResponseWriter#redirect with the url argument. Call PartialResponseWriter#endDocument
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1167
- if an input/output error occurs
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1168
- if the specified url is relative
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1169
- if, in a portlet environment, the current response object is a RenderResponse instead of an ActionResponse
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1170
- if, in a servlet environment, the current response has already been committed
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1171
- Flushes the buffered response content to the client. Servlet: This must be performed by calling the javax.servlet.http.HttpServletResponse flushBuffer method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1172
-
- jakarta.faces.context
- ExternalContext
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1173
- Resets the current response. Servlet: This must be performed by calling the javax.servlet.http.HttpServletResponse reset method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1174
- Sends an HTTP status code with message. Servlet: This must be performed by calling the javax.servlet.http.HttpServletResponse sendError method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- int
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1175
-
- jakarta.faces.context
- ExternalContext
-
-
- int
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1176
- Set the environment-specific request to be returned by subsequent calls to #getRequest. This may be used to install a wrapper for the request. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1177
- Overrides the name of the character encoding used in the body of this request. Calling this method after the request has been accessed will have no no effect, unless a Reader or Stream has been obtained from the request, in which case an IllegalStateException is thrown. Servlet: This must call through to the javax.servlet.ServletRequest method setCharacterEncoding(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1178
- if this is not a valid encoding
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.io.UnsupportedEncodingException
-
-
-
- JSF:JAVADOC:1179
- Set the environment-specific response to be returned by subsequent calls to #getResponse. This may be used to install a wrapper for the response. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1180
- Set the buffer size for the current response. Servlet: This must be performed by calling the javax.servlet.http.HttpServletResponse setBufferSize method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- int
-
-
-
-
- JSF:JAVADOC:1181
- Sets the character encoding (MIME charset) of the response being sent to the client, for example, to UTF-8. Servlet: This must call through to the javax.servlet.ServletResponse method setCharacterEncoding(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1182
- Set the content length of the response. Servlet: This must be performed by calling the javax.servlet.http.HttpServletResponse setContentLength method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- int
-
-
-
-
- JSF:JAVADOC:1183
- Sets the content type of the response being sent to the client, if the response has not been committed yet. Servlet: This must call setContentType() on the underlying javax.servlet.ServletResponse instance. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1184
- Set the response header with the given name and value. Servlet:This must be performed by calling the javax.servlet.http.HttpServletResponse setHeader method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1185
- Sets the HTTP status code for the response. Servlet: This must be performed by calling the javax.servlet.http.HttpServletResponse setStatus method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- int
-
-
-
-
- JSF:JAVADOC:1186
-
- jakarta.faces.context
- ExternalContextFactory
-
-
-
- JSF:JAVADOC:1187
- Create (if needed) and return an ExternalContext instance that is initialized for the processing of the specified request and response objects, for this web application.
- jakarta.faces.context
- ExternalContextFactory
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1188
- if a ExternalContext cannot be constructed for the specified parameters
- jakarta.faces.context
- ExternalContextFactory
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1189
- if any of the parameters are null
- jakarta.faces.context
- ExternalContextFactory
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1190
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. A default implementation is provided that returns null.
- jakarta.faces.context
- ExternalContextFactory
-
-
-
- JSF:JAVADOC:1191
- The default behavior of this method is to call ExternalContext#addResponseCookie(String, String, Map) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
- java.lang.String
- java.util.Map
-
-
-
-
- JSF:JAVADOC:1192
- The default behavior of this method is to call ExternalContext#addResponseHeader(String,String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1193
- The default behavior of this method is to call ExternalContext#dispatch(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1194
-
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1195
- The default behavior of this method is to call ExternalContext#encodeActionURL(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1196
- The default behavior of this method is to call jakarta.faces.context.ExternalContext#encodeBookmarkableURL(String, java.util.Map) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
- java.util.Map
-
-
-
-
- JSF:JAVADOC:1197
- The default behavior of this method is to call ExternalContext#encodeNamespace(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1200
- The default behavior of this method is to call jakarta.faces.context.ExternalContext#encodeRedirectURL(String, java.util.Map) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
- java.util.Map
-
-
-
-
- JSF:JAVADOC:1201
- The default behavior of this method is to call ExternalContext#encodeResourceURL(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1202
-
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1203
- The default behavior of this method is to call ExternalContext#getApplicationMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1204
- The default behavior of this method is to call ExternalContext#getAuthType on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1205
- The default behavior of this method is to call ExternalContext#getContext on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1206
- The default behavior of this method is to call ExternalContext#getContextName on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1207
- The default behavior of this method is to call ExternalContext#getFlash() on the wrapped ExternalContext object.</p?
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1208
- The default behavior of this method is to call ExternalContext#getInitParameter(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1209
- The default behavior of this method is to call ExternalContext#getInitParameterMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1210
- The default behavior of this method is to call ExternalContext#getMimeType(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1211
- The default behavior of this method is to call ExternalContext#getRealPath(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1212
- The default behavior of this method is to call ExternalContext#getRemoteUser on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1213
- The default behavior of this method is to call ExternalContext#getRequest on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1214
- The default behavior of this method is to call ExternalContext#getRequestCharacterEncoding on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1215
- The default behavior of this method is to call ExternalContext#getRequestContentLength on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1216
- The default behavior of this method is to call ExternalContext#getRequestContentType on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1217
- The default behavior of this method is to call ExternalContext#getRequestContextPath on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1218
- The default behavior of this method is to call ExternalContext#getRequestCookieMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1219
- The default behavior of this method is to call ExternalContext#getRequestHeaderMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1220
- The default behavior of this method is to call ExternalContext#getRequestHeaderValuesMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1221
- The default behavior of this method is to call ExternalContext#getRequestLocale on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1222
- The default behavior of this method is to call ExternalContext#getRequestLocales on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1223
- The default behavior of this method is to call ExternalContext#getRequestMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1224
- The default behavior of this method is to call ExternalContext#getRequestParameterMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1225
- The default behavior of this method is to call ExternalContext#getRequestParameterNames on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1226
- The default behavior of this method is to call ExternalContext#getRequestParameterValuesMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1227
- The default behavior of this method is to call ExternalContext#getRequestPathInfo on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1228
- The default behavior of this method is to call ExternalContext#getRequestScheme on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1229
- The default behavior of this method is to call ExternalContext#getRequestServerName on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1230
- The default behavior of this method is to call ExternalContext#getRequestServerPort on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1231
- The default behavior of this method is to call ExternalContext#getRequestServletPath on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1232
- The default behavior of this method is to call ExternalContext#getResource(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1233
-
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
- java.net.MalformedURLException
-
-
-
- JSF:JAVADOC:1234
- The default behavior of this method is to call ExternalContext#getResourceAsStream(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1235
- The default behavior of this method is to call ExternalContext#getResourcePaths(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1236
- The default behavior of this method is to call ExternalContext#getResponse on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1237
- The default behavior of this method is to call ExternalContext#getResponseBufferSize() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1238
- The default behavior of this method is to call ExternalContext#getResponseCharacterEncoding on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1239
- The default behavior of this method is to call ExternalContext#getResponseContentType on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1240
- The default behavior of this method is to call ExternalContext#getResponseOutputStream on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1241
-
- jakarta.faces.context
- ExternalContextWrapper
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1242
- The default behavior of this method is to call ExternalContext#getResponseOutputWriter on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1243
-
- jakarta.faces.context
- ExternalContextWrapper
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1244
- The default behavior of this method is to call ExternalContext#getSession(boolean) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1246
- The default behavior of this method is to call ExternalContext#getUserPrincipal on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1247
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1248
- The default behavior of this method is to call ExternalContext#invalidateSession on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1249
- The default behavior of this method is to call ExternalContext#isResponseCommitted() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1250
- The default behavior of this method is to call ExternalContext#isUserInRole(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1251
- The default behavior of this method is to call ExternalContext#log(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1252
- The default behavior of this method is to call ExternalContext#log(String, Throwable) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1253
- The default behavior of this method is to call ExternalContext#redirect(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1254
-
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1255
- The default behavior of this method is to call jakarta.faces.context.ExternalContext#responseFlushBuffer() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1256
-
- jakarta.faces.context
- ExternalContextWrapper
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1257
- The default behavior of this method is to call ExternalContext#responseReset() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1258
- The default behavior of this method is to call ExternalContext#responseSendError(int,String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- int
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1259
-
- jakarta.faces.context
- ExternalContextWrapper
-
-
- int
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1260
- The default behavior of this method is to call ExternalContext#setRequest(Object) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1261
- The default behavior of this method is to call ExternalContext#setRequestCharacterEncoding(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1262
-
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
- java.io.UnsupportedEncodingException
-
-
-
- JSF:JAVADOC:1263
- The default behavior of this method is to call ExternalContext#setResponse(Object) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1264
- The default behavior of this method is to call ExternalContext#setResponseBufferSize(int) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- int
-
-
-
-
- JSF:JAVADOC:1265
- The default behavior of this method is to call ExternalContext#getResponseCharacterEncoding on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1266
- The default behavior of this method is to call jakarta.faces.context.ExternalContext#setResponseContentLength(int) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- int
-
-
-
-
- JSF:JAVADOC:1267
- The default behavior of this method is to call ExternalContext#setResponseContentType(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1268
- The default behavior of this method is to call ExternalContext#setResponseHeader(String,String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1269
- The default behavior of this method is to call ExternalContext#setResponseStatus(int) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- int
-
-
-
-
- JSF:JAVADOC:1270
- Append a jakarta.faces.application.FacesMessage to the set of messages associated with the specified client identifier, if clientId is not null. If clientId is null, this jakarta.faces.application.FacesMessage is assumed to not be associated with any specific component instance.
- jakarta.faces.context
- FacesContext
-
-
- java.lang.String
- jakarta.faces.application.FacesMessage
-
-
-
-
- JSF:JAVADOC:1271
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
-
- java.lang.String
- jakarta.faces.application.FacesMessage
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1272
- if message is null
- jakarta.faces.context
- FacesContext
-
-
- java.lang.String
- jakarta.faces.application.FacesMessage
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1273
-
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1274
- Return the Application instance associated with this web application. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, returns the correct current jakarta.faces.application.Application instance.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1275
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1276
- Return a mutable Map representing the attributes associated wth this FacesContext instance. This Map is useful to store attributes that you want to go out of scope when the Faces lifecycle for the current request ends, which is not always the same as the request ending, especially in the case of Servlet filters that are invoked after the Faces lifecycle for this request completes. Accessing this Map does not cause any events to fire, as is the case with the other maps: for request, session, and application scope. When #release() is invoked, the attributes must be cleared. The Map returned by this method is not associated with the request. If you would like to get or set request attributes, see ExternalContext#getRequestMap. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1277
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1278
- Return an Iterator over the client identifiers for which at least one jakarta.faces.application.FacesMessage has been queued. If there are no such client identifiers, an empty Iterator is returned. If any messages have been queued that were not associated with any specific client identifier, a null value will be included in the iterated values. The elements in the Iterator must be returned in the order in which they were added with #addMessage.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1279
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1280
- Return the FacesContext instance for the request that is being processed by the current thread. If called during application initialization or shutdown, any method documented as "valid to call this method during application startup or shutdown" must be supported during application startup or shutdown time. The result of calling a method during application startup or shutdown time that does not have this designation is undefined.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1281
- Return the value last set on this FacesContext instance when #setCurrentPhaseId was called.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1282
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1283
- Return the ELContext instance for this FacesContext instance. This ELContext instance has the same lifetime and scope as the FacesContext instance with which it is associated, and may be created lazily the first time this method is called for a given FacesContext instance. Upon creation of the ELContext instance, the implementation must take the following action: Call the ELContext#putContext method on the instance, passing in FacesContext.class and the this reference for the FacesContext instance itself. If the Collection returned by jakarta.faces.application.Application#getELContextListeners is non-empty, create an instance of jakarta.el.ELContextEvent and pass it to each jakarta.el.ELContextListener instance in the Collection by calling the jakarta.el.ELContextListener#contextCreated method.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1284
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1285
- Return the ExceptionHandler for this request.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1286
- Return the ExternalContext instance for this FacesContext instance. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method returns an ExternalContext instance with the special behaviors indicated in the javadoc for that class. Methods document as being valid to call during application startup or shutdown must be supported.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1287
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1289
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1290
- Like #getMessages, but returns a List, enabling use from EL expressions. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1291
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1292
- Like #getMessages(java.lang.String), but returns a List of messages for the component with client id matching argument clientId. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- FacesContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1293
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
-
- java.lang.String
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1294
- Return an Iterator over the jakarta.faces.application.FacesMessages that have been queued, whether or not they are associated with any specific client identifier. If no such messages have been queued, return an empty Iterator. The elements of the Iterator must be returned in the order in which they were added with calls to #addMessage.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1295
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1296
- Return an Iterator over the jakarta.faces.application.FacesMessages that have been queued that are associated with the specified client identifier (if clientId is not null), or over the jakarta.faces.application.FacesMessages that have been queued that are not associated with any specific client identifier (if clientId is null). If no such messages have been queued, return an empty Iterator. The elements of the Iterator must be returned in the order in which they were added with calls to #addMessage.
- jakarta.faces.context
- FacesContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1297
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
-
- java.lang.String
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1298
- Return the PartialViewContext for this request. The PartialViewContext is used to control the processing of specified components during the execute portion of the request processing lifecycle (known as partial processing) and the rendering of specified components (known as partial rendering). This method must return a new PartialViewContext if one does not already exist.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1299
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1300
- Return the RenderKit instance for the render kit identifier specified on our UIViewRoot, if there is one. If there is no current UIViewRoot, if the UIViewRoot does not have a specified renderKitId, or if there is no RenderKit for the specified identifier, return null instead.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1301
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1302
- Return true if the renderResponse() method has been called for the current request.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1303
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1304
- Return true if the responseComplete() method has been called for the current request.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1305
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1306
- Return the ResponseStream to which components should direct their binary output. Within a given response, components can use either the ResponseStream or the ResponseWriter, but not both.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1307
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1308
- Return the ResponseWriter to which components should direct their character-based output. Within a given response, components can use either the ResponseStream or the ResponseWriter, but not both.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1309
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1310
- Return the root component that is associated with the this request. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method returns a new UIViewRoot with its locale set to Locale.getDefault().
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1311
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1312
- This utility method simply returns the result of jakarta.faces.render.ResponseStateManager#isPostback(FacesContext). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1313
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1314
- Returns a flag indicating whether or not the runtime should publish events when asked to do so.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1315
- Return true if the current ProjectStage as returned by the Application instance is equal to stage, otherwise return false
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.application.ProjectStage
-
-
-
-
- JSF:JAVADOC:1316
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.application.ProjectStage
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1317
- if stage is null
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.application.ProjectStage
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1318
- Return true if the validationFailed() method has been called for the current request.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1319
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1320
- Release any resources associated with this FacesContext instance. Faces implementations may choose to pool instances in the associated FacesContextFactory to avoid repeated object creation and garbage collection. After release() is called on a FacesContext instance (until the FacesContext instance has been recycled by the implementation for re-use), calling any other methods will cause an IllegalStateException to be thrown. If a call was made to #getAttributes during the processing for this request, the implementation must call clear() on the Map returned from getAttributes(), and then de-allocate the data-structure behind that Map. The implementation must call #setCurrentInstance passing null to remove the association between this thread and this dead FacesContext instance.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1321
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1322
- Signal the JavaServer faces implementation that, as soon as the current phase of the request processing lifecycle has been completed, control should be passed to the Render Response phase, bypassing any phases that have not been executed yet.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1323
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1324
- Signal the JavaServer Faces implementation that the HTTP response for this request has already been generated (such as an HTTP redirect), and that the request processing lifecycle should be terminated as soon as the current phase is completed.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1325
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1326
- The implementation must call this method at the earliest possble point in time after entering into a new phase in the request processing lifecycle.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.event.PhaseId
-
-
-
-
- JSF:JAVADOC:1327
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1328
- Set the ExceptionHandler for this request.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.context.ExceptionHandler
-
-
-
-
- JSF:JAVADOC:1329
- Allows control of wheter or not the runtime will publish events when Application#publishEvent(FacesContext, Class, Object) or Application#publishEvent(FacesContext, Class, Class, Object) is called.
- jakarta.faces.context
- FacesContext
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1330
- Set the ResponseStream to which components should direct their binary output.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.context.ResponseStream
-
-
-
-
- JSF:JAVADOC:1331
- if responseStream is null
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.context.ResponseStream
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1332
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.context.ResponseStream
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1333
- Set the ResponseWriter to which components should direct their character-based output.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.context.ResponseWriter
-
-
-
-
- JSF:JAVADOC:1334
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.context.ResponseWriter
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1335
- if responseWriter is null
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.context.ResponseWriter
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1337
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.component.UIViewRoot
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1338
- if root is null
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.component.UIViewRoot
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1339
- Sets a flag which indicates that a conversion or validation error occurred while processing the inputs. Inputs consist of either page parameters or form bindings. This flag can be read using #isValidationFailed.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1340
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1341
-
- jakarta.faces.context
- FacesContextFactory
-
-
-
- JSF:JAVADOC:1342
- Create (if needed) and return a FacesContext instance that is initialized for the processing of the specified request and response objects, utilizing the specified Lifecycle instance, for this web application. The implementation of this method must ensure that calls to the getCurrentInstance() method of FacesContext, from the same thread that called this method, will return the same FacesContext instance until the release() method is called on that instance. The implementation must call ExternalContextFactory#getExternalContext to produce the ExternalContext for the FacesContext instance. The default implementation must call ExceptionHandlerFactory#getExceptionHandler and make it so the return from that method is what gets returned from a call to FacesContext#getExceptionHandler on the returned FacesContext instance.
- jakarta.faces.context
- FacesContextFactory
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
- jakarta.faces.lifecycle.Lifecycle
-
-
-
-
- JSF:JAVADOC:1343
- if a FacesContext cannot be constructed for the specified parameters
- jakarta.faces.context
- FacesContextFactory
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
- jakarta.faces.lifecycle.Lifecycle
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1344
- if any of the parameters are null
- jakarta.faces.context
- FacesContextFactory
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
- jakarta.faces.lifecycle.Lifecycle
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1345
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. A default implementation is provided that returns null.
- jakarta.faces.context
- FacesContextFactory
-
-
-
- JSF:JAVADOC:1346
- The default behavior of this method is to call FacesContext#addMessage(String, FacesMessage) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- java.lang.String
- jakarta.faces.application.FacesMessage
-
-
-
-
- JSF:JAVADOC:1347
-
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1348
- The default behavior of this method is to call FacesContext#getApplication() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1349
- The default behavior of this method is to call FacesContext#getAttributes() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1350
- The default behavior of this method is to call jakarta.faces.context.FacesContext#getClientIdsWithMessages() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1351
- The default behavior of this method is to call FacesContext#getCurrentPhaseId() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1352
- The default behavior of this method is to call FacesContext#getELContext() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1353
- The default behavior of this method is to call FacesContext#getExceptionHandler() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1354
- The default behavior of this method is to call FacesContext#getExternalContext() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1355
- The default behavior of this method is to call FacesContext#getMaximumSeverity() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1356
- The default behavior of this method is to call FacesContext#getMessageList() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1357
- The default behavior of this method is to call FacesContext#getMessageList(String) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1358
- The default behavior of this method is to call FacesContext#getMessages() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1359
- The default behavior of this method is to call FacesContext#getMessages(String) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1360
- The default behavior of this method is to call FacesContext#getPartialViewContext() ()} on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1361
- The default behavior of this method is to call FacesContext#getRenderKit() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1362
- The default behavior of this method is to call FacesContext#getRenderResponse() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1363
- The default behavior of this method is to call FacesContext#getResponseComplete() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1364
- The default behavior of this method is to call FacesContext#getResponseStream() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1365
- The default behavior of this method is to call FacesContext#getResponseWriter() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1366
- The default behavior of this method is to call FacesContext#getViewRoot() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1367
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1368
- The default behavior of this method is to call FacesContext#isPostback() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1369
- The default behavior of this method is to call jakarta.faces.context.FacesContext#isProcessingEvents() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1370
- The default behavior of this method is to call jakarta.faces.context.FacesContext#isProjectStage(jakarta.faces.application.ProjectStage) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.application.ProjectStage
-
-
-
-
- JSF:JAVADOC:1371
- The default behavior of this method is to call jakarta.faces.context.FacesContext#isValidationFailed on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1372
- The default behavior of this method is to call FacesContext#release() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1373
- The default behavior of this method is to call FacesContext#renderResponse() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1374
- The default behavior of this method is to call FacesContext#responseComplete() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1375
- The default behavior of this method is to call FacesContext#setCurrentPhaseId(PhaseId) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.event.PhaseId
-
-
-
-
- JSF:JAVADOC:1376
- The default behavior of this method is to call FacesContext#setExceptionHandler(ExceptionHandler) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.context.ExceptionHandler
-
-
-
-
- JSF:JAVADOC:1377
- The default behavior of this method is to call FacesContext#setProcessingEvents(boolean) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1378
- The default behavior of this method is to call FacesContext#setResponseStream(ResponseStream) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.context.ResponseStream
-
-
-
-
- JSF:JAVADOC:1379
- The default behavior of this method is to call FacesContext#setResponseWriter(ResponseWriter) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.context.ResponseWriter
-
-
-
-
- JSF:JAVADOC:1380
- The default behavior of this method is to call FacesContext#setViewRoot(UIViewRoot) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:1381
- The default behavior of this method is to call jakarta.faces.context.FacesContext#validationFailed() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:1382
- Called after the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle.
- jakarta.faces.context
- Flash
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1383
- Called before the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle.
- jakarta.faces.context
- Flash
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1384
-
- jakarta.faces.context
- Flash
-
-
-
- JSF:JAVADOC:1387
- Causes a value stored with a previous call to #putNow, its EL equivalent, or to the request Map, to be promoted to the flash so that is available on the next traversal through the lifecycle on this session.
- jakarta.faces.context
- Flash
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1388
- Puts a value in the flash so that it can be accessed on this traversal of the lifecycle, rather than on the next traversal. This is simply an alias for putting a value in the request map. EL Usage Example Value of \#{flash.now.bar}, should be barValue.
- jakarta.faces.context
- Flash
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1389
- Setter for keepMessages JavaBeans property. See #isKeepMessages.
- jakarta.faces.context
- Flash
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1390
- Setting this property to true indicates that the next request on this session will be a redirect. Recall that on a redirect, the server sends a special response to the client instructing it to issue a new request to a specific URI. The implementation must insure that reading the value of this property on that request will return true. EL Usage Example
- jakarta.faces.context
- Flash
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1391
- Write a delete operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1392
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1393
- Write the end of a partial response.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
- JSF:JAVADOC:1394
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1395
- Write the end of an error.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
- JSF:JAVADOC:1396
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1397
- Write the end of an eval operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
- JSF:JAVADOC:1398
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1399
- Write the end of an extension operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
- JSF:JAVADOC:1400
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1401
- Write the end of an insert operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
- JSF:JAVADOC:1402
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1403
- Write the end of an update operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
- JSF:JAVADOC:1404
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1405
- Return the wrapped ResponseWriter instance.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
- JSF:JAVADOC:1406
- Create a PartialResponseWriter.
- jakarta.faces.context
- PartialResponseWriter
-
-
- jakarta.faces.context.ResponseWriter
-
-
-
-
- JSF:JAVADOC:1407
- Write a redirect operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1408
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1409
- Write the start of a partial response.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
- JSF:JAVADOC:1410
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1411
- Write the start of an error.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1412
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1413
- Write the start of an eval operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
- JSF:JAVADOC:1414
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1415
- Write the start of an extension operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.util.Map
-
-
-
-
- JSF:JAVADOC:1416
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.util.Map
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1417
- Write the start of an insert operation where the contents will be inserted after the specified target node.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1418
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1419
- Write the start of an insert operation where the contents will be inserted before the specified target node.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1420
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1421
- Write the start of an update operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1422
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1423
- Write an attribute update operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
- java.util.Map
-
-
-
-
- JSF:JAVADOC:1424
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
- java.util.Map
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1425
- Return a Collection of client identifiers from the current request with the request parameter name #PARTIAL_EXECUTE_PARAM_NAME. If there is no such request parameter, return an empty Collection. These client identifiers are used to identify components that will be processed during the execute phase of the request processing lifecycle. The returned Collection is mutable.
- jakarta.faces.context
- PartialViewContext
-
-
-
- JSF:JAVADOC:1426
- if this method is called after this instance has been released
- jakarta.faces.context
- PartialViewContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1427
- Return the ResponseWriter to which components should direct their output for partial view rendering. Within a given response, components can use either the ResponseStream or the ResponseWriter, but not both.
- jakarta.faces.context
- PartialViewContext
-
-
-
- JSF:JAVADOC:1428
- if this method is called after this instance has been released
- jakarta.faces.context
- PartialViewContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1429
- Return a Collection of client identifiers from the current request with the request parameter name #PARTIAL_RENDER_PARAM_NAME. If there is no such request parameter, return an empty Collection. These client identifiers are used to identify components that will be processed during the render phase of the request processing lifecycle. The returned Collection is mutable.
- jakarta.faces.context
- PartialViewContext
-
-
-
- JSF:JAVADOC:1430
- if this method is called after this instance has been released
- jakarta.faces.context
- PartialViewContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1431
- Return true if the request header Faces-Request is present with the value partial/ajax. Otherwise, return false.
- jakarta.faces.context
- PartialViewContext
-
-
-
- JSF:JAVADOC:1432
- if this method is called after this instance has been released
- jakarta.faces.context
- PartialViewContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1433
- Return true if #isAjaxRequest returns true and #PARTIAL_EXECUTE_PARAM_NAME is present in the current request with the value #ALL_PARTIAL_PHASE_CLIENT_IDS. Otherwise, return false.
- jakarta.faces.context
- PartialViewContext
-
-
-
- JSF:JAVADOC:1434
- if this method is called after this instance has been released
- jakarta.faces.context
- PartialViewContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1435
- Return true #isAjaxRequest returns true or if the request header Faces-Request is present with the value partial/process. Otherwise, return false.
- jakarta.faces.context
- PartialViewContext
-
-
-
- JSF:JAVADOC:1436
- if this method is called after this instance has been released
- jakarta.faces.context
- PartialViewContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1437
- Return true if #isAjaxRequest returns true and #PARTIAL_RENDER_PARAM_NAME is present in the current request with the value #ALL_PARTIAL_PHASE_CLIENT_IDS. Otherwise, return false.
- jakarta.faces.context
- PartialViewContext
-
-
-
- JSF:JAVADOC:1438
- if this method is called after this instance has been released
- jakarta.faces.context
- PartialViewContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1439
-
- jakarta.faces.context
- PartialViewContext
-
-
-
- JSF:JAVADOC:1440
- Perform lifecycle processing on components during the indicated phaseId. Only those components with identifiers existing in the Collection returned from #getExecuteIds and #getRenderIds will be processed.
- jakarta.faces.context
- PartialViewContext
-
-
- jakarta.faces.event.PhaseId
-
-
-
-
- JSF:JAVADOC:1441
- Release any resources associated with this PartialViewContext instance.
- jakarta.faces.context
- PartialViewContext
-
-
-
- JSF:JAVADOC:1442
- if this method is called after this instance has been released
- jakarta.faces.context
- PartialViewContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1443
- Dynamically indicate that this is a partial request.
- jakarta.faces.context
- PartialViewContext
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1444
- if this method is called after this instance has been released
- jakarta.faces.context
- PartialViewContext
-
-
- boolean
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1445
- Indicate the entire view must be rendered if renderAll is true.
- jakarta.faces.context
- PartialViewContext
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1446
- if this method is called after this instance has been released
- jakarta.faces.context
- PartialViewContext
-
-
- boolean
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1447
- Create (if needed) and return a PartialViewContext instance that is initialized using the current FacesContext instance.
- jakarta.faces.context
- PartialViewContextFactory
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1448
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.context
- PartialViewContextFactory
-
-
-
- JSF:JAVADOC:1449
-
- jakarta.faces.context
- PartialViewContextFactory
-
-
-
- JSF:JAVADOC:1450
- The default behavior of this method is to call PartialViewContext#getExecuteIds() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
- JSF:JAVADOC:1451
- The default behavior of this method is to call PartialViewContext#getPartialResponseWriter() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
- JSF:JAVADOC:1452
- The default behavior of this method is to call PartialViewContext#getRenderIds() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
- JSF:JAVADOC:1453
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
- JSF:JAVADOC:1454
- The default behavior of this method is to call PartialViewContext#isAjaxRequest() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
- JSF:JAVADOC:1455
- The default behavior of this method is to call PartialViewContext#isExecuteAll() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
- JSF:JAVADOC:1456
- The default behavior of this method is to call PartialViewContext#isPartialRequest() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
- JSF:JAVADOC:1457
- The default behavior of this method is to call PartialViewContext#isRenderAll() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
- JSF:JAVADOC:1458
-
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
- JSF:JAVADOC:1459
- The default behavior of this method is to call PartialViewContext#processPartial(PhaseId) on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
- jakarta.faces.event.PhaseId
-
-
-
-
- JSF:JAVADOC:1460
- The default behavior of this method is to call PartialViewContext#release() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
- JSF:JAVADOC:1461
- The default behavior of this method is to call PartialViewContext#setRenderAll(boolean) on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1462
-
- jakarta.faces.context
- ResponseStream
-
-
-
- JSF:JAVADOC:1463
- Create and return a new instance of this ResponseWriter, using the specified Writer as the output destination.
- jakarta.faces.context
- ResponseWriter
-
-
- java.io.Writer
-
-
-
-
- JSF:JAVADOC:1464
- Close an XML CDATA block. The default implementation of this method takes no action when invoked.
- jakarta.faces.context
- ResponseWriter
-
-
-
- JSF:JAVADOC:1465
- if input/output error occures
- jakarta.faces.context
- ResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1466
- Write whatever text should end a response. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
-
- JSF:JAVADOC:1467
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1469
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1470
- if name is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1471
- Flush any ouput buffered by the output method to the underlying Writer or OutputStream. This method will not flush the underlying Writer or OutputStream; it simply clears any values buffered by this ResponseWriter.
- jakarta.faces.context
- ResponseWriter
-
-
-
- JSF:JAVADOC:1472
-
- jakarta.faces.context
- ResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1473
- Return the character encoding (such as "ISO-8859-1") for this ResponseWriter. Please see the IANA for a list of character encodings.
- jakarta.faces.context
- ResponseWriter
-
-
-
- JSF:JAVADOC:1474
- Return the content type (such as "text/html") for this ResponseWriter. Note: this must not include the "charset=" suffix.
- jakarta.faces.context
- ResponseWriter
-
-
-
- JSF:JAVADOC:1475
-
- jakarta.faces.context
- ResponseWriter
-
-
-
- JSF:JAVADOC:1476
- Open an XML CDATA block. Note that XML does not allow nested CDATA blocks, though this method does not enforce that constraint. The default implementation of this method takes no action when invoked.
- jakarta.faces.context
- ResponseWriter
-
-
-
- JSF:JAVADOC:1477
- if input/output error occures
- jakarta.faces.context
- ResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1478
- Write whatever text should begin a response.
- jakarta.faces.context
- ResponseWriter
-
-
-
- JSF:JAVADOC:1479
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1481
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1482
- if name is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1483
- Write an attribute name and corresponding value, after converting that text to a String (if necessary), and after performing any escaping appropriate for the markup language being rendered. This method may only be called after a call to startElement(), and before the opened element has been closed.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1484
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1485
- if this method is called when there is no currently open element
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1486
- if name is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1487
- Write a comment containing the specified text, after converting that text to a String (if necessary), and after performing any escaping appropriate for the markup language being rendered. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1488
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1489
- if comment is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1490
- Write an object, after converting it to a String (if necessary), and after performing any escaping appropriate for the markup language being rendered. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1491
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1492
- if text is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1493
- Write an object, after converting it to a String (if necessary), and after performing any escaping appropriate for the markup language being rendered. This method is equivalent to #writeText(java.lang.Object,java.lang.String) but adds a component property to allow custom ResponseWriter implementations to associate a component with an arbitrary portion of text. The default implementation simply ignores the component argument and calls through to #writeText(java.lang.Object,java.lang.String)
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1494
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1495
- if text is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1496
- Write text from a character array, after any performing any escaping appropriate for the markup language being rendered. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
- char[]
- int
- int
-
-
-
-
- JSF:JAVADOC:1497
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- char[]
- int
- int
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1498
- if the calculated starting or ending position is outside the bounds of the character array
- jakarta.faces.context
- ResponseWriter
-
-
- char[]
- int
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
- JSF:JAVADOC:1499
- if text is null
- jakarta.faces.context
- ResponseWriter
-
-
- char[]
- int
- int
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1501
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1502
- if this method is called when there is no currently open element
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1503
- if name is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1504
- The default behavior of this method is to call ResponseWriter#cloneWithWriter(java.io.Writer) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.io.Writer
-
-
-
-
- JSF:JAVADOC:1505
- The default behavior of this method is to call ResponseWriter#close() on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
- JSF:JAVADOC:1506
-
- jakarta.faces.context
- ResponseWriterWrapper
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1507
- The default behavior of this method is to call ResponseWriter#endCDATA on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
- JSF:JAVADOC:1508
- on any read/write error
- jakarta.faces.context
- ResponseWriterWrapper
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1509
- The default behavior of this method is to call ResponseWriter#endDocument() on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
- JSF:JAVADOC:1510
-
- jakarta.faces.context
- ResponseWriterWrapper
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1511
- The default behavior of this method is to call ResponseWriter#endElement(String) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1512
- on any read/write error
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1513
- The default behavior of this method is to call ResponseWriter#flush() on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
- JSF:JAVADOC:1514
-
- jakarta.faces.context
- ResponseWriterWrapper
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1515
- The default behavior of this method is to call ResponseWriter#getCharacterEncoding() on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
- JSF:JAVADOC:1516
- The default behavior of this method is to call ResponseWriter#getContentType() on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
- JSF:JAVADOC:1517
- Return the instance that we are wrapping. As of version 2, this method is public.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
- JSF:JAVADOC:1518
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
- JSF:JAVADOC:1519
- The default behavior of this method is to call ResponseWriter#startCDATA on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
- JSF:JAVADOC:1520
- on any read/write error
- jakarta.faces.context
- ResponseWriterWrapper
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1521
- The default behavior of this method is to call ResponseWriter#startDocument() on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
- JSF:JAVADOC:1522
-
- jakarta.faces.context
- ResponseWriterWrapper
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1523
- The default behavior of this method is to call ResponseWriter#startElement(String, jakarta.faces.component.UIComponent) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1524
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1525
- The default behavior of this method is to call ResponseWriter#write(char[], int, int) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- char[]
- int
- int
-
-
-
-
- JSF:JAVADOC:1526
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- char[]
- int
- int
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1527
- The default behavior of this method is to call ResponseWriter#writeAttribute(String, Object, String) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1528
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1529
- The default behavior of this method is to call ResponseWriter#writeComment(Object) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1530
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.Object
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1531
- The default behavior of this method is to call ResponseWriter#writeText(Object, String) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.Object
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1532
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.Object
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1533
- The default behavior of this method is to call ResponseWriter#writeText(Object, UIComponent, String) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.Object
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1534
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.Object
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1535
- The default behavior of this method is to call ResponseWriter#writeText(char[], int, int) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- char[]
- int
- int
-
-
-
-
- JSF:JAVADOC:1536
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- char[]
- int
- int
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1537
- The default behavior of this method is to call ResponseWriter#writeURIAttribute(String, Object, String) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1538
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:1539
-
- jakarta.faces.convert
- BigDecimalConverter
-
-
-
- JSF:JAVADOC:1540
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- BigDecimalConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1541
- if conversion cannot be successfully performed
- jakarta.faces.convert
- BigDecimalConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1542
- if context or component is null
- jakarta.faces.convert
- BigDecimalConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1543
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- BigDecimalConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1544
- if conversion cannot be successfully performed
- jakarta.faces.convert
- BigDecimalConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1545
- if context or component is null
- jakarta.faces.convert
- BigDecimalConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1546
-
- jakarta.faces.convert
- BigIntegerConverter
-
-
-
- JSF:JAVADOC:1547
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- BigIntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1548
- if conversion cannot be successfully performed
- jakarta.faces.convert
- BigIntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1549
- if context or component is null
- jakarta.faces.convert
- BigIntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1550
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- BigIntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1551
- if conversion cannot be successfully performed
- jakarta.faces.convert
- BigIntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1552
- if context or component is null
- jakarta.faces.convert
- BigIntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1553
-
- jakarta.faces.convert
- BooleanConverter
-
-
-
- JSF:JAVADOC:1554
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- BooleanConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1555
- if conversion cannot be successfully performed
- jakarta.faces.convert
- BooleanConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1556
- if context or component is null
- jakarta.faces.convert
- BooleanConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1557
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- BooleanConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1558
- if conversion cannot be successfully performed
- jakarta.faces.convert
- BooleanConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1559
- if context or component is null
- jakarta.faces.convert
- BooleanConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1560
-
- jakarta.faces.convert
- ByteConverter
-
-
-
- JSF:JAVADOC:1561
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- ByteConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1562
- if conversion cannot be successfully performed
- jakarta.faces.convert
- ByteConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1563
- if context or component is null
- jakarta.faces.convert
- ByteConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1564
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- ByteConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1565
- if conversion cannot be successfully performed
- jakarta.faces.convert
- ByteConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1566
- if context or component is null
- jakarta.faces.convert
- ByteConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1567
-
- jakarta.faces.convert
- CharacterConverter
-
-
-
- JSF:JAVADOC:1568
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- CharacterConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1569
- if conversion cannot be successfully performed
- jakarta.faces.convert
- CharacterConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1570
- if context or component is null
- jakarta.faces.convert
- CharacterConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1571
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- CharacterConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1572
- if conversion cannot be successfully performed
- jakarta.faces.convert
- CharacterConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1573
- if context or component is null
- jakarta.faces.convert
- CharacterConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1574
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1575
- if conversion cannot be successfully performed
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1576
- if context or component is null
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1577
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1578
- if conversion cannot be successfully performed
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1579
- if context or component is null
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1580
- Construct a new exception with no detail message or root cause.
- jakarta.faces.convert
- ConverterException
-
-
-
- JSF:JAVADOC:1581
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.convert
- ConverterException
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1582
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.convert
- ConverterException
-
-
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1583
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.convert
- ConverterException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1584
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.convert
- ConverterException
-
-
- jakarta.faces.application.FacesMessage
-
-
-
-
- JSF:JAVADOC:1585
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.convert
- ConverterException
-
-
- jakarta.faces.application.FacesMessage
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1586
- Returns the FacesMessage associated with this exception; this will only be available if the converter that thew this exception instance placed it there.
- jakarta.faces.convert
- ConverterException
-
-
-
- JSF:JAVADOC:1587
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
- JSF:JAVADOC:1588
-
- jakarta.faces.convert
- DateTimeConverter
-
-
-
- JSF:JAVADOC:1589
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- DateTimeConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1590
- if conversion cannot be successfully performed
- jakarta.faces.convert
- DateTimeConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1591
- if context or component is null
- jakarta.faces.convert
- DateTimeConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1592
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- DateTimeConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1593
- if conversion cannot be successfully performed
- jakarta.faces.convert
- DateTimeConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1594
- if context or component is null
- jakarta.faces.convert
- DateTimeConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1595
- Return the style to be used to format or parse dates. If not set, the default value, default, is returned.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
- JSF:JAVADOC:1596
- Return the Locale to be used when parsing or formatting dates and times. If not explicitly set, the Locale stored in the jakarta.faces.component.UIViewRoot for the current request is returned.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
- JSF:JAVADOC:1597
- Return the format pattern to be used when formatting and parsing dates and times.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
- JSF:JAVADOC:1598
- Return the style to be used to format or parse times. If not set, the default value, default, is returned.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
- JSF:JAVADOC:1599
- Return the TimeZone used to interpret a time value. If not explicitly set, the default time zone of GMT returned.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
- JSF:JAVADOC:1600
- Return the type of value to be formatted or parsed. If not explicitly set, the default type, date is returned.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
- JSF:JAVADOC:1601
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.convert
- DateTimeConverter
-
-
-
- JSF:JAVADOC:1602
-
- jakarta.faces.convert
- DateTimeConverter
-
-
-
- JSF:JAVADOC:1603
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
- JSF:JAVADOC:1604
-
- jakarta.faces.convert
- DateTimeConverter
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1605
-
- jakarta.faces.convert
- DateTimeConverter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1606
- Set the style to be used to format or parse dates. Valid values are default, short, medium, long, and full. An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.
- jakarta.faces.convert
- DateTimeConverter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1607
- Set the Locale to be used when parsing or formatting dates and times. If set to null, the Locale stored in the jakarta.faces.component.UIViewRoot for the current request will be utilized.
- jakarta.faces.convert
- DateTimeConverter
-
-
- java.util.Locale
-
-
-
-
- JSF:JAVADOC:1608
- Set the format pattern to be used when formatting and parsing dates and times. Valid values are those supported by java.text.SimpleDateFormat. An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.
- jakarta.faces.convert
- DateTimeConverter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1609
- Set the style to be used to format or parse times. Valid values are default, short, medium, long, and full. An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.
- jakarta.faces.convert
- DateTimeConverter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1610
- Set the TimeZone used to interpret a time value.
- jakarta.faces.convert
- DateTimeConverter
-
-
- java.util.TimeZone
-
-
-
-
- JSF:JAVADOC:1611
-
- jakarta.faces.convert
- DateTimeConverter
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1612
- Set the type of value to be formatted or parsed. Valid values are both, date, or time. An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.
- jakarta.faces.convert
- DateTimeConverter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1613
-
- jakarta.faces.convert
- DoubleConverter
-
-
-
- JSF:JAVADOC:1614
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- DoubleConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1615
- if conversion cannot be successfully performed
- jakarta.faces.convert
- DoubleConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1616
- if context or component is null
- jakarta.faces.convert
- DoubleConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1617
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- DoubleConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1618
- if conversion cannot be successfully performed
- jakarta.faces.convert
- DoubleConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1619
- if context or component is null
- jakarta.faces.convert
- DoubleConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1620
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.convert
- EnumConverter
-
-
-
- JSF:JAVADOC:1621
-
- jakarta.faces.convert
- EnumConverter
-
-
-
- JSF:JAVADOC:1622
-
- jakarta.faces.convert
- EnumConverter
-
-
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:1623
- Convert the value argument to one of the enum constants of the class provided in our constructor. If no target class argument has been provided to the constructor of this instance, throw a ConverterException containing the #ENUM_NO_CLASS_ID message with proper parameters. If the value argument is null or it has a length of zero, return null. Otherwise, perform the equivalent of Enum.valueOf using target class and value and return the Object. If the conversion fails, throw a ConverterException containing the #ENUM_ID message with proper parameters.
- jakarta.faces.convert
- EnumConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1624
- {@inheritDoc}
- jakarta.faces.convert
- EnumConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1625
- {@inheritDoc}
- jakarta.faces.convert
- EnumConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1626
- Convert the enum constant given by the value argument into a String. If no target class argument has been provided to the constructor of this instance, throw a ConverterException containing the #ENUM_NO_CLASS_ID message with proper parameters. If the value argument is null, return null. If the value is an instance of the provided target class, return its string value by casting it to a java.lang.Enum and returning the result of calling the name() method. Otherwise, throw a ConverterException containing the #ENUM_ID message with proper parameters.
- jakarta.faces.convert
- EnumConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1627
- {@inheritDoc}
- jakarta.faces.convert
- EnumConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1628
- {@inheritDoc}
- jakarta.faces.convert
- EnumConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1629
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.convert
- EnumConverter
-
-
-
- JSF:JAVADOC:1630
-
- jakarta.faces.convert
- EnumConverter
-
-
-
- JSF:JAVADOC:1631
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.convert
- EnumConverter
-
-
-
- JSF:JAVADOC:1632
-
- jakarta.faces.convert
- EnumConverter
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1633
-
- jakarta.faces.convert
- EnumConverter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1634
-
- jakarta.faces.convert
- EnumConverter
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1635
- The value of this annotation attribute is taken to be the converter-for-class with which instances of this class of converter can be instantiated by calling jakarta.faces.application.Application#createConverter(java.lang.Class).
- jakarta.faces.convert
- FacesConverter
-
-
-
- JSF:JAVADOC:1637
-
- jakarta.faces.convert
- FloatConverter
-
-
-
- JSF:JAVADOC:1638
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- FloatConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1639
- if conversion cannot be successfully performed
- jakarta.faces.convert
- FloatConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1640
- if context or component is null
- jakarta.faces.convert
- FloatConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1641
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- FloatConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1642
- if conversion cannot be successfully performed
- jakarta.faces.convert
- FloatConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1643
- if context or component is null
- jakarta.faces.convert
- FloatConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1644
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- IntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1645
- if conversion cannot be successfully performed
- jakarta.faces.convert
- IntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1646
- if context or component is null
- jakarta.faces.convert
- IntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1647
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- IntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1648
- if conversion cannot be successfully performed
- jakarta.faces.convert
- IntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1649
- if context or component is null
- jakarta.faces.convert
- IntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1650
-
- jakarta.faces.convert
- IntegerConverter
-
-
-
- JSF:JAVADOC:1651
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- LongConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1652
- if conversion cannot be successfully performed
- jakarta.faces.convert
- LongConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1653
- if context or component is null
- jakarta.faces.convert
- LongConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1654
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- LongConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1655
- if conversion cannot be successfully performed
- jakarta.faces.convert
- LongConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1656
- if context or component is null
- jakarta.faces.convert
- LongConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1657
-
- jakarta.faces.convert
- LongConverter
-
-
-
- JSF:JAVADOC:1658
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1659
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- NumberConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1660
- if conversion cannot be successfully performed
- jakarta.faces.convert
- NumberConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1661
- if context or component is null
- jakarta.faces.convert
- NumberConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1662
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- NumberConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1663
- if conversion cannot be successfully performed
- jakarta.faces.convert
- NumberConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1664
- if context or component is null
- jakarta.faces.convert
- NumberConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1665
- Return the ISO 4217 currency code used by getAsString() with a type of currency. If not set, the value used will be based on the formatting Locale.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1666
- Return the currency symbol used by getAsString() with a type of currency. If not set, the value used will be based on the formatting Locale.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1667
- Return the Locale to be used when parsing numbers. If this value is null, the Locale stored in the jakarta.faces.component.UIViewRoot for the current request will be utilized.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1668
- Return the maximum number of digits getAsString() should render in the fraction portion of the result.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1669
- Return the maximum number of digits getAsString() should render in the integer portion of the result.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1670
- Return the minimum number of digits getAsString() should render in the fraction portion of the result.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1671
- Return the minimum number of digits getAsString() should render in the integer portion of the result.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1672
- Return the format pattern to be used when formatting and parsing numbers.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1673
- Return the number type to be used when formatting and parsing numbers. If not modified, the default type is number.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1674
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1675
- Return true if getAsString should include grouping separators if necessary. If not modified, the default value is true.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1676
- Return true if only the integer portion of the given value should be returned from getAsObject(). If not modified, the default value is false.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1677
-
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1678
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1679
-
- jakarta.faces.convert
- NumberConverter
-
-
-
- JSF:JAVADOC:1680
-
- jakarta.faces.convert
- NumberConverter
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1681
-
- jakarta.faces.convert
- NumberConverter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1682
- Set the ISO 4217 currency code used by getAsString() with a type of currency.
- jakarta.faces.convert
- NumberConverter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1683
- Set the currency symbol used by getAsString() with a type of currency.
- jakarta.faces.convert
- NumberConverter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1684
- Set the flag indicating whether getAsString() should include grouping separators if necessary.
- jakarta.faces.convert
- NumberConverter
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1685
- Set to true if only the integer portion of the given value should be returned from getAsObject().
- jakarta.faces.convert
- NumberConverter
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1686
- Set the Locale to be used when parsing numbers. If set to null, the Locale stored in the jakarta.faces.component.UIViewRoot for the current request will be utilized.
- jakarta.faces.convert
- NumberConverter
-
-
- java.util.Locale
-
-
-
-
- JSF:JAVADOC:1687
- Set the maximum number of digits getAsString() should render in the fraction portion of the result. If not set, the number of digits depends on the value being converted.
- jakarta.faces.convert
- NumberConverter
-
-
- int
-
-
-
-
- JSF:JAVADOC:1688
- Set the maximum number of digits getAsString() should render in the integer portion of the result. If not set, the number of digits depends on the value being converted.
- jakarta.faces.convert
- NumberConverter
-
-
- int
-
-
-
-
- JSF:JAVADOC:1689
- Set the minimum number of digits getAsString() should render in the fraction portion of the result. If not set, the number of digits depends on the value being converted.
- jakarta.faces.convert
- NumberConverter
-
-
- int
-
-
-
-
- JSF:JAVADOC:1690
- Set the minimum number of digits getAsString() should render in the integer portion of the result. If not set, the number of digits depends on the value being converted.
- jakarta.faces.convert
- NumberConverter
-
-
- int
-
-
-
-
- JSF:JAVADOC:1691
- Set the format pattern to be used when formatting and parsing numbers. Valid values are those supported by java.text.DecimalFormat. An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.
- jakarta.faces.convert
- NumberConverter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1692
-
- jakarta.faces.convert
- NumberConverter
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1693
- Set the number type to be used when formatting and parsing numbers. Valid values are currency, number, or percent. An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.
- jakarta.faces.convert
- NumberConverter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1694
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- ShortConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1695
- if conversion cannot be successfully performed
- jakarta.faces.convert
- ShortConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1696
- if context or component is null
- jakarta.faces.convert
- ShortConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1697
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- ShortConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1698
- if conversion cannot be successfully performed
- jakarta.faces.convert
- ShortConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:1699
- if context or component is null
- jakarta.faces.convert
- ShortConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1700
-
- jakarta.faces.convert
- ShortConverter
-
-
-
- JSF:JAVADOC:1701
-
- jakarta.faces.el
- CompositeComponentExpressionHolder
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1702
- Construct a new exception with no detail message or root cause.
- jakarta.faces.el
- EvaluationException
-
-
-
- JSF:JAVADOC:1703
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.el
- EvaluationException
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1704
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.el
- EvaluationException
-
-
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1705
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.el
- EvaluationException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1706
- Return the (possibly null) expression String, with leading and trailing delimiters, from which this MethodBinding was built. The default implementation returns null.
- jakarta.faces.el
- MethodBinding
-
-
-
- JSF:JAVADOC:1707
- Return the Java class representing the return type from the method identified by this method binding expression.
- jakarta.faces.el
- MethodBinding
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1708
- if no suitable method can be found
- jakarta.faces.el
- MethodBinding
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.el.MethodNotFoundException
-
-
-
- JSF:JAVADOC:1709
- if context is null
- jakarta.faces.el
- MethodBinding
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1710
- Return the return value (if any) resulting from a call to the method identified by this method binding expression, passing it the specified parameters, relative to the specified FacesContext.
- jakarta.faces.el
- MethodBinding
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object[]
-
-
-
-
- JSF:JAVADOC:1711
- if an exception is thrown by the called method (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- MethodBinding
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object[]
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1712
- if no suitable method can be found
- jakarta.faces.el
- MethodBinding
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object[]
-
- jakarta.faces.el.MethodNotFoundException
-
-
-
- JSF:JAVADOC:1713
- if context is null
- jakarta.faces.el
- MethodBinding
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object[]
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1714
-
- jakarta.faces.el
- MethodBinding
-
-
-
- JSF:JAVADOC:1715
- Construct a new exception with no detail message or root cause.
- jakarta.faces.el
- MethodNotFoundException
-
-
-
- JSF:JAVADOC:1716
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.el
- MethodNotFoundException
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1717
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.el
- MethodNotFoundException
-
-
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1718
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.el
- MethodNotFoundException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1719
- Construct a new exception with no detail message or root cause.
- jakarta.faces.el
- PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1720
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.el
- PropertyNotFoundException
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1721
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.el
- PropertyNotFoundException
-
-
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1722
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.el
- PropertyNotFoundException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1723
- Return the java.lang.Class representing the type of the specified property. An instance of any Object of that type my be set as the value of that property, as long as the property is not read-only. The actual value of the property, if non-null, is guaranteed to be an instance of this type, or an instance of a subclass of this type. This method is also useful for discovering the type of Objects that may be set as the value of the property. For a bean base object, the property is coerced to a String and used as the property name. For all other base object types (e.g., a Map), the property is used without any coercing.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1724
- if an exception is thrown while testing the property (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.Object
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1725
- if the specified bean base object property does not exist or if base or property is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.Object
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1726
- Return the java.lang.Class representing the type of the specified index.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
-
-
-
- JSF:JAVADOC:1727
- if an exception is thrown while testing the property (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1728
- if the index is out of bounds or if base is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1729
- Return the value of the specified property from the specified base object. For a bean base object, the property is coerced to a String and used as the property name. For all other base object types (e.g., a Map), the property is used without any coercing.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1730
- if an exception is thrown while getting the property value (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.Object
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1731
- if the specified property for a bean base object does not exist or is not readable
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.Object
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1732
- Return the value at the specified index of the specified base object.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
-
-
-
- JSF:JAVADOC:1733
- if an exception is thrown while getting the property value (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1734
- if the index is out of bounds or if base is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1735
- Checks if the specified property is read-only. For a bean base object, the property is coerced to a String and used as the property name. For all other base object types (e.g., a Map), the property is used without any coercing.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1736
- if an exception is thrown while testing the property (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.Object
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1737
- if the specified bean base object property does not exist or if base or property is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.Object
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1738
- Checks if the specified index is read-only.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
-
-
-
- JSF:JAVADOC:1739
- if an exception is thrown while testing the property (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1740
- if the index is out of bounds or if base is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1741
-
- jakarta.faces.el
- PropertyResolver
-
-
-
- JSF:JAVADOC:1742
- Set the specified value of the specified property on the specified base object. For a bean base object, the property is coerced to a String and used as the property name. For all other base object types (e.g., a Map), the property is used without any coercing.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1743
- if an exception is thrown while setting the property value (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1744
- if the specified bean base object property does not exist or is not writeable, or if base or name is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1745
- Set the value at the specified index of the specified base object.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1746
- if an exception is thrown while setting the property value (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
- java.lang.Object
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1747
- if the index is out of bounds or if base is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
- java.lang.Object
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1748
- Construct a new exception with no detail message or root cause.
- jakarta.faces.el
- ReferenceSyntaxException
-
-
-
- JSF:JAVADOC:1749
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.el
- ReferenceSyntaxException
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1750
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.el
- ReferenceSyntaxException
-
-
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1751
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.el
- ReferenceSyntaxException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1752
- Return the (possibly null) expression String, including the delimiters, from which this ValueBinding was built.
- jakarta.faces.el
- ValueBinding
-
-
-
- JSF:JAVADOC:1753
- Return the type of the property represented by this ValueBinding, relative to the specified FacesContext.
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1754
- if an exception is thrown while getting the description of the property (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1755
- if a specified property name does not exist
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1756
- if context is null
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1757
- Return the value of the property represented by this ValueBinding, relative to the specified FacesContext.
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1758
- if an exception is thrown while getting the value (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1759
- if a specified property name does not exist, or is not readable
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1760
- if context is null
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1761
- Return true if the specified property of the specified property is known to be immutable; otherwise, return false.
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1762
- if an exception is thrown while getting the description of the property (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1763
- if a specified property name does not exist
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1764
- if context is null
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1765
- Set the value of the property represented by this ValueBinding, relative to the specified FacesContext.
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1766
- if an exception is thrown while setting the value (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1767
- if a specified property name does not exist, or is not writeable
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
- JSF:JAVADOC:1768
- if context is null
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1769
-
- jakarta.faces.el
- ValueBinding
-
-
-
- JSF:JAVADOC:1770
- Resolve the specified variable name, and return the corresponding object, if any; otherwise, return null.
- jakarta.faces.el
- VariableResolver
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1771
- if an exception is thrown while resolving the variable name (the thrown exception must be included as the cause property of this exception)
- jakarta.faces.el
- VariableResolver
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- jakarta.faces.el.EvaluationException
-
-
-
- JSF:JAVADOC:1772
- if context or name is null
- jakarta.faces.el
- VariableResolver
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1773
-
- jakarta.faces.el
- VariableResolver
-
-
-
- JSF:JAVADOC:1774
- Construct a new exception with no detail message or root cause.
- jakarta.faces.event
- AbortProcessingException
-
-
-
- JSF:JAVADOC:1775
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.event
- AbortProcessingException
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1776
- Construct a new exception with the specified root cause.
- jakarta.faces.event
- AbortProcessingException
-
-
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1777
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.event
- AbortProcessingException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1778
- Construct a new event object from the specified source component and action command.
- jakarta.faces.event
- ActionEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1779
- Return true if this FacesListener is an instance of a listener class that this event supports. Typically, this will be accomplished by an "instanceof" check on the listener class.
- jakarta.faces.event
- ActionEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:1780
- Broadcast this FacesEvent to the specified FacesListener, by whatever mechanism is appropriate. Typically, this will be accomplished by calling an event processing method, and passing this FacesEvent as a paramter.
- jakarta.faces.event
- ActionEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:1781
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- ActionEvent
-
-
- jakarta.faces.event.FacesListener
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1782
- Invoked when the action described by the specified ActionEvent occurs.
- jakarta.faces.event
- ActionListener
-
-
- jakarta.faces.event.ActionEvent
-
-
-
-
- JSF:JAVADOC:1783
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- ActionListener
-
-
- jakarta.faces.event.ActionEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1784
- Construct a new event object from the specified source component and Ajax behavior.
- jakarta.faces.event
- AjaxBehaviorEvent
-
-
- jakarta.faces.component.UIComponent
- jakarta.faces.component.behavior.Behavior
-
-
-
-
- JSF:JAVADOC:1785
- Return true if this FacesListener is an instance of a the appropriate listener class that this event supports.
- jakarta.faces.event
- AjaxBehaviorEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:1786
- Broadcast this event instance to the specified FacesListener, by whatever mechanism is appropriate. Typically, this will be accomplished by calling an event processing method, and passing this instance as a parameter.
- jakarta.faces.event
- AjaxBehaviorEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:1787
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- AjaxBehaviorEvent
-
-
- jakarta.faces.event.FacesListener
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1788
-
- jakarta.faces.event
- AjaxBehaviorListener
-
-
- jakarta.faces.event.AjaxBehaviorEvent
-
-
-
-
- JSF:JAVADOC:1789
- if lifecycle processing should cease for this request.
- jakarta.faces.event
- AjaxBehaviorListener
-
-
- jakarta.faces.event.AjaxBehaviorEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1790
- Construct a new event object from the specified source component and behavior.
- jakarta.faces.event
- BehaviorEvent
-
-
- jakarta.faces.component.UIComponent
- jakarta.faces.component.behavior.Behavior
-
-
-
-
- JSF:JAVADOC:1791
- Return the source Behavior that sent this event.
- jakarta.faces.event
- BehaviorEvent
-
-
-
- JSF:JAVADOC:1792
- Pass the argument component to the superclass constructor.
- jakarta.faces.event
- ComponentSystemEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1793
- the source UIComponent that sent this event.
- jakarta.faces.event
- ComponentSystemEvent
-
-
-
- JSF:JAVADOC:1794
- When called, the listener can assume that any guarantees given in the javadoc for the specific SystemEvent subclass are true.
- jakarta.faces.event
- ComponentSystemEventListener
-
-
- jakarta.faces.event.ComponentSystemEvent
-
-
-
-
- JSF:JAVADOC:1795
- if lifecycle processing should cease for this request.
- jakarta.faces.event
- ComponentSystemEventListener
-
-
- jakarta.faces.event.ComponentSystemEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1796
- Instantiate a new ExceptionQueuedEvent that indicates the argument ExceptionQueuedEventContext occurred.
- jakarta.faces.event
- ExceptionQueuedEvent
-
-
- jakarta.faces.event.ExceptionQueuedEventContext
-
-
-
-
- JSF:JAVADOC:1797
- Return the ExceptionQueuedEventContext for this event instance.
- jakarta.faces.event
- ExceptionQueuedEvent
-
-
-
- JSF:JAVADOC:1798
- Instantiate a new ExceptionQueuedEventContext that indicates the argument Throwable just occurred.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
- jakarta.faces.context.FacesContext
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:1799
- Instantiate a new ExceptionQueuedEventContext that indicates the argument Throwable just occurred, relevant to the argument component.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
- jakarta.faces.context.FacesContext
- java.lang.Throwable
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1800
- Instantiate a new ExceptionQueuedEventContext that indicates the argument Throwable just occurred, relevant to the argument component, during the lifecycle phase phaseId.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
- jakarta.faces.context.FacesContext
- java.lang.Throwable
- jakarta.faces.component.UIComponent
- jakarta.faces.event.PhaseId
-
-
-
-
- JSF:JAVADOC:1801
- A Map of attributes relevant to the context of this ExceptionQueuedEvent.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
- JSF:JAVADOC:1802
- Return the UIComponent which was being processed when the exception was thrown. If none or not available, this will be null.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
- JSF:JAVADOC:1803
-
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
- JSF:JAVADOC:1804
- Return the exception property.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
- JSF:JAVADOC:1805
- Return a List that contains a single entry, the jakarta.faces.context.ExceptionHandler for the current request.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:1806
- Return the PhaseId which was being processed when the exception was thrown. If none or not available, this will be null.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
- JSF:JAVADOC:1807
-
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
- JSF:JAVADOC:1808
-
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
- JSF:JAVADOC:1809
- Construct a new event object from the specified source component.
- jakarta.faces.event
- FacesEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1810
- Return the source UIComponent that sent this event.
- jakarta.faces.event
- FacesEvent
-
-
-
- JSF:JAVADOC:1811
- Return the identifier of the request processing phase during which this event should be delivered. Legal values are the singleton instances defined by the PhaseId class, including PhaseId.ANY_PHASE, which is the default value.
- jakarta.faces.event
- FacesEvent
-
-
-
- JSF:JAVADOC:1812
- Return true if this FacesListener is an instance of a listener class that this event supports. Typically, this will be accomplished by an "instanceof" check on the listener class.
- jakarta.faces.event
- FacesEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:1813
- Broadcast this FacesEvent to the specified FacesListener, by whatever mechanism is appropriate. Typically, this will be accomplished by calling an event processing method, and passing this FacesEvent as a paramter.
- jakarta.faces.event
- FacesEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:1814
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- FacesEvent
-
-
- jakarta.faces.event.FacesListener
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1815
- Convenience method to queue this event for broadcast at the end of the current request processing lifecycle phase.
- jakarta.faces.event
- FacesEvent
-
-
-
- JSF:JAVADOC:1816
- if the source component for this event is not a descendant of a UIViewRoot
- jakarta.faces.event
- FacesEvent
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:1817
- Set the PhaseId during which this event will be delivered.
- jakarta.faces.event
- FacesEvent
-
-
- jakarta.faces.event.PhaseId
-
-
-
-
- JSF:JAVADOC:1818
- phaseId is null.
- jakarta.faces.event
- FacesEvent
-
-
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1819
- The kind of object that emits events of the type given by the value of the #systemEventClass attribute. It is valid to have EL Expressions in the value of this attribute, as long as the expression resolves to an instance of the expected type.
- jakarta.faces.event
- ListenerFor
-
-
-
- JSF:JAVADOC:1820
- The kind of system event for which this class will be installed as a listener. The implementation only supports exact matches on the Class and must not honor subclass relationships. It is valid to have EL Expressions in the value of this attribute, as long as the expression resolves to an instance of the expected type.
- jakarta.faces.event
- ListenerFor
-
-
-
- JSF:JAVADOC:1821
-
- jakarta.faces.event
- ListenersFor
-
-
-
- JSF:JAVADOC:1822
- If true, the Object implementing this interface must not participate in state saving or restoring.
- jakarta.faces.event
- MethodExpressionActionListener
-
-
-
- JSF:JAVADOC:1823
-
- jakarta.faces.event
- MethodExpressionActionListener
-
-
-
- JSF:JAVADOC:1824
- Construct a ValueChangeListener that contains a MethodExpression. To accomodate method expression targets that take no arguments instead of taking an ActionEvent argument, the implementation of this class must take the argument methodExpressionOneArg, extract its expression string, and create another MethodExpression whose expected param types match those of a zero argument method. The usage requirements for both of these MethodExpression instances are described in #processAction.
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- MethodExpression
-
-
-
-
- JSF:JAVADOC:1825
-
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- MethodExpression
- MethodExpression
-
-
-
-
- JSF:JAVADOC:1826
- Call through to the MethodExpression passed in our constructor. First, try to invoke the MethodExpression passed to the constructor of this instance, passing the argument ActionEvent as the argument. If a MethodNotFoundException is thrown, call to the zero argument MethodExpression derived from the MethodExpression passed to the constructor of this instance. If that fails for any reason, throw an AbortProcessingException, including the cause of the failure.
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- jakarta.faces.event.ActionEvent
-
-
-
-
- JSF:JAVADOC:1827
- {@inheritDoc}
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- jakarta.faces.event.ActionEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1828
- {@inheritDoc}
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- jakarta.faces.event.ActionEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1829
- Both MethodExpression instances described in the constructor must be restored.
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1830
- Both MethodExpression instances described in the constructor must be saved.
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1831
- Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1832
- If true, the Object implementing this interface must not participate in state saving or restoring.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
-
- JSF:JAVADOC:1833
-
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
-
- JSF:JAVADOC:1834
- Construct a ValueChangeListener that contains a MethodExpression.To accomodate method expression targets that take no arguments instead of taking a ValueChangeEvent argument, the implementation of this class must take the argument methodExpressionOneArg, extract its expression string, and create another MethodExpression whose expected param types match those of a zero argument method. The usage requirements for both of these MethodExpression instances are described in #processValueChange.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- MethodExpression
-
-
-
-
- JSF:JAVADOC:1835
- Construct a ValueChangeListener that contains a MethodExpression.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- MethodExpression
- MethodExpression
-
-
-
-
- JSF:JAVADOC:1836
- Call through to the MethodExpression passed in our constructor. First, try to invoke the MethodExpression passed to the constructor of this instance, passing the argument ValueChangeEvent as the argument. If a MethodNotFoundException is thrown, call to the zero argument MethodExpression derived from the MethodExpression passed to the constructor of this instance. If that fails for any reason, throw an AbortProcessingException, including the cause of the failure.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- jakarta.faces.event.ValueChangeEvent
-
-
-
-
- JSF:JAVADOC:1837
- {@inheritDoc}
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- jakarta.faces.event.ValueChangeEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1839
- Both MethodExpression instances described in the constructor must be restored.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1840
- Both MethodExpression instances described in the constructor must be saved.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1841
- Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:1842
- The value of this annotation attribute is taken to be the short name for the jakarta.faces.event.ComponentSystemEvent. If the value of this attribute is ommitted, the following algorithm must be used by the code that processes this annotation to determine its value. Get the unqualified class name (e.g., UserLoginEvent) Strip off the trailing "Event", if present (e.g., UserLogin) Convert the first character to lower-case (e.g., userLogin) Prepend the package name to the lower-cased name.
- jakarta.faces.event
- NamedEvent
-
-
-
- JSF:JAVADOC:1843
- Return the FacesContext for the request being processed.
- jakarta.faces.event
- PhaseEvent
-
-
-
- JSF:JAVADOC:1844
- Return the PhaseId representing the current request processing lifecycle phase.
- jakarta.faces.event
- PhaseEvent
-
-
-
- JSF:JAVADOC:1845
- Construct a new event object from the specified parameters. The specified Lifecycle will be the source of this event.
- jakarta.faces.event
- PhaseEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.event.PhaseId
- jakarta.faces.lifecycle.Lifecycle
-
-
-
-
- JSF:JAVADOC:1846
- Compare this PhaseId instance to the specified one. Returns a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object.
- jakarta.faces.event
- PhaseId
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1847
- Return the ordinal value of this PhaseId instance.
- jakarta.faces.event
- PhaseId
-
-
-
- JSF:JAVADOC:1848
- Return a String representation of this PhaseId instance.
- jakarta.faces.event
- PhaseId
-
-
-
- JSF:JAVADOC:1849
- Handle a notification that the processing for a particular phase has just been completed.
- jakarta.faces.event
- PhaseListener
-
-
- jakarta.faces.event.PhaseEvent
-
-
-
-
- JSF:JAVADOC:1850
- Handle a notification that the processing for a particular phase of the request processing lifecycle is about to begin.
- jakarta.faces.event
- PhaseListener
-
-
- jakarta.faces.event.PhaseEvent
-
-
-
-
- JSF:JAVADOC:1851
- Return the identifier of the request processing phase during which this listener is interested in processing PhaseEvent events. Legal values are the singleton instances defined by the PhaseId class, including PhaseId.ANY_PHASE to indicate an interest in being notified for all standard phases.
- jakarta.faces.event
- PhaseListener
-
-
-
- JSF:JAVADOC:1852
- Returns true if and only if the argument listener is an instance of SystemEventListener.
- jakarta.faces.event
- PostAddToViewEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:1853
- Instantiate a new PostAddToViewEvent that indicates the argument component was just added to the view.
- jakarta.faces.event
- PostAddToViewEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1855
- The source Application that sent this event.
- jakarta.faces.event
- PostConstructApplicationEvent
-
-
-
- JSF:JAVADOC:1856
- Constructs a new AppliationPostConstructEvent for this application.
- jakarta.faces.event
- PostConstructApplicationEvent
-
-
- jakarta.faces.application.Application
-
-
-
-
- JSF:JAVADOC:1857
- Return the ScopeContext for this event.
- jakarta.faces.event
- PostConstructCustomScopeEvent
-
-
-
- JSF:JAVADOC:1858
- An instance of this event indicates that the custom scope enclosed within the argument scopeContext was just created.
- jakarta.faces.event
- PostConstructCustomScopeEvent
-
-
- jakarta.faces.event.ScopeContext
-
-
-
-
- JSF:JAVADOC:1859
- Instantiate a new PostConstructViewMapEvent that indicates the argument root was just associated with its view map.
- jakarta.faces.event
- PostConstructViewMapEvent
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:1860
- Instantiate a new PostRestoreStateEvent that indicates the argument component just had its state restored.
- jakarta.faces.event
- PostRestoreStateEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1861
-
- jakarta.faces.event
- PostRestoreStateEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1862
-
- jakarta.faces.event
- PostValidateEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1863
- The source Application that sent this event.
- jakarta.faces.event
- PreDestroyApplicationEvent
-
-
-
- JSF:JAVADOC:1864
- Constructs a new PreDestroyApplicationEvent for this application.
- jakarta.faces.event
- PreDestroyApplicationEvent
-
-
- jakarta.faces.application.Application
-
-
-
-
- JSF:JAVADOC:1865
- Return the ScopeContext for this event.
- jakarta.faces.event
- PreDestroyCustomScopeEvent
-
-
-
- JSF:JAVADOC:1866
- An instance of this event indicates that the custom scope enclosed within the argument scopeContext is about to end.
- jakarta.faces.event
- PreDestroyCustomScopeEvent
-
-
- jakarta.faces.event.ScopeContext
-
-
-
-
- JSF:JAVADOC:1867
- Instantiate a new ViewMapDestroydEvent that indicates the argument root just had its associated view map destroyed.
- jakarta.faces.event
- PreDestroyViewMapEvent
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:1868
- Returns true if and only if the argument listener is an instance of SystemEventListener.
- jakarta.faces.event
- PreRemoveFromViewEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:1869
- Instantiate a new BeforeRemoveFromView that indicates the argument component is about to be removed from the view.
- jakarta.faces.event
- PreRemoveFromViewEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1870
- Instantiate a new PreRenderComponentEvent that indicates the argument component is about to be rendered.
- jakarta.faces.event
- PreRenderComponentEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1871
- Instantiate a new PreRenderViewEvent that indicates the argument root is about to be rendered.
- jakarta.faces.event
- PreRenderViewEvent
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:1872
-
- jakarta.faces.event
- PreValidateEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1873
- Return the scope itself, exposed as a Map.
- jakarta.faces.event
- ScopeContext
-
-
-
- JSF:JAVADOC:1874
- Return the name of this custom scope.
- jakarta.faces.event
- ScopeContext
-
-
-
- JSF:JAVADOC:1875
- Construct this structure with the supplied arguments.
- jakarta.faces.event
- ScopeContext
-
-
- java.lang.String
- java.util.Map
-
-
-
-
- JSF:JAVADOC:1877
- Broadcast this event instance to the specified FacesListener, by whatever mechanism is appropriate. Typically, this will be accomplished by calling an event processing method, and passing this instance as a paramter.
- jakarta.faces.event
- SystemEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:1878
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- SystemEvent
-
-
- jakarta.faces.event.FacesListener
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1879
- Pass the argument source to the superclass constructor.
- jakarta.faces.event
- SystemEvent
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1880
- This method must return true if and only if this listener instance is interested in receiving events from the instance referenced by the source parameter.
- jakarta.faces.event
- SystemEventListener
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1881
- When called, the listener can assume that any guarantees given in the javadoc for the specific SystemEvent subclass are true.
- jakarta.faces.event
- SystemEventListener
-
-
- jakarta.faces.event.SystemEvent
-
-
-
-
- JSF:JAVADOC:1882
- if lifecycle processing should cease for this request.
- jakarta.faces.event
- SystemEventListener
-
-
- jakarta.faces.event.SystemEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1883
- Return a List of SystemEventListener instances that have been installed into the class implementing this interface.
- jakarta.faces.event
- SystemEventListenerHolder
-
-
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:1884
- Return the current local value of the source UIComponent.
- jakarta.faces.event
- ValueChangeEvent
-
-
-
- JSF:JAVADOC:1885
- Return the previous local value of the source UIComponent.
- jakarta.faces.event
- ValueChangeEvent
-
-
-
- JSF:JAVADOC:1886
- Return true if this FacesListener is an instance of a listener class that this event supports. Typically, this will be accomplished by an "instanceof" check on the listener class.
- jakarta.faces.event
- ValueChangeEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:1887
- Broadcast this FacesEvent to the specified FacesListener, by whatever mechanism is appropriate. Typically, this will be accomplished by calling an event processing method, and passing this FacesEvent as a paramter.
- jakarta.faces.event
- ValueChangeEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:1888
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- ValueChangeEvent
-
-
- jakarta.faces.event.FacesListener
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1889
- Construct a new event object from the specified source component, old value, and new value. The default PhaseId for this event is PhaseId#ANY_PHASE.
- jakarta.faces.event
- ValueChangeEvent
-
-
- jakarta.faces.component.UIComponent
- java.lang.Object
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1890
- Invoked when the value change described by the specified ValueChangeEvent occurs.
- jakarta.faces.event
- ValueChangeListener
-
-
- jakarta.faces.event.ValueChangeEvent
-
-
-
-
- JSF:JAVADOC:1891
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- ValueChangeListener
-
-
- jakarta.faces.event.ValueChangeEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:1892
- Register a new PhaseListener instance that is interested in being notified before and after the processing for standard phases of the request processing lifecycle.
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.event.PhaseListener
-
-
-
-
- JSF:JAVADOC:1893
- if listener is null
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.event.PhaseListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1894
- Execute all of the phases of the request processing lifecycle, up to but not including the Render Response phase, as described in the JavaServer Faces Specification, in the specified order. The processing flow can be affected (by the application, by components, or by event listeners) by calls to the renderResponse() or responseComplete() methods of the FacesContext instance associated with the current request.
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1895
- if thrown during the execution of the request processing lifecycle
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1896
- if context is null
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1897
- Return the set of registered PhaseListeners for this Lifecycle instance. If there are no registered listeners, a zero-length array is returned.
- jakarta.faces.lifecycle
- Lifecycle
-
-
-
- JSF:JAVADOC:1898
-
- jakarta.faces.lifecycle
- Lifecycle
-
-
-
- JSF:JAVADOC:1899
- Deregister an existing PhaseListener instance that is no longer interested in being notified before and after the processing for standard phases of the request processing lifecycle. If no such listener instance has been registered, no action is taken.
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.event.PhaseListener
-
-
-
-
- JSF:JAVADOC:1900
- if listener is null
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.event.PhaseListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1901
- Execute the Render Response phase of the request processing lifecycle, unless the responseComplete() method has been called on the FacesContext instance associated with the current request.
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1902
- if an exception is thrown during the execution of the request processing lifecycle
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1903
- if context is null
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1904
- Register a new Lifecycle instance, associated with the specified lifecycleId, to be supported by this LifecycleFactory. This method may be called at any time, and makes the corresponding Lifecycle instance available throughout the remaining lifetime of this web application.
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- java.lang.String
- jakarta.faces.lifecycle.Lifecycle
-
-
-
-
- JSF:JAVADOC:1905
- if a Lifecycle with the specified lifecycleId has already been registered
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- java.lang.String
- jakarta.faces.lifecycle.Lifecycle
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1906
- if lifecycleId or lifecycle is null
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- java.lang.String
- jakarta.faces.lifecycle.Lifecycle
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1907
- Create (if needed) and return a Lifecycle instance for the specified lifecycle identifier. The set of available lifecycle identifiers is available via the getLifecycleIds() method. Each call to getLifecycle() for the same lifecycleId, from within the same web application, must return the same Lifecycle instance.
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1908
- if no Lifecycle instance can be returned for the specified identifier
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1909
- if lifecycleId is null
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1910
- Return an Iterator over the set of lifecycle identifiers supported by this factory. This set must include the value specified by LifecycleFactory.DEFAULT_LIFECYCLE.
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
-
- JSF:JAVADOC:1911
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. A default implementation is provided that returns null.
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
-
- JSF:JAVADOC:1912
-
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
-
- JSF:JAVADOC:1913
- Construct a new ArrayDataModel with no specified wrapped data.
- jakarta.faces.model
- ArrayDataModel
-
-
-
- JSF:JAVADOC:1914
- Construct a new ArrayDataModel wrapping the specified array.
- jakarta.faces.model
- ArrayDataModel
-
-
- java.lang.Object[]
-
-
-
-
- JSF:JAVADOC:1915
- If there is wrappedData available, return the length of the array. If no wrappedData is available, return -1.
- jakarta.faces.model
- ArrayDataModel
-
-
-
- JSF:JAVADOC:1916
- if an error occurs getting the row count
- jakarta.faces.model
- ArrayDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1917
- If row data is available, return the array element at the index specified by rowIndex. If no wrapped data is available, return null.
- jakarta.faces.model
- ArrayDataModel
-
-
-
- JSF:JAVADOC:1918
- if an error occurs getting the row data
- jakarta.faces.model
- ArrayDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1919
- if now row data is available at the currently specified row index
- jakarta.faces.model
- ArrayDataModel
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1920
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- ArrayDataModel
-
-
-
- JSF:JAVADOC:1921
- if an error occurs getting the row index
- jakarta.faces.model
- ArrayDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1922
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- ArrayDataModel
-
-
-
- JSF:JAVADOC:1923
- Return true if there is wrappedData available, and the current value of rowIndex is greater than or equal to zero, and less than the length of the array. Otherwise, return false.
- jakarta.faces.model
- ArrayDataModel
-
-
-
- JSF:JAVADOC:1924
- if an error occurs getting the row availability
- jakarta.faces.model
- ArrayDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1925
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- ArrayDataModel
-
-
- int
-
-
-
-
- JSF:JAVADOC:1926
- if an error occurs setting the row index
- jakarta.faces.model
- ArrayDataModel
-
-
- int
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1927
- if rowIndex is less than -1
- jakarta.faces.model
- ArrayDataModel
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1928
- Set the object representing the data collection wrapped by this DataModel. If the specified data is null, detach this DataModel from any previously wrapped data collection instead. If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is now selected.
- jakarta.faces.model
- ArrayDataModel
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1929
- if data is not of the appropriate type for this DataModel implementation
- jakarta.faces.model
- ArrayDataModel
-
-
- java.lang.Object
-
- java.lang.ClassCastException
-
-
-
- JSF:JAVADOC:1930
- Add a new DataModelListener to the set interested in notifications from this DataModel.
- jakarta.faces.model
- DataModel
-
-
- jakarta.faces.model.DataModelListener
-
-
-
-
- JSF:JAVADOC:1931
- if listener is null
- jakarta.faces.model
- DataModel
-
-
- jakarta.faces.model.DataModelListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1932
-
- jakarta.faces.model
- DataModel
-
-
-
- JSF:JAVADOC:1933
- Return the set of DataModelListeners interested in notifications from this DataModel. If there are no such listeners, an empty array is returned.
- jakarta.faces.model
- DataModel
-
-
-
- JSF:JAVADOC:1934
- Return the number of rows of data objects represented by this DataModel. If the number of rows is unknown, or no wrappedData is available, return -1.
- jakarta.faces.model
- DataModel
-
-
-
- JSF:JAVADOC:1935
- if an error occurs getting the row count
- jakarta.faces.model
- DataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1936
- Return an object representing the data for the currenty selected row index. If no wrappedData is available, return null.
- jakarta.faces.model
- DataModel
-
-
-
- JSF:JAVADOC:1937
- if an error occurs getting the row data
- jakarta.faces.model
- DataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1938
- if now row data is available at the currently specified row index
- jakarta.faces.model
- DataModel
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1939
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- DataModel
-
-
-
- JSF:JAVADOC:1940
- if an error occurs getting the row index
- jakarta.faces.model
- DataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1941
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- DataModel
-
-
-
- JSF:JAVADOC:1942
- Return a flag indicating whether there is rowData available at the current rowIndex. If no wrappedData is available, return false.
- jakarta.faces.model
- DataModel
-
-
-
- JSF:JAVADOC:1943
- if an error occurs getting the row availability
- jakarta.faces.model
- DataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1944
- Return a read-only Iterator over the row data for this model.
- jakarta.faces.model
- DataModel
-
-
-
- JSF:JAVADOC:1945
- Remove an existing DataModelListener from the set interested in notifications from this DataModel.
- jakarta.faces.model
- DataModel
-
-
- jakarta.faces.model.DataModelListener
-
-
-
-
- JSF:JAVADOC:1946
- if listener is null
- jakarta.faces.model
- DataModel
-
-
- jakarta.faces.model.DataModelListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:1947
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- DataModel
-
-
- int
-
-
-
-
- JSF:JAVADOC:1948
- if an error occurs setting the row index
- jakarta.faces.model
- DataModel
-
-
- int
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1949
- if rowIndex is less than -1
- jakarta.faces.model
- DataModel
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1950
- Set the object representing the data collection wrapped by this DataModel. If the specified data is null, detach this DataModel from any previously wrapped data collection instead. If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is now selected.
- jakarta.faces.model
- DataModel
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1951
- if data is not of the appropriate type for this DataModel implementation
- jakarta.faces.model
- DataModel
-
-
- java.lang.Object
-
- java.lang.ClassCastException
-
-
-
- JSF:JAVADOC:1952
- Construct an event object that is associated with the specified row index and associated data.
- jakarta.faces.model
- DataModelEvent
-
-
- jakarta.faces.model.DataModel
- int
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1953
- Return the DataModel that fired this event.
- jakarta.faces.model
- DataModelEvent
-
-
-
- JSF:JAVADOC:1954
- Return the object representing the data for the specified row index, or null for no associated row data.
- jakarta.faces.model
- DataModelEvent
-
-
-
- JSF:JAVADOC:1955
- Return the row index for this event, or -1 for no specific row.
- jakarta.faces.model
- DataModelEvent
-
-
-
- JSF:JAVADOC:1956
- Notification that a particular row index, with the associated row data, has been selected for processing.
- jakarta.faces.model
- DataModelListener
-
-
- jakarta.faces.model.DataModelEvent
-
-
-
-
- JSF:JAVADOC:1957
- If there is wrappedData available, return the length of the list. If no wrappedData is available, return -1.
- jakarta.faces.model
- ListDataModel
-
-
-
- JSF:JAVADOC:1958
- if an error occurs getting the row count
- jakarta.faces.model
- ListDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1959
- If row data is available, return the array element at the index specified by rowIndex. If no wrapped data is available, return null.
- jakarta.faces.model
- ListDataModel
-
-
-
- JSF:JAVADOC:1960
- if an error occurs getting the row data
- jakarta.faces.model
- ListDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1961
- if now row data is available at the currently specified row index
- jakarta.faces.model
- ListDataModel
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1962
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- ListDataModel
-
-
-
- JSF:JAVADOC:1963
- if an error occurs getting the row index
- jakarta.faces.model
- ListDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1964
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- ListDataModel
-
-
-
- JSF:JAVADOC:1965
- Return true if there is wrappedData available, and the current value of rowIndex is greater than or equal to zero, and less than the size of the list. Otherwise, return false.
- jakarta.faces.model
- ListDataModel
-
-
-
- JSF:JAVADOC:1966
- if an error occurs getting the row availability
- jakarta.faces.model
- ListDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1967
- Construct a new ListDataModel with no specified wrapped data.
- jakarta.faces.model
- ListDataModel
-
-
-
- JSF:JAVADOC:1968
- Construct a new ListDataModel wrapping the specified list.
- jakarta.faces.model
- ListDataModel
-
-
- java.util.List
-
-
-
-
- JSF:JAVADOC:1969
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- ListDataModel
-
-
- int
-
-
-
-
- JSF:JAVADOC:1970
- if an error occurs setting the row index
- jakarta.faces.model
- ListDataModel
-
-
- int
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1971
- if rowIndex is less than -1
- jakarta.faces.model
- ListDataModel
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1972
- Set the object representing the data collection wrapped by this DataModel. If the specified data is null, detach this DataModel from any previously wrapped data collection instead. If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is now selected.
- jakarta.faces.model
- ListDataModel
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1973
- if data is not of the appropriate type for this DataModel implementation
- jakarta.faces.model
- ListDataModel
-
-
- java.lang.Object
-
- java.lang.ClassCastException
-
-
-
- JSF:JAVADOC:1974
- If there is wrappedData available, return the length of the array returned by calling getRows() on the underlying Result. If no wrappedData is available, return -1.
- jakarta.faces.model
- ResultDataModel
-
-
-
- JSF:JAVADOC:1976
- If row data is available, return the SortedMap array element at the index specified by rowIndex of the array returned by calling getRows() on the underlying Result. If no wrapped data is available, return null. Note that, if a non-null Map is returned by this method, it will contain the values of the columns for the current row, keyed by column name. Column name comparisons must be performed in a case-insensitive manner.
- jakarta.faces.model
- ResultDataModel
-
-
-
- JSF:JAVADOC:1978
- if now row data is available at the currently specified row index
- jakarta.faces.model
- ResultDataModel
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1979
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- ResultDataModel
-
-
-
- JSF:JAVADOC:1980
- if an error occurs getting the row index
- jakarta.faces.model
- ResultDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1981
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- ResultDataModel
-
-
-
- JSF:JAVADOC:1982
- Return true if there is wrappedData available, and the current value of rowIndex is greater than or equal to zero, and less than the length of the array returned by calling getRows() on the underlying Result. Otherwise, return false.
- jakarta.faces.model
- ResultDataModel
-
-
-
- JSF:JAVADOC:1984
- Construct a new ResultDataModel with no specified wrapped data.
- jakarta.faces.model
- ResultDataModel
-
-
-
- JSF:JAVADOC:1985
- Construct a new ResultDataModel wrapping the specified Result.
- jakarta.faces.model
- ResultDataModel
-
-
- Result
-
-
-
-
- JSF:JAVADOC:1986
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- ResultDataModel
-
-
- int
-
-
-
-
- JSF:JAVADOC:1987
- if an error occurs setting the row index
- jakarta.faces.model
- ResultDataModel
-
-
- int
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1988
- if rowIndex is less than -1
- jakarta.faces.model
- ResultDataModel
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1989
- Set the object representing the data collection wrapped by this DataModel. If the specified data is null, detach this DataModel from any previously wrapped data collection instead. If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is now selected.
- jakarta.faces.model
- ResultDataModel
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:1990
- if data is not of the appropriate type for this DataModel implementation
- jakarta.faces.model
- ResultDataModel
-
-
- java.lang.Object
-
- java.lang.ClassCastException
-
-
-
- JSF:JAVADOC:1991
- Return -1, since ResultSet does not provide a standard way to determine the number of available rows without scrolling through the entire ResultSet, and this can be very expensive if the number of rows is large.
- jakarta.faces.model
- ResultSetDataModel
-
-
-
- JSF:JAVADOC:1992
- if an error occurs getting the row count
- jakarta.faces.model
- ResultSetDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1993
- If row data is available, return a Map representing the values of the columns for the row specified by rowIndex, keyed by the corresponding column names. If no wrapped data is available, return null. If a non-null Map is returned, its behavior must correspond to the contract for a mutable Map as described in the JavaDocs for AbstractMap, with the following exceptions and specialized behavior: The Map, and any supporting objects it returns, must perform all column name comparisons in a case-insensitive manner. This case-insensitivity must be implemented using a case-insensitive Comparator, such as String.CASE_INSENSITIVE_ORDER. The following methods must throw UnsupportedOperationException: clear(), remove(). The entrySet() method must return a Set that has the following behavior: Throw UnsupportedOperationException for any attempt to add or remove entries from the Set, either directly or indirectly through an Iterator returned by the Set. Updates to the value of an entry in this set must write through to the corresponding column value in the underlying ResultSet. The keySet() method must return a Set that throws UnsupportedOperationException on any attempt to add or remove keys, either directly or through an Iterator returned by the Set. The put() method must throw IllegalArgumentException if a key value for which containsKey() returns false is specified. However, if a key already present in the Map is specified, the specified value must write through to the corresponding column value in the underlying ResultSet. The values() method must return a Collection that throws UnsupportedOperationException on any attempt to add or remove values, either directly or through an Iterator returned by the Collection.
- jakarta.faces.model
- ResultSetDataModel
-
-
-
- JSF:JAVADOC:1994
- if an error occurs getting the row data
- jakarta.faces.model
- ResultSetDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1995
- if now row data is available at the currently specified row index
- jakarta.faces.model
- ResultSetDataModel
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1996
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- ResultSetDataModel
-
-
-
- JSF:JAVADOC:1997
- if an error occurs getting the row index
- jakarta.faces.model
- ResultSetDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:1998
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- ResultSetDataModel
-
-
-
- JSF:JAVADOC:1999
- Return true if there is wrappedData available, and the result of calling absolute() on the underlying ResultSet, passing the current value of rowIndex plus one (to account for the fact that ResultSet uses one-relative indexing), returns true. Otherwise, return false.
- jakarta.faces.model
- ResultSetDataModel
-
-
-
- JSF:JAVADOC:2000
- if an error occurs getting the row availability
- jakarta.faces.model
- ResultSetDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2001
- Construct a new ResultSetDataModel with no specified wrapped data.
- jakarta.faces.model
- ResultSetDataModel
-
-
-
- JSF:JAVADOC:2002
- Construct a new ResultSetDataModel wrapping the specified ResultSet.
- jakarta.faces.model
- ResultSetDataModel
-
-
- java.sql.ResultSet
-
-
-
-
- JSF:JAVADOC:2003
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- ResultSetDataModel
-
-
- int
-
-
-
-
- JSF:JAVADOC:2004
- if an error occurs setting the row index
- jakarta.faces.model
- ResultSetDataModel
-
-
- int
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2005
- if rowIndex is less than -1
- jakarta.faces.model
- ResultSetDataModel
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:2006
- Set the object representing the data collection wrapped by this DataModel. If the specified data is null, detach this DataModel from any previously wrapped data collection instead. If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is now selected.
- jakarta.faces.model
- ResultSetDataModel
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2007
- if data is not of the appropriate type for this DataModel implementation
- jakarta.faces.model
- ResultSetDataModel
-
-
- java.lang.Object
-
- java.lang.ClassCastException
-
-
-
- JSF:JAVADOC:2008
- If there is wrappedData available, return 1. If no wrappedData is available, return -1.
- jakarta.faces.model
- ScalarDataModel
-
-
-
- JSF:JAVADOC:2010
- If wrapped data is available, return the wrapped data instance. Otherwise, return null.
- jakarta.faces.model
- ScalarDataModel
-
-
-
- JSF:JAVADOC:2012
- if now row data is available at the currently specified row index
- jakarta.faces.model
- ScalarDataModel
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:2013
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- ScalarDataModel
-
-
-
- JSF:JAVADOC:2014
- if an error occurs getting the row index
- jakarta.faces.model
- ScalarDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2015
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- ScalarDataModel
-
-
-
- JSF:JAVADOC:2016
- Return true if there is wrappedData available, and the current value of rowIndex is zero. Otherwise, return false.
- jakarta.faces.model
- ScalarDataModel
-
-
-
- JSF:JAVADOC:2018
- Construct a new ScalarDataModel with no specified wrapped data.
- jakarta.faces.model
- ScalarDataModel
-
-
-
- JSF:JAVADOC:2019
- Construct a new ScalarDataModel wrapping the specified scalar object.
- jakarta.faces.model
- ScalarDataModel
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2020
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- ScalarDataModel
-
-
- int
-
-
-
-
- JSF:JAVADOC:2021
- if an error occurs setting the row index
- jakarta.faces.model
- ScalarDataModel
-
-
- int
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2022
- if rowIndex is less than -1
- jakarta.faces.model
- ScalarDataModel
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:2023
- Set the object representing the data collection wrapped by this DataModel. If the specified data is null, detach this DataModel from any previously wrapped data collection instead. If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is now selected.
- jakarta.faces.model
- ScalarDataModel
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2024
- if data is not of the appropriate type for this DataModel implementation
- jakarta.faces.model
- ScalarDataModel
-
-
- java.lang.Object
-
- java.lang.ClassCastException
-
-
-
- JSF:JAVADOC:2025
- Return a description of this item, for use in development tools.
- jakarta.faces.model
- SelectItem
-
-
-
- JSF:JAVADOC:2026
- Return the label of this item, to be rendered visibly for the user.
- jakarta.faces.model
- SelectItem
-
-
-
- JSF:JAVADOC:2027
- Return the value of this item, to be delivered to the model if this item is selected by the user.
- jakarta.faces.model
- SelectItem
-
-
-
- JSF:JAVADOC:2028
- Return the disabled flag for this item, which should modify the rendered output to make this item unavailable for selection by the user if set to true.
- jakarta.faces.model
- SelectItem
-
-
-
- JSF:JAVADOC:2029
- If and only if this returns true, the code that renders this select item must escape the label using escaping syntax appropriate to the content type being rendered.
- jakarta.faces.model
- SelectItem
-
-
-
- JSF:JAVADOC:2030
- Return the value of the noSelectionOption property. If the value of this property is true, the system interprets the option represented by this SelectItem instance as representing a "no selection" option. See UISelectOne#validateValue and UISelectMany#validateValue for usage.
- jakarta.faces.model
- SelectItem
-
-
-
- JSF:JAVADOC:2031
- Construct a SelectItem with no initialized property values.
- jakarta.faces.model
- SelectItem
-
-
-
- JSF:JAVADOC:2032
- Construct a SelectItem with the specified value. The label property will be set to the value (converted to a String, if necessary), the description property will be set to null, the disabled property will be set to false, and the escape property will be set to ( true.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2033
- Construct a SelectItem with the specified value and label. The description property will be set to null, the disabled property will be set to false, and the escape property will be set to true.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2034
- Construct a SelectItem instance with the specified value, label and description. This disabled property will be set to false, and the escape property will be set to true.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2035
- Construct a SelectItem instance with the specified property values. The escape property will be set to true.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
- java.lang.String
- java.lang.String
- boolean
-
-
-
-
- JSF:JAVADOC:2036
- Construct a SelectItem instance with the specified property values.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
- java.lang.String
- java.lang.String
- boolean
- boolean
-
-
-
-
- JSF:JAVADOC:2037
- Construct a SelectItem instance with the specified property values.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
- java.lang.String
- java.lang.String
- boolean
- boolean
- boolean
-
-
-
-
- JSF:JAVADOC:2038
- Set the description of this item, for use in development tools.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2039
- Set the disabled flag for this item, which should modify the rendered output to make this item unavailable for selection by the user if set to true.
- jakarta.faces.model
- SelectItem
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2040
- Set the value of the escape property. See #isEscape.
- jakarta.faces.model
- SelectItem
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2041
- Set the label of this item, to be rendered visibly for the user.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2042
- Set the value of the noSelectionOption property.
- jakarta.faces.model
- SelectItem
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2043
- Set the value of this item, to be delivered to the model if this item is selected by this user.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2044
- Return the set of subordinate SelectItems for this group.
- jakarta.faces.model
- SelectItemGroup
-
-
-
- JSF:JAVADOC:2045
- Construct a SelectItemGroup with no initialized property values.
- jakarta.faces.model
- SelectItemGroup
-
-
-
- JSF:JAVADOC:2046
- Construct a SelectItemGroup with the specified label and no associated selectItems. The value property will be set to a zero-length String, the description property will be set to null, and the disabled property will be set to false.
- jakarta.faces.model
- SelectItemGroup
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2047
- Construct a SelectItemGroup with the specified properties. The value property will be set to a zero-length String.
- jakarta.faces.model
- SelectItemGroup
-
-
- java.lang.String
- java.lang.String
- boolean
- jakarta.faces.model.SelectItem[]
-
-
-
-
- JSF:JAVADOC:2048
- Set the set of subordinate SelectItems for this group.
- jakarta.faces.model
- SelectItemGroup
-
-
- jakarta.faces.model.SelectItem[]
-
-
-
-
- JSF:JAVADOC:2049
- if selectItems is null
- jakarta.faces.model
- SelectItemGroup
-
-
- jakarta.faces.model.SelectItem[]
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2050
-
- jakarta.faces.render
- ClientBehaviorRenderer
-
-
-
- JSF:JAVADOC:2051
- Decode any new state of this ClientBehavior from the request contained in the specified FacesContext. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling queueEvent().
- jakarta.faces.render
- ClientBehaviorRenderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- jakarta.faces.component.behavior.ClientBehavior
-
-
-
-
- JSF:JAVADOC:2052
- if context, component behavior is null
- jakarta.faces.render
- ClientBehaviorRenderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- jakarta.faces.component.behavior.ClientBehavior
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2053
- Return the script that implements this ClientBehavior's client-side logic. The default implementation returns null. ClientBehaviorRenderer.getScript() implementations are allowed to return null to indicate that no script is required for this particular getScript() call. For example, a ClientBehaviorRenderer implementation may return null if the associated ClientBehavior is disabled.
- jakarta.faces.render
- ClientBehaviorRenderer
-
-
- jakarta.faces.component.behavior.ClientBehaviorContext
- jakarta.faces.component.behavior.ClientBehavior
-
-
-
-
- JSF:JAVADOC:2054
-
- jakarta.faces.render
- FacesBehaviorRenderer
-
-
-
- JSF:JAVADOC:2055
- The value of this annotation attribute is taken to be the render-kit-id in which an instance of this class of Renderer must be installed.
- jakarta.faces.render
- FacesBehaviorRenderer
-
-
-
- JSF:JAVADOC:2056
- The value of this annotation attribute is taken to be the component-family which, in combination with #rendererType can be used to obtain a reference to an instance of this Renderer by calling jakarta.faces.render.RenderKit#getRenderer(java.lang.String, java.lang.String).
- jakarta.faces.render
- FacesRenderer
-
-
-
- JSF:JAVADOC:2057
- The value of this annotation attribute is taken to be the renderer-type which, in combination with #componentFamily can be used to obtain a reference to an instance of this Renderer by calling jakarta.faces.render.RenderKit#getRenderer(java.lang.String, java.lang.String).
- jakarta.faces.render
- FacesRenderer
-
-
-
- JSF:JAVADOC:2058
- The value of this annotation attribute is taken to be the render-kit-id in which an instance of this class of Renderer must be installed.
- jakarta.faces.render
- FacesRenderer
-
-
-
- JSF:JAVADOC:2059
- Convert the component generated client id to a form suitable for transmission to the client. The default implementation returns the argument clientId unchanged.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2060
- if context or clientId is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2061
- Decode any new state of the specified UIComponent from the request contained in the specified FacesContext, and store that state on the UIComponent. During decoding, events may be enqueued for later processing (by event listeners that have registered an interest), by calling queueEvent() on the associated UIComponent.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2062
- if context or component is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2063
- Render the beginning specified UIComponent to the output stream or writer associated with the response we are creating. If the conversion attempted in a previous call to getConvertedValue() for this component failed, the state information saved during execution of decode() should be used to reproduce the incorrect input.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2064
- if an input/output error occurs while rendering
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2065
- if context or component is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2066
- Render the child components of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property of this component is true.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2067
- if an input/output error occurs while rendering
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2068
- if context or component is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2069
- Render the ending of the current state of the specified UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2070
- if an input/output error occurs while rendering
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2071
- if context or component is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2072
- Attempt to convert previously stored state information into an object of the type required for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one). If conversion is successful, the new value should be returned from this method; if not, a ConverterException should be thrown.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2073
- if the submitted value cannot be converted successfully.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:2074
- if context or component is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2075
- Return a flag indicating whether this Renderer is responsible for rendering the children the component it is asked to render. The default implementation returns false.
- jakarta.faces.render
- Renderer
-
-
-
- JSF:JAVADOC:2076
-
- jakarta.faces.render
- Renderer
-
-
-
- JSF:JAVADOC:2077
- Register the specified ClientBehaviorRenderer instance, associated with the specified component type, to the set of ClientBehaviorRenderers registered with this RenderKit, replacing any previously registered ClientBehaviorRenderer for this type.
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
- jakarta.faces.render.ClientBehaviorRenderer
-
-
-
-
- JSF:JAVADOC:2078
- if type or renderer is null
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
- jakarta.faces.render.ClientBehaviorRenderer
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2079
- Register the specified Renderer instance, associated with the specified component family and rendererType, to the set of Renderers registered with this RenderKit, replacing any previously registered Renderer for this combination of identifiers.
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
- java.lang.String
- jakarta.faces.render.Renderer
-
-
-
-
- JSF:JAVADOC:2080
- if family or rendererType or renderer is null
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
- java.lang.String
- jakarta.faces.render.Renderer
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2081
- Use the provided OutputStream to create a new ResponseStream instance.
- jakarta.faces.render
- RenderKit
-
-
- java.io.OutputStream
-
-
-
-
- JSF:JAVADOC:2082
- Use the provided Writer to create a new ResponseWriter instance for the specified (optional) content type, and character encoding. Implementors are advised to consult the getCharacterEncoding() method of class javax.servlet.ServletResponse to get the required value for the characterEncoding for this method. Since the Writer for this response will already have been obtained (due to it ultimately being passed to this method), we know that the character encoding cannot change during the rendering of the response.
- jakarta.faces.render
- RenderKit
-
-
- java.io.Writer
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2083
- if no matching content type can be found in contentTypeList, no appropriate content type can be found with the implementation dependent best fit algorithm, or no matching character encoding can be found for the argument characterEncoding.
- jakarta.faces.render
- RenderKit
-
-
- java.io.Writer
- java.lang.String
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:2084
- Return the ClientBehaviorRenderer instance most recently registered for the specified type, if any; otherwise, return null.
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2085
- if type is null
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2086
- Return an Iterator over the ClientBehaviorRenderer types.
- jakarta.faces.render
- RenderKit
-
-
-
- JSF:JAVADOC:2087
- Return an Iterator over the component-family entries supported by this RenderKit instance. The default implementation of this method returns an empty Iterator
- jakarta.faces.render
- RenderKit
-
-
-
- JSF:JAVADOC:2088
- Return the Renderer instance most recently registered for the specified component family and rendererType, if any; otherwise, return null.
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2089
- if family or rendererType is null
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2090
- Return an Iterator over the renderer-type entries for the given component-family. If the specified componentFamily is not known to this RenderKit implementation, return an empty Iterator The default implementation of this method returns an empty Iterator
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2091
- Return an instance of ResponseStateManager to handle rendering technology specific state management decisions.
- jakarta.faces.render
- RenderKit
-
-
-
- JSF:JAVADOC:2092
-
- jakarta.faces.render
- RenderKit
-
-
-
- JSF:JAVADOC:2093
- Register the specified RenderKit instance, associated with the specified renderKitId, to be supported by this RenderKitFactory, replacing any previously registered RenderKit for this identifier.
- jakarta.faces.render
- RenderKitFactory
-
-
- java.lang.String
- jakarta.faces.render.RenderKit
-
-
-
-
- JSF:JAVADOC:2094
- if renderKitId or renderKit is null
- jakarta.faces.render
- RenderKitFactory
-
-
- java.lang.String
- jakarta.faces.render.RenderKit
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2095
- Return a RenderKit instance for the specified render kit identifier, possibly customized based on dynamic characteristics of the specified FacesContext, if non-null. If there is no registered RenderKit for the specified identifier, return null. The set of available render kit identifiers is available via the getRenderKitIds() method.
- jakarta.faces.render
- RenderKitFactory
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2096
- if no RenderKit instance can be returned for the specified identifier
- jakarta.faces.render
- RenderKitFactory
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:2097
- if renderKitId is null
- jakarta.faces.render
- RenderKitFactory
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2098
- Return an Iterator over the set of render kit identifiers registered with this factory. This set must include the value specified by RenderKitFactory.HTML_BASIC_RENDER_KIT.
- jakarta.faces.render
- RenderKitFactory
-
-
-
- JSF:JAVADOC:2099
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. A default implementation is provided that returns null.
- jakarta.faces.render
- RenderKitFactory
-
-
-
- JSF:JAVADOC:2100
-
- jakarta.faces.render
- RenderKitFactory
-
-
-
- JSF:JAVADOC:2101
- The default behavior of this method is to call RenderKit#addClientBehaviorRenderer(String, ClientBehaviorRenderer) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.lang.String
- jakarta.faces.render.ClientBehaviorRenderer
-
-
-
-
- JSF:JAVADOC:2102
- The default behavior of this method is to call RenderKit#addRenderer(String, String, Renderer) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.lang.String
- java.lang.String
- jakarta.faces.render.Renderer
-
-
-
-
- JSF:JAVADOC:2103
- The default behavior of this method is to call RenderKit#createResponseStream(java.io.OutputStream) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.io.OutputStream
-
-
-
-
- JSF:JAVADOC:2104
- The default behavior of this method is to call RenderKit#createResponseWriter(java.io.Writer, String, String) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.io.Writer
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2105
- The default behavior of this method is to call RenderKit#getClientBehaviorRenderer(String) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2106
- The default behavior of this method is to call jakarta.faces.render.RenderKit#getClientBehaviorRendererTypes() on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
-
- JSF:JAVADOC:2107
- The default behavior of this method is to call jakarta.faces.render.RenderKit#getComponentFamilies() on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
-
- JSF:JAVADOC:2108
- The default behavior of this method is to call RenderKit#getRenderer(String, String) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2109
- The default behavior of this method is to call RenderKit#getRendererTypes(String) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2110
- The default behavior of this method is to call jakarta.faces.render.RenderKit#getResponseStateManager() on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
-
- JSF:JAVADOC:2111
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.render
- RenderKitWrapper
-
-
-
- JSF:JAVADOC:2112
-
- jakarta.faces.render
- RenderKitWrapper
-
-
-
- JSF:JAVADOC:2113
- The implementation must inspect the current request and return the component state Object passed to it on a previous invocation of writeState().
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2115
- The implementation must inspect the current request and return the tree structure Object passed to it on a previous invocation of writeState().
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2116
- Return the specified state as a String without any markup related to the rendering technology supported by this ResponseStateManager.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2118
-
- jakarta.faces.render
- ResponseStateManager
-
-
-
- JSF:JAVADOC:2121
- Take the argument state and write it into the output using the current ResponseWriter, which must be correctly positioned already. If the jakarta.faces.application.StateManager.SerializedView is to be written out to hidden fields, the implementation must take care to make all necessary character replacements to make the Strings suitable for inclusion as an HTTP request paramater. If the state saving method for this application is jakarta.faces.application.StateManager#STATE_SAVING_METHOD_CLIENT, the implementation may encrypt the state to be saved to the client. We recommend that the state be unreadable by the client, and also be tamper evident. The reference implementation follows these recommendations.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.StateManager.StateManager.SerializedView
-
-
-
-
- JSF:JAVADOC:2122
-
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.StateManager.StateManager.SerializedView
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2123
-
- jakarta.faces.validator
- BeanValidator
-
-
-
- JSF:JAVADOC:2124
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.validator
- BeanValidator
-
-
-
- JSF:JAVADOC:2125
- Return the validation groups passed to the Validation API when checking constraints. If the validationGroupsArray attribute is omitted or empty, the validation groups will be inherited from the branch defaults, or if there are no branch defaults, the jakarta.validation.groups.Default group will be used.
- jakarta.faces.validator
- BeanValidator
-
-
-
- JSF:JAVADOC:2126
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.validator
- BeanValidator
-
-
-
- JSF:JAVADOC:2127
-
- jakarta.faces.validator
- BeanValidator
-
-
-
- JSF:JAVADOC:2128
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.validator
- BeanValidator
-
-
-
- JSF:JAVADOC:2129
-
- jakarta.faces.validator
- BeanValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2130
-
- jakarta.faces.validator
- BeanValidator
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2131
-
- jakarta.faces.validator
- BeanValidator
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2132
- A comma-separated list of validation groups which are used to filter which validations get checked by this validator. If the validationGroupsArray attribute is omitted or is empty, the validation groups will be inherited from the branch defaults or, if there are no branch defaults, the jakarta.validation.groups.Default group will be used.
- jakarta.faces.validator
- BeanValidator
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2134
- {@inheritDoc}
- jakarta.faces.validator
- BeanValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
- JSF:JAVADOC:2135
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
- JSF:JAVADOC:2136
- Construct a Validator with no preconfigured limits.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
- JSF:JAVADOC:2137
- Construct a Validator with the specified preconfigured limit.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- double
-
-
-
-
- JSF:JAVADOC:2138
- Construct a Validator with the specified preconfigured limits.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- double
- double
-
-
-
-
- JSF:JAVADOC:2139
-
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2140
- Return the maximum value to be enforced by this Validator or Double.MAX_VALUE if it has not been set.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
- JSF:JAVADOC:2141
- Return the minimum value to be enforced by this Validator, or Double.MIN_VALUE if it has not been set.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
- JSF:JAVADOC:2142
-
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
- JSF:JAVADOC:2143
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
- JSF:JAVADOC:2144
-
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
- JSF:JAVADOC:2145
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
- JSF:JAVADOC:2146
-
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2147
-
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2148
- Set the maximum value to be enforced by this Validator.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- double
-
-
-
-
- JSF:JAVADOC:2149
- Set the minimum value to be enforced by this Validator.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- double
-
-
-
-
- JSF:JAVADOC:2150
-
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2151
- Perform the correctness checks implemented by this Validator against the specified UIComponent. If any violations are found, a ValidatorException will be thrown containing the jakarta.faces.application.FacesMessage describing the failure. For a validator to be fully compliant with Version 2 and later of the specification, it must not fail validation on null or empty values unless it is specifically intended to address null or empty values. An application-wide is provided to allow validators designed for JSF 1.2 to work with JSF 2 and later. The jakarta.faces.VALIDATE_EMPTY_FIELDS must be set to false to enable this backwards compatibility behavior.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2152
- if validation fails
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
- JSF:JAVADOC:2153
- if context or component is null
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2154
- If true, the validator id for this annotation is added to the list of default validators by a call to jakarta.faces.application.Application#addDefaultValidatorId.
- jakarta.faces.validator
- FacesValidator
-
-
-
- JSF:JAVADOC:2156
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.validator
- LengthValidator
-
-
-
- JSF:JAVADOC:2157
-
- jakarta.faces.validator
- LengthValidator
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2158
- Return the maximum length to be enforced by this Validator, or 0 if the maximum has not been set.
- jakarta.faces.validator
- LengthValidator
-
-
-
- JSF:JAVADOC:2159
- Return the minimum length to be enforced by this Validator, or 0 if the minimum has not been set.
- jakarta.faces.validator
- LengthValidator
-
-
-
- JSF:JAVADOC:2160
-
- jakarta.faces.validator
- LengthValidator
-
-
-
- JSF:JAVADOC:2161
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.validator
- LengthValidator
-
-
-
- JSF:JAVADOC:2162
-
- jakarta.faces.validator
- LengthValidator
-
-
-
- JSF:JAVADOC:2163
- Construct a Validator with no preconfigured limits.
- jakarta.faces.validator
- LengthValidator
-
-
-
- JSF:JAVADOC:2164
- Construct a Validator with the specified preconfigured limit.
- jakarta.faces.validator
- LengthValidator
-
-
- int
-
-
-
-
- JSF:JAVADOC:2165
- Construct a Validator with the specified preconfigured limits.
- jakarta.faces.validator
- LengthValidator
-
-
- int
- int
-
-
-
-
- JSF:JAVADOC:2166
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.validator
- LengthValidator
-
-
-
- JSF:JAVADOC:2167
-
- jakarta.faces.validator
- LengthValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2168
-
- jakarta.faces.validator
- LengthValidator
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2169
- Set the maximum length to be enforced by this Validator.
- jakarta.faces.validator
- LengthValidator
-
-
- int
-
-
-
-
- JSF:JAVADOC:2170
- Set the minimum length to be enforced by this Validator.
- jakarta.faces.validator
- LengthValidator
-
-
- int
-
-
-
-
- JSF:JAVADOC:2171
-
- jakarta.faces.validator
- LengthValidator
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2172
- Perform the correctness checks implemented by this Validator against the specified UIComponent. If any violations are found, a ValidatorException will be thrown containing the jakarta.faces.application.FacesMessage describing the failure. For a validator to be fully compliant with Version 2 and later of the specification, it must not fail validation on null or empty values unless it is specifically intended to address null or empty values. An application-wide is provided to allow validators designed for JSF 1.2 to work with JSF 2 and later. The jakarta.faces.VALIDATE_EMPTY_FIELDS must be set to false to enable this backwards compatibility behavior.
- jakarta.faces.validator
- LengthValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2173
- if validation fails
- jakarta.faces.validator
- LengthValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
- JSF:JAVADOC:2174
- if context or component is null
- jakarta.faces.validator
- LengthValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2175
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
- JSF:JAVADOC:2176
-
- jakarta.faces.validator
- LongRangeValidator
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2177
- Return the maximum value to be enforced by this Validator.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
- JSF:JAVADOC:2178
- Return the minimum value to be enforced by this Validator.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
- JSF:JAVADOC:2179
-
- jakarta.faces.validator
- LongRangeValidator
-
-
-
- JSF:JAVADOC:2180
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.validator
- LongRangeValidator
-
-
-
- JSF:JAVADOC:2181
-
- jakarta.faces.validator
- LongRangeValidator
-
-
-
- JSF:JAVADOC:2182
- Construct a Validator with no preconfigured limits.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
- JSF:JAVADOC:2183
- Construct a Validator with the specified preconfigured limit.
- jakarta.faces.validator
- LongRangeValidator
-
-
- long
-
-
-
-
- JSF:JAVADOC:2184
- Construct a Validator with the specified preconfigured limits.
- jakarta.faces.validator
- LongRangeValidator
-
-
- long
- long
-
-
-
-
- JSF:JAVADOC:2185
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
- JSF:JAVADOC:2186
-
- jakarta.faces.validator
- LongRangeValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2187
-
- jakarta.faces.validator
- LongRangeValidator
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2188
- Set the maximum value to be enforced by this Validator.
- jakarta.faces.validator
- LongRangeValidator
-
-
- long
-
-
-
-
- JSF:JAVADOC:2189
- Set the minimum value to be enforced by this Validator.
- jakarta.faces.validator
- LongRangeValidator
-
-
- long
-
-
-
-
- JSF:JAVADOC:2190
-
- jakarta.faces.validator
- LongRangeValidator
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2191
- Perform the correctness checks implemented by this Validator against the specified UIComponent. If any violations are found, a ValidatorException will be thrown containing the jakarta.faces.application.FacesMessage describing the failure. For a validator to be fully compliant with Version 2 and later of the specification, it must not fail validation on null or empty values unless it is specifically intended to address null or empty values. An application-wide is provided to allow validators designed for JSF 1.2 to work with JSF 2 and later. The jakarta.faces.VALIDATE_EMPTY_FIELDS must be set to false to enable this backwards compatibility behavior.
- jakarta.faces.validator
- LongRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2192
- if validation fails
- jakarta.faces.validator
- LongRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
- JSF:JAVADOC:2193
- if context or component is null
- jakarta.faces.validator
- LongRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2194
- If true, the Object implementing this interface must not participate in state saving or restoring.
- jakarta.faces.validator
- MethodExpressionValidator
-
-
-
- JSF:JAVADOC:2195
-
- jakarta.faces.validator
- MethodExpressionValidator
-
-
-
- JSF:JAVADOC:2196
- Construct a Validator that contains a MethodExpression.
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- MethodExpression
-
-
-
-
- JSF:JAVADOC:2199
- Gets the state of the instance as a Serializable Object. If the class that implements this interface has references to instances that implement StateHolder (such as a UIComponent with event handlers, validators, etc.) this method must call the #saveState method on all those instances as well. This method must not save the state of children and facets. That is done via the jakarta.faces.application.StateManager This method must not alter the state of the implementing object. In other words, after executing this code: Object state = component.saveState(facesContext); component should be the same as before executing it. The return from this method must be Serializable
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2200
- if context is null
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2201
- Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2202
- Perform the correctness checks implemented by this Validator against the specified UIComponent. If any violations are found, a ValidatorException will be thrown containing the jakarta.faces.application.FacesMessage describing the failure. For a validator to be fully compliant with Version 2 and later of the specification, it must not fail validation on null or empty values unless it is specifically intended to address null or empty values. An application-wide is provided to allow validators designed for JSF 1.2 to work with JSF 2 and later. The jakarta.faces.VALIDATE_EMPTY_FIELDS must be set to false to enable this backwards compatibility behavior.
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2203
- if validation fails
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
- JSF:JAVADOC:2204
- if context or component is null
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2205
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.validator
- RegexValidator
-
-
-
- JSF:JAVADOC:2206
- Return the ValueExpression that yields the regular expression pattern when evaluated.
- jakarta.faces.validator
- RegexValidator
-
-
-
- JSF:JAVADOC:2207
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.validator
- RegexValidator
-
-
-
- JSF:JAVADOC:2208
-
- jakarta.faces.validator
- RegexValidator
-
-
-
- JSF:JAVADOC:2209
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.validator
- RegexValidator
-
-
-
- JSF:JAVADOC:2210
-
- jakarta.faces.validator
- RegexValidator
-
-
-
- JSF:JAVADOC:2211
-
- jakarta.faces.validator
- RegexValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2212
-
- jakarta.faces.validator
- RegexValidator
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2213
- The Regular Expression property to validate against.
- jakarta.faces.validator
- RegexValidator
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2214
-
- jakarta.faces.validator
- RegexValidator
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2215
- Validate a String against a regular expression pattern. The full regex pattern must be matched in order to pass the validation.
- jakarta.faces.validator
- RegexValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2216
- {@inheritDoc}
- jakarta.faces.validator
- RegexValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2217
- {@inheritDoc}
- jakarta.faces.validator
- RegexValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
- JSF:JAVADOC:2218
-
- jakarta.faces.validator
- RequiredValidator
-
-
-
- JSF:JAVADOC:2219
- Verify that the converted object value is not null.
- jakarta.faces.validator
- RequiredValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2220
- {@inheritDoc}
- jakarta.faces.validator
- RequiredValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
- JSF:JAVADOC:2221
- Perform the correctness checks implemented by this Validator against the specified UIComponent. If any violations are found, a ValidatorException will be thrown containing the jakarta.faces.application.FacesMessage describing the failure. For a validator to be fully compliant with Version 2 and later of the specification, it must not fail validation on null or empty values unless it is specifically intended to address null or empty values. An application-wide is provided to allow validators designed for JSF 1.2 to work with JSF 2 and later. The jakarta.faces.VALIDATE_EMPTY_FIELDS must be set to false to enable this backwards compatibility behavior.
- jakarta.faces.validator
- Validator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2222
- if validation fails
- jakarta.faces.validator
- Validator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
- JSF:JAVADOC:2223
- if context or component is null
- jakarta.faces.validator
- Validator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2224
- Returns the FacesMessage associated with the exception. If this instance was created with a constructor that takes Collection, this method returns the first message in the Collection
- jakarta.faces.validator
- ValidatorException
-
-
-
- JSF:JAVADOC:2225
- If this instance was created with a constructor that takes Collection, this method returns the passed collection, otherwise this method returns null.
- jakarta.faces.validator
- ValidatorException
-
-
-
- JSF:JAVADOC:2226
- Construct a new exception with the specified message and no root cause.
- jakarta.faces.validator
- ValidatorException
-
-
- jakarta.faces.application.FacesMessage
-
-
-
-
- JSF:JAVADOC:2227
- Allow this one exception to contain multiple messages.
- jakarta.faces.validator
- ValidatorException
-
-
- java.util.Collection
-
-
-
-
- JSF:JAVADOC:2228
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.validator
- ValidatorException
-
-
- jakarta.faces.application.FacesMessage
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:2229
- Allow this one exception to contain multiple messages, while passing on the root cause to the superclass
- jakarta.faces.validator
- ValidatorException
-
-
- java.util.Collection
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:2230
- Take the argument parent and apply this attached object to it. The action taken varies with class that implements one of the subinterfaces of this interface.
- jakarta.faces.view
- AttachedObjectHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2231
- Return the value of the "for" attribute specified by the page author on the tag for this AttachedObjectHandler.
- jakarta.faces.view
- AttachedObjectHandler
-
-
-
- JSF:JAVADOC:2232
- Returns the name by which this attached object target is exposed to the page author.
- jakarta.faces.view
- AttachedObjectTarget
-
-
-
- JSF:JAVADOC:2233
- Returns the List that this AttachedObjectTarget exposes. Each attached object exposed by the composite component author may point at multiple UIComponent instances within the composite component. This method is used by the jakarta.faces.view.ViewDeclarationLanguage#retargetAttachedObjects method to take the appropriate action on the attached object.
- jakarta.faces.view
- AttachedObjectTarget
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2234
- Return the client event name to which this behavior applies.
- jakarta.faces.view
- BehaviorHolderAttachedObjectHandler
-
-
-
- JSF:JAVADOC:2235
-
- jakarta.faces.view
- BehaviorHolderAttachedObjectTarget
-
-
-
- JSF:JAVADOC:2236
- Return the estimated character column.
- jakarta.faces.view
- Location
-
-
-
- JSF:JAVADOC:2237
- Return the line number in the page for this location.
- jakarta.faces.view
- Location
-
-
-
- JSF:JAVADOC:2238
- Return the file path to the page represented by this location.
- jakarta.faces.view
- Location
-
-
-
- JSF:JAVADOC:2239
-
- jakarta.faces.view
- Location
-
-
- java.lang.String
- int
- int
-
-
-
-
- JSF:JAVADOC:2240
-
- jakarta.faces.view
- Location
-
-
-
- JSF:JAVADOC:2243
-
- jakarta.faces.view
- StateManagementStrategy
-
-
-
- JSF:JAVADOC:2245
-
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2247
- if any of the arguments are null
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2249
- if any of the arguments are null.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2250
- if there is an error in obtaining the metadata
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2251
- if this is a JSP VDL implementation.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- java.lang.UnsupportedOperationException
-
-
-
- JSF:JAVADOC:2253
- if any of the arguments are null.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2254
- if there is an error in obtaining the script component resource
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2255
- if this is a JSP VDL implementation.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- java.lang.UnsupportedOperationException
-
-
-
- JSF:JAVADOC:2256
- For implementations that want to control the implementation of state saving and restoring, the StateManagementStrategy allows them to do so. Returning null indicates that the implementation wishes the runtime to handle the state saving and restoring. Implementations that provide the VDL for Facelets for JSF 2.0 and later must return non-null from this method.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2258
- if any of the arguments are null.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2259
- if there is an error in obtaining the metadata
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2261
-
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2262
- if any of the arguments are null
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2264
- if any of the arguments are null
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2265
- Assuming the component metadata for argument topLevelComponent has been made available by an earlier call to ViewDeclarationLanguage#getComponentMetadata, leverage the component metadata for the purpose of re-targeting attached objects from the top level composite component to the individual AttachedObjectTarget instances inside the composite component. This method must be called by the ViewDeclarationLanguage implementation when creating the UIComponent tree when a composite component usage is encountered. An algorithm semantically equivalent to the following must be implemented. Obtain the metadata for the composite component. Currently this entails getting the value of the UIComponent#BEANINFO_KEY component attribute, which will be an instance of BeanInfo. If the metadata cannot be found, log an error message and return. Get the BeanDescriptor from the BeanInfo. Get the value of the AttachedObjectTarget#ATTACHED_OBJECT_TARGETS_KEY from the BeanDescriptor's getValue() method. This will be a List<AttachedObjectTarget>. Let this be targetList. For each curHandler entry in the argument handlers Let forAttributeValue be the return from AttachedObjectHandler#getFor. For each curTarget entry in targetList, the first of the following items that causes a match will take this action: For each UIComponent in the list returned from curTarget.getTargets(), call curHandler.applyAttachedObject(), passing the FacesContext and the UIComponent. and cause this inner loop to terminate. If curHandler is an instance of ActionSource2AttachedObjectHandler and curTarget is an instance of ActionSource2AttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a match. If curHandler is an instance of EditableValueHolderAttachedObjectHandler and curTarget is an instance of EditableValueHolderAttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a match. If curHandler is an instance of ValueHolderAttachedObjectHandler and curTarget is an instance of ValueHolderAttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a match. If curHandler is an instance of BehaviorHolderAttachedObjectHandler and curTarget is an instance of BehaviorHolderAttachedObjectTarget, and either of the following conditions are true, curHandler.getEventName() is not null and is equal to curTargetName. curHandler.getEventName() is null and curTarget.isDefaultEvent() is true. consider it a match. The implementation must support retargeting attached objects from the top level compsite component to targets that are composite and non-composite components. An implementation is provided that will throw UnsupportedOperationException. A Faces implementation compliant with version 2.0 and beyond of the specification must override this method.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.util.List
-
-
-
-
- JSF:JAVADOC:2266
- if any of the arguments are null.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.util.List
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2267
- Assuming the component metadata for argument topLevelComponent has been made available by an earlier call to ViewDeclarationLanguage#getComponentMetadata, leverage the component metadata for the purpose of re-targeting any method expressions from the top level component to the appropriate inner component. For each attribute that is a MethodExpression (as indicated by the presence of a "method-signature" attribute and the absence of a "type" attribute), the following action must be taken: Get the value of the targets attribute. If the value is a ValueExpression evaluate it. If there is no targets attribute, let the name of the metadata element be the evaluated value of the targets attribute. Interpret targets as a space (not tab) separated list of ids. For each entry in the list: Find the inner component of the topLevelComponent with the id equal to the current list entry. For discussion, this component is called target. If not found, log and error and continue to the next attribute. For discussion the declared name of the attribute is called name. In the attributes map of the topLevelComponent, look up the entry under the key name. Assume the result is a ValueExpression. For discussion, this is attributeValueExpression. If not found, log an error and continue to the next attribute. If name is equal to the string "action", or "actionListener" without the quotes, assume target is an jakarta.faces.component.ActionSource2. If name is equal to the string "validator", or "valueChangeListener" without the quotes, assume target is an jakarta.faces.component.EditableValueHolder. Call getExpressionString() on the attributeValueExpression and use that string to create a MethodExpression of the appropriate signature for name. If name is not equal to any of the previously listed strings, call getExpressionString() on the attributeValueExpression and use that string to create a MethodExpression where the signature is created based on the value of the "method-signature" attribute of the tag. Let the resultant MethodExpression be called attributeMethodExpression for discussion. If name is equal to the string "action" without the quotes, call jakarta.faces.component.ActionSource2#setActionExpression on target, passing attributeMethodExpression. If name is equal to the string "actionListener" without the quotes, call jakarta.faces.component.ActionSource#addActionListener on target, passing attributeMethodExpression wrapped in a jakarta.faces.event.MethodExpressionActionListener. If name is equal to the string "validator" without the quotes, call jakarta.faces.component.EditableValueHolder#addValidator on target, passing attributeMethodExpression wrapped in a jakarta.faces.validator.MethodExpressionValidator. If name is equal to the string "valueChangeListener" without the quotes, call jakarta.faces.component.EditableValueHolder#addValueChangeListener on target, passing attributeMethodExpression wrapped in a jakarta.faces.event.MethodExpressionValueChangeListener. Otherwise, assume that the MethodExpression should be placed in the components attribute set. The runtme must create the MethodExpression instance based on the value of the "method-signature" attribute. An implementation is provided that will throw UnsupportedOperationException. A Faces implementation compliant with version 2.0 and beyond of the specification must override this method.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2268
- if context or topLevelComponent is null.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2269
-
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
-
- JSF:JAVADOC:2271
- if viewId is null.
- jakarta.faces.view
- ViewDeclarationLanguageFactory
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2272
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. A default implementation is provided that returns null.
- jakarta.faces.view
- ViewDeclarationLanguageFactory
-
-
-
- JSF:JAVADOC:2273
-
- jakarta.faces.view
- ViewDeclarationLanguageFactory
-
-
-
- JSF:JAVADOC:2274
- Creates a new UIViewRoot containing only view parameter metadata. The processing of building this UIViewRoot with metadata should not cause any events to be published to the application. The implementation must call FacesContext#setProcessingEvents passing false as the argument, at the beginning of the method, and pass true to the same method at the end. The implementation must ensure that this happens regardless of ant exceptions that may be thrown.
- jakarta.faces.view
- ViewMetadata
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2275
-
- jakarta.faces.view
- ViewMetadata
-
-
-
- JSF:JAVADOC:2276
- Utility method to extract view metadata from the provided UIViewRoot.
- jakarta.faces.view
- ViewMetadata
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:2277
-
- jakarta.faces.view
- ViewMetadata
-
-
-
- JSF:JAVADOC:2278
- Returns the resolved literal String value of the attribute name after evaluating EL.
- jakarta.faces.view.facelets
- AttributeHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
- JSF:JAVADOC:2279
- Return the value of the behavior-id.
- jakarta.faces.view.facelets
- BehaviorConfig
-
-
-
- JSF:JAVADOC:2280
-
- jakarta.faces.view.facelets
- BehaviorHandler
-
-
- jakarta.faces.view.facelets.BehaviorConfig
-
-
-
-
- JSF:JAVADOC:2281
-
- jakarta.faces.view.facelets
- BehaviorHandler
-
-
-
- JSF:JAVADOC:2282
-
- jakarta.faces.view.facelets
- BehaviorHandler
-
-
-
- JSF:JAVADOC:2283
- Return the client event name to which this behavior applies.
- jakarta.faces.view.facelets
- BehaviorHandler
-
-
-
- JSF:JAVADOC:2284
- ComponentType to pass to the Application. Cannot be null.
- jakarta.faces.view.facelets
- ComponentConfig
-
-
-
- JSF:JAVADOC:2285
- RendererType to set on created UIComponent instances.
- jakarta.faces.view.facelets
- ComponentConfig
-
-
-
- JSF:JAVADOC:2286
- Leverage the TagHandlerDelegateFactory provided by the implementation to create an instance of TagHandlerDelegate designed for use with ComponentHandler.
- jakarta.faces.view.facelets
- ComponentHandler
-
-
- jakarta.faces.view.facelets.ComponentConfig
-
-
-
-
- JSF:JAVADOC:2287
-
- jakarta.faces.view.facelets
- ComponentHandler
-
-
-
- JSF:JAVADOC:2288
- Determine if the passed component is not null and if it's new to the tree. This operation can be used for determining if attributes should be wired to the component.
- jakarta.faces.view.facelets
- ComponentHandler
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2289
- This method is guaranteed to be called after the component has been created but before it has been populated with children.
- jakarta.faces.view.facelets
- ComponentHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2290
- This method is guaranteed to be called after the component has been populated with children.
- jakarta.faces.view.facelets
- ComponentHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2291
- Calls apply on any child handlers.
- jakarta.faces.view.facelets
- CompositeFaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2292
-
- jakarta.faces.view.facelets
- CompositeFaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2293
-
- jakarta.faces.view.facelets
- CompositeFaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletHandler[]
-
-
-
-
- JSF:JAVADOC:2294
- Returns the array of child handlers contained by this handler.
- jakarta.faces.view.facelets
- CompositeFaceletHandler
-
-
-
- JSF:JAVADOC:2295
- Return the converter id to be used in instantiating this converter
- jakarta.faces.view.facelets
- ConverterConfig
-
-
-
- JSF:JAVADOC:2296
-
- jakarta.faces.view.facelets
- ConverterHandler
-
-
- jakarta.faces.view.facelets.ConverterConfig
-
-
-
-
- JSF:JAVADOC:2297
-
- jakarta.faces.view.facelets
- ConverterHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
- JSF:JAVADOC:2298
- The default implementation simply calls through to TagHandlerDelegate#apply.
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2299
-
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2301
-
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2302
-
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2303
-
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- ELException
-
-
-
- JSF:JAVADOC:2304
-
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.TagConfig
-
-
-
-
- JSF:JAVADOC:2305
-
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
-
- JSF:JAVADOC:2306
-
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
-
- JSF:JAVADOC:2307
-
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2308
-
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
-
- JSF:JAVADOC:2309
-
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
- JSF:JAVADOC:2310
- Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2311
-
- jakarta.faces.view.facelets
- FaceletContext
-
-
-
- JSF:JAVADOC:2312
- Generate a unique ID for the passed String
- jakarta.faces.view.facelets
- FaceletContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2313
- Return an attribute set by a previous call to #setAttribute. Support method which is backed by the current VariableMapper
- jakarta.faces.view.facelets
- FaceletContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2314
- The ExpressionFactory to use within the Facelet this context is executing upon. Must not be null.
- jakarta.faces.view.facelets
- FaceletContext
-
-
-
- JSF:JAVADOC:2315
- The current FacesContext bound to this "request". Must not be null.
- jakarta.faces.view.facelets
- FaceletContext
-
-
-
- JSF:JAVADOC:2316
- Include another Facelet defined at some path, relative to the executing context, not the current Facelet (same as include directive in JSP)
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2317
- if unable to load relativePath
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2318
- if unable to parse the markup loaded from relativePath
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.view.facelets.FaceletException
-
-
-
- JSF:JAVADOC:2320
- if any of the expressions in the markup loaded from relativePath fail
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.lang.String
-
- ELException
-
-
-
- JSF:JAVADOC:2321
- Include another Facelet defined at some path, absolute to this ClassLoader/OS
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.net.URL
-
-
-
-
- JSF:JAVADOC:2322
- if unable to load relativePath
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.net.URL
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2323
- if unable to parse the markup loaded from relativePath
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.net.URL
-
- jakarta.faces.view.facelets.FaceletException
-
-
-
- JSF:JAVADOC:2325
- if any of the expressions in the markup loaded from relativePath fail
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.net.URL
-
- ELException
-
-
-
- JSF:JAVADOC:2326
- Support method which is backed by the current VariableMapper.
- jakarta.faces.view.facelets
- FaceletContext
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2327
- Set the FunctionMapper to use in EL evaluation/creation.
- jakarta.faces.view.facelets
- FaceletContext
-
-
- FunctionMapper
-
-
-
-
- JSF:JAVADOC:2328
- Set the VariableMapper to use in EL evaluation/creation.
- jakarta.faces.view.facelets
- FaceletContext
-
-
- VariableMapper
-
-
-
-
- JSF:JAVADOC:2329
- Create an empty FaceletException.
- jakarta.faces.view.facelets
- FaceletException
-
-
-
- JSF:JAVADOC:2330
- Create a FaceletException with argument message as the message.
- jakarta.faces.view.facelets
- FaceletException
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2331
- Wrap argument cause within this FaceletException instance.
- jakarta.faces.view.facelets
- FaceletException
-
-
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:2332
- Wrap argument cause in a FaceletException instance, with a message given by the argument message.
- jakarta.faces.view.facelets
- FaceletException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:2333
- Process changes on a particular UIComponent
- jakarta.faces.view.facelets
- FaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2334
- if unable to load relativePath
- jakarta.faces.view.facelets
- FaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2335
- if unable to parse the markup loaded from relativePath
- jakarta.faces.view.facelets
- FaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- jakarta.faces.view.facelets.FaceletException
-
-
-
- JSF:JAVADOC:2337
- if any of the expressions in the markup loaded from relativePath fail
- jakarta.faces.view.facelets
- FaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- ELException
-
-
-
- JSF:JAVADOC:2338
- Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this class to the argument parent.
- jakarta.faces.view.facelets
- FaceletsAttachedObjectHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2339
- Call through to super
- jakarta.faces.view.facelets
- FaceletsAttachedObjectHandler
-
-
- jakarta.faces.view.facelets.TagConfig
-
-
-
-
- JSF:JAVADOC:2340
- Return the value of the "for" attribute. This enables the runtime to know to which inner component this attached object should be retargeted.
- jakarta.faces.view.facelets
- FaceletsAttachedObjectHandler
-
-
-
- JSF:JAVADOC:2341
- Returns the resolved literal String value of the facet name after evaluating EL.
- jakarta.faces.view.facelets
- FacetHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
- JSF:JAVADOC:2342
- Take the action prescribed in the JSF specification for this particular VDL element attribute.
- jakarta.faces.view.facelets
- Metadata
-
-
- jakarta.faces.view.facelets.FaceletContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2343
-
- jakarta.faces.view.facelets
- Metadata
-
-
-
- JSF:JAVADOC:2344
- Return a beans PropertyDescriptor for the property with name given by argument name.
- jakarta.faces.view.facelets
- MetadataTarget
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2345
- Return a Class for the property with name given by argument name.
- jakarta.faces.view.facelets
- MetadataTarget
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2346
- Return a Method for the getter of the property with name given by argument name.
- jakarta.faces.view.facelets
- MetadataTarget
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2347
- Return the Class of the metadata target.
- jakarta.faces.view.facelets
- MetadataTarget
-
-
-
- JSF:JAVADOC:2348
- Return a Method for the setter of the property with name given by argument name.
- jakarta.faces.view.facelets
- MetadataTarget
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2349
- Return true if the target for this metadata element is an instance of the argument type.
- jakarta.faces.view.facelets
- MetadataTarget
-
-
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:2350
-
- jakarta.faces.view.facelets
- MetadataTarget
-
-
-
- JSF:JAVADOC:2351
- Return an abstraction that takes appropriate action given the kind of rule represented by the argument name, in the context of this particular concrete subclass of MetaRule. The abstraction must encapsulate the value from the argument attribute.
- jakarta.faces.view.facelets
- MetaRule
-
-
- java.lang.String
- jakarta.faces.view.facelets.TagAttribute
- jakarta.faces.view.facelets.MetadataTarget
-
-
-
-
- JSF:JAVADOC:2352
-
- jakarta.faces.view.facelets
- MetaRule
-
-
-
- JSF:JAVADOC:2353
- Add another Metadata to this ruleset, returning this.
- jakarta.faces.view.facelets
- MetaRuleset
-
-
- jakarta.faces.view.facelets.Metadata
-
-
-
-
- JSF:JAVADOC:2354
- Add another MetaRule to this ruleset, returning this.
- jakarta.faces.view.facelets
- MetaRuleset
-
-
- jakarta.faces.view.facelets.MetaRule
-
-
-
-
- JSF:JAVADOC:2355
- Customize this MetaRuleset by removing the attribute named by argument attribute and re-adding it under the name given by the argument property, returning this.
- jakarta.faces.view.facelets
- MetaRuleset
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2356
- Take actions to apply the rule.
- jakarta.faces.view.facelets
- MetaRuleset
-
-
-
- JSF:JAVADOC:2357
- Customize this MetaRuleset instance to advise it to ignore the attribute named by the attribute argument, returning this.
- jakarta.faces.view.facelets
- MetaRuleset
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2358
- Customize this MetaRuleset instance to advise it to ignore all attributes, returning this.
- jakarta.faces.view.facelets
- MetaRuleset
-
-
-
- JSF:JAVADOC:2359
-
- jakarta.faces.view.facelets
- MetaRuleset
-
-
-
- JSF:JAVADOC:2360
-
- jakarta.faces.view.facelets
- MetaTagHandler
-
-
- jakarta.faces.view.facelets.TagConfig
-
-
-
-
- JSF:JAVADOC:2361
- Returns the URL of a Facelet template file. Called by the Facelets Runtime to load a template file referred to in a Facelets page.
- jakarta.faces.view.facelets
- ResourceResolver
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2362
-
- jakarta.faces.view.facelets
- ResourceResolver
-
-
-
- JSF:JAVADOC:2363
- Return an object encapsulating the TagAttributes specified on this element in the view.
- jakarta.faces.view.facelets
- Tag
-
-
-
- JSF:JAVADOC:2364
- Return the XML local name of the tag. For example, would be "tag".
- jakarta.faces.view.facelets
- Tag
-
-
-
- JSF:JAVADOC:2365
- Return the Location of this Tag instance in the Facelet view.
- jakarta.faces.view.facelets
- Tag
-
-
-
- JSF:JAVADOC:2366
- Return the resolved XML Namespace for this tag in the Facelets view.
- jakarta.faces.view.facelets
- Tag
-
-
-
- JSF:JAVADOC:2367
- Return the XML qualified name for this tag. For example, would be "my:tag".
- jakarta.faces.view.facelets
- Tag
-
-
-
- JSF:JAVADOC:2368
-
- jakarta.faces.view.facelets
- Tag
-
-
- jakarta.faces.view.Location
- java.lang.String
- java.lang.String
- java.lang.String
- jakarta.faces.view.facelets.TagAttributes
-
-
-
-
- JSF:JAVADOC:2369
-
- jakarta.faces.view.facelets
- Tag
-
-
- jakarta.faces.view.facelets.Tag
- jakarta.faces.view.facelets.TagAttributes
-
-
-
-
- JSF:JAVADOC:2370
-
- jakarta.faces.view.facelets
- Tag
-
-
-
- JSF:JAVADOC:2371
- If literal, return Boolean#getBoolean(java.lang.String) Boolean.getBoolean(java.lang.String) passing our value, otherwise call #getObject(FaceletContext, Class) getObject(FaceletContext, Class).
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
- JSF:JAVADOC:2372
- If literal, call Integer#parseInt(java.lang.String) Integer.parseInt(String), otherwise call #getObject(FaceletContext, Class) getObject(FaceletContext, Class).
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
- JSF:JAVADOC:2373
- Local name of this attribute
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
- JSF:JAVADOC:2374
- The location of this attribute in the FaceletContext
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
- JSF:JAVADOC:2375
- Create a MethodExpression, using this attribute's value as the expression String.
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
- java.lang.Class
- java.lang.Class[]
-
-
-
-
- JSF:JAVADOC:2376
- The resolved Namespace for this attribute
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
- JSF:JAVADOC:2377
- Delegates to getObject with Object.class as a param
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
- JSF:JAVADOC:2378
- If literal, simply coerce our String literal value using an ExpressionFactory, otherwise create a ValueExpression and evaluate it.
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:2379
- The qualified name for this attribute
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
- JSF:JAVADOC:2380
- Return the literal value of this attribute
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
- JSF:JAVADOC:2381
- If literal, then return our value, otherwise delegate to getObject, passing String.class.
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
- JSF:JAVADOC:2382
- Create a ValueExpression, using this attribute's literal value and the passed expected type.
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:2383
- If this TagAttribute is literal (not #{..} or ${..})
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
- JSF:JAVADOC:2384
-
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
- JSF:JAVADOC:2385
-
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.TagAttribute
-
-
-
-
- JSF:JAVADOC:2386
-
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.TagAttribute
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2387
-
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.TagAttribute
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:2388
-
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.TagAttribute
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:2389
-
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.Tag
- jakarta.faces.view.facelets.TagAttribute
-
-
-
-
- JSF:JAVADOC:2390
-
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.Tag
- jakarta.faces.view.facelets.TagAttribute
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2391
-
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.Tag
- jakarta.faces.view.facelets.TagAttribute
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:2392
-
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.Tag
- jakarta.faces.view.facelets.TagAttribute
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:2393
- Using no namespace, find the TagAttribute
- jakarta.faces.view.facelets
- TagAttributes
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2394
- Find a TagAttribute that matches the passed namespace and local name.
- jakarta.faces.view.facelets
- TagAttributes
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2395
- Return an array of all TagAttributes in this set
- jakarta.faces.view.facelets
- TagAttributes
-
-
-
- JSF:JAVADOC:2396
- Get all TagAttributes for the passed namespace
- jakarta.faces.view.facelets
- TagAttributes
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2397
- A list of Namespaces found in this set
- jakarta.faces.view.facelets
- TagAttributes
-
-
-
- JSF:JAVADOC:2398
-
- jakarta.faces.view.facelets
- TagAttributes
-
-
-
- JSF:JAVADOC:2399
- The next FaceletHandler (child or children) to be applied. This must never be null.
- jakarta.faces.view.facelets
- TagConfig
-
-
-
- JSF:JAVADOC:2400
- Return the Tag representing this handler.
- jakarta.faces.view.facelets
- TagConfig
-
-
-
- JSF:JAVADOC:2401
- A document-unique id, follows the convention "_tagId##"
- jakarta.faces.view.facelets
- TagConfig
-
-
-
- JSF:JAVADOC:2402
- If handled, return a new Tag instance, otherwise return null
- jakarta.faces.view.facelets
- TagDecorator
-
-
- jakarta.faces.view.facelets.Tag
-
-
-
-
- JSF:JAVADOC:2403
- Wrap the argument tag so the exception can reference its information.
- jakarta.faces.view.facelets
- TagException
-
-
- jakarta.faces.view.facelets.Tag
-
-
-
-
- JSF:JAVADOC:2404
- Wrap the argument tag so the exception can reference its information.
- jakarta.faces.view.facelets
- TagException
-
-
- jakarta.faces.view.facelets.Tag
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2405
- Wrap the argument tag so the exception can reference its information.
- jakarta.faces.view.facelets
- TagException
-
-
- jakarta.faces.view.facelets.Tag
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:2406
- Wrap the argument tag so the exception can reference its information.
- jakarta.faces.view.facelets
- TagException
-
-
- jakarta.faces.view.facelets.Tag
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:2407
- Every TagHandler instance is associated with a Tag. Each Tag instance has a TagAttributes property, which is simply a collection of TagAttribute instances. Extract and save as protected instance variables the TagConfig#getTagId, TagConfig#getTag and TagConfig#getNextHandler returns from the argument TagConfig. This constructor is only called when the Facelets View is compiled.
- jakarta.faces.view.facelets
- TagHandler
-
-
- jakarta.faces.view.facelets.TagConfig
-
-
-
-
- JSF:JAVADOC:2408
-
- jakarta.faces.view.facelets
- TagHandler
-
-
-
- JSF:JAVADOC:2410
-
- jakarta.faces.view.facelets
- TagHandlerDelegate
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2411
- Return a MetaRuleset particular to this kind of tag handler. Called from classes that implement MetaTagHandler.
- jakarta.faces.view.facelets
- TagHandlerDelegate
-
-
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:2412
-
- jakarta.faces.view.facelets
- TagHandlerDelegate
-
-
-
- JSF:JAVADOC:2413
- Create and return a TagHandlerDelegate instance designed for use with BehaviorHandler.
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
- jakarta.faces.view.facelets.BehaviorHandler
-
-
-
-
- JSF:JAVADOC:2414
- Create and return a TagHandlerDelegate instance designed for use with ComponentHandler.
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
- jakarta.faces.view.facelets.ComponentHandler
-
-
-
-
- JSF:JAVADOC:2415
- Create and return a TagHandlerDelegate instance designed for use with ConverterHandler.
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
- jakarta.faces.view.facelets.ConverterHandler
-
-
-
-
- JSF:JAVADOC:2416
- Create and return a TagHandlerDelegate instance designed for use with ValidatorHandler.
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
- jakarta.faces.view.facelets.ValidatorHandler
-
-
-
-
- JSF:JAVADOC:2417
-
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
-
- JSF:JAVADOC:2418
- Returns the literal String value of the contained text.
- jakarta.faces.view.facelets
- TextHandler
-
-
-
- JSF:JAVADOC:2419
- Returns the resolved literal String value of the contained text after evaluating EL.
- jakarta.faces.view.facelets
- TextHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
- JSF:JAVADOC:2420
- Return the validator-id associated with a particular validator in your faces-config
- jakarta.faces.view.facelets
- ValidatorConfig
-
-
-
- JSF:JAVADOC:2421
- Return the TagConfig subclass used to configure this handler instance.
- jakarta.faces.view.facelets
- ValidatorHandler
-
-
-
- JSF:JAVADOC:2422
- Retrieve the id of the validator that is to be created and added to the parent EditableValueHolder. All subclasses should override this method because it is important for Facelets to have a unique way of identifying the validators that are added to this EditableValueHolder and allows exclusions to work properly. An exclusion is a validator declaration that has the attribute "disabled" which resolves to false, instructing Facelets not to register a default validator with the same id.
- jakarta.faces.view.facelets
- ValidatorHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
- JSF:JAVADOC:2423
- Construct this instance around the configuration information in argument config
- jakarta.faces.view.facelets
- ValidatorHandler
-
-
- jakarta.faces.view.facelets.ValidatorConfig
-
-
-
-
- JSF:JAVADOC:2424
-
- jakarta.faces.webapp
- AttributeTag
-
-
-
- JSF:JAVADOC:2425
-
- jakarta.faces.webapp
- AttributeTag
-
-
-
- JSF:JAVADOC:2426
-
- jakarta.faces.webapp
- AttributeTag
-
- JspException
-
-
-
- JSF:JAVADOC:2427
- Register the specified attribute name and value with the UIComponent instance associated with our most immediately surrounding UIComponentTag instance, if this UIComponent does not already have a value for the specified attribute name.
- jakarta.faces.webapp
- AttributeTag
-
-
-
- JSF:JAVADOC:2428
- if a JSP error occurs
- jakarta.faces.webapp
- AttributeTag
-
- JspException
-
-
-
- JSF:JAVADOC:2429
- Release references to any acquired resources.
- jakarta.faces.webapp
- AttributeTag
-
-
-
- JSF:JAVADOC:2430
- Set the attribute name.
- jakarta.faces.webapp
- AttributeTag
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2431
- Set the attribute value.
- jakarta.faces.webapp
- AttributeTag
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2432
-
- jakarta.faces.webapp
- ConverterELTag
-
-
-
- JSF:JAVADOC:2433
- Create a new instance of the specified Converter class, and register it with the UIComponent instance associated with our most immediately surrounding UIComponentClassicTagBase instance, if the UIComponent instance was created by this execution of the containing JSP page. If the localValue of the UIComponent is a String, attempt to convert it.
- jakarta.faces.webapp
- ConverterELTag
-
-
-
- JSF:JAVADOC:2434
- if a JSP error occurs
- jakarta.faces.webapp
- ConverterELTag
-
- JspException
-
-
-
- JSF:JAVADOC:2435
-
- jakarta.faces.webapp
- ConverterTag
-
-
-
- JSF:JAVADOC:2436
- Create a new instance of the specified Converter class, and register it with the UIComponent instance associated with our most immediately surrounding UIComponentTag instance, if the UIComponent instance was created by this execution of the containing JSP page. If the localValue of the UIComponent is a String, attempt to convert it.
- jakarta.faces.webapp
- ConverterTag
-
-
-
- JSF:JAVADOC:2437
- if a JSP error occurs
- jakarta.faces.webapp
- ConverterTag
-
- JspException
-
-
-
- JSF:JAVADOC:2438
- Release references to any acquired resources.
- jakarta.faces.webapp
- ConverterTag
-
-
-
- JSF:JAVADOC:2439
- Set the expression that will be used to create a ValueExpression that references a backing bean property of the Converter instance to be created.
- jakarta.faces.webapp
- ConverterTag
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2440
- if a JSP error occurs
- jakarta.faces.webapp
- ConverterTag
-
-
- java.lang.String
-
- JspException
-
-
-
- JSF:JAVADOC:2441
- Set the identifer of the Converter instance to be created.
- jakarta.faces.webapp
- ConverterTag
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2442
- Release all resources acquired at startup time.
- jakarta.faces.webapp
- FacesServlet
-
-
-
- JSF:JAVADOC:2443
-
- jakarta.faces.webapp
- FacesServlet
-
-
-
- JSF:JAVADOC:2444
- Return the ServletConfig instance for this servlet.
- jakarta.faces.webapp
- FacesServlet
-
-
-
- JSF:JAVADOC:2445
- Return information about this Servlet.
- jakarta.faces.webapp
- FacesServlet
-
-
-
- JSF:JAVADOC:2446
- Acquire the factory instances we will require.
- jakarta.faces.webapp
- FacesServlet
-
-
- ServletConfig
-
-
-
-
- JSF:JAVADOC:2447
- if, for any reason, the startup of this Faces application failed. This includes errors in the config file that is parsed before or during the processing of this init() method.
- jakarta.faces.webapp
- FacesServlet
-
-
- ServletConfig
-
- ServletException
-
-
-
- JSF:JAVADOC:2449
- if an input/output error occurs during processing
- jakarta.faces.webapp
- FacesServlet
-
-
- ServletRequest
- ServletResponse
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2450
- if a servlet error occurs during processing
- jakarta.faces.webapp
- FacesServlet
-
-
- ServletRequest
- ServletResponse
-
- ServletException
-
-
-
- JSF:JAVADOC:2451
- Return EVAL_BODY_INCLUDE to cause nested body content to be evaluated.
- jakarta.faces.webapp
- FacetTag
-
-
-
- JSF:JAVADOC:2452
-
- jakarta.faces.webapp
- FacetTag
-
- JspException
-
-
-
- JSF:JAVADOC:2453
-
- jakarta.faces.webapp
- FacetTag
-
-
-
- JSF:JAVADOC:2454
- Return the name to be assigned to this facet.
- jakarta.faces.webapp
- FacetTag
-
-
-
- JSF:JAVADOC:2455
- Release any resources allocated by this tag instance.
- jakarta.faces.webapp
- FacetTag
-
-
-
- JSF:JAVADOC:2456
- Set the name to be assigned to this facet.
- jakarta.faces.webapp
- FacetTag
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2457
- Create and return a A new ExceptionHandler instance. The implementation must return an ExceptionHandler instance suitable for the environment. For example, in some cases it may be desirable for an ExceptionHandler to write error information to the response instead of throwing exceptions as in the case of Ajax applications.
- jakarta.faces.webapp
- PreJsf2ExceptionHandlerFactory
-
-
-
- JSF:JAVADOC:2458
-
- jakarta.faces.webapp
- PreJsf2ExceptionHandlerFactory
-
-
-
- JSF:JAVADOC:2459
-
- jakarta.faces.webapp
- UIComponentBodyTag
-
-
-
- JSF:JAVADOC:2460
- Perform any processing necessary to handle the content implications of CASE 4 in the class description. Return result from #getDoAfterBodyValue
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
-
- JSF:JAVADOC:2461
- if an error is encountered
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
- JspException
-
-
-
- JSF:JAVADOC:2462
- Perform any processing necessary to handle the content implications of CASE 3 in the class description. The default implementation, which is intended to be sufficient for most components, calls #createVerbatimComponentFromBodyContent on this instance and adds it as a child of the component for this tag's component at the end of the child list. In addition, the following housekeeping steps are taken. Retrieve from the UIComponent the set of component ids of child components created by UIComponentTag instances the last time this page was processed (if any). Compare it to the list of children created during this page processing pass, and remove all children present in the old list but not the new. Save the new list as a component attribute so that it gets saved as part of the component's state. Retrieve from the UIComponent the set of facet names of facets created by UIComponentTag instances the last time this page was processed (if any). Compare it to the list of facets created during this page processing pass, and remove all facets present in the old list but not the new. Save the new list as a component attribute so that it gets saved as part of the component's state. Release all references to the component, and pop it from the component stack for this response, removing the stack if this was the outermost component. The flag value to be returned is acquired by calling the getDoEndValue() method, which tag subclasses may override if they do not want the default value.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
-
- JSF:JAVADOC:2463
- if an error occurs
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
- JspException
-
-
-
- JSF:JAVADOC:2464
- Prepare for evaluation of the body. This method is invoked by the JSP page implementation object after setBodyContent() and before the first time the body is to be evaluated. This method will not be invoked for empty tags or for non-empty tags whose doStartTag() method returns SKIP_BODY or EVAL_BODY_INCLUDE.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
-
- JSF:JAVADOC:2465
- if an error is encountered
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
- JspException
-
-
-
- JSF:JAVADOC:2466
- Perform any processing necessary to find (or create) the UIComponent instance in the view corresponding to this tag instance in the page and, if and only if a component was created, insert it into the tree at the proper location as expected by the page author. Secondarily, cause a transient UIOutput component to be created and placed in the tree before the UIComponent instance for this tag. The value of this UIOutput component must include anything covered by CASE 1 or CASE 2 in the class description. The default implementation, which is intended to be sufficient for most components, implements this secondary requirement by calling #getParentUIComponentClassicTagBase, and calling #createVerbatimComponentFromBodyContent on the result. It then adds the returned component to the tree before the actual component for this tag instance instance by calling #addVerbatimBeforeComponent. Before returning, the component is pushed onto the component stack for this response to enable the #getParentUIComponentClassicTagBase method to work properly. The flag value to be returned is acquired by calling the getDoStartValue() method, which tag subclasses may override if they do not want the default value.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
-
- JSF:JAVADOC:2467
- if an error occurs
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
- JspException
-
-
-
- JSF:JAVADOC:2468
-
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
-
- JSF:JAVADOC:2469
- Return the UIComponent instance that is associated with this tag instance. This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
-
- JSF:JAVADOC:2470
- Return true if we dynamically created a new component instance during execution of this tag. This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
-
- JSF:JAVADOC:2471
-
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
-
- JSF:JAVADOC:2472
- Return the Tag that is the parent of this instance.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
-
- JSF:JAVADOC:2473
- Locate and return the nearest enclosing UIComponentClassicTagBase if any; otherwise, return null.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
- PageContext
-
-
-
-
- JSF:JAVADOC:2474
- Get the JspWriter from our BodyContent.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
-
- JSF:JAVADOC:2475
- Release any resources allocated during the execution of this tag handler.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
-
- JSF:JAVADOC:2476
- Set the bodyContent for this tag handler. This method is invoked by the JSP page implementation object at most once per action invocation, before doInitiBody(). This method will not be invoked for empty tags or for non-empty tags whose doStartTag() method returns SKIP_BODY or EVAL_BODY_INCLUDE.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
- BodyContent
-
-
-
-
- JSF:JAVADOC:2477
- Set the component identifier for our component. If the argument begins with UIViewRoot#UNIQUE_ID_PREFIX throw an IllegalArgumentException
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2478
- if the argument is non-null and starts with UIViewRoot#UNIQUE_ID_PREFIX.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:2479
- Defined on JspIdConsumer. This method is called by the container before #doStartTag. The argument is guaranteed to be unique within the page. IMPLEMENTATION NOTE: This method will detect where we are in an include and assign a unique ID for each include in a particular 'logical page'. This allows us to avoid possible duplicate ID situations for included pages that have components without explicit IDs.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2480
- Set the PageContext of the page containing this tag instance.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
- PageContext
-
-
-
-
- JSF:JAVADOC:2481
- Set the Tag that is the parent of this instance.
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
- Tag
-
-
-
-
- JSF:JAVADOC:2482
-
- jakarta.faces.webapp
- UIComponentClassicTagBase
-
-
-
- JSF:JAVADOC:2483
- Release any resources allocated during the execution of this tag handler.
- jakarta.faces.webapp
- UIComponentELTag
-
-
-
- JSF:JAVADOC:2484
- Set the value expression for our component.
- jakarta.faces.webapp
- UIComponentELTag
-
-
- ValueExpression
-
-
-
-
- JSF:JAVADOC:2485
- if an error occurs
- jakarta.faces.webapp
- UIComponentELTag
-
-
- ValueExpression
-
- JspException
-
-
-
- JSF:JAVADOC:2486
- Set an override for the rendered attribute.
- jakarta.faces.webapp
- UIComponentELTag
-
-
- ValueExpression
-
-
-
-
- JSF:JAVADOC:2487
-
- jakarta.faces.webapp
- UIComponentELTag
-
-
-
- JSF:JAVADOC:2488
- Locate and return the nearest enclosing UIComponentTag if any; otherwise, return null.
- jakarta.faces.webapp
- UIComponentTag
-
-
- PageContext
-
-
-
-
- JSF:JAVADOC:2489
- Return true if the specified value conforms to the syntax requirements of a value binding expression. Such expressions ` * may be used on most component tag attributes to signal a desire for deferred evaluation of the attribute or property value to be set on the underlying UIComponent.
- jakarta.faces.webapp
- UIComponentTag
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2490
- if value is null
- jakarta.faces.webapp
- UIComponentTag
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2491
- Release any resources allocated during the execution of this tag handler.
- jakarta.faces.webapp
- UIComponentTag
-
-
-
- JSF:JAVADOC:2492
- Set the value binding expression for our component.
- jakarta.faces.webapp
- UIComponentTag
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2493
-
- jakarta.faces.webapp
- UIComponentTag
-
-
- java.lang.String
-
- JspException
-
-
-
- JSF:JAVADOC:2494
- if the specified binding is not a valid value binding expression.
- jakarta.faces.webapp
- UIComponentTag
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:2495
- Set an override for the rendered attribute.
- jakarta.faces.webapp
- UIComponentTag
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2496
-
- jakarta.faces.webapp
- UIComponentTag
-
-
-
- JSF:JAVADOC:2497
- Return the UIComponent instance that is associated with this tag instance. This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.
- jakarta.faces.webapp
- UIComponentTagBase
-
-
-
- JSF:JAVADOC:2498
- Return the component type for the component that is or will be bound to this tag. This value can be passed to jakarta.faces.application.Application#createComponent to create the UIComponent instance for this tag. Subclasses must override this method to return the appropriate value.
- jakarta.faces.webapp
- UIComponentTagBase
-
-
-
- JSF:JAVADOC:2499
- Return true if we dynamically created a new component instance during execution of this tag. This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.
- jakarta.faces.webapp
- UIComponentTagBase
-
-
-
- JSF:JAVADOC:2500
- Return the rendererType property that selects the Renderer to be used for encoding this component, or null to ask the component to render itself directly. Subclasses must override this method to return the appropriate value.
- jakarta.faces.webapp
- UIComponentTagBase
-
-
-
- JSF:JAVADOC:2501
- Set the component identifier for the component corresponding to this tag instance. If the argument begins with jakarta.faces.component.UIViewRoot#UNIQUE_ID_PREFIX throw an IllegalArgumentException
- jakarta.faces.webapp
- UIComponentTagBase
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2502
- if the argument is non-null and starts with jakarta.faces.component.UIViewRoot#UNIQUE_ID_PREFIX.
- jakarta.faces.webapp
- UIComponentTagBase
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:2503
-
- jakarta.faces.webapp
- UIComponentTagBase
-
-
-
- JSF:JAVADOC:2504
- Create a new instance of the specified Validator class, and register it with the UIComponent instance associated with our most immediately surrounding UIComponentTagBase instance, if the UIComponent instance was created by this execution of the containing JSP page.
- jakarta.faces.webapp
- ValidatorELTag
-
-
-
- JSF:JAVADOC:2505
- if a JSP error occurs
- jakarta.faces.webapp
- ValidatorELTag
-
- JspException
-
-
-
- JSF:JAVADOC:2506
-
- jakarta.faces.webapp
- ValidatorELTag
-
-
-
- JSF:JAVADOC:2507
- Create a new instance of the specified Validator class, and register it with the UIComponent instance associated with our most immediately surrounding UIComponentTag instance, if the UIComponent instance was created by this execution of the containing JSP page.
- jakarta.faces.webapp
- ValidatorTag
-
-
-
- JSF:JAVADOC:2508
- if a JSP error occurs
- jakarta.faces.webapp
- ValidatorTag
-
- JspException
-
-
-
- JSF:JAVADOC:2509
- Release references to any acquired resources.
- jakarta.faces.webapp
- ValidatorTag
-
-
-
- JSF:JAVADOC:2510
- Set the expression that will be used to create a ValueExpression that references a backing bean property of the Validator instance to be created.
- jakarta.faces.webapp
- ValidatorTag
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2511
- if a JSP error occurs
- jakarta.faces.webapp
- ValidatorTag
-
-
- java.lang.String
-
- JspException
-
-
-
- JSF:JAVADOC:2512
- Set the identifer of the Validator instance to be created.
- jakarta.faces.webapp
- ValidatorTag
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2513
-
- jakarta.faces.webapp
- ValidatorTag
-
-
-
- JSF:JAVADOC:49
- Instantiate and return a new UIComponent instance from the argument Resource. An algorithm semantically equivalent to the following must be followed to instantiate the UIComponent to return. Obtain a reference to the ViewDeclarationLanguage for this Application instance by calling ViewHandler#getViewDeclarationLanguage, passing the viewId found by calling jakarta.faces.component.UIViewRoot#getViewId on the jakarta.faces.component.UIViewRoot in the argument FacesContext. Obtain a reference to the composite component metadata for this composite component by calling ViewDeclarationLanguage#getComponentMetadata, passing the facesContext and componentResource arguments to this method. This version of JSF specification uses JavaBeans as the API to the component metadata. Determine if the component author declared a componentType for this component instance by obtaining the BeanDescriptor from the component metadata and calling its getValue() method, passing UIComponent#COMPOSITE_COMPONENT_TYPE_KEY as the argument. If non-null, the result must be a ValueExpression whose value is the component-type of the UIComponent to be created for this Resource component. Call through to #createComponent(java.lang.String) to create the component. Otherwise, determine if a script based component for this Resource can be found by calling ViewDeclarationLanguage#getScriptComponentResource. If the result is non-null, and is a script written in one of the languages listed in JSF.4.3 of the specification prose document, create a UIComponent instance from the script resource. Otherwise, let library-name be the return from calling Resource#getLibraryName on the argument componentResource and resource-name be the return from calling Resource#getResourceName on the argument componentResource. Create a fully qualified Java class name by removing any file extension from resource-name and let fqcn be library-name + "." + resource-name. If a class with the name of fqcn cannot be found, take no action and continue to the next step. If any of InstantiationException, IllegalAccessException, or ClassCastException are thrown, wrap the exception in a FacesException and re-throw it. If any other exception is thrown, log the exception and continue to the next step. If none of the previous steps have yielded a UIComponent instance, call #createComponent(java.lang.String) passing "jakarta.faces.NamingContainer" as the argument. Call UIComponent#setRendererType on the UIComponent instance, passing "jakarta.faces.Composite" as the argument. Store the argument Resource in the attributes Map of the UIComponent under the key, Resource#COMPONENT_RESOURCE_KEY. Store composite component metadata in the attributes Map of the UIComponent under the key, UIComponent#BEANINFO_KEY. Before the component instance is returned, it must be inspected for the presence of a jakarta.faces.event.ListenerFor annotation. If this annotation is present, the action listed in jakarta.faces.event.ListenerFor must be taken on the component, before it is returned from this method. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
-
-
-
- JSF:JAVADOC:97
- if any arguments except for sourceBaseType are null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.Class
- java.lang.Class
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:410
- Return the submittedValue value of this component. This method should only be used by the encodeBegin() and/or encodeEnd() methods of this component, or its corresponding Renderer. The action taken based on whether the value is null, empty, or non-null is determined based on the value of the jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULLcontext-param.
- jakarta.faces.component
- EditableValueHolder
-
-
-
- JSF:JAVADOC:426
- Set the submittedValue value of this component. This method should only be used by the decode() and validate() method of this component, or its corresponding Renderer. The action taken based on whether the value is null, empty, or non-null is determined based on the value of the jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULLcontext-param.
- jakarta.faces.component
- EditableValueHolder
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:443
- Perform any processing required to restore the state from the entries in the state Object. If the class that implements this interface has references to instances that also implement StateHolder (such as a UIComponent with event handlers, validators, etc.) this method must call the #restoreState method on all those instances as well. If the state argument is null, take no action and return.
- jakarta.faces.component
- StateHolder
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:444
- if context is null.
- jakarta.faces.component
- StateHolder
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:478
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type. Listeners are called in the order in which they were added. If the event is an instance of jakarta.faces.event.BehaviorEvent and the current component is the source of the event call jakarta.faces.event.BehaviorEvent#getBehavior to get the jakarta.faces.component.behavior.Behavior for the event. Call jakarta.faces.component.behavior.Behavior#broadcast(jakarta.faces.event.BehaviorEvent) on the Behavior instance.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
- JSF:JAVADOC:502
- Return a mutable List representing the child UIComponents associated with this component. The returned implementation must support all of the standard and optional List methods, plus support the following additional requirements: The List implementation must implement the java.io.Serializable interface. Any attempt to add a null must throw a NullPointerException Any attempt to add an object that does not implement UIComponent must throw a ClassCastException. Whenever a new child component is added, the parent property of the child must be set to this component instance. If the parent property of the child was already non-null, the child must first be removed from its previous parent (where it may have been either a child or a facet). Whenever an existing child component is removed, the parent property of the child must be set to null. After the child component has been added to the view, jakarta.faces.application.Application#publishEvent must be called, passing jakarta.faces.event.PostAddToViewEvent.class as the first argument and the newly added component as the second argument if any the following cases are true. jakarta.faces.context.FacesContext#getCurrentPhaseId returns jakarta.faces.event.PhaseId#RESTORE_VIEW and partial state saving is enabled. jakarta.faces.context.FacesContext#isPostback returns false and jakarta.faces.context.FacesContext#getCurrentPhaseId returns something other than jakarta.faces.event.PhaseId#RESTORE_VIEW
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:519
- This implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class. UIComponentBase provides the implementation of this method.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:531
- Starting at this component in the View hierarchy, search for a component with a clientId equal to the argument clientId and, if found, call the ContextCallback#invokeContextCallback method on the argument callback, passing the current FacesContext and the found component as arguments. This method is similar to #findComponent but it does not support the leading UINamingContainer#getSeparatorChar syntax for searching from the root of the View. The default implementation will first check if this.getClientId() is equal to the argument clientId. If so, first call #pushComponentToEL, then call the ContextCallback#invokeContextCallback method on the argument callback, passing through the FacesContext argument and passing this as the component argument. Then call #popComponentFromEL. If an Exception is thrown by the callback, wrap it in a FacesException and re-throw it. Otherwise, return true. Otherwise, for each component returned by #getFacetsAndChildren, call invokeOnComponent() passing the arguments to this method, in order. The first time invokeOnComponent() returns true, abort traversing the rest of the Iterator and return true. When calling ContextCallback#invokeContextCallback the implementation of this method must guarantee that the state of the component passed to the callback correctly reflects the component's position in the View hierarchy with respect to any state found in the argument clientId. For example, an iterating component such as UIData will need to set its row index to correctly reflect the argument clientId before finding the appropriate child component backed by the correct row. When the callback returns, either normally or by throwing an Exception the implementation of this method must restore the state of the view to the way it was before invoking the callback. If none of the elements from #getFacetsAndChildren returned true from invokeOnComponent(), return false. Simple usage example to find a component by clientId. private UIComponent found = null; private void doFind(FacesContext context, String clientId) { context.getViewRoot().invokeOnComponent(context, clientId, new ContextCallback() { public void invokeContextCallback(FacesContext context, UIComponent component) { found = component; } }); }
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
- JSF:JAVADOC:551
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. If the rendered property of this UIComponent is false, skip further processing. Call #pushComponentToEL. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). After returning from calling getFacetsAndChildren() call UIComponent#popComponentFromEL.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:561
- Set the parent UIComponent of this UIComponent. If parent.isInView() returns true, calling this method will first cause a jakarta.faces.event.PreRemoveFromViewEvent to be published, for this node, and then the children of this node. Then, once the re-parenting has occurred, a jakarta.faces.event.PostAddToViewEvent will be published as well, first for this node, and then for the node's children, but only if any of the following conditions are true. jakarta.faces.context.FacesContext#getCurrentPhaseId returns jakarta.faces.event.PhaseId#RESTORE_VIEW and partial state saving is enabled. jakarta.faces.context.FacesContext#isPostback returns false and jakarta.faces.context.FacesContext#getCurrentPhaseId returns something other than jakarta.faces.event.PhaseId#RESTORE_VIEW This method must never be called by developers; a UIComponent's internal implementation will call it as components are added to or removed from a parent's child List or facet Map.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:570
- This implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class. UIComponentBase provides the implementation of this method.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.Class
- jakarta.faces.event.ComponentSystemEventListener
-
-
-
-
- JSF:JAVADOC:573
- This implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class. UIComponentBase provides the implementation of this method.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.Class
- jakarta.faces.event.ComponentSystemEventListener
-
-
-
-
- JSF:JAVADOC:577
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type. Listeners are called in the order in which they were added. If the event is an instance of jakarta.faces.event.BehaviorEvent and the current component is the source of the event call jakarta.faces.event.BehaviorEvent#getBehavior to get the jakarta.faces.component.behavior.Behavior for the event. Call jakarta.faces.component.behavior.Behavior#broadcast(jakarta.faces.event.BehaviorEvent) on the Behavior instance.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
- JSF:JAVADOC:598
- Return a mutable List representing the child UIComponents associated with this component. The returned implementation must support all of the standard and optional List methods, plus support the following additional requirements: The List implementation must implement the java.io.Serializable interface. Any attempt to add a null must throw a NullPointerException Any attempt to add an object that does not implement UIComponent must throw a ClassCastException. Whenever a new child component is added, the parent property of the child must be set to this component instance. If the parent property of the child was already non-null, the child must first be removed from its previous parent (where it may have been either a child or a facet). Whenever an existing child component is removed, the parent property of the child must be set to null. After the child component has been added to the view, jakarta.faces.application.Application#publishEvent must be called, passing jakarta.faces.event.PostAddToViewEvent.class as the first argument and the newly added component as the second argument if any the following cases are true. jakarta.faces.context.FacesContext#getCurrentPhaseId returns jakarta.faces.event.PhaseId#RESTORE_VIEW and partial state saving is enabled. jakarta.faces.context.FacesContext#isPostback returns false and jakarta.faces.context.FacesContext#getCurrentPhaseId returns something other than jakarta.faces.event.PhaseId#RESTORE_VIEW
- jakarta.faces.component
- UIComponentBase
-
-
-
- JSF:JAVADOC:628
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. If the rendered property of this UIComponent is false, skip further processing. Call #pushComponentToEL. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). After returning from calling getFacetsAndChildren() call UIComponent#popComponentFromEL.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:642
- Set the parent UIComponent of this UIComponent. If parent.isInView() returns true, calling this method will first cause a jakarta.faces.event.PreRemoveFromViewEvent to be published, for this node, and then the children of this node. Then, once the re-parenting has occurred, a jakarta.faces.event.PostAddToViewEvent will be published as well, first for this node, and then for the node's children, but only if any of the following conditions are true. jakarta.faces.context.FacesContext#getCurrentPhaseId returns jakarta.faces.event.PhaseId#RESTORE_VIEW and partial state saving is enabled. jakarta.faces.context.FacesContext#isPostback returns false and jakarta.faces.context.FacesContext#getCurrentPhaseId returns something other than jakarta.faces.event.PhaseId#RESTORE_VIEW This method must never be called by developers; a UIComponent's internal implementation will call it as components are added to or removed from a parent's child List or facet Map.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:694
- Set the zero relative index of the current row, or -1 to indicate that no row is currently selected, by implementing the following algorithm. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. To support transient state among descendents, please consult the specification for #setRowStatePreserved, which details the requirements for setRowIndex() when the rowStatePreserved JavaBeans property is set to true. Save current state information for all descendant components (as described below). Store the new row index, and pass it on to the DataModel associated with this UIData instance. If the new rowIndex value is -1: If the var property is not null, remove the corresponding request scope attribute (if any). Reset the state information for all descendant components (as described below). If the new rowIndex value is not -1: If the var property is not null, call getRowData() and expose the resulting data object as a request scope attribute whose key is the var property value. Reset the state information for all descendant components (as described below). To save current state information for all descendant components, UIData must maintain per-row information for each descendant as follows: If the descendant is an instance of EditableValueHolder, save the state of its localValue property. If the descendant is an instance of EditableValueHolder, save the state of the localValueSet property. If the descendant is an instance of EditableValueHolder, save the state of the valid property. If the descendant is an instance of EditableValueHolder, save the state of the submittedValue property. To restore current state information for all descendant components, UIData must reference its previously stored information for the current rowIndex and call setters for each descendant as follows: If the descendant is an instance of EditableValueHolder, restore the value property. If the descendant is an instance of EditableValueHolder, restore the state of the localValueSet property. If the descendant is an instance of EditableValueHolder, restore the state of the valid property. If the descendant is an instance of EditableValueHolder, restore the state of the submittedValue property.
- jakarta.faces.component
- UIData
-
-
- int
-
-
-
-
- JSF:JAVADOC:710
- Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed value can be supplied by component creators which should be included in the generated unique id. If the prependId property has the value false, this method must call createUniqueId on the next ancestor UniqueIdVendor.
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:714
- Returns the current value of the submitted property. The default value is false. See #setSubmitted for details. This property must be kept as a transient property using the UIComponent#getTransientStateHelper.
- jakarta.faces.component
- UIForm
-
-
-
- JSF:JAVADOC:722
- If this UIForm instance (as opposed to other forms in the page) is experiencing a submit during this request processing lifecycle, this method must be called, with true as the argument, during the UIComponent#decode for this UIForm instance. If this UIForm instance is not experiencing a submit, this method must be called, with false as the argument, during the UIComponent#decode for this UIForm instance. The value of a UIForm's submitted property must not be saved as part of its state. This property must be kept as a transient property using the UIComponent#getTransientStateHelper.
- jakarta.faces.component
- UIForm
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:790
- Return the Identifier of the component for which to render error messages. If this component is within the same NamingContainer as the target component, this must be the component identifier. Otherwise, it must be an absolute component identifier (starting with ":"). See the UIComponent#findComponent for more information.
- jakarta.faces.component
- UIMessage
-
-
-
- JSF:JAVADOC:794
- Set the identifier of the component for which this component represents associated message(s) (if any). This property must be set before the message is displayed.
- jakarta.faces.component
- UIMessage
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:826
- Gets the value of this UIComponent. If validation failed, as indicated by jakarta.faces.context.FacesContext#isValidationFailed returning true, always return the local value. Otherwise, first, consult the local value property of this component. If non-null return it. If null, see if we have a ValueExpression for the value property. If so, return the result of evaluating the property, otherwise return null. Note that because the specification for UIComponent#setValueBinding requires a call through to UIComponent#setValueExpression, legacy tags will continue to work.
- jakarta.faces.component
- UIOutput
-
-
-
- JSF:JAVADOC:937
- The default implementation must call UIComponentBase#processRestoreState from within a try block. The try block must have a finally block that ensures that no FacesEvents remain in the event queue.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:966
- Gets the value of this UIComponent. If validation failed, as indicated by jakarta.faces.context.FacesContext#isValidationFailed returning true, always return the local value. Otherwise, first, consult the local value property of this component. If non-null return it. If null, see if we have a ValueExpression for the value property. If so, return the result of evaluating the property, otherwise return null. Note that because the specification for UIComponent#setValueBinding requires a call through to UIComponent#setValueExpression, legacy tags will continue to work.
- jakarta.faces.component
- ValueHolder
-
-
-
- JSF:JAVADOC:1156
- Return a mutable Map representing the session scope attributes for the current application. The returned Map must implement the entire contract for a modifiable map as described in the JavaDocs for java.util.Map. Modifications made in the Map must cause the corresponding changes in the set of session scope attributes. Particularly the clear(), remove(), put(), and get() operations must take the appropriate action on the underlying data structure. Accessing attributes via this Map must cause the creation of a session associated with the current request, if such a session does not already exist. For any of the Map methods that cause an element to be removed from the underlying data structure, the following action regarding managed-beans must be taken. If the element to be removed is a managed-bean, and it has one or more public no-argument void return methods annotated with jakarta.annotation.PreDestroy, each such method must be called before the element is removed from the underlying data structure. Elements that are not managed-beans, but do happen to have methods with that annotation must not have those methods called on removal. Any exception thrown by the PreDestroy annotated methods must by caught and not rethrown. The exception may be logged. Servlet: This must be the set of attributes available via the javax.servlet.http.HttpSession methods getAttribute(), getAttributeNames(), removeAttribute(), and setAttribute().
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:1198
- The default behavior of this method is to call ExternalContext#encodePartialActionURL(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1245
- The default behavior of this method is to call ExternalContext#getSessionMap() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:1288
- Return the maximum severity level recorded on any jakarta.faces.application.FacesMessages that has been queued, whether or not they are associated with any specific jakarta.faces.component.UIComponent. If no such messages have been queued, return null.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:1336
- Set the root component that is associated with this request. This method can be called by the application handler (or a class that the handler calls), during the Invoke Application phase of the request processing lifecycle and during the Restore View phase of the request processing lifecycle (especially when a new root component is created). In the present version of the specification, implementations are not required to enforce this restriction, though a future version of the specification may require enforcement. If the current UIViewRoot is non-null, and calling equals() on the argument root, passing the current UIViewRoot returns false, the clear method must be called on the Map returned from UIViewRoot#getViewMap.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:1500
- Write a URI attribute name and corresponding value, after converting that text to a String (if necessary), and after performing any encoding or escaping appropriate to the markup language being rendered. When rendering in a WWW environment, the escaping conventions established in the W3C URI spec document must be followed. In particular, spaces ' ' must be encoded as %20 and not the plus character '+'. This method may only be called after a call to startElement(), and before the opened element has been closed.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1876
- Return true if this FacesListener is an instance of a the appropriate listener class that this event supports. The default implementation returns true if the listener is a ComponentSystemEventListener.
- jakarta.faces.event
- SystemEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:2197
- Perform any processing required to restore the state from the entries in the state Object. If the class that implements this interface has references to instances that also implement StateHolder (such as a UIComponent with event handlers, validators, etc.) this method must call the #restoreState method on all those instances as well. If the state argument is null, take no action and return.
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2198
- if context is null.
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2241
- Restore the state of the view with information in the request. The default implementation must perform the following algorithm or its semantic equivalent. As in the case of restore view on an initial request, the view metadata must be restored and properly handled as well. Obtain the ViewMetadata for the current viewId, and from that call ViewMetadata#createMetadataView. Store the resultant UIViewRoot in the FacesContext. Obtain the state of the UIViewRoot from the state Object returned from jakarta.faces.render.ResponseStateManager#getState and pass that to UIViewRoot#restoreViewScopeState. Build the view from the markup. For all components in the view that do not have an explicitly assigned id in the markup, the values of those ids must be the same as on an initial request for this view. This view will not contain any components programmatically added during the previous lifecycle run, and it will contain components that were programmatically deleted on the previous lifecycle run. Both of these cases must be handled. Call jakarta.faces.render.ResponseStateManager#getState to obtain the data structure returned from the previous call to #saveView. Visit the tree using jakarta.faces.component.UIComponent#visitTree. For each node, call jakarta.faces.component.UIComponent#restoreState, passing the state saved corresponding to the current client id. Ensure that any programmatically deleted components are removed. Ensure any programmatically added components are added. The implementation must ensure that the jakarta.faces.component.UIComponent#restoreState method is called for each node in the tree, except for those that were programmatically deleted on the previous run through the lifecycle.
- jakarta.faces.view
- StateManagementStrategy
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2244
- Take any actions specific to this VDL implementation to cause the argument UIViewRoot which must have been created via a call to #createView, to be populated with children. The Facelets implementation must insure that markup comprising the view must be executed, with the jakarta.faces.component.UIComponent instances in the view being encountered in the same depth-first order as in other lifecycle methods defined on UIComponent, and added to the view (but not rendered) during the traversal. The runtime must guarantee that the view must be fully populated before any of the following happen. The jakarta.faces.event.PhaseListener#afterPhase method of any PhaseListeners attached to the application is called The jakarta.faces.component.UIViewRoot phase listener installed via jakarta.faces.component.UIViewRoot#setAfterPhaseListener or jakarta.faces.component.UIViewRoot#addPhaseListener are called. If the root is already populated with children, the view must still be re-built, but care must be taken to ensure that the existing components are correctly paired up with their VDL counterparts in the VDL page. Also, any system events that would normally be generated during the adding or removing of components from the view must be temporarily disabled during the creation of the view and then re-enabled when the view has been built.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:2270
- Return the ViewDeclarationLanguage instance suitable for handling the VDL contained in the page referenced by the argument viewId. The default implementation must return a valid ViewDeclarationLanguage instance for views written in either JSP, Faces XML Views, or Facelets for JSF 2.
- jakarta.faces.view
- ViewDeclarationLanguageFactory
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2300
- Invoke the apply() method on this instance's TagHandler#nextHandler.
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2514
- if called after the first request to the jakarta.faces.webapp.FacesServlet has been serviced.
- jakarta.faces.application
- Application
-
-
- ELResolver
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:2515
-
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
-
- JSF:JAVADOC:2516
- Return the NavigationCase representing the navigation that would be taken had NavigationHandler#handleNavigation been called with the same arguments or null if there is no such case.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2517
- if context is null
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2518
- Return a Map where the keys are values and the values are Set where each element in the Set is a NavigationCase that applies to that . The implementation must support live modifications to this Map.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
-
- JSF:JAVADOC:2519
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
-
- JSF:JAVADOC:2520
- Perform navigation processing based on the state information in the specified FacesContext, plus the outcome string returned by an executed application action. If the implementation class also extends ConfigurableNavigationHandler, the implementation must guarantee that the logic used in a call to ConfigurableNavigationHandler#getNavigationCase is used in this method to determine the correct navigation. This method must set the render targets (used in partial rendering) to render all invoking jakarta.faces.context.PartialViewContext#setRenderAll) if the view identifier has changed as the result of an application action (to take into account Ajax requests).
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2521
- if context is null
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2523
- if this method is called after this instance has been released
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- java.lang.String
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:2525
- if resourceId is null.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2526
- The default behavior of this method is to call ResourceHandler#createResourceFromId(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2527
- The default behavior of this method is to call Resource#getContentType() on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
- JSF:JAVADOC:2528
- The default behavior of this method is to call Resource#getLibraryName() on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
- JSF:JAVADOC:2529
- The default behavior of this method is to call Resource#getResourceName() on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
- JSF:JAVADOC:2530
- The default behavior of this method is to call Resource#setContentType(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2531
- The default behavior of this method is to call Resource#setLibraryName(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2532
- The default behavior of this method is to call Resource#setResourceName(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2534
- The default behavior of this method is to call ViewHandler#deriveLogicalViewId(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2535
- Return the value currently associated with the specified key if any.
- jakarta.faces.component
- TransientStateHelper
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2536
- Performs the same logic as #getTransient } but if no value is found, this will return the specified defaultValue
- jakarta.faces.component
- TransientStateHelper
-
-
- java.lang.Object
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2537
- Return the previously stored value and store the specified key/value pair. This is intended to store data that would otherwise reside in an instance variable on the component.
- jakarta.faces.component
- TransientStateHelper
-
-
- java.lang.Object
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2538
- Restore the "transient state" using the object passed as state. If the state argument is null clear any previous transient state if any and return.
- jakarta.faces.component
- TransientStateHolder
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2539
- Return the object containing related "transient states". that could be used later to restore the "transient state".
- jakarta.faces.component
- TransientStateHolder
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2540
- Return the TransientStateHelper instance for this UIComponent instance. The default implementation simply calls through to #getTransientStateHelper(boolean) passing true as the argument.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:2541
- Return the TransientStateHelper instance for this UIComponent instance.
- jakarta.faces.component
- UIComponent
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2542
- For components that need to support the concept of transient state, this method will restore any state saved on a prior call to #saveTransientState.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2543
- For components that need to support the concept of transient state, this method will save any state that is known to be transient in nature.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2544
- Return the SystemEventListener instances registered on this UIComponent instance that are interested in events of type eventClass.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:2545
- if argument eventClass is null.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.Class
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2546
- Install the listener instance referenced by argument componentListener as a listener for events of type eventClass originating from this specific instance of UIComponent. The default implementation creates an inner SystemEventListener instance that wraps argument componentListener as the listener argument. This inner class must call through to the argument componentListener in its implementation of SystemEventListener#processEvent and its implementation of SystemEventListener#isListenerForSource must return true if the instance class of this UIComponent is assignable from the argument to isListenerForSource.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.Class
- jakarta.faces.event.ComponentSystemEventListener
-
-
-
-
- JSF:JAVADOC:2547
- if any of the arguments are null.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.Class
- jakarta.faces.event.ComponentSystemEventListener
-
- <code>NullPointerException</code>
-
-
-
- JSF:JAVADOC:2548
- Remove the listener instance referenced by argument componentListener as a listener for events of type eventClass originating from this specific instance of UIComponent. When doing the comparison to determine if an existing listener is equal to the argument componentListener (and thus must be removed), the equals() method on the existing listener must be invoked, passing the argument componentListener, rather than the other way around.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.Class
- jakarta.faces.event.ComponentSystemEventListener
-
-
-
-
- JSF:JAVADOC:2549
- if any of the arguments are null.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.Class
- jakarta.faces.event.ComponentSystemEventListener
-
- <code>NullPointerException</code>
-
-
-
- JSF:JAVADOC:2550
- Return the value of the rowStatePreserved JavaBeans property. See #setRowStatePreserved.
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:2551
- Override the base class method to take special action if the method is being invoked when StateManager#IS_BUILDING_INITIAL_STATE is true and the rowStatePreserved JavaBeans property for this instance is true. The additional action taken is to traverse the descendents and save their state without regard to any particular row value.
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:2552
-
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2553
-
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2554
- If this property is set to true, the UIData must take steps to ensure that modifications to its iterated children will be preserved on a per-row basis. This allows applications to modify component properties, such as the style-class, for a specific row, rather than having such modifications apply to all rows. To accomplish this, UIData must call StateHolder#saveState and TransientStateHolder#saveTransientState on its children to capture their state on exiting each row. When re-entering the row, StateHolder#restoreState and TransientStateHolder#restoreTransientState must be called in order to reinitialize the children to the correct state for the new row. All of this action must take place during the processing of #setRowIndex. Users should consider enabling this feature for cases where it is necessary to modify properties of UIData's children in a row-specific way. Note, however, that row-level state saving/restoring does add overhead. As such, this feature should be used judiciously.
- jakarta.faces.component
- UIData
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2555
-
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
- JSF:JAVADOC:2556
- Enable the method invocation specified by this component instance to return a value that performs navigation, similar in spirit to UICommand#broadcast. Take no action and return immediately if any of the following conditions are true. The response has already been marked as complete. The current UIViewRoot is different from the event's source's UIViewRoot. Save a local reference to the viewId of the current UIViewRoot. For discussion, let this reference be viewIdBeforeAction. Obtain the ActionListener from the jakarta.faces.application.Application. Wrap the current FacesContext in an implementation of jakarta.faces.context.FacesContextWrapper that overrides the FacesContext#renderResponse method such that it takes no action. Set the current FacesContext to be the FacesContextWrapper instance. Make it so a call to #isProcessingBroadcast on the current FacesContext will return true. This is necessary because the jakarta.faces.application.NavigationHandler will call this method to determine if the navigation is happening as the result of a UIViewAction. Invoke ActionListener#processAction. In a finally block, restore the original FacesContext, make it so a call to #isProcessingBroadcast on the current context will return false and discard the wrapper. If the response has been marked as complete during the invocation of processAction(), take no further action and return. Otherwise, compare viewIdBeforeAction with the viewId of the UIViewRoot on the FacesContext after the invocation of processAction(). If the two viewIds are the same and no more UIViewAction events have been queued by a call to #decode, call FacesContext#renderResponse and return. It is possible to detect the case where no more UIViewAction events have been queued because the number of such events queued has been noted in the specification for #decode. Otherwise, execute the lifecycle on the new UIViewRoot.
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
- JSF:JAVADOC:2557
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.event.FacesEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:2558
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:2559
- if event is null
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2561
-
- jakarta.faces.component
- UIViewAction
-
-
-
- JSF:JAVADOC:2562
-
- jakarta.faces.component
- UIViewAction
-
-
-
- JSF:JAVADOC:2563
-
- jakarta.faces.component
- UIViewAction
-
-
-
- JSF:JAVADOC:2564
-
- jakarta.faces.component
- UIViewAction
-
-
-
- JSF:JAVADOC:2565
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance.
- jakarta.faces.component
- UIViewAction
-
-
-
- JSF:JAVADOC:2566
- Returns the name of the lifecycle phase in which the action is to be queued.
- jakarta.faces.component
- UIViewAction
-
-
-
- JSF:JAVADOC:2567
- If the value of the component's immediate attribute is true, the action will be invoked during the Apply Request Values JSF lifecycle phase. Otherwise, the action will be invoked during the Invoke Application phase, the default behavior. The phase can be set explicitly in the phase attribute, which takes precedence over the immediate attribute.
- jakarta.faces.component
- UIViewAction
-
-
-
- JSF:JAVADOC:2568
- If true this component will operate on postback.
- jakarta.faces.component
- UIViewAction
-
-
-
- JSF:JAVADOC:2569
- Returns true if the current request processing lifecycle is in the midst of processing the broadcast of an event queued during a call to #decode. The implementation of #broadcast is responsible for ensuring that calls to this method accurately reflect this fact.
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2570
- Return true if this component should take the actions specified in the #decode method.
- jakarta.faces.component
- UIViewAction
-
-
-
- JSF:JAVADOC:2571
-
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
- JSF:JAVADOC:2572
-
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.el.MethodBinding
-
-
-
-
- JSF:JAVADOC:2573
-
- jakarta.faces.component
- UIViewAction
-
-
- MethodExpression
-
-
-
-
- JSF:JAVADOC:2574
-
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.el.MethodBinding
-
-
-
-
- JSF:JAVADOC:2575
-
- jakarta.faces.component
- UIViewAction
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2576
- Controls whether or not this component operates on postback.
- jakarta.faces.component
- UIViewAction
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2577
- Attempt to set the lifecycle phase in which this instance will queue its ActionEvent. Pass the argument phase to PhaseId#phaseIdValueOf. If the result is not one of the following values, FacesException must be thrown. PhaseId#APPLY_REQUEST_VALUESPhaseId#PROCESS_VALIDATIONSPhaseId#UPDATE_MODEL_VALUESPhaseId#INVOKE_APPLICATION If set, this value takes precedence over the immediate flag.
- jakarta.faces.component
- UIViewAction
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2578
- Sets the if property of this component.
- jakarta.faces.component
- UIViewAction
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2579
- Create a new UIViewAction instance with default property values.
- jakarta.faces.component
- UIViewAction
-
-
-
- JSF:JAVADOC:2580
- Restore ViewScope state. This is needed to allow the use of view scoped beans for EL-expressions in the template from which the component tree is built. For example: .
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2581
- Return the name of the container context for this application. Servlet: Return the result of calling getContextPath() on the ServletContext instance for this application. It is valid to call this method during application startup or shutdown. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:2582
- Returns the maximum time interval, in seconds, that the servlet container will keep this session open between client accesses. After this interval, the servlet container will invalidate the session. The maximum time interval can be set with the #setSessionMaxInactiveInterval method. A return value of zero or less indicates that the session will never timeout. Servlet: This must return the result of calling getMaxInactiveInterval on the underlying javax.servlet.http.HttpServletRequest instance. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:2583
- Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS. Servlet: This must return the result of calling isSecure on the underlying javax.servlet.http.HttpServletRequest instance. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:2584
- Specifies the time, in seconds, between client requests before the servlet container will invalidate this session. An interval value of zero or less indicates that the session should never timeout. Servlet: This must call setMaxInactiveInterval on the underlying javax.servlet.http.HttpServletRequest instance. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- int
-
-
-
-
- JSF:JAVADOC:2585
- The default behavior of this method is to call ExternalContext#getApplicationContextPath on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:2586
- The default behavior of this method is to call ExternalContext#getSessionMaxInactiveInterval() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:2587
- The default behavior of this method is to call ExternalContext#isSecure on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:2588
- The default behavior of this method is to call ExternalContext#setSessionMaxInactiveInterval(int) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- int
-
-
-
-
- JSF:JAVADOC:2589
- Return a flag indicating if the resources associated with this FacesContext instance have been released.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:2590
- The default behavior of this method is to call FacesContext#isReleased on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:2591
- The default behavior of this method is to call PartialViewContext#setPartialRequest(boolean) on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2592
-
- jakarta.faces.event
- ActionListenerWrapper
-
-
-
- JSF:JAVADOC:2593
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.event
- ActionListenerWrapper
-
-
-
- JSF:JAVADOC:2594
- Invoked when the action described by the specified ActionEvent occurs.
- jakarta.faces.event
- ActionListenerWrapper
-
-
- jakarta.faces.event.ActionEvent
-
-
-
-
- JSF:JAVADOC:2595
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- ActionListenerWrapper
-
-
- jakarta.faces.event.ActionEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
- JSF:JAVADOC:2596
- Return true if the argument FacesListener is an instance of the appropriate listener class that this event supports. The default implementation returns true if the listener is a ComponentSystemEventListener or if super.isAppropriateListener() returns true.
- jakarta.faces.event
- ComponentSystemEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:2597
- Return the name of this phase.
- jakarta.faces.event
- PhaseId
-
-
-
- JSF:JAVADOC:2598
- Return a PhaseId representation of the arcument phase.
- jakarta.faces.event
- PhaseId
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2599
- if argument phase is null.
- jakarta.faces.event
- PhaseId
-
-
- java.lang.String
-
- <code>NullPointerException</code>
-
-
-
- JSF:JAVADOC:2600
- if the PhaseId corresponding to the argument phase cannot be found.
- jakarta.faces.event
- PhaseId
-
-
- java.lang.String
-
- <code>FacesException</code>
-
-
-
- JSF:JAVADOC:2601
- Returns a non-null String that can be used to identify this view declaration language. The default implementation returns the fully qualified class name of the view declaration language implementation. Subclasses may override to provide a more meaningful id.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
-
- JSF:JAVADOC:2603
- Take any actions specific to this VDL implementation to cause the argument UIViewRoot which must have been created via a call to #createView, to be populated with children. The Facelets implementation must insure that markup comprising the view must be executed, with the jakarta.faces.component.UIComponent instances in the view being encountered in the same depth-first order as in other lifecycle methods defined on UIComponent, and added to the view (but not rendered) during the traversal. The runtime must guarantee that the view must be fully populated before any of the following happen. The jakarta.faces.event.PhaseListener#afterPhase method of any PhaseListeners attached to the application is called The jakarta.faces.component.UIViewRoot phase listener installed via jakarta.faces.component.UIViewRoot#setAfterPhaseListener or jakarta.faces.component.UIViewRoot#addPhaseListener are called. If the root is already populated with children, the view must still be re-built, but care must be taken to ensure that the existing components are correctly paired up with their VDL counterparts in the VDL page. Also, any system events that would normally be generated during the adding or removing of components from the view must be temporarily disabled during the creation of the view and then re-enabled when the view has been built.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:2604
-
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2606
- if any of the arguments are null
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2608
- if any of the arguments are null.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2609
- if there is an error in obtaining the metadata
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2610
- if this is a JSP VDL implementation.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- java.lang.UnsupportedOperationException
-
-
-
- JSF:JAVADOC:2611
- Returns a non-null String that can be used to identify this view declaration language. The default implementation returns the fully qualified class name of the view declaration language implementation. Subclasses may override to provide a more meaningful id.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
-
- JSF:JAVADOC:2613
- if any of the arguments are null.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2614
- if there is an error in obtaining the script component resource
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2615
- if this is a JSP VDL implementation.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
- java.lang.UnsupportedOperationException
-
-
-
- JSF:JAVADOC:2616
- For implementations that want to control the implementation of state saving and restoring, the StateManagementStrategy allows them to do so. Returning null indicates that the implementation wishes the runtime to handle the state saving and restoring. Implementations that provide the VDL for Facelets for JSF 2.0 and later must return non-null from this method.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2618
- if any of the arguments are null.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2619
- if there is an error in obtaining the metadata
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2620
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
-
- JSF:JAVADOC:2622
-
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2623
- if any of the arguments are null
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2625
- if any of the arguments are null
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2626
- Assuming the component metadata for argument topLevelComponent has been made available by an earlier call to ViewDeclarationLanguage#getComponentMetadata, leverage the component metadata for the purpose of re-targeting attached objects from the top level composite component to the individual AttachedObjectTarget instances inside the composite component. This method must be called by the ViewDeclarationLanguage implementation when creating the UIComponent tree when a composite component usage is encountered. An algorithm semantically equivalent to the following must be implemented. Obtain the metadata for the composite component. Currently this entails getting the value of the UIComponent#BEANINFO_KEY component attribute, which will be an instance of BeanInfo. If the metadata cannot be found, log an error message and return. Get the BeanDescriptor from the BeanInfo. Get the value of the AttachedObjectTarget#ATTACHED_OBJECT_TARGETS_KEY from the BeanDescriptor's getValue() method. This will be a List<AttachedObjectTarget>. Let this be targetList. For each curHandler entry in the argument handlers Let forAttributeValue be the return from AttachedObjectHandler#getFor. For each curTarget entry in targetList, the first of the following items that causes a match will take this action: For each UIComponent in the list returned from curTarget.getTargets(), call curHandler.applyAttachedObject(), passing the FacesContext and the UIComponent. and cause this inner loop to terminate. If curHandler is an instance of ActionSource2AttachedObjectHandler and curTarget is an instance of ActionSource2AttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a match. If curHandler is an instance of EditableValueHolderAttachedObjectHandler and curTarget is an instance of EditableValueHolderAttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a match. If curHandler is an instance of ValueHolderAttachedObjectHandler and curTarget is an instance of ValueHolderAttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a match. If curHandler is an instance of BehaviorHolderAttachedObjectHandler and curTarget is an instance of BehaviorHolderAttachedObjectTarget, and either of the following conditions are true, curHandler.getEventName() is not null and is equal to curTargetName. curHandler.getEventName() is null and curTarget.isDefaultEvent() is true. consider it a match. The implementation must support retargeting attached objects from the top level compsite component to targets that are composite and non-composite components. An implementation is provided that will throw UnsupportedOperationException. A Faces implementation compliant with version 2.0 and beyond of the specification must override this method.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.util.List
-
-
-
-
- JSF:JAVADOC:2627
- if any of the arguments are null.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.util.List
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2628
- Assuming the component metadata for argument topLevelComponent has been made available by an earlier call to ViewDeclarationLanguage#getComponentMetadata, leverage the component metadata for the purpose of re-targeting any method expressions from the top level component to the appropriate inner component. For each attribute that is a MethodExpression (as indicated by the presence of a "method-signature" attribute and the absence of a "type" attribute), the following action must be taken: Get the value of the targets attribute. If the value is a ValueExpression evaluate it. If there is no targets attribute, let the name of the metadata element be the evaluated value of the targets attribute. Interpret targets as a space (not tab) separated list of ids. For each entry in the list: Find the inner component of the topLevelComponent with the id equal to the current list entry. For discussion, this component is called target. If not found, log and error and continue to the next attribute. For discussion the declared name of the attribute is called name. In the attributes map of the topLevelComponent, look up the entry under the key name. Assume the result is a ValueExpression. For discussion, this is attributeValueExpression. If not found, log an error and continue to the next attribute. If name is equal to the string "action", or "actionListener" without the quotes, assume target is an jakarta.faces.component.ActionSource2. If name is equal to the string "validator", or "valueChangeListener" without the quotes, assume target is an jakarta.faces.component.EditableValueHolder. Call getExpressionString() on the attributeValueExpression and use that string to create a MethodExpression of the appropriate signature for name. If name is not equal to any of the previously listed strings, call getExpressionString() on the attributeValueExpression and use that string to create a MethodExpression where the signature is created based on the value of the "method-signature" attribute of the tag. Let the resultant MethodExpression be called attributeMethodExpression for discussion. If name is equal to the string "action" without the quotes, call jakarta.faces.component.ActionSource2#setActionExpression on target, passing attributeMethodExpression. If name is equal to the string "actionListener" without the quotes, call jakarta.faces.component.ActionSource#addActionListener on target, passing attributeMethodExpression wrapped in a jakarta.faces.event.MethodExpressionActionListener. If name is equal to the string "validator" without the quotes, call jakarta.faces.component.EditableValueHolder#addValidator on target, passing attributeMethodExpression wrapped in a jakarta.faces.validator.MethodExpressionValidator. If name is equal to the string "valueChangeListener" without the quotes, call jakarta.faces.component.EditableValueHolder#addValueChangeListener on target, passing attributeMethodExpression wrapped in a jakarta.faces.event.MethodExpressionValueChangeListener. Otherwise, assume that the MethodExpression should be placed in the components attribute set. The runtme must create the MethodExpression instance based on the value of the "method-signature" attribute. An implementation is provided that will throw UnsupportedOperationException. A Faces implementation compliant with version 2.0 and beyond of the specification must override this method.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2629
- if context or topLevelComponent is null.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2630
-
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
-
- JSF:JAVADOC:2633
-
- jakarta.faces.view.facelets
- Facelet
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2635
-
- jakarta.faces.view.facelets
- Facelet
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- jakarta.faces.view.facelets.FaceletException
-
-
-
- JSF:JAVADOC:2636
-
- jakarta.faces.view.facelets
- Facelet
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- ELException
-
-
-
- JSF:JAVADOC:2637
-
- jakarta.faces.view.facelets
- Facelet
-
-
-
- JSF:JAVADOC:2638
-
- jakarta.faces.view.facelets
- FaceletCache
-
-
-
- JSF:JAVADOC:2639
- Returns a cached Facelet instance. If no instance is available, it will be created using the Facelet MemberFactory and stored in the cache.
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
-
-
-
- JSF:JAVADOC:2640
-
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2641
- if argument url is null.
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2642
- Returns a cached View Metadata Facelet instance. If no instance is available, it will be created using the View Metadata Facelet MemberFactory and stored in the cache.
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
-
-
-
- JSF:JAVADOC:2643
-
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2644
- if argument url is null.
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2645
- Determines whether a cached Facelet instance exists for this URL. Returns true if a cached instance exists, false otherwise
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
-
-
-
- JSF:JAVADOC:2646
- if argument url is null.
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2647
- Determines whether a cached View Metadata Facelet instance exists for this URL. Returns true if a cached instance exists, false otherwise
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
-
-
-
- JSF:JAVADOC:2648
- if argument url is null.
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2649
- Create a Facelet or View Metadata Facelet (depending on the type of factory this is) for the argument URL.
- jakarta.faces.view.facelets
- FaceletCache.MemberFactory
-
-
- java.net.URL
-
-
-
-
- JSF:JAVADOC:2650
-
- jakarta.faces.view.facelets
- FaceletCache.MemberFactory
-
-
- java.net.URL
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2651
- if argument key is null.
- jakarta.faces.view.facelets
- FaceletCache.MemberFactory
-
-
- java.net.URL
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2652
-
- jakarta.faces.view.facelets
- FaceletCacheFactory
-
-
-
- JSF:JAVADOC:2653
-
- jakarta.faces.view.facelets
- FaceletCacheFactory
-
-
-
- JSF:JAVADOC:2654
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.view.facelets
- FaceletCacheFactory
-
-
-
- JSF:JAVADOC:151
- The default behavior of this method is to call Application#createComponent(jakarta.faces.el.ValueBinding, jakarta.faces.context.FacesContext, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.el.ValueBinding
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:152
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.el.ValueBinding
- jakarta.faces.context.FacesContext
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:160
- The default behavior of this method is to call Application#createMethodBinding(String, Class[]) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
- java.lang.Class[]
-
-
-
-
- JSF:JAVADOC:161
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
- java.lang.Class[]
-
- jakarta.faces.el.ReferenceSyntaxException
-
-
-
- JSF:JAVADOC:166
- The default behavior of this method is to call Application#evaluateExpressionGet(jakarta.faces.context.FacesContext, String, Class) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Class
-
-
-
-
- JSF:JAVADOC:167
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Class
-
- ELException
-
-
-
- JSF:JAVADOC:182
- The default behavior of this method is to call Application#getPropertyResolver on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:188
- The default behavior of this method is to call Application#getVariableResolver on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:199
- The default behavior of this method is to call Application#setPropertyResolver(jakarta.faces.el.PropertyResolver) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.el.PropertyResolver
-
-
-
-
- JSF:JAVADOC:203
- The default behavior of this method is to call Application#setVariableResolver(jakarta.faces.el.VariableResolver) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.el.VariableResolver
-
-
-
-
- JSF:JAVADOC:2114
- The implementation must inspect the current request and return an Object representing the tree structure and component state passed in to a previous invocation of #writeState(jakarta.faces.context.FacesContext,java.lang.Object). If the state saving method for this application is jakarta.faces.application.StateManager#STATE_SAVING_METHOD_CLIENT, writeState() will have encrypted the state in a tamper evident manner. If the state fails to decrypt, or decrypts but indicates evidence of tampering, a jakarta.faces.application.ProtectedViewException must be thrown. For backwards compatability with existing ResponseStateManager implementations, the default implementation of this method calls #getTreeStructureToRestore and #getComponentStateToRestore and creates and returns a two element Object array with element zero containing the structure property and element one containing the state property of the SerializedView.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2120
- if the state argument is not an array of length 2.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2560
- Override behavior from the superclass to queue an ActionEvent that may result in the invocation of the action or any actionListeners that may be associated with this instance. Take no action if any of the following conditions are true: The current request is a postback and the instance has been configured to not operate on postback. See #isOnPostback. The condition stated in the if property evaluates to false. See #isRendered. Instantiate an ActionEvent, passing this component instance as the source. Set the phaseId property of the ActionEvent as follows. If this component instance has been configured with a specific lifecycle phase with a call to #setPhase use that as the phaseId If the value of the immediate property is true, use PhaseId#APPLY_REQUEST_VALUES. Otherwise, use PhaseId#INVOKE_APPLICATION. Queue the event with a call to #queueEvent. Keep track of the number of events that are queued in this way on this run through the lifecycle. This information is necessary during processing in #broadcast.
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2678
- if called after the first request to the jakarta.faces.webapp.FacesServlet has been serviced.
- jakarta.faces.application
- ApplicationWrapper
-
-
- ELResolver
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:2679
- if this method is called after at least one request has been processed by the Lifecycle instance for this application.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.ResourceHandler
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:2680
- if resourceHandler is null
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.ResourceHandler
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2681
- if this method is called after at least one request has been processed by the Lifecycle instance for this application.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.StateManager
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:2682
- if manager is null
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.StateManager
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2683
- if this method is called after at least one request has been processed by the Lifecycle instance for this application.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.ViewHandler
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:2684
- if manager is null
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.ViewHandler
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2685
-
- jakarta.faces.application
- ProtectedViewException
-
-
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:2686
-
- jakarta.faces.application
- ProtectedViewException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- JSF:JAVADOC:2687
-
- jakarta.faces.application
- ProtectedViewException
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2688
-
- jakarta.faces.application
- ProtectedViewException
-
-
-
- JSF:JAVADOC:2692
- The default behavior of this method is to call ViewHandler#addProtectedView on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2693
- The default behavior of this method is to call ViewHandler#getProtectedViewsUnmodifiable on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
-
- JSF:JAVADOC:2694
- The default behavior of this method is to call ViewHandler#removeProtectedView on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2695
- Before calling the corresponding method on the superclass, verify that there is a current component so that EL expressions that start with #{component} or #{cc} operate as expected.
- jakarta.faces.event
- ComponentSystemEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
- JSF:JAVADOC:2700
- Returns the delay value, or null if no value was set.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:2701
- If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. The default value of this option is 300. If the value of delay is the literal string 'none' without the quotes, no delay is used.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2702
-
- jakarta.faces.event
- PostKeepFlashValueEvent
-
-
-
- JSF:JAVADOC:2703
- Instantiate a new PostKeepFlashValueEvent that indicates the argument key was just kept in the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass constructor.
- jakarta.faces.event
- PostKeepFlashValueEvent
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2704
-
- jakarta.faces.event
- PostPutFlashValueEvent
-
-
-
- JSF:JAVADOC:2705
- Instantiate a new PostPutFlashValueEvent that indicates the argument key was just put to the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass constructor.
- jakarta.faces.event
- PostPutFlashValueEvent
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2706
- Instantiate a new PreClearFlashEvent that indicates the argument key was just put to the flash.
- jakarta.faces.event
- PreClearFlashEvent
-
-
- java.util.Map
-
-
-
-
- JSF:JAVADOC:2707
-
- jakarta.faces.event
- PreRemoveFlashValueEvent
-
-
-
- JSF:JAVADOC:2708
- Instantiate a new PreRemoveFlashValueEvent that indicates the argument key will be removed from the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass constructor.
- jakarta.faces.event
- PreRemoveFlashValueEvent
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:310
- The functionality of this method is now handled by jakarta.faces.view.StateManagementStrategy#restoreView. Restore the tree structure and the component state of the view for the specified viewId, in an implementation dependent manner, and return the restored UIViewRoot. If there is no saved state information available for this viewId, return null instead. This method must consult the context initialization parameter named by the symbolic constant StateManager.STATE_SAVING_METHOD_PARAM_NAME to determine whether state should be saved on the client or the server. If not present, client side state saving is assumed. If the init parameter indicates that client side state saving should be used, this method must call the getTreeStructureToRestore() and (if the previous method call returned a non-null value) getComponentStateToRestore() methods of the ResponseStateManager instance provided by the RenderKit responsible for this view.
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:314
- The functionality of this method is now handled by jakarta.faces.view.StateManagementStrategy#saveView. Return an opaque Object containing sufficient information for this same instance to restore the state of the current UIViewRoot on a subsequent request. The returned object must implement java.io.Serializable. If there is no state information to be saved, return null instead. Components may opt out of being included in the serialized view by setting their transient property to true. This must cause the component itself, as well as all of that component's children and facets, to be omitted from the saved tree structure and component state information. This method must also enforce the rule that, for components with non-null ids, all components that are descendants of the same nearest NamingContainer must have unique identifiers. For backwards compatability with existing StateManager implementations, the default implementation of this method calls #saveSerializedView and creates and returns a two element Object array with element zero containing the structure property and element one containing the state property of the SerializedView.
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1838
- if the argument valueChangeEvent is null.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- jakarta.faces.event.ValueChangeEvent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:7
- Create (if necessary) and return a per-web-application instance of the appropriate implementation class for the specified JavaServer Faces factory class, based on the discovery algorithm described in the class description. The standard injectionProvider and wrappers in JSF all implement the interface FacesWrapper. If the returned Object is an implementation of one of the standard injectionProvider, it must be legal to cast it to an instance of FacesWrapper and call FacesWrapper#getWrapped on the instance.
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2709
- Assume that the submitted value is always a string, but the return type from this method is Object..
- jakarta.faces.component
- UIViewParameter
-
-
-
- JSF:JAVADOC:2710
-
- jakarta.faces.component.visit
- ComponentModification
-
-
-
- JSF:JAVADOC:2711
-
- jakarta.faces.component.visit
- ComponentModification
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2712
-
- jakarta.faces.component.visit
- ComponentModification
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2713
-
- jakarta.faces.component.visit
- ComponentModificationManager
-
-
-
- JSF:JAVADOC:2714
-
- jakarta.faces.component.visit
- ComponentModificationManager
-
-
-
- JSF:JAVADOC:2715
-
- jakarta.faces.component.visit
- ComponentModificationManager
-
-
-
- JSF:JAVADOC:2716
-
- jakarta.faces.component.visit
- ComponentModificationManager
-
-
- jakarta.faces.component.visit.ComponentModification
-
-
-
-
- JSF:JAVADOC:2719
- Return the jakarta.faces.component.visit.ComponentModificationManager for this single run through the JSF request processing lifecycle. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:2720
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:2721
- The default behavior of this method is to call FacesContext#getComponentModificationManager on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:430
- The value of this annotation attribute is taken to be the component-type with which instances of this class of component can be instantiated by calling jakarta.faces.application.Application#createComponent(java.lang.String). If no value is specified, or the value is null, the value is taken to be the return of calling getSimpleName on the class to which this annotation is attached and lowercasing the first character. If more than one component with this derived name is found, the results are undefined.
- jakarta.faces.component
- FacesComponent
-
-
-
- JSF:JAVADOC:497
- Search for and return the UIComponent with an id that matches the specified search expression (if any), according to the algorithm described below. WARNING: The found UIComponent instance, if any, is returned without regard for its tree traversal context. Retrieving an EL-bound attribute from the component is not safe. EL expressions can contain implicit objects, such as #{component}, which assume they are being evaluated within the scope of a tree traversal context. Evaluating expressions with these kinds of implicit objects outside of a tree traversal context produces undefined results. See #invokeOnComponent for a method that does correctly account for the tree traversal context when operating on the found UIComponent instance. #invokeOnComponent is also useful to find components given a simple clientId. Component identifiers are required to be unique within the scope of the closest ancestor NamingContainer that encloses this component (which might be this component itself). If there are no NamingContainer components in the ancestry of this component, the root component in the tree is treated as if it were a NamingContainer, whether or not its class actually implements the NamingContainer interface. A search expression consists of either an identifier (which is matched exactly against the id property of a UIComponent, or a series of such identifiers linked by the UINamingContainer#getSeparatorChar character value. The search algorithm should operates as follows, though alternate alogrithms may be used as long as the end result is the same: Identify the UIComponent that will be the base for searching, by stopping as soon as one of the following conditions is met: If the search expression begins with the the separator character (called an "absolute" search expression), the base will be the root UIComponent of the component tree. The leading separator character will be stripped off, and the remainder of the search expression will be treated as a "relative" search expression as described below. Otherwise, if this UIComponent is a NamingContainer it will serve as the basis. Otherwise, search up the parents of this component. If a NamingContainer is encountered, it will be the base. Otherwise (if no NamingContainer is encountered) the root UIComponent will be the base. The search expression (possibly modified in the previous step) is now a "relative" search expression that will be used to locate the component (if any) that has an id that matches, within the scope of the base component. The match is performed as follows: If the search expression is a simple identifier, this value is compared to the id property, and then recursively through the facets and children of the base UIComponent (except that if a descendant NamingContainer is found, its own facets and children are not searched). If the search expression includes more than one identifier separated by the separator character, the first identifier is used to locate a NamingContainer by the rules in the previous bullet point. Then, the findComponent() method of this NamingContainer will be called, passing the remainder of the search expression.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:593
- Search for and return the UIComponent with an id that matches the specified search expression (if any), according to the algorithm described below. WARNING: The found UIComponent instance, if any, is returned without regard for its tree traversal context. Retrieving an EL-bound attribute from the component is not safe. EL expressions can contain implicit objects, such as #{component}, which assume they are being evaluated within the scope of a tree traversal context. Evaluating expressions with these kinds of implicit objects outside of a tree traversal context produces undefined results. See #invokeOnComponent for a method that does correctly account for the tree traversal context when operating on the found UIComponent instance. #invokeOnComponent is also useful to find components given a simple clientId. Component identifiers are required to be unique within the scope of the closest ancestor NamingContainer that encloses this component (which might be this component itself). If there are no NamingContainer components in the ancestry of this component, the root component in the tree is treated as if it were a NamingContainer, whether or not its class actually implements the NamingContainer interface. A search expression consists of either an identifier (which is matched exactly against the id property of a UIComponent, or a series of such identifiers linked by the UINamingContainer#getSeparatorChar character value. The search algorithm should operates as follows, though alternate alogrithms may be used as long as the end result is the same: Identify the UIComponent that will be the base for searching, by stopping as soon as one of the following conditions is met: If the search expression begins with the the separator character (called an "absolute" search expression), the base will be the root UIComponent of the component tree. The leading separator character will be stripped off, and the remainder of the search expression will be treated as a "relative" search expression as described below. Otherwise, if this UIComponent is a NamingContainer it will serve as the basis. Otherwise, search up the parents of this component. If a NamingContainer is encountered, it will be the base. Otherwise (if no NamingContainer is encountered) the root UIComponent will be the base. The search expression (possibly modified in the previous step) is now a "relative" search expression that will be used to locate the component (if any) that has an id that matches, within the scope of the base component. The match is performed as follows: If the search expression is a simple identifier, this value is compared to the id property, and then recursively through the facets and children of the base UIComponent (except that if a descendant NamingContainer is found, its own facets and children are not searched). If the search expression includes more than one identifier separated by the separator character, the first identifier is used to locate a NamingContainer by the rules in the previous bullet point. Then, the findComponent() method of this NamingContainer will be called, passing the remainder of the search expression.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:672
- Return the value of the UIData. This value must either be be of type DataModel, or a type that can be adapted into a DataModel. UIData will automatically adapt the following types: Arrays java.util.List java.sql.ResultSet javax.servlet.jsp.jstl.sql.Result java.util.Collection All other types will be adapted using the ScalarDataModel class, which will treat the object as a single row of data.
- jakarta.faces.component
- UIData
-
-
-
- JSF:JAVADOC:1101
- The purpose of this method is to generate a query string from the collection of Parameter objects provided by the parameters argument and append that query string to the baseUrl. This method must be able to encode the parameters to a baseUrl that may or may not have existing query parameters. The parameter values should be encoded appropriately for the environment so that the resulting URL can be used as the target of a link (e.g., in an href attribute) in a JSF response. It's possible for an ExternalContext implementation to override this method in any way that would make the URL bookmarkable in that environment. See #encodeActionURL(java.lang.String) for the required specification of how to encode the jakarta.faces.lifecycle.ClientWindow. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.util.Map
-
-
-
-
- JSF:JAVADOC:1104
- Return the input URL, after performing any rewriting needed to ensure that it can be used in a partial page submission (ajax request) to correctly identify an addressable action in the current application. See #encodeActionURL(java.lang.String) for the required specification of how to encode the jakarta.faces.lifecycle.ClientWindow. Servlet:Returns the same encoded URL as the #encodeActionURL(String url) method. Portlet:Returns an encoded URL that, upon HTTP POST, will invoke the RESOURCE_PHASE of the portlet lifecycle.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1106
- The purpose of this method is to generate a query string from the collection of Parameter objects provided by the parameters argument and append that query string to the baseUrl. This method must be able to encode the parameters to a baseUrl that may or may not have existing query parameters. The parameter values should be encoded appropriately for the environment so that the resulting URL can be used as the target of a redirect. It's possible for an ExternalContext implementation to override this method to accomodate the definition of redirect for that environment. See #encodeActionURL(java.lang.String) for the required specification of how to encode the jakarta.faces.lifecycle.ClientWindow.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.util.Map
-
-
-
-
- JSF:JAVADOC:2155
- The value of this annotation attribute is taken to be the validator-id with which instances of this class of component can be instantiated by calling jakarta.faces.application.Application#createValidator(java.lang.String). If no value is specified, or the value is null, the value is taken to be the return of calling getSimpleName on the class to which this annotation is attached and lowercasing the first character. If more than one validator with this derived name is found, the results are undefined.
- jakarta.faces.validator
- FacesValidator
-
-
-
- JSF:JAVADOC:708
- Override the behavior in UIComponent#visitTree to handle iteration correctly. If the UIComponent#isVisitable method of this instance returns false, take no action and return. Call UIComponent#pushComponentToEL and invoke the visit callback on this UIData instance as described in UIComponent#visitTree. Let the result of the invoctaion be visitResult. If visitResult is VisitResult#COMPLETE, take no further action and return true. Otherwise, determine if we need to visit our children. The default implementation calls VisitContext#getSubtreeIdsToVisit passing this as the argument. If the result of that call is non-empty, let doVisitChildren be true. If doVisitChildren is true and visitResult is VisitResult#ACCEPT, take the following action. If this component has facets, call UIComponent#getFacets on this instance and invoke the values() method. For each UIComponent in the returned Map, call UIComponent#visitTree. If this component has children, for each UIColumn child: Call VisitContext#invokeVisitCallback on that UIColumn instance. If such a call returns true, terminate visiting and return true from this method. If the child UIColumn has facets, call UIComponent#visitTree on each one. Take no action on non-UIColumn children. Save aside the result of a call to #getRowIndex. For each child component of this UIData that is also an instance of UIColumn, Iterate over the rows. Let rowsToProcess be the return from #getRows. Let rowIndex be the return from #getFirst - 1. While the number of rows processed is less than rowsToProcess, take the following actions. Call #setRowIndex, passing the current row index. If #isRowAvailable returns false, take no further action and return false. Call UIComponent#visitTree on each of the children of this UIColumn instance. Call #popComponentFromEL and restore the saved row index with a call to #setRowIndex. Return false to allow the visiting to continue.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.component.visit.VisitContext
- jakarta.faces.component.visit.VisitCallback
-
-
-
-
- JSF:JAVADOC:2696
- Compliant implementations must return a cryptographically strong token for use to protect views in this application. For backwards compatability with earlier revisions, a default implementation is provided that simply returns null.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2725
- If the value of this attribute is true, the runtime must create a Facelet tag handler, that extends from jakarta.faces.view.facelets.ComponentHandler, suitable for use in pages under the tag library with namespace given by the value of the #namespace attribute.
- jakarta.faces.component
- FacesComponent
-
-
-
- JSF:JAVADOC:2726
- If the value of the #createTag attribute is true, the value of this attribute is taken to be the tag library namespace into which this component is placed.
- jakarta.faces.component
- FacesComponent
-
-
-
- JSF:JAVADOC:2727
- If the value of the #createTag attribute is true, the runtime must use this value as the tag name for including an instance of the component annotated with this annotation in a view. If this attribute is not specified on a usage of this annotation, the simple name of the class on which this annotation is declared, with the first character lowercased, is taken to be the value.
- jakarta.faces.component
- FacesComponent
-
-
-
- JSF:JAVADOC:2728
- Return the ClientWindow set in a preceding call to #setClientWindow, or null if no such call has been made.
- jakarta.faces.context
- ExternalContext
-
-
-
- JSF:JAVADOC:2729
- Return the id of the current session or the empty string if no session has been created and the create parameter is false. Servlet: If create is true, obtain a reference to the HttpSession for the current request (creating the session if necessary) and return its id. If create is false, obtain a reference to the current session, if one exists, and return its id. If no session exists, return the empty string.
- jakarta.faces.context
- ExternalContext
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2730
- Associate this instance with a ClientWindow.
- jakarta.faces.context
- ExternalContext
-
-
- jakarta.faces.lifecycle.ClientWindow
-
-
-
-
- JSF:JAVADOC:2731
- The default behavior of this method is to call ExternalContext#getClientWindow on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
- JSF:JAVADOC:2732
- The default behavior of this method is to call ExternalContext#getSessionId(boolean) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2733
- The default behavior of this method is to call ExternalContext#setClientWindow on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- jakarta.faces.lifecycle.ClientWindow
-
-
-
-
- JSF:JAVADOC:2734
- Return the result of calling UINamingContainer#getSeparatorChar, passing this as the argument. Note that this enables accessing the value of this property from the EL expression #{facesContext.namingContainerSeparatorChar}.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:2735
- The default behavior of this method is to call FacesContext#getNamingContainerSeparatorChar() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:2736
-
- jakarta.faces.context
- FlashFactory
-
-
-
- JSF:JAVADOC:2738
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. A default implementation is provided that returns null.
- jakarta.faces.context
- FlashFactory
-
-
-
- JSF:JAVADOC:2739
- The default behavior of this method is to call Flash#clear() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
- JSF:JAVADOC:2740
- The default behavior of this method is to call Flash#containsKey(Object) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2741
- The default behavior of this method is to call Flash#containsValue(Object) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2742
- The default behavior of this method is to call Flash#doPostPhaseActions(FacesContext) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2743
- The default behavior of this method is to call Flash#doPrePhaseActions(FacesContext) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2744
- The default behavior of this method is to call Flash#entrySet() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
- JSF:JAVADOC:2745
-
- jakarta.faces.context
- FlashWrapper
-
-
-
- JSF:JAVADOC:2746
- The default behavior of this method is to call Flash#get(Object) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2747
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.context
- FlashWrapper
-
-
-
- JSF:JAVADOC:2748
- The default behavior of this method is to call Flash#isEmpty() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
- JSF:JAVADOC:2749
- The default behavior of this method is to call Flash#isKeepMessages() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
- JSF:JAVADOC:2750
- The default behavior of this method is to call Flash#isRedirect() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
- JSF:JAVADOC:2751
- The default behavior of this method is to call Flash#keep(String) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2752
- The default behavior of this method is to call Flash#keySet() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
- JSF:JAVADOC:2753
- The default behavior of this method is to call Flash#put on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2754
- The default behavior of this method is to call Flash#putAll(Map) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.util.Map
-
-
-
-
- JSF:JAVADOC:2755
- The default behavior of this method is to call Flash#putNow(String, Object) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2756
- The default behavior of this method is to call Flash#remove(Object) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2757
- The default behavior of this method is to call Flash#setKeepMessages(boolean) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2758
- The default behavior of this method is to call Flash#setRedirect(boolean) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2759
- The default behavior of this method is to call Flash#size() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
- JSF:JAVADOC:2760
- The default behavior of this method is to call Flash#values() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
- JSF:JAVADOC:2761
-
- jakarta.faces.lifecycle
- ClientWindow
-
-
-
- JSF:JAVADOC:2765
- Return a String value that uniquely identifies this ClientWindow within the scope of the current session. See #decode for the specification of how to derive this value.
- jakarta.faces.lifecycle
- ClientWindow
-
-
-
- JSF:JAVADOC:2768
- Register a new PhaseListener instance that is interested in being notified before and after the processing for standard phases of the request processing lifecycle.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.event.PhaseListener
-
-
-
-
- JSF:JAVADOC:2769
- if listener is null
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.event.PhaseListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2771
- Execute all of the phases of the request processing lifecycle, up to but not including the Render Response phase, as described in the JavaServer Faces Specification, in the specified order. The processing flow can be affected (by the application, by components, or by event listeners) by calls to the renderResponse() or responseComplete() methods of the FacesContext instance associated with the current request.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2772
- if thrown during the execution of the request processing lifecycle
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2773
- if context is null
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2774
- Return the set of registered PhaseListeners for this Lifecycle instance. If there are no registered listeners, a zero-length array is returned.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
-
- JSF:JAVADOC:2775
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
-
- JSF:JAVADOC:2776
-
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
-
- JSF:JAVADOC:2777
- Deregister an existing PhaseListener instance that is no longer interested in being notified before and after the processing for standard phases of the request processing lifecycle. If no such listener instance has been registered, no action is taken.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.event.PhaseListener
-
-
-
-
- JSF:JAVADOC:2778
- if listener is null
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.event.PhaseListener
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2779
- Execute the Render Response phase of the request processing lifecycle, unless the responseComplete() method has been called on the FacesContext instance associated with the current request.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2780
- if an exception is thrown during the execution of the request processing lifecycle
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2781
- if context is null
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2782
- Construct a new CollectionDataModel with no specified wrapped data.
- jakarta.faces.model
- CollectionDataModel
-
-
-
- JSF:JAVADOC:2783
- Construct a new CollectionDataModel wrapping the specified list.
- jakarta.faces.model
- CollectionDataModel
-
-
- java.util.Collection
-
-
-
-
- JSF:JAVADOC:2784
- If there is wrappedData available, return the length of the list. If no wrappedData is available, return -1.
- jakarta.faces.model
- CollectionDataModel
-
-
-
- JSF:JAVADOC:2785
- if an error occurs getting the row count
- jakarta.faces.model
- CollectionDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2786
- If row data is available, return the array element at the index specified by rowIndex. If no wrapped data is available, return null.
- jakarta.faces.model
- CollectionDataModel
-
-
-
- JSF:JAVADOC:2787
- if an error occurs getting the row data
- jakarta.faces.model
- CollectionDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2788
- if now row data is available at the currently specified row index
- jakarta.faces.model
- CollectionDataModel
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:2789
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- CollectionDataModel
-
-
-
- JSF:JAVADOC:2790
- if an error occurs getting the row index
- jakarta.faces.model
- CollectionDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2791
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- CollectionDataModel
-
-
-
- JSF:JAVADOC:2792
- Return true if there is wrappedData available, and the current value of rowIndex is greater than or equal to zero, and less than the size of the list. Otherwise, return false.
- jakarta.faces.model
- CollectionDataModel
-
-
-
- JSF:JAVADOC:2793
- if an error occurs getting the row availability
- jakarta.faces.model
- CollectionDataModel
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2794
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- CollectionDataModel
-
-
- int
-
-
-
-
- JSF:JAVADOC:2795
- if an error occurs setting the row index
- jakarta.faces.model
- CollectionDataModel
-
-
- int
-
- jakarta.faces.FacesException
-
-
-
- JSF:JAVADOC:2796
- if rowIndex is less than -1
- jakarta.faces.model
- CollectionDataModel
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:236
- Evaluates the for this , if any. The expression to be evaluated is passed into the constructor as a string. When the expression is evaluated, its value must be coerced into a boolean per the normal EL coercion rules.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:279
- Create an instance of Resource with a resourceName given by the value of the argument resourceName that is a member of the library named by the argument libraryName. The content-type of the resource is derived by passing the resourceName to jakarta.faces.context.ExternalContext#getMimeType. The algorithm specified in section JSF.2.6.1.4 of the spec prose document linked in the overview summary must be executed to create the Resource. New requirements were introduced in version 2.2 of the specification.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:281
- Create an instance of Resource with a resourceName given by the value of the argument resourceName that is a member of the library named by the argument libraryName that claims to have the content-type given by the argument content-type. The algorithm specified in section JSF.2.6.1.4 of the spec prose document linked in the overview summary must be executed to create the Resource. New requirements were introduced in version 2.2 of the specification.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:287
- Return true if the resource library named by the argument libraryName can be found. If there is a localePrefix for this application, as defined in #LOCALE_PREFIX, first look for the library with the prefix. If no such library is found, look for the library without the prefix. This allows developers to avoid duplication of files. For example, consider the case where the developer wants to have a resource library containing a localized image resource and a non-localized script resource. By checking both locations for the existence of the library, along with other spec changes in section 2.6.1.4, this scenario is enabled.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1091
- Adds the cookie represented by the arguments to the response. Servlet: This must be accomplished by calling the javax.servlet.http.HttpServletResponse method addCookie(). The Cookie argument must be constructed by passing the name and value parameters. If the properties arugument is non-null and not empty, the Cookie instance must be initialized as described below. Key in "values" Map Expected type of value. Name of setter method on Cookie instance to be set with the value from the Map. comment String setComment domain String setDomain maxAge Integer setMaxAge secure Boolean setSecure path String setPath httpOnly Boolean setHttpOnly The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.lang.String
- java.util.Map
-
-
-
-
- JSF:JAVADOC:2242
- Return the state of the current view in an Object that implements Serializable and can be passed to java.io.ObjectOutputStream.writeObject() without causing a java.io.NotSerializableException to be thrown. The default implementation must perform the following algorithm or its semantic equivalent, explicitly performing all the steps listed here. If the UIViewRoot of the current view is marked transient, return null immediately. Traverse the view and verify that each of the client ids are unique. Throw IllegalStateException if more than one client id are the same. Visit the tree using jakarta.faces.component.UIComponent#visitTree. For each node, call jakarta.faces.component.UIComponent#saveState, saving the returned Object in a way such that it can be restored given only its client id. Special care must be taken to handle the case of components that were added or deleted programmatically during this lifecycle traversal, rather than by the VDL. The implementation must ensure that the jakarta.faces.component.UIComponent#saveState method is called for each node in the tree. The data structure used to save the state obtained by executing the above algorithm must be Serializable, and all of the elements within the data structure must also be Serializable.
- jakarta.faces.view
- StateManagementStrategy
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2524
- Create an instance of Resource given the argument resourceId. The content-type of the resource is derived by passing the resourceName to jakarta.faces.context.ExternalContext#getMimeType The resource must be identified according to the specification in JSF.2.6.1.3 of the spec prose document linked in the overview summary. New requirements were introduced in version 2.2 of the specification.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1636
- The value of this annotation attribute is taken to be the converter-id with which instances of this class of converter can be instantiated by calling jakarta.faces.application.Application#createConverter(java.lang.String).
- jakarta.faces.convert
- FacesConverter
-
-
-
- JSF:JAVADOC:2801
- Called by the flow system to cause the flow to be inspected for navigation rules. For backward compatibility with earlier implementations, an empty method is provided.
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
-
-
-
-
- JSF:JAVADOC:2802
- Called by the flow system to cause the flow to be inspected for navigation rules. For backward compatibility with earlier implementations, an empty method is provided.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
-
-
-
-
- JSF:JAVADOC:125
- Install the listener instance referenced by argument listener into the application as a listener for events of type systemEventClass that originate from objects of type sourceClass. If argument sourceClass is non-null, sourceClass and systemEventClass must be used to store the argument listener in the application in such a way that the listener can be quickly looked up by the implementation of #publishEvent given systemEventClass and an instance of the Class referenced by sourceClass. If argument sourceClass is null, the listener must be discoverable by the implementation of #publishEvent given only systemEventClass. It is valid to call this method during the processing of an event which was subscribed to by a previous call to this method.
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
- JSF:JAVADOC:129
- Remove the listener instance referenced by argument listener from the application as a listener for events of type systemEventClass that originate from objects of type sourceClass. See #subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener) for the specification of how the listener is stored, and therefore, how it must be removed. See #subscribeToEvent(java.lang.Class,java.lang.Class,jakarta.faces.event.SystemEventListener) for an additional requirement regarding when it is valid to call this method.
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
- JSF:JAVADOC:131
- Remove the listener instance referenced by argument listener from the application as a listener for events of type systemEventClass. The default implementation simply calls through to #unsubscribeFromEvent(Class, jakarta.faces.event.SystemEventListener) passing null as the sourceClass argument See #subscribeToEvent(java.lang.Class,java.lang.Class,jakarta.faces.event.SystemEventListener) for an additional requirement regarding when it is valid to call this method.
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
- JSF:JAVADOC:910
- Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within the non-NamingContainer child sub-trees of this UIViewRoot.
- jakarta.faces.component
- UIViewRoot
-
-
-
- JSF:JAVADOC:2632
- The passed UIComponent parent will be populated/restored in accordance with the Facelets chapter in the spec prose document.
- jakarta.faces.view.facelets
- Facelet
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2762
- The implementation is responsible for examining the incoming request and extracting the value that must be returned from the #getId method. If #CLIENT_WINDOW_MODE_PARAM_NAME is "none" this method must not be invoked. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" the implementation must first look for a request parameter under the name given by the value of jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_PARAM. If no value is found, look for a request parameter under the name given by the value of jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_URL_PARAM. If no value is found, fabricate an id that uniquely identifies this ClientWindow within the scope of the current session. This value must be encrypted with a key stored in the http session and made available to return from the #getId method. The value must be suitable for inclusion as a hidden field or query parameter. If a value is found, decrypt it using the key from the session and make it available for return from #getId.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2767
- Create or restore the ClientWindow to be used to display the jakarta.faces.component.UIViewRoot for this run through the lifecycle. See the class documentation for ClientWindow for an overview of the feature. If the value of the ClientWindow#CLIENT_WINDOW_MODE_PARAM_NAME configuration parameter is "none" without the quotes, this method must take no action. Otherwise, call jakarta.faces.context.ExternalContext#getClientWindow(). If the result is null, create a new instance of ClientWindow and call ClientWindow#decode(jakarta.faces.context.FacesContext) on it. Store the new ClientWindow by calling jakarta.faces.context.ExternalContext#setClientWindow(jakarta.faces.lifecycle.ClientWindow).
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2770
- Create or restore the ClientWindow to be used to display the jakarta.faces.component.UIViewRoot for this run through the lifecycle. See the class documentation for ClientWindow for an overview of the feature. If the value of the ClientWindow#CLIENT_WINDOW_MODE_PARAM_NAME configuration parameter is "none" without the quotes, this method must take no action. Otherwise, call jakarta.faces.context.ExternalContext#getClientWindow(). If the result is null, create a new instance of ClientWindow and call ClientWindow#decode(jakarta.faces.context.FacesContext) on it. Store the new ClientWindow by calling jakarta.faces.context.ExternalContext#setClientWindow(jakarta.faces.lifecycle.ClientWindow).
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2797
- Set the wrapped data.
- jakarta.faces.model
- CollectionDataModel
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2798
- if data is non-null and is not a Collection
- jakarta.faces.model
- CollectionDataModel
-
-
- java.lang.Object
-
- java.lang.ClassCastException
-
-
-
- JSF:JAVADOC:2803
-
- jakarta.faces
- ApplicationConfigurationResourceDocumentPopulator
-
-
-
- JSF:JAVADOC:2809
-
- jakarta.faces.component.visit
- ComponentModificationManager
-
-
- jakarta.faces.context.FacesContext
- java.util.Collection
-
-
-
-
- JSF:JAVADOC:2810
-
- jakarta.faces.component.visit
- ComponentModificationManager
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2814
- if an error occurs getting the row count
- jakarta.faces.model
- ResultDataModel
-
- FacesException
-
-
-
- JSF:JAVADOC:2815
- if an error occurs getting the row data
- jakarta.faces.model
- ResultDataModel
-
- FacesException
-
-
-
- JSF:JAVADOC:2816
- if an error occurs getting the row availability
- jakarta.faces.model
- ResultDataModel
-
- FacesException
-
-
-
- JSF:JAVADOC:2817
- if an error occurs getting the row count
- jakarta.faces.model
- ScalarDataModel
-
- FacesException
-
-
-
- JSF:JAVADOC:2818
- if an error occurs getting the row data
- jakarta.faces.model
- ScalarDataModel
-
- FacesException
-
-
-
- JSF:JAVADOC:2819
- if an error occurs getting the row availability
- jakarta.faces.model
- ScalarDataModel
-
- FacesException
-
-
-
- JSF:JAVADOC:2820
-
- jakarta.faces.view.facelets
- Facelet
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- FacesException
-
-
-
- JSF:JAVADOC:2821
- if unable to create child UIComponent instances
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.lang.String
-
- FacesException
-
-
-
- JSF:JAVADOC:2822
- if unable to create child UIComponent instances
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.net.URL
-
- FacesException
-
-
-
- JSF:JAVADOC:2823
- if unable to create child UIComponent instances
- jakarta.faces.view.facelets
- FaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- FacesException
-
-
-
- JSF:JAVADOC:2825
- Set a reference to the Tag for which this class represents the attributes. The VDL runtime must ensure that this method is called before any FaceletHandlers for this element are instantiated. For compatibility with previous implementations, a no-op implementation is provided.
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.Tag
-
-
-
-
- JSF:JAVADOC:2827
- Set a reference to the Tag for which this class represents the attributes. The VDL runtime must ensure that this method is called before any FaceletHandlers for this element are instantiated. For compatibility with previous implementations, a no-op implementation is provided.
- jakarta.faces.view.facelets
- TagAttributes
-
-
- jakarta.faces.view.facelets.Tag
-
-
-
-
- JSF:JAVADOC:1094
- Dispatch a request to the specified resource to create output for this response. Servlet: This must be accomplished by calling the javax.servlet.ServletContext method getRequestDispatcher(path), and calling the forward() method on the resulting object. If the call to getRequestDisatcher(path) returns null, send aServletResponse SC_NOT_FOUND error code.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:25
- Register a validator by its id that is applied to all UIInput components in a view. The validator to most often serve this role is the BeanValidator. The usage contract for this method assumes that the validator has been registered using the normal ???by-id??? registration mechanism. An implementation is provided that takes no action so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:213
- A convenience method to signal the JavaServer Faces implementation to perform navigation with the provided outcome. When the NavigationHandler is invoked, the current viewId is treated as the "from viewId" and the "from action" is null.
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:349
- Derive and return the viewId from the current request, or the argument input by following the algorithm defined in specification section JSF.7.6.2. The default implementation of this method simply returns rawViewId unchanged.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:350
- If the value returned from this method is used as the file argument to the four-argument constructor for java.net.URL (assuming appropriate values are used for the first three arguments), then a client making a request to the toExternalForm() of that URL will select the argument viewId for traversing the JSF lifecycle. Please see section JSF.7.6.2 for the complete specification.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:353
- Return a JSF action URL derived from the viewId argument that is suitable to be used as the target of a link in a JSF response. Compiliant implementations must implement this method as specified in section JSF.7.6.2. The default implementation simply calls through to #getActionURL, passing the arguments context and viewId.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.util.Map
- boolean
-
-
-
-
- JSF:JAVADOC:543
- The default implementation performs the following action. If the argument event is an instance of PostRestoreStateEvent, call this.#getValueExpression passing the literal string ???binding???, without the quotes, as the argument. If the result is non-null, set the value of the ValueExpression to be this.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.ComponentSystemEvent
-
-
-
-
- JSF:JAVADOC:575
- Perform a tree visit starting at this node in the tree. UIComponent.visitTree() implementations do not invoke the VisitCallback directly, but instead call VisitContext#invokeVisitCallback to invoke the callback. This allows VisitContext implementations to provide optimized tree traversals, for example by only calling the VisitCallback for a subset of components. UIComponent.visitTree() implementations must call UIComponent.pushComponentToEL() before performing the visit and UIComponent.popComponentFromEL() after the visit.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.visit.VisitContext
- jakarta.faces.component.visit.VisitCallback
-
-
-
-
- JSF:JAVADOC:724
- Perform a tree visit starting at this node in the tree. UIComponent.visitTree() implementations do not invoke the VisitCallback directly, but instead call VisitContext#invokeVisitCallback to invoke the callback. This allows VisitContext implementations to provide optimized tree traversals, for example by only calling the VisitCallback for a subset of components. UIComponent.visitTree() implementations must call UIComponent.pushComponentToEL() before performing the visit and UIComponent.popComponentFromEL() after the visit.
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.component.visit.VisitContext
- jakarta.faces.component.visit.VisitCallback
-
-
-
-
- JSF:JAVADOC:770
- Convenience method to reset this component's value to the un-initialized state. This method does the following: Call UIOutput#setValue. Call #setSubmittedValue passing null. Call #setLocalValueSet passing false. Call #setValid passing true. Upon return from this call if the instance had a ValueBinding associated with it for the "value" property, this binding is evaluated when UIOutput#getValue is called. Otherwise, null is returned from getValue().
- jakarta.faces.component
- UIInput
-
-
-
- JSF:JAVADOC:815
- Perform a tree visit starting at this node in the tree. UIComponent.visitTree() implementations do not invoke the VisitCallback directly, but instead call VisitContext#invokeVisitCallback to invoke the callback. This allows VisitContext implementations to provide optimized tree traversals, for example by only calling the VisitCallback for a subset of components. UIComponent.visitTree() implementations must call UIComponent.pushComponentToEL() before performing the visit and UIComponent.popComponentFromEL() after the visit.
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.component.visit.VisitContext
- jakarta.faces.component.visit.VisitCallback
-
-
-
-
- JSF:JAVADOC:932
- Override superclass method to always return true because a UIViewRoot is defined to always be in a view.
- jakarta.faces.component
- UIViewRoot
-
-
-
- JSF:JAVADOC:981
- Return the immediate status of this behavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:1036
- Attaches a ClientBehavior to the component implementing this interface for the specified event. Valid event names for a UIComponent implementation are defined by ClientBehaviorHolder.getEventNames().
- jakarta.faces.component.behavior
- ClientBehaviorHolder
-
-
- java.lang.String
- jakarta.faces.component.behavior.ClientBehavior
-
-
-
-
- JSF:JAVADOC:1041
- This method is called during component tree visits by VisitContext#invokeVisitCallback VisitContext.invokeVisitCallback() to visit the specified component. At the point in time when this method is called, the argument target is guaranteed to be in the proper state with respect to its ancestors in the View.
- jakarta.faces.component.visit
- VisitCallback
-
-
- jakarta.faces.component.visit.VisitContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:1045
- Returns hints that influence the behavior of the tree visit. Interested parties, such as UIComponent#visitTree UIComponent.visitTree() implementations, may check to see whether a particular hint is present by calling VisitContext.getHints().contains(), passing in one of the hints defined by VisitHint.
- jakarta.faces.component.visit
- VisitContext
-
-
-
- JSF:JAVADOC:1048
- if component is not an instance of NamingContainer
- jakarta.faces.component.visit
- VisitContext
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1055
- Returns hints that influence the behavior of the tree visit. Interested parties, such as UIComponent#visitTree UIComponent.visitTree() implementations, may check to see whether a particular hint is present by calling VisitContext.getHints().contains(), passing in one of the hints defined by VisitHint.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
-
- JSF:JAVADOC:1058
- if component is not an instance of NamingContainer
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
- JSF:JAVADOC:1385
- Return the value of this JavaBeans property for the flash for this session. This value determines whether or not any jakarta.faces.application.FacesMessage instances queued in the current jakarta.faces.context.FacesContext must be preserved so they are accessible on the next traversal of the lifecycle on this session, regardless of the request being a redirect after post, or a normal postback. Map accesses for the special key ???keepMessages??? must return the value of this JavaBeans property. EL Usage Example First page Next page Any messages present on the first page must be displayed on this page.
- jakarta.faces.context
- Flash
-
-
-
- JSF:JAVADOC:1386
- Return the value of this property for the flash for this session. This must be false unless: #setRedirect was called for the current lifecycle traversal with true as the argument. The current lifecycle traversal for this session is in the ???execute??? phase and the previous traversal had #setRedirect called with true as the argument.
- jakarta.faces.context
- Flash
-
-
-
- JSF:JAVADOC:1468
- Write the end of an element, after closing any open element created by a call to startElement(). Elements must be closed in the inverse order from which they were opened; it is an error to do otherwise. If the argument component's pass through attributes includes an attribute of the name given by the value of the symbolic constant jakarta.faces.render.Renderer#PASSTHROUGH_RENDERER_LOCALNAME_KEY, use that as the element name, instead of the value passed as the first parameter to this method.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:1480
- Write the start of an element, up to and including the element name. Once this method has been called, clients can call the writeAttribute() or writeURIAttribute() methods to add attributes and corresponding values. The starting element will be closed (that is, the trailing '>' character added) on any subsequent call to startElement(), writeComment(), writeText(), endElement(), endDocument(), close(), flush(), or write(). If the argument component's pass through attributes includes an attribute of the name given by the value of the symbolic constant jakarta.faces.render.Renderer#PASSTHROUGH_RENDERER_LOCALNAME_KEY, use that as the element name, instead of the value passed as the first parameter to this method. Care must be taken so that this value is not also rendered when any other pass through attributes on this component are rendered.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2117
- Return true if the current request is a postback. This method is leveraged from the Restore View Phase to determine if jakarta.faces.application.ViewHandler#restoreView or jakarta.faces.application.ViewHandler#createView should be called. The default implementation must return true if this ResponseStateManager instance wrote out state on a previous request to which this request is a postback, false otherwise. The implementation of this method for the Standard HTML RenderKit must consult the jakarta.faces.context.ExternalContext's requestParameterMap and return true if and only if there is a key equal to the value of the symbolic constant #VIEW_STATE_PARAM. For backwards compatability with implementations of ResponseStateManager prior to JSF 1.2, a default implementation is provided that consults the jakarta.faces.context.ExternalContext's requestParameterMap and return true if its size is greater than 0.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2133
- Verify that the value is valid according to the Bean Validation constraints. Obtain a ValidatorFactory instance by calling jakarta.validation.Validation#buildDefaultValidatorFactory. Let validationGroupsArray be a Class [] representing validator groups set on the component by the tag handler for this validator. The first search component terminates the search for the validation groups value. If no such value is found use the class name of jakarta.validation.groups.Default as the value of the validation groups. Let valueExpression be the return from calling UIComponent#getValueExpression on the argument component, passing the literal string ???value??? (without the quotes) as an argument. If this application is running in an environment with a Unified EL Implementation for Java EE6 or later, obtain the ValueReference from valueExpression and let valueBaseClase be the return from calling ValueReference.getBase() and valueProperty be the return from calling ValueReference.getProperty(). If an earlier version of the Unified EL is present, use the appropriate methods to inspect valueExpression and derive values for valueBaseClass and valueProperty. If no ValueReference can be obtained, take no action and return. If ValueReference.getBase() return null, take no action and return. Obtain the ValidatorContext from the ValidatorFactory. Decorate the MessageInterpolator returned from ValidatorFactory#getMessageInterpolator with one that leverages the Locale returned from jakarta.faces.component.UIViewRoot#getLocale, and store it in the ValidatorContext using ValidatorContext#messageInterpolator. Obtain the jakarta.validation.Validator instance from the validatorContext. Obtain a jakarta.validation.BeanDescriptor from the jakarta.validation.Validator. If hasConstraints() on the BeanDescriptor returns false, take no action and return. Otherwise proceed. Call jakarta.validation.Validator#validateValue, passing valueBaseClass, valueProperty, the value argument, and validatorGroupsArray as arguments. If the returned Set<ConstraintViolation> is non-empty, for each element in the Set, create a FacesMessage where the summary and detail are the return from calling ConstraintViolation#getMessage. Capture all such FacesMessage instances into a Collection and pass them to ValidatorException#ValidatorException(java.util.Collection), throwing the new exception.
- jakarta.faces.validator
- BeanValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2246
- Create a UIViewRoot from the VDL contained in the artifact referenced by the argument viewId. See section JSF.7.7.2 for the specification of the default implementation.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2248
- Return a reference to the component metadata for the composite component represented by the argument componentResource, or null if the metadata cannot be found. See section JSF.7.7.2 for the specification of the default implementation. JSP implementations must throw UnsupportedOperationException.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
-
-
-
- JSF:JAVADOC:2252
- Take implementation specific action to discover a Resource given the argument componentResource. See section JSF.7.7.2 for the specification of the default implementation. JSP implementations must throw UnsupportedOperationException.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
-
-
-
- JSF:JAVADOC:2257
- Return a reference to the view metadata for the view represented by the argument viewId, or null if the metadata cannot be found. See section JSF.7.7.2 for the specification of the default implementation. Facelets for JSF 2 implementation must return non-null. JSP implementations must return null.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2260
- Render a view rooted at argumentview. See section JSF.7.7.2 for the specification of the default implementation.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:2263
- Restore a UIViewRoot from a previously created view. See section JSF.7.7.2 for the specification of the default implementation.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:920
- Return an unmodifiable List of UIComponents for the provided target agrument. Each component in the List is assumed to represent a resource instance. The default implementation must use an algorithm equivalent to the the following. Locate the facet for the component by calling getFacet() using target as the argument. If the facet is not found, create the facet by calling context.getApplication().createComponent(). The argument to this method must refer to a component that extends UIPanel and overrides the encodeAll() method to take no action. This is necessary to prevent component resources from being inadvertently rendered. Set the id of the facet to be a string created by prepending the literal string ???jakarta_faces_location_??? (without the quotes) to the value of the target argument Add the facet to the facets Map using target as the key return the children of the facet
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:931
- Returns a Map that acts as the interface to the data store that is the "view scope", or, if this instance does not have such a Map and the create argument is true, creates one and returns it. This map must be instantiated lazily and cached for return from subsequent calls to this method on this UIViewRoot instance. jakarta.faces.application.Application#publishEvent must be called, passing PostConstructViewMapEvent.class as the first argument and this UIViewRoot instance as the second argument. The returned Map must be implemented such that calling clear() on the Map causes jakarta.faces.application.Application#publishEvent to be called, passing PreDestroyViewMapEvent.class as the first argument and this UIViewRoot instance as the second argument. Depending upon application configuration, objects stored in the view map may need to be Serializable. In general, it is a good idea to ensure that any objects stored in the view map are Serializable. For reasons made clear in jakarta.faces.view.ViewScoped, this map must ultimately be stored in the session. For this reason, a true value for the create argument will force the session to be created with a call to jakarta.faces.context.ExternalContext#getSession(boolean). See FacesContext#setViewRoot for the specification of when the clear() method must be called.
- jakarta.faces.component
- UIViewRoot
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2522
- A convenience method to signal the JavaServer Faces implementation to perform navigation with the provided outcome. When the NavigationHandler is invoked, the current viewId is treated as the "from viewId" and the "from action" is null.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2533
- Derive and return the viewId from the current request, or the argument input by following the algorithm defined in specification section JSF.7.6.2. Note that unlike deriveViewId(), this method does not require that a physical view be present. The default implementation of this method simply returns rawViewId unchanged.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2605
- Create a UIViewRoot from the VDL contained in the artifact referenced by the argument viewId. See section JSF.7.7.2 for the specification of the default implementation.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2607
- Return a reference to the component metadata for the composite component represented by the argument componentResource, or null if the metadata cannot be found. See section JSF.7.7.2 for the specification of the default implementation. JSP implementations must throw UnsupportedOperationException.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
-
-
-
- JSF:JAVADOC:2612
- Take implementation specific action to discover a Resource given the argument componentResource. See section JSF.7.7.2 for the specification of the default implementation. JSP implementations must throw UnsupportedOperationException.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
-
-
-
- JSF:JAVADOC:2617
- Return a reference to the view metadata for the view represented by the argument viewId, or null if the metadata cannot be found. See section JSF.7.7.2 for the specification of the default implementation. Facelets for JSF 2 implementation must return non-null. JSP implementations must return null.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2621
- Render a view rooted at argumentview. See section JSF.7.7.2 for the specification of the default implementation.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:2624
- Restore a UIViewRoot from a previously created view. See section JSF.7.7.2 for the specification of the default implementation.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:354
- Return a JSF action URL derived from the viewId argument that is suitable to be used by the NavigationHandler to issue a redirect request to the URL using a NonFaces request. Compliant implementations must implement this method as specified in section JSF.7.6.2. The default implementation simply calls through to #getActionURL, passing the arguments context and viewId.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.util.Map
- boolean
-
-
-
-
- JSF:JAVADOC:2689
- Add the argument urlPattern to the thread safe Set of protected views for this application. Compliant implementations make it so a subsequent call to #getProtectedViewsUnmodifiable contains the argument. The runtime must support calling this method at any time after application startup. The default implementation takes no action.
- jakarta.faces.application
- ViewHandler
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2690
- Return an unmodifiable Set of the protected views currently known to this ViewHandler instance. Compliant implementations must return a Set that is the concatenation of the contents of all the elements within all the in all of the application configuration resources in the current application. The runtime must support calling this method at any time after application startup. The default implementation returns an unmodifiable empty Set.
- jakarta.faces.application
- ViewHandler
-
-
-
- JSF:JAVADOC:2691
- Remove the argument urlPattern from the thread safe Set of protected views for this application, if present in the Set. If the argument urlPattern is not present in the Set, this method has no effect. Compliant implementations must make it so a subsequent call to #getProtectedViewsUnmodifiable does not contain the argument. The runtime must support calling this method at any time after application startup. Returns true if this Set contained the argument. The default implementation takes no action and returns false.
- jakarta.faces.application
- ViewHandler
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2448
- Process an incoming request, and create the corresponding response according to the following specification. If the request and response arguments to this method are not instances of HttpServletRequest and HttpServletResponse, respectively, the results of invoking this method are undefined. This method must respond to requests that contain the following strings by invoking the sendError method on the response argument (cast to HttpServletResponse), passing the code HttpServletResponse.SC_NOT_FOUND as the argument. /WEB-INF/ /WEB-INF /META-INF/ /META-INF If none of the cases described above in the specification for this method apply to the servicing of this request, the following action must be taken to service the request. Acquire a FacesContext instance for this request. Acquire the ResourceHandler for this request by calling jakarta.faces.application.Application#getResourceHandler. Call jakarta.faces.application.ResourceHandler#isResourceRequest. If this returns true call jakarta.faces.application.ResourceHandler#handleResourceRequest. If this returns false, call jakarta.faces.lifecycle.Lifecycle#attachWindow followed by jakarta.faces.lifecycle.Lifecycle#execute followed by jakarta.faces.lifecycle.Lifecycle#render. If a jakarta.faces.FacesException is thrown in either case, extract the cause from the FacesException. If the cause is null extract the message from the FacesException, put it inside of a new ServletException instance, and pass the FacesException instance as the root cause, then rethrow the ServletException instance. If the cause is an instance of ServletException, rethrow the cause. If the cause is an instance of IOException, rethrow the cause. Otherwise, create a new ServletException instance, passing the message from the cause, as the first argument, and the cause itself as the second argument. The implementation must make it so jakarta.faces.context.FacesContext#release is called within a finally block as late as possible in the processing for the JSF related portion of this request.
- jakarta.faces.webapp
- FacesServlet
-
-
- ServletRequest
- ServletResponse
-
-
-
-
- JSF:JAVADOC:2602
- Tests whether a physical resource corresponding to the specified viewId exists. The default implementation uses jakarta.faces.application.ResourceHandler#createViewResource to locate the physical resource.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2631
- Tests whether a physical resource corresponding to the specified viewId exists. The default implementation uses jakarta.faces.application.ResourceHandler#createViewResource to locate the physical resource.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:277
- Create an instance of Resource given the argument resourceName. The content-type of the resource is derived by passing the resourceName to jakarta.faces.context.ExternalContext#getMimeType The algorithm specified in section JSF.2.6.1.4 of the spec prose document linked in the overview summary must be executed to create the Resource. New requirements were introduced in version 2.2 of the specification. For historical reasons, this method operate correctly when the argument resourceName is of the form libraryName/resourceName, even when resourceName contains '/' characters.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2799
- Return the thread-safe singleton FlowHandler for this application. For implementations declaring compliance with version 2.2 of the specification, this method must never return null, even if the application has no flows. This is necessary to enable dynamic flow creation during the application's lifetime. All implementations that declare compliance with version 2.2 of the specification must implement this method. For the purpose of backward compatibility with environments that extend Application but do not override this method, an implementation is provided that returns null. Due to the decoratable nature of Application, code calling this method should always check for a null return.
- jakarta.faces.application
- Application
-
-
-
- JSF:JAVADOC:2800
- Return the thread-safe singleton FlowHandler for this application. For implementations declaring compliance with version 2.2 of the specification, this method must never return null, even if the application has no flows. This is necessary to enable dynamic flow creation during the application's lifetime. All implementations that declare compliance with version 2.2 of the specification must implement this method. For the purpose of backward compatibility with environments that extend Application but do not override this method, an implementation is provided that returns null. Due to the decoratable nature of Application, code calling this method should always check for a null return.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
- JSF:JAVADOC:272
- Return true if the user-agent requesting this resource needs an update. If the If-Modified-Since HTTP header is available for this request, its value must be consulted, as specified in Section 14.25 of IETF RFC 2616, to determine the result. Returns false if the user-agent does not need an update for this resource.
- jakarta.faces.application
- Resource
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2409
- Called by classes that implement jakarta.faces.view.facelets.FaceletHandler in their implementation of apply(). If the argument comp is new to the view, for each tag attribute declared to be in the pass through attribute namespace, set the name and value of the attribute into the pass through attributes map of the component. See UIComponent#getPassThroughAttributes(boolean) . See the VDLDocs for the namespace URI of the pass through attribute namespace. Attributes whose value is a ValueExpression must remain un-evaluated and stored in the map as ValueExpression instances.
- jakarta.faces.view.facelets
- TagHandlerDelegate
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:787
- Perform the following algorithm to validate the local value of this UIInput. Retrieve the submitted value with #getSubmittedValue. If this returns null, exit without further processing. (This indicates that no value was submitted for this component.) If the jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL context parameter value is true (ignoring case), and getSubmittedValue() returns a zero-length String call #setSubmittedValue, passing null as the argument and continue processing using null as the current submitted value. Convert the submitted value into a "local value" of the appropriate data type by calling #getConvertedValue. If conversion fails: Enqueue an appropriate error message by calling the addMessage() method on the FacesContext. Set the valid property on this component to false Validate the property by calling #validateValue. If the valid property of this component is still true, retrieve the previous value of the component (with getValue()), store the new local value using setValue(), and reset the submitted value to null with a call to #setSubmittedValue passing null as the argument. If the local value is different from the previous value of this component, as determined by a call to #compareValues, fire a ValueChangeEvent to be broadcast to all interested listeners. Application components implementing UIInput that wish to perform validation with logic embedded in the component should perform their own correctness checks, and then call the super.validate() method to perform the standard processing described above.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:1099
- Return the input URL, after performing any rewriting needed to ensure that it will correctly identify an addressable action in the current application. Encoding the jakarta.faces.lifecycle.ClientWindow Call jakarta.faces.lifecycle.ClientWindow#isClientWindowRenderModeEnabled(jakarta.faces.context.FacesContext) . If the result is false take no further action and return the rewritten URL. If the result is true, call #getClientWindow(). If the result is non-null, call jakarta.faces.lifecycle.ClientWindow#getId() and append the id to the query string of the URL, making the necessary allowances for a pre-existing query string or no query-string. Call jakarta.faces.lifecycle.ClientWindow#getQueryURLParameters. If the result is non-null, for each parameter in the map, unconditionally add that parameter to the URL. The name of the query string parameter is given by the value of the constant jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_URL_PARAM. Servlet: This must be the value returned by the javax.servlet.http.HttpServletResponse method encodeURL(url).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2119
- Take the argument state and write it into the output using the current ResponseWriter, which must be correctly positioned already. Call FacesContext#getViewRoot(). Call jakarta.faces.component.UIComponent#isTransient() returns true, take implementation specific action so that the following call to #isStateless returns true and return. Otherwise, proceed as follows. If the state is to be written out to hidden fields, the implementation must take care to make all necessary character replacements to make the Strings suitable for inclusion as an HTTP request paramater. If the state saving method for this application is jakarta.faces.application.StateManager#STATE_SAVING_METHOD_CLIENT, the implementation must encrypt the state to be saved to the client in a tamper evident manner. If the state saving method for this application is jakarta.faces.application.StateManager#STATE_SAVING_METHOD_SERVER, and the current request is an Ajax request jakarta.faces.context.PartialViewContext#isAjaxRequest returns true), use the current view state identifier if it is available (do not generate a new identifier). Write out the render kit identifier associated with this ResponseStateManager implementation with the name as the value of the String constant ResponseStateManager.RENDER_KIT_ID_PARAM. The render kit identifier must not be written if: it is the default render kit identifier as returned by jakarta.faces.application.Application#getDefaultRenderKitId() or the render kit identfier is the value of jakarta.faces.render.RenderKitFactory.HTML_BASIC_RENDER_KIT and jakarta.faces.application.Application#getDefaultRenderKitId() returns null. For backwards compatability with existing ResponseStateManager implementations, the default implementation of this method checks if the argument is an instance of SerializedView. If so, it calls through to #writeState(jakarta.faces.context.FacesContext,jakarta.faces.application.StateManager.SerializedView). If not, it expects the state to be a two element Object array. It creates an instance of SerializedView and stores the state as the treeStructure, and passes it to #writeState(jakarta.faces.context.FacesContext,jakarta.faces.application.StateManager.SerializedView). The jakarta.faces.lifecycle.ClientWindow must be written using these steps. Call jakarta.faces.context.ExternalContext#getClientWindow. If the result is null, take no further action regarding the ClientWindow. If the result is non-null, write a hidden field whose name is #CLIENT_WINDOW_PARAM and whose id is jakarta.faces.ClientWindow where is the currently configured UINamingContainer.getSeparatorChar(). is the return from UIViewRoot.getContainerClientId() on the view from whence this state originated. is a number that must be unique within this view, but must not be included in the view state. The value of the field is implementation dependent but must uniquely identify this window within the user's session.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:262
- Return a path to this resource such that, when the browser resolves it against the base URI for the view that includes the resource, and issues a GET request to the resultant fully qualified URL, the bytes of the resource are returned in response. The default implementation must implement the following algorithm. For discussion, the return result from this method will be called result. Get the context-root for this web application, not ending in slash. For discussion this will be called contextRoot. Discover if the FacesServlet is prefix or extension mapped, and the value of the mapping (including the leading '.' in the case of extension mapping). For discussion, this will be facesServletMapping. If prefix mapped, result must be result = contextRoot + '/' + facesServletMapping + ResourceHandler#RESOURCE_IDENTIFIER + '/' + #getResourceName If extension mapped, result must be result = contextRoot + ResourceHandler#RESOURCE_IDENTIFIER + #getResourceName + facesServletMapping Build up a string, called resourceMetaData which is an & separated string of name=value pairs suitable for inclusion in a URL query string. If #getLibraryName returns non-null, resourceMetaData must include "ln=" + the return from #getLibraryName If there is a localePrefix for this application, as defined in ResourceHandler#LOCALE_PREFIX, resourceMetaData must include "loc=" + the localePrefix. If this resource is contained in a resource library contract, resourceMetaData must include "con=" + the name of the resource library contract. Append "?" + resourceMetaData to result. Make it portlet safe by passing the result through ViewHandler#getResourceURL.
- jakarta.faces.application
- Resource
-
-
-
- JSF:JAVADOC:2804
- Service providers that implement this service must be called by the JSF runtime exactly once for each implementation, at startup, before any requests have been serviced. Before calling the #populateApplicationConfigurationResource method, the runtime must ensure that the Document argument is empty aside from being pre-configured to be in the proper namespace for an Application Configuration Resources file. Implementations of this service must ensure that any changes made to the argument Document conform to that schema as defined in the specification. The JSF runtime is not required to validate the Document after control returns from the service implementation, though it may do so. Ordering of Artifacts If the document is made to contain an element, as specified in the section Ordering of Artifacts in the specification prose document, the document will be prioritized accordingly. Otherwise, the runtime must place the document in the list of other Application Configuration Resources documents at the "lowest" priority, meaning any conflicts that may arise between the argument document and any other Application Configuration Resources are resolved in favor of the other document.
- jakarta.faces
- ApplicationConfigurationResourceDocumentPopulator
-
-
- org.w3c.dom.Document
-
-
-
-
- JSF:JAVADOC:2805
- This is a convenience method that simply calls #getPassThroughAttributes(boolean), passing true as the argument. This method must never return null.
- jakarta.faces.component
- UIComponent
-
-
-
- JSF:JAVADOC:2806
- This method has the same specification as #getPassThroughAttributes() except that it is allowed to return null if and only if the argument create is false and no pass through attribute data structure exists for this instance. The returned Map implementation must support all of the standard and optional Map methods, plus support the following additional requirements. The Map implementation must implement java.io.Serializable. Any attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a String must throw an IllegalArgumentException.
- jakarta.faces.component
- UIComponent
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2808
- This method has the same specification as #getPassThroughAttributes() except that it is allowed to return null if and only if the argument create is false and no pass through attribute data structure exists for this instance. The returned Map implementation must support all of the standard and optional Map methods, plus support the following additional requirements. The Map implementation must implement java.io.Serializable. Any attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a String must throw an IllegalArgumentException.
- jakarta.faces.component
- UIComponentBase
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2824
- A reference to the Tag for which this class represents the attributes. For compatibility with previous implementations, an implementation is provided that returns null.
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
- JSF:JAVADOC:2826
- A reference to the Tag for which this class represents the attributes. For compatibility with previous implementations, an implementation is provided that returns null.
- jakarta.faces.view.facelets
- TagAttributes
-
-
-
- JSF:JAVADOC:2828
- Set the FlowHandler instance used by the NavigationHandler to satisfy the requirements of the faces flows feature.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.flow.FlowHandler
-
-
-
-
- JSF:JAVADOC:2829
- if {code newHandler is {null}
- jakarta.faces.application
- Application
-
-
- jakarta.faces.flow.FlowHandler
-
- NullPounterException
-
-
-
- JSF:JAVADOC:2830
- if this method is called after at least one request has been processed by the Lifecycle instance for this application.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.flow.FlowHandler
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:2831
- Set the FlowHandler instance used by the NavigationHandler to satisfy the requirements of the faces flows feature.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.flow.FlowHandler
-
-
-
-
- JSF:JAVADOC:2832
- if {code newHandler is {null}
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.flow.FlowHandler
-
- NullPounterException
-
-
-
- JSF:JAVADOC:2833
- if this method is called after at least one request has been processed by the Lifecycle instance for this application.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.flow.FlowHandler
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:2834
- Return the NavigationCase representing the navigation that would be taken had NavigationHandler#handleNavigation been called with the same arguments or null if there is no such case. Implementations that comply the version of the specification in which this method was introduced must override this method. For compatibility with decorated implementations that comply with an earlier version of the specification, an implementation is provided that simply calls through to #getNavigationCase(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String), ignoring the toFlowDocumentId parameter.
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2835
- if context is null
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2836
- Return the NavigationCase representing the navigation that would be taken had NavigationHandler#handleNavigation been called with the same arguments or null if there is no such case. Implementations that comply the version of the specification in which this method was introduced must override this method. For compatibility with decorated implementations that comply with an earlier version of the specification, an implementation is provided that simply calls through to #getNavigationCase(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String), ignoring the toFlowDocumentId parameter.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2837
- if context is null
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2838
- If this navigation case represents a flow invocation, this property is the documentId in which the flow whose id is given by the return from #getFromOutcome() is defined. Implementations must override this method to return the value defined in the corresponding application configuration resources element. The base implementation returns the empty string.
- jakarta.faces.application
- NavigationCase
-
-
-
- JSF:JAVADOC:2839
- Construct a new NavigationCase based on the provided arguments. See section JSF.7.4.2 for how a NavigationCase is used by the standard ConfigurableNavigationHandler
- jakarta.faces.application
- NavigationCase
-
-
- java.lang.String
- java.lang.String
- java.lang.String
- java.lang.String
- java.lang.String
- java.lang.String
- java.util.Map
- boolean
- boolean
-
-
-
-
- JSF:JAVADOC:2840
-
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2841
- Construct an absolute URL to this NavigationCase instance using jakarta.faces.application.ViewHandler#getActionURL on the path portion of the url.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2842
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
- JSF:JAVADOC:2843
- Construct an absolute URL suitable for a bookmarkable link to this NavigationCase instance using jakarta.faces.application.ViewHandler#getBookmarkableURL on the path portion of the url. This URL may include view parameters specified as metadata within the view.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2844
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
- JSF:JAVADOC:2845
- Evaluates the for this , if any. The expression to be evaluated is passed into the constructor as a string. When the expression is evaluated, its value must be coerced into a boolean per the normal EL coercion rules.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2846
- exceptions encountered during the process of evaluating the expression or obtaining its value.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
- any
-
-
-
- JSF:JAVADOC:2847
- Return the for this
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
- JSF:JAVADOC:2848
- Return the for this
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
- JSF:JAVADOC:2849
- Return the of the inside which this is nested.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
- JSF:JAVADOC:2850
- Return the parameters to be included for navigation cases requiring a redirect. If no parameters are defined, null will be returned. The keys in the Map are parameter names. For each key, the corresponding value is a List of unconverted values.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
- JSF:JAVADOC:2851
- Construct an absolute URL suitable for a "redirect" to this NavigationCase instance using jakarta.faces.application.ViewHandler#getRedirectURL on the path portion of the url.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2852
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
- JSF:JAVADOC:2853
- Construct an absolute URL to this NavigationCase instance using jakarta.faces.application.ViewHandler#getResourceURL on the path portion of the url.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2854
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
- JSF:JAVADOC:2855
- If this navigation case represents a flow invocation, this property is the documentId in which the flow whose id is given by the return from #getFromOutcome() is defined. Implementations must override this method to return the value defined in the corresponding application configuration resources element. The base implementation returns the empty string.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
- JSF:JAVADOC:2856
- Evaluates the for this
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2857
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
- JSF:JAVADOC:2858
- Test if this navigation case has an associated element.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
- JSF:JAVADOC:2859
-
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
- JSF:JAVADOC:2860
- Return the value for this . This will be true if the view parametets should be encoded into the redirect URL (only applies to redirect case)
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
- JSF:JAVADOC:2861
- Return the value for this . This will be true if the new view should be navigated to via a jakarta.faces.context.ExternalContext#redirect(String)
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
- JSF:JAVADOC:2862
-
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
- JSF:JAVADOC:2863
-
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
- JSF:JAVADOC:2864
- Overloaded variant of #handleNavigation(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String) that allows the caller to provide the defining document id for a flow to be entered by this navigation. For backward compatibility with decorated NavigationHandler implementations that conform to an earlier version of the specification, an implementation is provided that calls through to #handleNavigation(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String), ignoring the toFlowDocumentId parameter.
- jakarta.faces.application
- NavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2865
- if context is null
- jakarta.faces.application
- NavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2866
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- NavigationHandlerWrapper
-
-
-
- JSF:JAVADOC:2867
- Perform navigation processing based on the state information in the specified FacesContext, plus the outcome string returned by an executed application action. If the implementation class also extends ConfigurableNavigationHandler, the implementation must guarantee that the logic used in a call to ConfigurableNavigationHandler#getNavigationCase is used in this method to determine the correct navigation. This method must set the render targets (used in partial rendering) to render all invoking jakarta.faces.context.PartialViewContext#setRenderAll) if the view identifier has changed as the result of an application action (to take into account Ajax requests).
- jakarta.faces.application
- NavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2868
- if context is null
- jakarta.faces.application
- NavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2869
- Overloaded variant of #handleNavigation(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String) that allows the caller to provide the defining document id for a flow to be entered by this navigation. For backward compatibility with decorated NavigationHandler implementations that conform to an earlier version of the specification, an implementation is provided that calls through to #handleNavigation(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String), ignoring the toFlowDocumentId parameter.
- jakarta.faces.application
- NavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2870
- if context is null
- jakarta.faces.application
- NavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2871
-
- jakarta.faces.application
- NavigationHandlerWrapper
-
-
-
- JSF:JAVADOC:2872
- Create an instance of Resource given the argument resourceName, which may contain "/" characters. The jakarta.faces.view.ViewDeclarationLanguage calls this method when it needs to load a view from a persistent store, such as a filesystem. This method is functionality equivalent to #createResource(java.lang.String), but all callsites that need to load VDL views must use this method so that classes that want to decorate the ResourceHandler in order to only affect the loading of views may do so without affecting the processing of other kinds of resources, such as scripts and stylesheets. A jakarta.faces.context.FacesContext must be present before calling this method. To preserve compatibility with prior revisions of the specification, a default implementation must be provided that calls #createResource(java.lang.String). PENDING(edburns): I think we need to put an additional check in to avoid returning false hits from this method when a viewResource happens to be named the same as one of the templates in a resource library contract. Perhaps we could set some kind of flag in the tag handler of all facelet tags that are valid for using resource library contracts (maybe just ui:composition and ui:decorate) and make it so the getResourceLibraryContracts part of this method only takes effect if that flag is set? Call FacesContext#getResourceLibraryContracts. If the result is non-null and not empty, for each value in the list, treat the value as the name of a resource library contract. If the argument resoureName exists as a resource in the resource library contract, return it. Otherwise, return the resource (not in the resource library contract), if found. Otherwise, return null.
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2873
- if resourceName is null.
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2874
- Return true if the argument url contains the string given by the value of the constant ResourceHandler#RESOURCE_IDENTIFIER, false otherwise.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2875
- if the argument url is null.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2876
- The default behavior of this method is to call ResourceHandler#createViewResource on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2877
- The default behavior of this method is to call ResourceHandler#isResourceURL on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2879
- Return whether or not the client window should be encoded into the target url.
- jakarta.faces.component
- UIOutcomeTarget
-
-
-
- JSF:JAVADOC:2880
- Set whether or not the client window should be encoded into the target url.
- jakarta.faces.component
- UIOutcomeTarget
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2881
- Convenience method to reset this component's value to the un-initialized state.
- jakarta.faces.component
- UIOutput
-
-
-
- JSF:JAVADOC:2882
- Visit the clientIds and, if the component is an instance of EditableValueHolder, call its EditableValueHolder#resetValue method. Use #visitTree to do the visiting.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.util.Collection
-
-
-
-
- JSF:JAVADOC:2883
- Return the resetValues status of this behavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:2884
- Tests whether the resetValues attribute is specified. Returns true if the resetValues attribute is specified, either as a locally set property or as a value expression.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
- JSF:JAVADOC:2885
- Set the resetValues status of this behavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2886
- Return the list of resource library contracts that have been calculated to be appropriate for use with this view, or null if there are no such resource library contracts. The list returned by this method must be immutable. For backward compatibility with implementations of the specification prior to when this method was introduced, an implementation is provided that returns null. Implementations compliant with the version in which this method was introduced must implement this method as specified.
- jakarta.faces.context
- FacesContext
-
-
-
- JSF:JAVADOC:2887
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:2888
- Set the resource library contracts calculated as valid to use with this view. The implementation must copy the contents of the incoming List into an immutable List for return from #getResourceLibraryContracts. If the argument is null or empty, the action taken is the same as if the argument is null: a subsequent call to getResourceLibraryContracts returns null. This method may only be called during the processing of jakarta.faces.view.ViewDeclarationLanguage#createView and during the VDL tag handler for the tag corresponding to an instance of UIViewRoot. For backward compatibility with implementations of the specification prior to when this method was introduced, an implementation is provided that takes no action. Implementations compliant with the version in which this method was introduced must implement this method as specified.
- jakarta.faces.context
- FacesContext
-
-
- java.util.List
-
-
-
-
- JSF:JAVADOC:2889
- if this method is called after this instance has been released
- jakarta.faces.context
- FacesContext
-
-
- java.util.List
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:2890
- The default behavior of this method is to call FacesContext#getResourceLibraryContracts on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
- JSF:JAVADOC:2891
- The default behavior of this method is to call FacesContext#setResourceLibraryContracts on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- java.util.List
-
-
-
-
- JSF:JAVADOC:2892
- Create (if needed) and return a Flash instance for this web application.
- jakarta.faces.context
- FlashFactory
-
-
- boolean
-
-
-
-
- JSF:JAVADOC:2893
- Return true if the incoming request has a parameter named by the value of #RESET_VALUES_PARAM_NAME and that value is true. To preserve backward compatibility with custom implementations that may have extended from an earlier version of this class, an implementation is provided that returns false. A compliant implementation must override this method to take the specified action.
- jakarta.faces.context
- PartialViewContext
-
-
-
- JSF:JAVADOC:2894
- The default behavior of this method is to call PartialViewContext#isResetValues() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
- JSF:JAVADOC:2895
- Write a string containing the markup specific doctype. No escaping is performed. The default implementation simply calls through to #write(java.lang.String) . The implementation makes no checks if this is the correct place in the response to have a doctype, nor does it prevent the doctype from being written more than once.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2896
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2897
- Write a string containing the markup specific preamble. No escaping is performed. The default implementation simply calls through to #write(java.lang.String) . The implementation makes no checks if this is the correct place in the response to have a preamble, nor does it prevent the preamble from being written more than once.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2898
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2899
- The default behavior of this method is to call ResponseWriter#writeDoctype on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2900
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2901
- The default behavior of this method is to call ResponseWriter#writePreamble on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2902
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2903
- Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first before rendering those URLs. The caller must call #enableClientWindowRenderMode(jakarta.faces.context.FacesContext) from a finally block after rendering the URL. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual ClientWindow instance.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2904
- Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first after rendering those URLs. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual ClientWindow instance.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2905
- This method will be called whenever a URL is generated by the runtime where client window related parameters need to be inserted into the URL. This guarantees custom ClientWindow implementations that they will have the opportunity to insert any additional client window specific information in any case where a URL is generated, such as the rendering of hyperlinks. The default implementation of this method returns the null.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2906
- Methods that append the ClientWindow to generated URLs must call this method to see if they are permitted to do so. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual ClientWindow instance.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
- JSF:JAVADOC:2907
- Convert the component generated client id to a form suitable for transmission to the client. The default implementation returns the argument clientId unchanged.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2908
- if context or clientId is null
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2909
- Decode any new state of the specified UIComponent from the request contained in the specified FacesContext, and store that state on the UIComponent. During decoding, events may be enqueued for later processing (by event listeners that have registered an interest), by calling queueEvent() on the associated UIComponent.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2910
- if context or component is null
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2911
- Render the beginning specified UIComponent to the output stream or writer associated with the response we are creating. If the conversion attempted in a previous call to getConvertedValue() for this component failed, the state information saved during execution of decode() should be used to reproduce the incorrect input.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2912
- if an input/output error occurs while rendering
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2913
- if context or component is null
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2914
- Render the child components of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property of this component is true.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2915
- if an input/output error occurs while rendering
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2916
- if context or component is null
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2917
- Render the ending of the current state of the specified UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- JSF:JAVADOC:2918
- if an input/output error occurs while rendering
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- JSF:JAVADOC:2919
- if context or component is null
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2920
- Attempt to convert previously stored state information into an object of the type required for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one). If conversion is successful, the new value should be returned from this method; if not, a ConverterException should be thrown.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- JSF:JAVADOC:2921
- if the submitted value cannot be converted successfully.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
- JSF:JAVADOC:2922
- if context or component is null
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2923
- Return a flag indicating whether this Renderer is responsible for rendering the children the component it is asked to render. The default implementation returns false.
- jakarta.faces.render
- RendererWrapper
-
-
-
- JSF:JAVADOC:2924
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.render
- RendererWrapper
-
-
-
- JSF:JAVADOC:2925
-
- jakarta.faces.render
- RendererWrapper
-
-
-
- JSF:JAVADOC:2926
- If the preceding call to #writeState(jakarta.faces.context.FacesContext, java.lang.Object) was stateless, return true. If the preceding call to writeState() was stateful, return false. Otherwise throw IllegalStateException. To preserve backward compatibility with custom implementations that may have extended from an earlier version of this class, an implementation is provided that returns false. A compliant implementation must override this method to take the specified action.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2927
- if the argument context is null.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2928
- if this method is invoked and the statefulness of the preceding call to #writeState(jakarta.faces.context.FacesContext, java.lang.Object) cannot be determined.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.IllegalStateException
-
-
-
- JSF:JAVADOC:2929
- Return the list of resource library contracts that will be made available for use in the view specified by the argument viewId. If no match is found, return an empty list. See section JSF.7.7.2 for the specification of the default implementation. For backward compatibility with prior implementations, an implementation is provided that returns null, but any implementation compliant with the version of the specification in which this method was introduced must implement it as specified in JSF.7.7.2.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2930
- Create a component given a ViewDeclarationLanguage specific tag library URI and tag name. The runtime must support this method operating for the Facelets VDL. Other kinds of ViewDeclarationLanguage may be supported but are not required to be supported. For backward compatibility with decorated ViewDeclrationLanguage implementations that do not override this method, a default implementation is provided that returns null. However, any implementation that is compliant with the version of the specification in which this method was introduced must implement this method.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.util.Map
-
-
-
-
- JSF:JAVADOC:2931
- if context, taglibURI, or tagName are null
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.util.Map
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2932
- Return the list of resource library contracts that will be made available for use in the view specified by the argument viewId. If no match is found, return an empty list. See section JSF.7.7.2 for the specification of the default implementation. For backward compatibility with prior implementations, an implementation is provided that returns null, but any implementation compliant with the version of the specification in which this method was introduced must implement it as specified in JSF.7.7.2.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
- JSF:JAVADOC:2933
- Create a component given a ViewDeclarationLanguage specific tag library URI and tag name. The runtime must support this method operating for the Facelets VDL. Other kinds of ViewDeclarationLanguage may be supported but are not required to be supported. For backward compatibility with decorated ViewDeclrationLanguage implementations that do not override this method, a default implementation is provided that returns null. However, any implementation that is compliant with the version of the specification in which this method was introduced must implement this method.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.util.Map
-
-
-
-
- JSF:JAVADOC:2934
- if context, taglibURI, or tagName are null
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.util.Map
-
- java.lang.NullPointerException
-
-
-
- JSF:JAVADOC:2935
- Utility method to extract view metadata from the provided UIViewRoot.
- jakarta.faces.view
- ViewMetadata
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:2936
- Utility method to determine if the the provided UIViewRoot has metadata. The default implementation will return true if the provided UIViewRoot has a facet named UIViewRoot#METADATA_FACET_NAME and that facet has children. It will return false otherwise.
- jakarta.faces.view
- ViewMetadata
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
- JSF:JAVADOC:2937
- Subclasses that wish to take over the task of instantiating the UIComponent instance corresponding to this tag handler my override this method to do so. A null return from this method will cause the TagHandlerDelegate for instance to create the component instead.
- jakarta.faces.view.facelets
- ComponentHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
- JSF:JAVADOC:2938
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped. A default implementation is provided that returns null.
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
-
-
-
-
-
-
-
-
-
-
-
- JSF:JAVADOC:70
- Return the default ActionListener to be registered for all jakarta.faces.component.ActionSource components in this application. If not explicitly set, a default implementation must be provided that performs the functions as specified in the section titled "ActionListener Property" in the chapter titled "Application Integration" of the spec prose document. Note that the specification for the default ActionListener contiues to call for the use of a deprecated property (action) and class (MethodBinding). Unfortunately, this is necessary because the default ActionListener must continue to work with components that do not implement jakarta.faces.component.ActionSource2, and only implement jakarta.faces.component.ActionSource.
- jakarta.faces.application
- Application
-
-
-
-
-
-
-
- JSF:JAVADOC:1103
- if name is null
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:2655
-
- jakarta.faces.view.facelets
- FaceletFactory
-
-
-
-
- JSF:JAVADOC:2656
- Return a Facelet instance as specified by the file at the passed URI.
- jakarta.faces.view.facelets
- FaceletFactory
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2657
-
- jakarta.faces.view.facelets
- FaceletFactory
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2658
-
- jakarta.faces.view.facelets
- FaceletFactory
-
-
- java.net.URL
-
-
-
-
-
- JSF:JAVADOC:2659
-
- jakarta.faces.view.facelets
- FaceletFactory
-
-
- java.net.URL
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2660
-
- jakarta.faces.view.facelets
- FaceletFactory
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2661
-
- jakarta.faces.view.facelets
- FaceletFactory
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2662
-
- jakarta.faces.view.facelets
- FaceletFactory
-
-
- java.net.URL
-
-
-
-
-
- JSF:JAVADOC:2663
-
- jakarta.faces.view.facelets
- FaceletFactory
-
-
- java.net.URL
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2664
-
- jakarta.faces.view.facelets
- FaceletFactory
-
-
-
-
- JSF:JAVADOC:2666
-
- jakarta.faces.view.facelets
- FaceletFactoryWrapper
-
-
- jakarta.faces.view.facelets.FaceletFactory
-
-
-
-
-
- JSF:JAVADOC:2667
- Return a Facelet instance as specified by the file at the passed URI.
- jakarta.faces.view.facelets
- FaceletFactoryWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2668
-
- jakarta.faces.view.facelets
- FaceletFactoryWrapper
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2669
-
- jakarta.faces.view.facelets
- FaceletFactoryWrapper
-
-
- java.net.URL
-
-
-
-
-
- JSF:JAVADOC:2670
-
- jakarta.faces.view.facelets
- FaceletFactoryWrapper
-
-
- java.net.URL
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2671
-
- jakarta.faces.view.facelets
- FaceletFactoryWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2672
-
- jakarta.faces.view.facelets
- FaceletFactoryWrapper
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2673
-
- jakarta.faces.view.facelets
- FaceletFactoryWrapper
-
-
- java.net.URL
-
-
-
-
-
- JSF:JAVADOC:2674
-
- jakarta.faces.view.facelets
- FaceletFactoryWrapper
-
-
- java.net.URL
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2675
-
- jakarta.faces.view.facelets
- FaceletFactoryWrapper
-
-
-
-
- JSF:JAVADOC:2677
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.view.facelets
- FaceletFactoryWrapper
-
-
-
-
- JSF:JAVADOC:2697
- Subclasses that wish to take over the task of instantiating the UIComponent instance corresponding to this tag handler my override this method to do so. A null return from this method will cause the TagHandlerDelegate for instance to create the component instead.
- jakarta.faces.view.facelets
- ComponentHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
-
- JSF:JAVADOC:2698
-
- jakarta.faces.view.facelets
- FaceletFactory
-
-
- java.lang.String
- java.lang.String
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:2699
-
- jakarta.faces.view.facelets
- FaceletFactoryWrapper
-
-
- java.lang.String
- java.lang.String
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:2722
- Create an instance of Resource given the argument resourceName, which may contain "/" characters. The jakarta.faces.view.ViewDeclarationLanguage calls this method when it needs to load a view from a persistent store, such as a filesystem. This method is functionality equivalent to #createResource(java.lang.String), but all callsites that need to load VDL views must use this method so that classes that want to decorate the ResourceHandler in order to only affect the loading of views may do so without affecting the processing of other kinds of resources, such as scripts and stylesheets. A jakarta.faces.context.FacesContext must be present before calling this method. To preserve compatibility with prior revisions of the specification, a default implementation must be provided that calls #createResource(java.lang.String).
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2723
- if resourceName is null.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:2724
- The default behavior of this method is to call ResourceHandler#createViewResource(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2737
- Create (if needed) and return a Flash instance for this web application.
- jakarta.faces.context
- FlashFactory
-
-
- jakarta.faces.context.ExternalContext
- boolean
-
-
-
-
-
- JSF:JAVADOC:2807
- Return a data structure containing the attributes of this component that should be rendered directly to the output without interpretation by the jakarta.faces.render.Renderer. This method must never return . The returned implementation must support all of the standard and optional methods, plus support the following additional requirements. The implementation must implement . Any attempt to add a key or value must throw a . Any attempt to add a key that is not a must throw an .
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- JSF:JAVADOC:2811
- Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first before rendering those URLs. The caller must call #enableClientWindowUrlQueryParameter(jakarta.faces.context.FacesContext) from a finally block after rendering the URL. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual instance.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2812
- Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first after rendering those URLs. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual instance.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2813
- Methods that append the ClientWindow to generated URLs must call this method to see if they are permitted to do so. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual instance.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2878
- If there is a local value, return it, otherwise return the result of calling super.getVaue().
- jakarta.faces.component
- UIInput
-
-
-
-
-
-
-
- JSF:JAVADOC:2939
-
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2940
- Obtain the current jakarta.faces.lifecycle.ClientWindow from the jakarta.faces.context.ExternalContext. Get the window's id and append "_" and the return from #getId. Return the result.
- jakarta.faces.flow
- Flow
-
-
- jakarta.faces.lifecycle.ClientWindow
-
-
-
-
-
- JSF:JAVADOC:2941
- Return the immutable application unique identifier for the document in which the argument flow is defined.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2942
- Return the MethodExpression that must be called by the runtime as the last thing that happens before exiting this flow. Any FlowScoped beans declared for this flow must remain in scope until after control returns from the method referenced by this MethodExpression.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2943
- Return the FlowCallNode that represents calling the targetFlow from this flow, or null if targetFlow cannot be reached from this flow.
- jakarta.faces.flow
- Flow
-
-
- jakarta.faces.flow.Flow
-
-
-
-
-
- JSF:JAVADOC:2944
- Return an immutable data structure containing all the flow call nodes declared for this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2945
- Return the immutable id for this Flow. This must be unique within the defining document (such as an Application Configuration Resources file), but need not be unique within the entire application.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2946
- Return an immutable data structure containing the inbound parameters that have been declared for this flow. See FlowHandler#transition for the specification of how these parameters are used. Inbound parameters are associated with a specific flow instance, while outbound parameters are associated with a FlowCallNode that causes the transition to a new flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2947
- Return the MethodExpression that must be called by the runtime immediately after activating any FlowScoped beans declared for this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2948
- Return an immutable data structure containing all the method call nodes declared for this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2949
-
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2950
-
- jakarta.faces.flow
- Flow
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2951
- Return an immutable data structure containing all of the return nodes declared for this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2952
- Return the immutable id for the default node that should be activated when this flow is entered.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2953
- Return an immutable data structure containing all of the switch nodes declared for this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2954
- Return an immutable data structure containing all of the view nodes declared for this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:2955
-
- jakarta.faces.flow
- FlowCallNode
-
-
-
-
- JSF:JAVADOC:2956
-
- jakarta.faces.flow
- FlowCallNode
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2957
-
- jakarta.faces.flow
- FlowCallNode
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2958
-
- jakarta.faces.flow
- FlowCallNode
-
-
-
-
- JSF:JAVADOC:2959
- Add the argument Flow to the collection of Flows known to the current application. The implementation must be thread safe.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
-
-
-
-
-
- JSF:JAVADOC:2960
- if any of the parameters are null
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:2961
- if there is already a flow with the same id as the argument Flow within the scope of the definingDocument.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
-
- java.lang.IllegalStateException
-
-
-
-
- JSF:JAVADOC:2962
- if the id of the flow to add is null or the empty string.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
-
- java.lang.IllegalArgumentException
-
-
-
-
- JSF:JAVADOC:2963
- if the definingDocumentId of the toAdd is null.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
-
- java.lang.IllegalArgumentException
-
-
-
-
- JSF:JAVADOC:2964
- Allow for flow transitions in the case of components rendered by the renderers from component-family jakarta.faces.OutcomeTarget. These transitions must happen at the front of the request processing lifecycle due to the HTTP GET based nature of such components. Therefore, this method is called from jakarta.faces.lifecycle.Lifecycle#attachWindow. Let flowId be the value in the request parameter map for the parameter whose name is given by the value of #FLOW_ID_REQUEST_PARAM_NAME. Let toFlowDocumentId be the value in the request parameter map for the paramater whose name is given by the value of #TO_FLOW_DOCUMENT_ID_REQUEST_PARAM_NAME. If toFlowDocumentId is null, take no action and return. Otherwise, let sourceFlow be the return from #getCurrentFlow(jakarta.faces.context.FacesContext). A null value indicates there is no current flow, which will be the case if this navigation is trying to enter a flow. If flowId is not null and toFlowDocumentId is not equal to the value of #NULL_FLOW, let targetFlow be the result of calling #getFlow(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String), passing toFlowDocumentId and flowId as the last two arguments, respectively. If the result is non-null, let flowCallNode be the return from calling Flow#getFlowCall on the sourceFlow, passing targetFlow as the argument. Otherwise, targetFlow and flowCallNode must remain null, indicating that this is a flow return. Call FacesContext#getViewRoot() and let toViewId be the the return from calling jakarta.faces.component.UIViewRoot#getViewId on it. Call, #transition, passing the arguments gathered in the preceding algorithm.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2965
- if context is null.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:2966
-
- jakarta.faces.flow
- FlowHandler
-
-
-
-
- JSF:JAVADOC:2967
- Return the currently active Flow for the argument FacesContext, or null if no flow is active. A Flow must always be associated with exactly one jakarta.faces.lifecycle.ClientWindow, but a ClientWindow may have multiple Flows. If #setReturnMode had been called with true as the argument before invoking this method, return the preceding flow on the stack instead of the actual current flow, or null if there is no preceding flow. Otherwise, return the current flow.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2968
- if any of the parameters are null
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:2969
- Convenience overload that calls FacesContext#getCurrentInstance() and then calls through to #getCurrentFlow(jakarta.faces.context.FacesContext).
- jakarta.faces.flow
- FlowHandler
-
-
-
-
- JSF:JAVADOC:2970
- Return the Map that backs the #{flowScope} EL implicit object or null if no flow is currently active.
- jakarta.faces.flow
- FlowHandler
-
-
-
-
- JSF:JAVADOC:2971
- Return the Flow whose id is equivalent to the argument id, within the scope of the argument definingDocument.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2972
- if any of the parameters are null
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:2973
- Return the last displayed viewId for the current flow, as returned by #getCurrentFlow(jakarta.faces.context.FacesContext), or null if there is no current flow.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2974
- if context is null
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:2975
- Return true if and only if the flow referenced by the argument definingDocument and id is currently active.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2976
- if any of the parameters are null
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:2977
- Enable the correct handling of navigation when processing a return node. The default jakarta.faces.application.NavigationHandler specification requires calling this method with true before processing the navigation rules for the flow return, and calling this method with false, from a finally block, immediately afterward.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- boolean
-
-
-
-
-
- JSF:JAVADOC:2978
- if context is null.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- boolean
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:2979
- Perform a transition in the flow graph for the current user's jakarta.faces.lifecycle.ClientWindow. Obtain references to the Flow instances corresponding to the origin and destination arguments. If the origin Flow is equal to the destination Flow, take no action and return null. Otherwise, if the outboundCallNode argument is non-null save aside the outbound parameters. For discussion evaluatedParams is a data structure that stores the evaluated values of any outbound parameters. It is necessary to evaluate these values before popping any flow scopes because the values may refer to scoped instances that need to be passed to the target flow, but will not be available once the new scope is activated. Save aside the outbound parameters using the following algorithm. If the outboundParameters property of outboundCallNode is non-null and not empty, and the inboundParameters property of the target flow is non-null and not empty, for each entry in the outbound parameters whose name matches an entry in the inbound parameters, evaluate the value of the parameter, and put the evaluated value into evaluatedParams under the corresponding name. Otherwise, consider evaluatedParams to be empty. If the destination Flow is a sub-flow of the origin Flow push the destination Flow onto the flow data structure and return the destination Flow. Otherwise, pop the current Flow from the flow data structure. If the destination Flow is non-null, make the destination Flow the current flow, pushing it onto the data structure. If evaluatedParams is not empty, for each entry, find the corresponding parameter in the target flow's inbound parameters and call its setValue method, passing the value from evaluatedParams.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
- jakarta.faces.flow.Flow
- jakarta.faces.flow.FlowCallNode
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2980
- if context or toViewId is null.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
- jakarta.faces.flow.Flow
- jakarta.faces.flow.FlowCallNode
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:2981
- Create the singleton instance of FlowHandler.
- jakarta.faces.flow
- FlowHandlerFactory
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2982
-
- jakarta.faces.flow
- FlowHandlerFactory
-
-
-
-
- JSF:JAVADOC:2983
- Create the singleton instance of FlowHandler.
- jakarta.faces.flow
- FlowHandlerFactoryWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2984
-
- jakarta.faces.flow
- FlowHandlerFactoryWrapper
-
-
-
-
- JSF:JAVADOC:2985
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.flow
- FlowHandlerFactoryWrapper
-
-
-
-
- JSF:JAVADOC:2986
-
- jakarta.faces.flow
- FlowNode
-
-
-
-
- JSF:JAVADOC:2987
-
- jakarta.faces.flow
- FlowNode
-
-
-
-
- JSF:JAVADOC:2988
- If not empty, declare the defining document id within which the Flow referenced by #value is unique. If empty the, the runtime assumes that all flow ids are unique within the scope of the application.
- jakarta.faces.flow
- FlowScoped
-
-
-
-
- JSF:JAVADOC:2989
- Must be equivalent to the Flow#getId of a defined flow for this application.
- jakarta.faces.flow
- FlowScoped
-
-
-
-
- JSF:JAVADOC:2990
- Return the MethodExpression to be invoked to when control passes to this node.
- jakarta.faces.flow
- MethodCallNode
-
-
-
-
- JSF:JAVADOC:2991
- Return the outcome to be used in the event of a null return from the method.
- jakarta.faces.flow
- MethodCallNode
-
-
-
-
- JSF:JAVADOC:2992
- Return the parameters to be passed to the method.
- jakarta.faces.flow
- MethodCallNode
-
-
-
-
- JSF:JAVADOC:2993
-
- jakarta.faces.flow
- MethodCallNode
-
-
-
-
- JSF:JAVADOC:2994
- Return the name of the parameter
- jakarta.faces.flow
- Parameter
-
-
-
-
- JSF:JAVADOC:2995
- Return a ValueExpression for the value of the parameter. Depending on the context, this expression may only ever be evaluated in a "get" operation.
- jakarta.faces.flow
- Parameter
-
-
-
-
- JSF:JAVADOC:2996
-
- jakarta.faces.flow
- Parameter
-
-
-
-
- JSF:JAVADOC:2997
- Return the fromOutcome to be used when control passes to this return node.
- jakarta.faces.flow
- ReturnNode
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2998
- if context is null.
- jakarta.faces.flow
- ReturnNode
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:2999
-
- jakarta.faces.flow
- ReturnNode
-
-
-
-
- JSF:JAVADOC:3000
- Return true if this case should be taken, false otherwise.
- jakarta.faces.flow
- SwitchCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:3001
- Return the outcome to be used if #getCondition return true.
- jakarta.faces.flow
- SwitchCase
-
-
-
-
- JSF:JAVADOC:3002
-
- jakarta.faces.flow
- SwitchCase
-
-
-
-
- JSF:JAVADOC:3003
- Return the cases in this switch.
- jakarta.faces.flow
- SwitchNode
-
-
-
-
- JSF:JAVADOC:3004
- Return the default outcome in this switch.
- jakarta.faces.flow
- SwitchNode
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:3005
-
- jakarta.faces.flow
- SwitchNode
-
-
-
-
- JSF:JAVADOC:3006
- Return the immutable VDL document id for this view node. This is normally the path to the VDL page that defines this view node. This must be unique within the flow.
- jakarta.faces.flow
- ViewNode
-
-
-
-
- JSF:JAVADOC:3007
-
- jakarta.faces.flow
- ViewNode
-
-
-
-
- JSF:JAVADOC:3008
- A MethodExpression that will be invoked when the flow is exited.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- MethodExpression
-
-
-
-
-
- JSF:JAVADOC:3009
- if any of the parameters are null
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- MethodExpression
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3010
-
- jakarta.faces.flow.builder
- FlowBuilder
-
-
-
-
- JSF:JAVADOC:3011
- Define a flow call node. This node will cause the specified flow to be called, passing parameters if necessary.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3012
- if any of the parameters are null
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3013
- Called as the last step in flow definition, this method must perform any implementation specific initialization and return the built Flow. If called more than one time during a given flow building process, the second and subsequent invocations must take no action and return the built flow.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
-
-
- JSF:JAVADOC:3014
- if the #id method had not been called prior to this method being called.
- jakarta.faces.flow.builder
- FlowBuilder
-
- java.lang.IllegalStateException
-
-
-
-
- JSF:JAVADOC:3015
- Set the defining document id and flow id of this flow.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3016
- if any of the parameters are null
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3017
- A parameter that will be populated with the value from a correspondingly named outbound parameter from another flow when this flow is entered from that flow.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
- ValueExpression
-
-
-
-
-
- JSF:JAVADOC:3018
- if any of the parameters are null
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3019
- A MethodExpression that will be invoked when the flow is entered.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- MethodExpression
-
-
-
-
-
- JSF:JAVADOC:3020
- if any of the parameters are null
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- MethodExpression
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3021
- Define a method call node. This node will cause the specified method to be invoked, passing parameters if necessary. The return from the method is used as the outcome for where to go next in the flow. If the method is a void method, the default outcome is used.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3022
- if any of the parameters are null
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3023
- Define a particular combination of conditions that must match for this case to be executed, and the view id of the component tree that should be selected next.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
-
-
- JSF:JAVADOC:3024
- Define a return node. This node will cause the specified outcome to be returned to the calling flow.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3025
- if any of the parameters are null
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3026
- Define a particular list of cases that will be inspected in the order they are defined to determine where to go next in the flow graph. If none of the cases match, the outcome from the default case is chosen.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3027
- if any of the parameters are null
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3028
- Define a view node in a flow graph.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3029
- if any of the parameters are null
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3030
-
- jakarta.faces.flow.builder
- FlowCallBuilder
-
-
-
-
- JSF:JAVADOC:3031
- Define the flow reference of the called flow.
- jakarta.faces.flow.builder
- FlowCallBuilder
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3032
- if any of the parameters are null
- jakarta.faces.flow.builder
- FlowCallBuilder
-
-
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3033
- Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- jakarta.faces.flow.builder
- FlowCallBuilder
-
-
-
-
- JSF:JAVADOC:3034
- Define an outbound parameter for the flow call.
- jakarta.faces.flow.builder
- FlowCallBuilder
-
-
- java.lang.String
- ValueExpression
-
-
-
-
-
- JSF:JAVADOC:3035
- if any of the parameters are null
- jakarta.faces.flow.builder
- FlowCallBuilder
-
-
- java.lang.String
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3036
- If the method is a void method, or the method returns null, this can be used to specify what value should be passed to runtime when the method returns.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3037
- if any of the parameters are null
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3038
- If the method is a void method, or the method returns null, this can be used to specify what value should be passed to runtime when the method returns.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- ValueExpression
-
-
-
-
-
- JSF:JAVADOC:3039
- if any of the parameters are null
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3040
- Set the method expression of this method call node. The method signature of the argument methodExpression must match the number and type of the parameters passed in the #parameters method.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- MethodExpression
-
-
-
-
-
- JSF:JAVADOC:3041
- if any of the parameters are null
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- MethodExpression
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3042
- Set the method expression of this method call node. The method signature of the argument methodExpression must match the number and type of the parameters passed in the #parameters method.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- java.lang.String
- java.lang.Class[]
-
-
-
-
-
- JSF:JAVADOC:3043
- if any of the parameters are null
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- java.lang.String
- java.lang.Class[]
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3044
- Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
-
-
- JSF:JAVADOC:3045
-
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
-
-
- JSF:JAVADOC:3046
- Set the parameters of the method call node.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- java.util.List
-
-
-
-
-
- JSF:JAVADOC:3047
- if any of the parameters are null
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- java.util.List
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3048
- Set the if of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3049
- if any of the parameters are null
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3050
- Set the if of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- ValueExpression
-
-
-
-
-
- JSF:JAVADOC:3051
- if any of the parameters are null
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3052
- Set the from-action of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3053
- if any of the parameters are null
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3054
- Set the from-outcome of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3055
- if any of the parameters are null
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3056
- Set the from-view-id of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3057
- if any of the parameters are null
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3058
-
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
-
-
- JSF:JAVADOC:3059
- Create a redirect within this navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
-
-
- JSF:JAVADOC:3060
- Set the to-flow-document-id of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3061
- if any of the parameters are null
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3062
- Set the to-view-id of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3063
- if any of the parameters are null
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3064
- Indicates the current redirect should include view parameters.
- jakarta.faces.flow.builder
- NavigationCaseBuilder.RedirectBuilder
-
-
-
-
- JSF:JAVADOC:3065
-
- jakarta.faces.flow.builder
- NavigationCaseBuilder.RedirectBuilder
-
-
-
-
- JSF:JAVADOC:3066
- Add a parameter to the redirect.
- jakarta.faces.flow.builder
- NavigationCaseBuilder.RedirectBuilder
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3067
- if any of the parameters are null
- jakarta.faces.flow.builder
- NavigationCaseBuilder.RedirectBuilder
-
-
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3068
- Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- jakarta.faces.flow.builder
- NodeBuilder
-
-
-
-
- JSF:JAVADOC:3069
- Set the outcome of the current return node.
- jakarta.faces.flow.builder
- ReturnBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3070
- if any of the parameters are null
- jakarta.faces.flow.builder
- ReturnBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3071
- Set the outcome of the current return node.
- jakarta.faces.flow.builder
- ReturnBuilder
-
-
- ValueExpression
-
-
-
-
-
- JSF:JAVADOC:3072
- if any of the parameters are null
- jakarta.faces.flow.builder
- ReturnBuilder
-
-
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3073
- Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- jakarta.faces.flow.builder
- ReturnBuilder
-
-
-
-
- JSF:JAVADOC:3074
-
- jakarta.faces.flow.builder
- ReturnBuilder
-
-
-
-
- JSF:JAVADOC:3075
- Set the default outcome of the current switch.
- jakarta.faces.flow.builder
- SwitchBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3076
- if any of the parameters are null
- jakarta.faces.flow.builder
- SwitchBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3077
- Set the default outcome of the current switch.
- jakarta.faces.flow.builder
- SwitchBuilder
-
-
- ValueExpression
-
-
-
-
-
- JSF:JAVADOC:3078
- if any of the parameters are null
- jakarta.faces.flow.builder
- SwitchBuilder
-
-
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3079
- Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- jakarta.faces.flow.builder
- SwitchBuilder
-
-
-
-
- JSF:JAVADOC:3080
-
- jakarta.faces.flow.builder
- SwitchBuilder
-
-
-
-
- JSF:JAVADOC:3081
- Create a switch case in the current switch.
- jakarta.faces.flow.builder
- SwitchBuilder
-
-
-
-
- JSF:JAVADOC:3082
- Set the if in the previously created switch case.
- jakarta.faces.flow.builder
- SwitchCaseBuilder
-
-
- ValueExpression
-
-
-
-
-
- JSF:JAVADOC:3083
- if any of the parameters are null
- jakarta.faces.flow.builder
- SwitchCaseBuilder
-
-
- ValueExpression
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3084
- Set the outcome in the previously created switch case.
- jakarta.faces.flow.builder
- SwitchCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3085
- if any of the parameters are null
- jakarta.faces.flow.builder
- SwitchCaseBuilder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- JSF:JAVADOC:3086
- Create a new case in the current switch.
- jakarta.faces.flow.builder
- SwitchCaseBuilder
-
-
-
-
- JSF:JAVADOC:3087
-
- jakarta.faces.flow.builder
- SwitchCaseBuilder
-
-
-
-
- JSF:JAVADOC:3088
- Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- jakarta.faces.flow.builder
- ViewBuilder
-
-
-
-
- JSF:JAVADOC:3089
-
- jakarta.faces.flow.builder
- ViewBuilder
-
-
-
-
-
diff --git a/internal/docs/jsf/JSFJavadocAssertions_2.3.xml b/internal/docs/jsf/JSFJavadocAssertions_2.3.xml
deleted file mode 100644
index 7cafe39f9c..0000000000
--- a/internal/docs/jsf/JSFJavadocAssertions_2.3.xml
+++ /dev/null
@@ -1,28764 +0,0 @@
-
-
-
-
-
-
-
-2219
-1
-JSF
-JSF 2.3
-Java Server Faces
-2.3
-
-
-1
-
- Construct a new exception with no detail message or root cause.
-
-
-jakarta.faces
-FacesException
-
-
-
-2
-
- Construct a new exception with the specified detail message and no root cause.
-
-
-jakarta.faces
-FacesException
-
-
-java.lang.String
-
-
-
-
-3
-
- Construct a new exception with the specified root cause.
- The detail message will be set to (cause == null ? null : cause.toString()
-
-jakarta.faces
-FacesException
-
-
-java.lang.Throwable
-
-
-
-
-4
-
- Construct a new exception with the specified detail message and root cause.
-
-
-jakarta.faces
-FacesException
-
-
-java.lang.String
-java.lang.Throwable
-
-
-
-
-5
-
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
-
-
-jakarta.faces
-FacesException
-
-
-
-6
-
- Create (if necessary) and return a per-web-application instance of the appropriate implementation class for the specified JavaServer Faces factory class, based on the discovery algorithm described in the class description.
-
-
-jakarta.faces
-FactoryFinder
-
-
-java.lang.String
-
-
-
-
-7
-if the web application class loader cannot be identified
-jakarta.faces
-FactoryFinder
-
-
-java.lang.String
-
-jakarta.faces.FacesException
-
-
-
-8
-if factoryName does not identify a standard JavaServer Faces factory name
-jakarta.faces
-FactoryFinder
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-9
-if there is no configured factory implementation class for the specified factory name
-jakarta.faces
-FactoryFinder
-
-
-java.lang.String
-
-java.lang.IllegalStateException
-
-
-
-10
-if factoryname is null
-jakarta.faces
-FactoryFinder
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-11
-
- Release any references to factory instances associated with the class loader for the calling web application.
- This method should be called as apart of web application shutdown in a container where the JavaServer Faces API classes are part of the container itself, rather than being included inside the web application.
-
-jakarta.faces
-FactoryFinder
-
-
-
-12
-if the web application class loader cannot be identified
-jakarta.faces
-FactoryFinder
-
-jakarta.faces.FacesException
-
-
-
-13
-
-jakarta.faces.application
-Action
-
-
-
-14
-
-
- Perform the task that is encapsulated in this Action instance, and return a String value that is a logical description of the outcome of performing that task.
- Exceptions encountered during the performance of the task should be encapsulated into appropriate return values.
-
-jakarta.faces.application
-Action
-
-
-
-15
-
-jakarta.faces.application
-Application
-
-
-
-16
-
-
-
- Return the ActionListener that will be the default ActionListener to be registered with relevant components during the Reconstitute Component Tree phase of the request processing lifecycle.
-
- The default implementation will perform the following functions: The getPhaseId() method of this listener instance must return PhaseId.INVOKE_APPLICATION. If the source component has a non-null action property, return that value. If the source component has a non-null actionRef property, evaluate this value reference to retrieve the corresponding object. If there is no such corresponding object, or if this object does not implement Action, throw an IllegalArgumentException. Call the invoke() method of the returned object, and return the return value from that method call.
-
-jakarta.faces.application
-Application
-
-
-
-17
-
-
-
- Return the NavigationHandler instance that will be passed the outcome returned by any invoked Action for this web application.
-
- The default implementation must provide the behavior described in the NavigationHandler class description.
-
-jakarta.faces.application
-Application
-
-
-
-18
-
-
- Return the PropertyResolver instance that will be utilized to resolve action and valus references.
-
- The default implementation must provide the behavior described in the PropertyResolver class description.
-
-jakarta.faces.application
-Application
-
-
-
-19
-
-
- Return a ValueBinding for the specified action or value reference expression, which may be used to manipulate the corresponding property value later.
-
-
-
-
-
-
-
-
- The returned ValueBinding instance must utilize the PropertyResolver and VariableResolver instances registered with this Application instance at the time that the ValueBinding instance was initially created. For maximum performance, implementations of Application may, but are not required to, cache ValueBinding instances in order to avoid repeated parsing of the reference expression. However, under no circumstances may a particular ValueBinding instance be shared across multiple web applications.
-
-jakarta.faces.application
-Application
-
-
-java.lang.String
-
-
-
-
-20
-if the specified ref has invalid syntax
-jakarta.faces.application
-Application
-
-
-java.lang.String
-
-jakarta.faces.el.ReferenceSyntaxException
-
-
-
-21
-if ref is null
-jakarta.faces.application
-Application
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-22
-
-
- Return the VariableResolver instance that will be utilized to resolve action and value references.
-
- The default implementation must provide the behavior described in the VariableResolver class description.
-
-jakarta.faces.application
-Application
-
-
-
-23
-
-
- Replace the default ActionListener that will be registered with relevant components during the Reconstitute Component Tree phase of the requset processing lifecycle.
- This listener must return PhaseId.INVOKE_APPLICATION from its getPhaseId() method.
-
-jakarta.faces.application
-Application
-
-
-jakarta.faces.event.ActionListener
-
-
-
-
-24
-if the specified listener does not return PhaseId.INVOKE_APPLICATION from its getPhaseId() method
-jakarta.faces.application
-Application
-
-
-jakarta.faces.event.ActionListener
-
-java.lang.IllegalArgumentException
-
-
-
-25
-if listener is null
-jakarta.faces.application
-Application
-
-
-jakarta.faces.event.ActionListener
-
-java.lang.NullPointerException
-
-
-
-26
-
-
-
- Set the NavigationHandler instance that will be passed the outcome returned by any invoked Action for this web application.
-
-
-jakarta.faces.application
-Application
-
-
-jakarta.faces.application.NavigationHandler
-
-
-
-
-27
-if handler is null
-jakarta.faces.application
-Application
-
-
-jakarta.faces.application.NavigationHandler
-
-java.lang.NullPointerException
-
-
-
-28
-
-
- Set the PropertyResolver instance that will be utilized to resolve action and value references.
-
-
-jakarta.faces.application
-Application
-
-
-jakarta.faces.el.PropertyResolver
-
-
-
-
-29
-if resolver is null
-jakarta.faces.application
-Application
-
-
-jakarta.faces.el.PropertyResolver
-
-java.lang.NullPointerException
-
-
-
-30
-
-
- Set the VariableResolver instance that will be utilized to resolve action and value references.
-
-
-jakarta.faces.application
-Application
-
-
-jakarta.faces.el.VariableResolver
-
-
-
-
-31
-if resolver is null
-jakarta.faces.application
-Application
-
-
-jakarta.faces.el.VariableResolver
-
-java.lang.NullPointerException
-
-
-
-32
-
-jakarta.faces.application
-ApplicationFactory
-
-
-
-33
-
-
- Create (if needed) and return an Application instance for this web application.
-
-
-jakarta.faces.application
-ApplicationFactory
-
-
-
-34
-
-
- Replace the Application instance that will be returned for this web application.
-
-
-jakarta.faces.application
-ApplicationFactory
-
-
-jakarta.faces.application.Application
-
-
-
-
-35
-
-
-
- Perform navigation processing based on the state information in the specified FacesContext, plus the outcome string returned by an executed Action.
-
-
-jakarta.faces.application
-NavigationHandler
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-
-
-
-
-36
-if context or outcome is null
-jakarta.faces.application
-NavigationHandler
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-37
-
-jakarta.faces.application
-NavigationHandler
-
-
-
-38
-
-jakarta.faces.component
-AttributeDescriptor
-
-
-
-39
-
- Return a brief description of this attribute, useful when rendering help text in a tool, localized for the default Locale for this instance of the Java Virtual Machine.
-
-
-jakarta.faces.component
-AttributeDescriptor
-
-
-
-40
-
- Return a brief description of this attribute, useful when rendering help text in a tool, localized for the specified Locale.
-
-
-jakarta.faces.component
-AttributeDescriptor
-
-
-java.util.Locale
-
-
-
-
-41
-if locale is null
-jakarta.faces.component
-AttributeDescriptor
-
-
-java.util.Locale
-
-java.lang.NullPointerException
-
-
-
-42
-
- Return a short displayable name of this attribute, useful in constructing the user interface of a tool, localized for the default Locale for this instance of the Java Virtual Machine.
-
-
-jakarta.faces.component
-AttributeDescriptor
-
-
-
-43
-
- Return a short displayable name of this attribute, useful in constructing the user interface of a tool, localized for the specified Locale.
-
-
-jakarta.faces.component
-AttributeDescriptor
-
-
-java.util.Locale
-
-
-
-
-44
-if locale is null
-jakarta.faces.component
-AttributeDescriptor
-
-
-java.util.Locale
-
-java.lang.NullPointerException
-
-
-
-45
-
- Return the attribute name of the attribute described by this AttributeDescriptor.
-
-
-jakarta.faces.component
-AttributeDescriptor
-
-
-
-46
-
- Return the Java class representing the data type of the legal values for this attribute.
-
-
-jakarta.faces.component
-AttributeDescriptor
-
-
-
-47
-
-
- Add the specified UIComponent to the namespace of this naming container.
-
-
-jakarta.faces.component
-NamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-48
-if the specified component does not have a componentId
-jakarta.faces.component
-NamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-49
-if the component identifier of the specified component is not unique within the namespace of this naming container
-jakarta.faces.component
-NamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalStateException
-
-
-
-50
-if component is null
-jakarta.faces.component
-NamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-51
-
-
- Find and return a UIComponent in this namespace, if it is present; otherwise return null.
-
-
-
- If the argument name does not contain any UIComponent#SEPARATOR_CHAR characters, it is interpreted to be a name in the namespace of this naming container. If the argument name does contain UIComponent#SEPARATOR_CHAR characters, each segment between UIComponent#SEPARATOR_CHAR is treated as a component identifier in its own namespace, which are searched for in child naming containers of this naming container, from left to right.
-
-jakarta.faces.component
-NamingContainer
-
-
-java.lang.String
-
-
-
-
-52
-if name is malformed
-jakarta.faces.component
-NamingContainer
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-53
-if name is null
-jakarta.faces.component
-NamingContainer
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-54
-
- Generate an identifier for a component, suitable for communication to a client.
- The identifier returned from this method must be unique within this namespace.
-
-jakarta.faces.component
-NamingContainer
-
-
-
-55
-
-
- Remove the specified UIComponent from the namespace of this naming container, if it is present.
-
-
-jakarta.faces.component
-NamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-56
-if the specified component does not have a componentId
-jakarta.faces.component
-NamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-57
-if component is null
-jakarta.faces.component
-NamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-58
-
-
- Add the specified UIComponent to the namespace of this naming container.
-
-
-jakarta.faces.component
-NamingContainerSupport
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-59
-if the specified component does not have a componentId
-jakarta.faces.component
-NamingContainerSupport
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-60
-if the component identifier of the specified component is not unique within the namespace of this naming container
-jakarta.faces.component
-NamingContainerSupport
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalStateException
-
-
-
-61
-if component is null
-jakarta.faces.component
-NamingContainerSupport
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-62
-
-
- Find and return a UIComponent in this namespace, if it is present; otherwise return null.
-
-
-
- If the argument name does not contain any UIComponent#SEPARATOR_CHAR characters, it is interpreted to be a name in the namespace of this naming container. If the argument name does contain UIComponent#SEPARATOR_CHAR characters, each segment between UIComponent#SEPARATOR_CHAR is treated as a component identifier in its own namespace, which are searched for in child naming containers of this naming container, from left to right.
-
-jakarta.faces.component
-NamingContainerSupport
-
-
-java.lang.String
-
-
-
-
-63
-if name is malformed
-jakarta.faces.component
-NamingContainerSupport
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-64
-if name is null
-jakarta.faces.component
-NamingContainerSupport
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-65
-
- Generate an identifier for a component, suitable for communication to a client.
- The identifier returned from this method must be unique within this namespace.
-
-jakarta.faces.component
-NamingContainerSupport
-
-
-
-66
-
-jakarta.faces.component
-NamingContainerSupport
-
-
-
-67
-
-
- Remove the specified UIComponent from the namespace of this naming container, if it is present.
-
-
-jakarta.faces.component
-NamingContainerSupport
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-68
-if the specified component does not have a componentId
-jakarta.faces.component
-NamingContainerSupport
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-69
-if component is null
-jakarta.faces.component
-NamingContainerSupport
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-70
-
- Return a description of this item, for use in development tools.
-
-jakarta.faces.component
-SelectItem
-
-
-
-71
-
- Return the label of this item, to be rendered visibly for the user.
-
-jakarta.faces.component
-SelectItem
-
-
-
-72
-
- Return the value of this item, to be returned as a request parameter if this item is selected by the user.
-
-jakarta.faces.component
-SelectItem
-
-
-
-73
-
- Construct a UISelectItem instance with the specified property values.
-
-
-jakarta.faces.component
-SelectItem
-
-
-java.lang.Object
-java.lang.String
-java.lang.String
-
-
-
-
-74
-
-
-
- Add a new ActionListener to the set of listeners interested in being notified when ActionEvents occur.
-
-
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.event.ActionListener
-
-
-
-
-75
-if listener is null
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.event.ActionListener
-
-java.lang.NullPointerException
-
-
-
-76
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-77
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-78
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-79
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-80
-if event or phaseId is null
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-81
-
-
- Queue an ActionEvent for processing during the next event processing cycle.
-
-
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-82
-
-
- Return the literal action outcome value to be returned to the jakarta.faces.event.ActionListener processing application level events for this application.
-
-
-jakarta.faces.component
-UICommand
-
-
-
-83
-
-
- Return the action reference expression pointing at the jakarta.faces.application.Action to be invoked, if this component is activated by the user, during Invoke Application phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UICommand
-
-
-
-84
-
-
- Return the command name for this UICommand.
-
-
-jakarta.faces.component
-UICommand
-
-
-
-85
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UICommand
-
-
-
-86
-
-
-
- Remove an existing ActionListener (if any) from the set of listeners interested in being notified when ActionEvents occur.
-
-
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.event.ActionListener
-
-
-
-
-87
-if listener is null
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.event.ActionListener
-
-java.lang.NullPointerException
-
-
-
-88
-
- Set the literal action outcome value for this component.
-
-
-jakarta.faces.component
-UICommand
-
-
-java.lang.String
-
-
-
-
-89
-
-
- Set the action reference expression pointing at the jakarta.faces.application.Action to be invoked, if this component is activated by the user, during Invoke Application phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UICommand
-
-
-java.lang.String
-
-
-
-
-90
-
-
- Set the command name for this UICommand.
-
-
-jakarta.faces.component
-UICommand
-
-
-java.lang.String
-
-
-
-
-91
-
-
- Create a new UICommand instance with default property values.
-
-
-jakarta.faces.component
-UICommand
-
-
-
-92
-
- Override the default behavior and perform no model update.
-
-
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-93
-if the modelReference property has invalid syntax for an expression
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.IllegalArgumentException
-
-
-
-94
-if context is null
-jakarta.faces.component
-UICommand
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-95
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-96
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-97
-if component is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-98
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-99
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-100
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-101
-if component is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-102
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-103
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-104
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-105
-if validator is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-106
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-107
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-108
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-109
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-110
-if component is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-111
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-112
-if an input/output error occurs during decoding
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-113
-if context is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-114
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-115
-if an input/output error occurs while rendering
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-116
-if context is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-117
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-118
-if an input/output error occurs while rendering
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-119
-if context is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-120
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-121
-if an input/output error occurs while rendering
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-122
-if context is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-123
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-124
-if expr is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-125
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-126
-if name is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-127
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-128
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-129
-if index is out of range ((index = size()))
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-130
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-131
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-132
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-133
-if context is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-134
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-135
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-136
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-137
-if name is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-138
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-139
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-140
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-141
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-142
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-143
-
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-144
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-145
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-146
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-147
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-148
-if an input/output error occurs during decoding
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-149
-if context is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-150
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-151
-if an input/output error occurs during processing
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-152
-if context is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-153
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-154
-if context is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-155
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-156
-if context is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-157
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-158
-if an input/output error occurs during processing
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-159
-if context is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-160
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-161
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-162
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-163
-if component is not a child of this component
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-164
-if component is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-165
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-166
-if name is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-167
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-168
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-169
-if name represents a read-only property of this component
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-170
-if name is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-171
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-172
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-173
-if componentId is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-174
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-175
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-176
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-177
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-178
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-179
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-180
-
- Perform any correctness checks that this component wishes to perform on itself.
-
-
- This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
-
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-181
-if context is null
-jakarta.faces.component
-UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-182
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-183
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-184
-if component is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-185
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIComponent
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-186
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIComponent
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-187
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UIComponent
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-188
-if component is null
-jakarta.faces.component
-UIComponent
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-189
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-190
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-191
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-192
-if validator is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-193
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-194
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-195
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-196
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-197
-if event or phaseId is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-198
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-199
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-200
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-201
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-202
-if component is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-203
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-204
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-205
-if context is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-206
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-207
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-208
-if context is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-209
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-210
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-211
-if context is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-212
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-213
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-214
-if context is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-215
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-
-
-
-216
-if expr is null
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-217
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-
-
-
-218
-if name is null
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-219
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-220
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIComponent
-
-
-int
-
-
-
-
-221
-if index is out of range ((index = size()))
-jakarta.faces.component
-UIComponent
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-222
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-223
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIComponent
-
-
-
-224
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-225
-if context is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-226
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-227
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-228
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-229
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-
-
-
-230
-if name is null
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-231
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UIComponent
-
-
-
-232
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIComponent
-
-
-
-233
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-234
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-235
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-236
-
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-237
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-238
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UIComponent
-
-
-
-239
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UIComponent
-
-
-
-240
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-241
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-242
-if context is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-243
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-244
-if an input/output error occurs during processing
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-245
-if context is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-246
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-247
-if context is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-248
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-249
-if context is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-250
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-251
-if an input/output error occurs during processing
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-252
-if context is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-253
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIComponent
-
-
-int
-
-
-
-
-254
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UIComponent
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-255
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-256
-if component is not a child of this component
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-257
-if component is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-258
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-
-
-
-259
-if name is null
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-260
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-261
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-262
-if name represents a read-only property of this component
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-263
-if name is null
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-264
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-
-
-
-265
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-266
-if componentId is null
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-267
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-268
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-
-
-
-269
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-270
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UIComponent
-
-
-boolean
-
-
-
-
-271
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UIComponent
-
-
-java.lang.String
-
-
-
-
-272
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UIComponent
-
-
-boolean
-
-
-
-
-273
-
-
- Update the model data associated with this UIComponent, if any.
-
-
- The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-274
-if context is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-275
-
- Perform any correctness checks that this component wishes to perform on itself.
-
-
- This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
-
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-276
-if context is null
-jakarta.faces.component
-UIComponent
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-277
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-278
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-279
-if component is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-280
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIComponentBase
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-281
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIComponentBase
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-282
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UIComponentBase
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-283
-if component is null
-jakarta.faces.component
-UIComponentBase
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-284
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-285
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-286
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-287
-if validator is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-288
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-289
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-290
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-291
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-292
-if event or phaseId is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-293
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-294
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-295
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-296
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-297
-if component is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-298
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-299
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-300
-if context is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-301
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-302
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-303
-if context is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-304
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-305
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-306
-if context is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-307
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-308
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-309
-if context is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-310
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-
-
-
-311
-if expr is null
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-312
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-
-
-
-313
-if name is null
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-314
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-315
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-int
-
-
-
-
-316
-if index is out of range ((index = size()))
-jakarta.faces.component
-UIComponentBase
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-317
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-318
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-319
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-320
-if context is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-321
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-322
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-323
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-324
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-
-
-
-325
-if name is null
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-326
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-327
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-328
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-329
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-330
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-331
-
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-332
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-333
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-334
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-335
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-336
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-337
-if context is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-338
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-339
-if an input/output error occurs during processing
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-340
-if context is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-341
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-342
-if context is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-343
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-344
-if context is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-345
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-346
-if an input/output error occurs during processing
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-347
-if context is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-348
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-int
-
-
-
-
-349
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UIComponentBase
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-350
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-351
-if component is not a child of this component
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-352
-if component is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-353
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-
-
-
-354
-if name is null
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-355
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-356
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-357
-if name represents a read-only property of this component
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-358
-if name is null
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-359
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-
-
-
-360
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-361
-if componentId is null
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-362
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-363
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-
-
-
-364
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-365
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-boolean
-
-
-
-
-366
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-java.lang.String
-
-
-
-
-367
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UIComponentBase
-
-
-boolean
-
-
-
-
-368
-
-jakarta.faces.component
-UIComponentBase
-
-
-
-369
-
-
- Update the model data associated with this UIComponent, if any.
-
-
- The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-370
-if context is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-371
-
- Perform any correctness checks that this component wishes to perform on itself.
-
-
- This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
-
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-372
-if context is null
-jakarta.faces.component
-UIComponentBase
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-373
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UIForm
-
-
-
-374
-
-
- Return the form name for this UIForm.
-
-
-jakarta.faces.component
-UIForm
-
-
-
-375
-
-
- Set the form name for this UIForm.
-
-
-jakarta.faces.component
-UIForm
-
-
-java.lang.String
-
-
-
-
-376
-
-
- Create a new UIForm instance with default property values.
-
-
-jakarta.faces.component
-UIForm
-
-
-
-377
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-378
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-379
-if component is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-380
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-381
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-382
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-383
-if component is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-384
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-385
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-386
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-387
-if validator is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-388
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-389
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-390
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-391
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-392
-if event or phaseId is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-393
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-394
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-395
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-396
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-397
-if component is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-398
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-399
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-400
-if context is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-401
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-402
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-403
-if context is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-404
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-405
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-406
-if context is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-407
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-408
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-409
-if context is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-410
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-411
-if expr is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-412
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-413
-if name is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-414
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-415
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-416
-if index is out of range ((index = size()))
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-417
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-418
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-419
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-420
-if context is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-421
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-422
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-423
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-424
-if name is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-425
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-426
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-427
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-428
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-429
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-430
-
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-431
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-432
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-433
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-434
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-435
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-436
-if context is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-437
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-438
-if an input/output error occurs during processing
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-439
-if context is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-440
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-441
-if context is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-442
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-443
-if context is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-444
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-445
-if an input/output error occurs during processing
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-446
-if context is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-447
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-448
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-449
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-450
-if component is not a child of this component
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-451
-if component is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-452
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-453
-if name is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-454
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-455
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-456
-if name represents a read-only property of this component
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-457
-if name is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-458
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-459
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-460
-if componentId is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-461
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-462
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-463
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-464
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-465
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-466
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-467
-
-
- Update the model data associated with this UIComponent, if any.
-
-
- The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-468
-if context is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-469
-
- Perform any correctness checks that this component wishes to perform on itself.
-
-
- This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
-
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-470
-if context is null
-jakarta.faces.component
-UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-471
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UIGraphic
-
-
-
-472
-
-
- Return the image URL for this UIGraphic.
-
-
-jakarta.faces.component
-UIGraphic
-
-
-
-473
-
-
- Set the image URL for this UIGraphic.
-
-
-jakarta.faces.component
-UIGraphic
-
-
-java.lang.String
-
-
-
-
-474
-
-
- Create a new UIGraphic instance with default property values.
-
-
-jakarta.faces.component
-UIGraphic
-
-
-
-475
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-476
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-477
-if component is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-478
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-479
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-480
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-481
-if component is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-482
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-483
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-484
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-485
-if validator is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-486
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-487
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-488
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-489
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-490
-if event or phaseId is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-491
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-492
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-493
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-494
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-495
-if component is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-496
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-497
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-498
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-499
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-500
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-501
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-502
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-503
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-504
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-505
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-506
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-507
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-508
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-509
-if expr is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-510
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-511
-if name is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-512
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-513
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-514
-if index is out of range ((index = size()))
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-515
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-516
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-517
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-518
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-519
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-520
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-521
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-522
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-523
-if name is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-524
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-525
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-526
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-527
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-528
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-529
-
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-530
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-531
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-532
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-533
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-534
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-535
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-536
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-537
-if an input/output error occurs during processing
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-538
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-539
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-540
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-541
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-542
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-543
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-544
-if an input/output error occurs during processing
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-545
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-546
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-547
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-548
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-549
-if component is not a child of this component
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-550
-if component is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-551
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-552
-if name is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-553
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-554
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-555
-if name represents a read-only property of this component
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-556
-if name is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-557
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-558
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-559
-if componentId is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-560
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-561
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-562
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-563
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-564
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-565
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-566
-
-
- Update the model data associated with this UIComponent, if any.
-
-
- The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-567
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-568
-
- Perform any correctness checks that this component wishes to perform on itself.
-
-
- This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-569
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-570
-
- Evaluate and return the current value of this component, according to the following algorithm.
-
-
-
-
- If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-571
-if a problem occurs evaluating the value reference expression
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-EvaluationException
-
-
-
-572
-if context is null
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-573
-
-
- Return the local value of this UIInput component.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIOutput}
-
-
-
-574
-
-
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIOutput}
-
-
-
-575
-
-
- Set the local value of this UIInput component.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIOutput}
-
-
-java.lang.Object
-
-
-
-
-576
-
-
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UIGraphic.{jakarta.faces.component.UIOutput}
-
-
-java.lang.String
-
-
-
-
-577
-
-
-
- Add a new ValueChangedListener to the set of listeners interested in being notified when ValueChangedEvents occur.
-
-
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.event.ValueChangedListener
-
-
-
-
-578
-if listener is null
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.event.ValueChangedListener
-
-java.lang.NullPointerException
-
-
-
-579
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-580
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-581
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-582
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-583
-if event or phaseId is null
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-584
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UIInput
-
-
-
-585
-
-
- Return the previous value of this UIInput component.
-
- This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
-
-jakarta.faces.component
-UIInput
-
-
-
-586
-
-
-
- Remove an existing ValueChangedListener (if any) from the set of listeners interested in being notified when ValueChangedEvents occur.
-
-
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.event.ValueChangedListener
-
-
-
-
-587
-if listener is null
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.event.ValueChangedListener
-
-java.lang.NullPointerException
-
-
-
-588
-
-
- Set the previous value of this UIInput component.
-
- This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
-
-jakarta.faces.component
-UIInput
-
-
-java.lang.Object
-
-
-
-
-589
-
-
- Create a new UIInput instance with default property values.
-
-
-jakarta.faces.component
-UIInput
-
-
-
-590
-
-
- Perform the following algorithm to update the model data associated with this UIInput, if any, as appropriate.
-
-
-
-
-
-
-
-
- If the valid property of this component is false, take no further action. If the valueRef property of this component is null, take no further action. Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the setValue() method of the ValueBinding to update the value that the value reference expression points at. If the setValue() method returns successfully: Clear the local value of this UIInput. Set the valid property of this UIInput to true. If the setValue() method call fails: Enqueue error messages by calling addMessage() on the specified FacesContext instance. Set the valid property of this UIInput to false.
-
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-591
-if the valueRef property has invalid syntax for an expression
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.IllegalArgumentException
-
-
-
-592
-if context is null
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-593
-
-
- Perform validations and, if validation is successful, and the local value is different from the previous value, queue a ValueChangedEvent to be processed later.
-
-
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-594
-if context is null
-jakarta.faces.component
-UIInput
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-595
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-596
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-597
-if component is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-598
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-599
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-600
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-601
-if component is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-602
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-603
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-604
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-605
-if validator is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-606
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-607
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-608
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-609
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-610
-if component is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-611
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-612
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-613
-if context is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-614
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-615
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-616
-if context is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-617
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-618
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-619
-if context is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-620
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-621
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-622
-if context is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-623
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-624
-if expr is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-625
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-626
-if name is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-627
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-628
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-629
-if index is out of range ((index = size()))
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-630
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-631
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-632
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-633
-if context is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-634
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-635
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-636
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-637
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-638
-if name is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-639
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-640
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-641
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-642
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-643
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-644
-
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-645
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-646
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-647
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-648
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-649
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-650
-if context is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-651
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-652
-if an input/output error occurs during processing
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-653
-if context is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-654
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-655
-if context is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-656
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-657
-if context is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-658
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-659
-if an input/output error occurs during processing
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-660
-if context is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-661
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-662
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-663
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-664
-if component is not a child of this component
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-665
-if component is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-666
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-667
-if name is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-668
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-669
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-670
-if name represents a read-only property of this component
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-671
-if name is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-672
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-673
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-674
-if componentId is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-675
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-676
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-677
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-678
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-679
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-680
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-681
-
- Evaluate and return the current value of this component, according to the following algorithm.
-
-
-
-
- If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-682
-if a problem occurs evaluating the value reference expression
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-EvaluationException
-
-
-
-683
-if context is null
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-684
-
-
- Return the local value of this UIInput component.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIOutput}
-
-
-
-685
-
-
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIOutput}
-
-
-
-686
-
-
- Set the local value of this UIInput component.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIOutput}
-
-
-java.lang.Object
-
-
-
-
-687
-
-
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UIInput.{jakarta.faces.component.UIOutput}
-
-
-java.lang.String
-
-
-
-
-688
-
-
- Add the specified UIComponent to the namespace of this naming container.
-
-
-jakarta.faces.component
-UINamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-689
-if the specified component does not have a componentId
-jakarta.faces.component
-UINamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-690
-if the component identifier of the specified component is not unique within the namespace of this naming container
-jakarta.faces.component
-UINamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalStateException
-
-
-
-691
-if component is null
-jakarta.faces.component
-UINamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-692
-
-
- Find and return a UIComponent in this namespace, if it is present; otherwise return null.
-
-
-
- If the argument name does not contain any UIComponent#SEPARATOR_CHAR characters, it is interpreted to be a name in the namespace of this naming container. If the argument name does contain UIComponent#SEPARATOR_CHAR characters, each segment between UIComponent#SEPARATOR_CHAR is treated as a component identifier in its own namespace, which are searched for in child naming containers of this naming container, from left to right.
-
-jakarta.faces.component
-UINamingContainer
-
-
-java.lang.String
-
-
-
-
-693
-if name is malformed
-jakarta.faces.component
-UINamingContainer
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-694
-if name is null
-jakarta.faces.component
-UINamingContainer
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-695
-
- Generate an identifier for a component, suitable for communication to a client.
- The identifier returned from this method must be unique within this namespace.
-
-jakarta.faces.component
-UINamingContainer
-
-
-
-696
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UINamingContainer
-
-
-
-697
-
-
- Remove the specified UIComponent from the namespace of this naming container, if it is present.
-
-
-jakarta.faces.component
-UINamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-698
-if the specified component does not have a componentId
-jakarta.faces.component
-UINamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-699
-if component is null
-jakarta.faces.component
-UINamingContainer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-700
-
-jakarta.faces.component
-UINamingContainer
-
-
-
-701
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-702
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-703
-if component is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-704
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-705
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-706
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-707
-if component is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-708
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-709
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-710
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-711
-if validator is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-712
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-713
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-714
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-715
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-716
-if event or phaseId is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-717
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-718
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-719
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-720
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-721
-if component is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-722
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-723
-if an input/output error occurs during decoding
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-724
-if context is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-725
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-726
-if an input/output error occurs while rendering
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-727
-if context is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-728
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-729
-if an input/output error occurs while rendering
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-730
-if context is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-731
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-732
-if an input/output error occurs while rendering
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-733
-if context is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-734
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-735
-if expr is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-736
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-737
-if name is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-738
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-739
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-740
-if index is out of range ((index = size()))
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-741
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-742
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-743
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-744
-if context is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-745
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-746
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-747
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-748
-if name is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-749
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-750
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-751
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-752
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-753
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-754
-
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-755
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-756
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-757
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-758
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-759
-if an input/output error occurs during decoding
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-760
-if context is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-761
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-762
-if an input/output error occurs during processing
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-763
-if context is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-764
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-765
-if context is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-766
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-767
-if context is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-768
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-769
-if an input/output error occurs during processing
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-770
-if context is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-771
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-772
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-773
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-774
-if component is not a child of this component
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-775
-if component is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-776
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-777
-if name is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-778
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-779
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-780
-if name represents a read-only property of this component
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-781
-if name is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-782
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-783
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-784
-if componentId is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-785
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-786
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-787
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-788
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-789
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-790
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-791
-
-
- Update the model data associated with this UIComponent, if any.
-
-
- The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-792
-if context is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-793
-
- Perform any correctness checks that this component wishes to perform on itself.
-
-
- This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
-
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-794
-if context is null
-jakarta.faces.component
-UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-795
-
- Evaluate and return the current value of this component, according to the following algorithm.
-
-
-
-
- If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
-
-jakarta.faces.component
-UIOutput
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-796
-if a problem occurs evaluating the value reference expression
-jakarta.faces.component
-UIOutput
-
-
-jakarta.faces.context.FacesContext
-
-EvaluationException
-
-
-
-797
-if context is null
-jakarta.faces.component
-UIOutput
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-798
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UIOutput
-
-
-
-799
-
-
- Return the local value of this UIInput component.
-
-
-jakarta.faces.component
-UIOutput
-
-
-
-800
-
-
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UIOutput
-
-
-
-801
-
-
- Set the local value of this UIInput component.
-
-
-jakarta.faces.component
-UIOutput
-
-
-java.lang.Object
-
-
-
-
-802
-
-
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UIOutput
-
-
-java.lang.String
-
-
-
-
-803
-
-
- Create a new UIOutput instance with default property values.
-
-
-jakarta.faces.component
-UIOutput
-
-
-
-804
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-805
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-806
-if component is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-807
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-808
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-809
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-810
-if component is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-811
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-812
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-813
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-814
-if validator is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-815
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-816
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-817
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-818
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-819
-if event or phaseId is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-820
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-821
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-822
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-823
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-824
-if component is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-825
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-826
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-827
-if context is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-828
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-829
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-830
-if context is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-831
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-832
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-833
-if context is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-834
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-835
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-836
-if context is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-837
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-838
-if expr is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-839
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-840
-if name is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-841
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-842
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-843
-if index is out of range ((index = size()))
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-844
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-845
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-846
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-847
-if context is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-848
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-849
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-850
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-851
-if name is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-852
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-853
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-854
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-855
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-856
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-857
-
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-858
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-859
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-860
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-861
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-862
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-863
-if context is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-864
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-865
-if an input/output error occurs during processing
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-866
-if context is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-867
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-868
-if context is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-869
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-870
-if context is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-871
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-872
-if an input/output error occurs during processing
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-873
-if context is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-874
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-875
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-876
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-877
-if component is not a child of this component
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-878
-if component is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-879
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-880
-if name is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-881
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-882
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-883
-if name represents a read-only property of this component
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-884
-if name is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-885
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-886
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-887
-if componentId is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-888
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-889
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-890
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-891
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-892
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-893
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-894
-
-
- Update the model data associated with this UIComponent, if any.
-
-
- The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-895
-if context is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-896
-
- Perform any correctness checks that this component wishes to perform on itself.
-
-
- This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
-
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-897
-if context is null
-jakarta.faces.component
-UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-898
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UIPanel
-
-
-
-899
-
- Return true to indicate that this component takes responsibility for rendering its children.
-
-
-jakarta.faces.component
-UIPanel
-
-
-
-900
-
-
- Create a new UIPanel instance with default property values.
-
-
-jakarta.faces.component
-UIPanel
-
-
-
-901
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-902
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-903
-if component is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-904
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-905
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-906
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-907
-if component is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-908
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-909
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-910
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-911
-if validator is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-912
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-913
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-914
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-915
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-916
-if event or phaseId is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-917
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-918
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-919
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-920
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-921
-if component is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-922
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-923
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-924
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-925
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-926
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-927
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-928
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-929
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-930
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-931
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-932
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-933
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-934
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-935
-if expr is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-936
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-937
-if name is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-938
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-939
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-940
-if index is out of range ((index = size()))
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-941
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-942
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-943
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-944
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-945
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-946
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-947
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-948
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-949
-if name is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-950
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-951
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-952
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-953
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-954
-
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-955
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-956
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-957
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-958
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-959
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-960
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-961
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-962
-if an input/output error occurs during processing
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-963
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-964
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-965
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-966
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-967
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-968
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-969
-if an input/output error occurs during processing
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-970
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-971
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-972
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-973
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-974
-if component is not a child of this component
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-975
-if component is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-976
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-977
-if name is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-978
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-979
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-980
-if name represents a read-only property of this component
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-981
-if name is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-982
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-983
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-984
-if componentId is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-985
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-986
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-987
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-988
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-989
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-990
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-991
-
-
- Update the model data associated with this UIComponent, if any.
-
-
- The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-992
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-993
-
- Perform any correctness checks that this component wishes to perform on itself.
-
-
- This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-994
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-995
-
- Evaluate and return the current value of this component, according to the following algorithm.
-
-
-
-
- If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-996
-if a problem occurs evaluating the value reference expression
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-EvaluationException
-
-
-
-997
-if context is null
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-998
-
-
- Return the local value of this UIInput component.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIOutput}
-
-
-
-999
-
-
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIOutput}
-
-
-
-1000
-
-
- Set the local value of this UIInput component.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIOutput}
-
-
-java.lang.Object
-
-
-
-
-1001
-
-
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UIPanel.{jakarta.faces.component.UIOutput}
-
-
-java.lang.String
-
-
-
-
-1002
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UIParameter
-
-
-
-1003
-
- Return the optional parameter name for this parameter.
-
-
-jakarta.faces.component
-UIParameter
-
-
-
-1004
-
-
- Return true to indicate that no jakarta.faces.render.Renderer needs to be associated with this component.
-
-
-jakarta.faces.component
-UIParameter
-
-
-
-1005
-
- Set the optional parameter name for this parameter.
-
-
-jakarta.faces.component
-UIParameter
-
-
-java.lang.String
-
-
-
-
-1006
-
-
- Create a new UIParameter instance with default property values.
-
-
-jakarta.faces.component
-UIParameter
-
-
-
-1007
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1008
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1009
-if component is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1010
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-1011
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1012
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1013
-if component is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1014
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-1015
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1016
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-1017
-if validator is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-1018
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-1019
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-1020
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-1021
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-1022
-if event or phaseId is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-1023
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1024
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1025
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1026
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1027
-if component is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1028
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1029
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1030
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1031
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1032
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1033
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1034
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1035
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1036
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1037
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1038
-if an input/output error occurs while rendering
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1039
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1040
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1041
-if expr is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1042
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1043
-if name is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1044
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1045
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-1046
-if index is out of range ((index = size()))
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1047
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1048
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1049
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1050
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1051
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1052
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1053
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1054
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1055
-if name is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1056
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1057
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1058
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1059
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1060
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1061
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1062
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1063
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-1064
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1065
-if an input/output error occurs during decoding
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1066
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1067
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1068
-if an input/output error occurs during processing
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1069
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1070
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1071
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1072
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1073
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1074
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1075
-if an input/output error occurs during processing
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1076
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1077
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-1078
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1079
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1080
-if component is not a child of this component
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1081
-if component is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1082
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1083
-if name is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1084
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-1085
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-1086
-if name represents a read-only property of this component
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-1087
-if name is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1088
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1089
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1090
-if componentId is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1091
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1092
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1093
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1094
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-1095
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1096
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-1097
-
-
- Update the model data associated with this UIComponent, if any.
-
-
- The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1098
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1099
-
- Perform any correctness checks that this component wishes to perform on itself.
-
-
- This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1100
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1101
-
- Evaluate and return the current value of this component, according to the following algorithm.
-
-
-
-
- If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1102
-if a problem occurs evaluating the value reference expression
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-EvaluationException
-
-
-
-1103
-if context is null
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1104
-
-
- Return the local value of this UIInput component.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIOutput}
-
-
-
-1105
-
-
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIOutput}
-
-
-
-1106
-
-
- Set the local value of this UIInput component.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIOutput}
-
-
-java.lang.Object
-
-
-
-
-1107
-
-
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UIParameter.{jakarta.faces.component.UIOutput}
-
-
-java.lang.String
-
-
-
-
-1108
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UISelectBoolean
-
-
-
-1109
-
- Return the local value of the selected state of this component.
-
-
-jakarta.faces.component
-UISelectBoolean
-
-
-
-1110
-
- Set the local value of the selected state of this component.
-
-
-jakarta.faces.component
-UISelectBoolean
-
-
-boolean
-
-
-
-
-1111
-
-
- Create a new UISelectBoolean instance with default property values.
-
-
-jakarta.faces.component
-UISelectBoolean
-
-
-
-1112
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1113
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1114
-if component is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1115
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-1116
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1117
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1118
-if component is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1119
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-1120
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1121
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-1122
-if validator is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-1123
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1124
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1125
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1126
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1127
-if component is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1128
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1129
-if an input/output error occurs during decoding
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1130
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1131
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1132
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1133
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1134
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1135
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1136
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1137
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1138
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1139
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1140
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1141
-if expr is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1142
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1143
-if name is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1144
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1145
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-1146
-if index is out of range ((index = size()))
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1147
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1148
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1149
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1150
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1151
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1152
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1153
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1154
-if name is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1155
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1156
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1157
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1158
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1159
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1160
-
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1161
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1162
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1163
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-1164
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1165
-if an input/output error occurs during decoding
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1166
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1167
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1168
-if an input/output error occurs during processing
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1169
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1170
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1171
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1172
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1173
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1174
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1175
-if an input/output error occurs during processing
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1176
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1177
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-1178
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1179
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1180
-if component is not a child of this component
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1181
-if component is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1182
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1183
-if name is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1184
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-1185
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-1186
-if name represents a read-only property of this component
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-1187
-if name is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1188
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1189
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1190
-if componentId is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1191
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1192
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1193
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1194
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-1195
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1196
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-1197
-
-
-
- Add a new ValueChangedListener to the set of listeners interested in being notified when ValueChangedEvents occur.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.ValueChangedListener
-
-
-
-
-1198
-if listener is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.ValueChangedListener
-
-java.lang.NullPointerException
-
-
-
-1199
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-1200
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-1201
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-1202
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-1203
-if event or phaseId is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-1204
-
-
- Return the previous value of this UIInput component.
-
- This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-
-1205
-
-
-
- Remove an existing ValueChangedListener (if any) from the set of listeners interested in being notified when ValueChangedEvents occur.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.ValueChangedListener
-
-
-
-
-1206
-if listener is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.ValueChangedListener
-
-java.lang.NullPointerException
-
-
-
-1207
-
-
- Set the previous value of this UIInput component.
-
- This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-java.lang.Object
-
-
-
-
-1208
-
-
- Perform the following algorithm to update the model data associated with this UIInput, if any, as appropriate.
-
-
-
-
-
-
-
-
- If the valid property of this component is false, take no further action. If the valueRef property of this component is null, take no further action. Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the setValue() method of the ValueBinding to update the value that the value reference expression points at. If the setValue() method returns successfully: Clear the local value of this UIInput. Set the valid property of this UIInput to true. If the setValue() method call fails: Enqueue error messages by calling addMessage() on the specified FacesContext instance. Set the valid property of this UIInput to false.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1209
-if the valueRef property has invalid syntax for an expression
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.IllegalArgumentException
-
-
-
-1210
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1211
-
-
- Perform validations and, if validation is successful, and the local value is different from the previous value, queue a ValueChangedEvent to be processed later.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1212
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1213
-
- Evaluate and return the current value of this component, according to the following algorithm.
-
-
-
-
- If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1214
-if a problem occurs evaluating the value reference expression
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-EvaluationException
-
-
-
-1215
-if context is null
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1216
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
-
-1217
-
-
- Return the local value of this UIInput component.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
-
-1218
-
-
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
-
-1219
-
-
- Set the local value of this UIInput component.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
-java.lang.Object
-
-
-
-
-1220
-
-
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
-java.lang.String
-
-
-
-
-1221
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UISelectItem
-
-
-
-1222
-
- Return the description for this selection item.
-
-
-jakarta.faces.component
-UISelectItem
-
-
-
-1223
-
- Return the localized label for this selection item.
-
-
-jakarta.faces.component
-UISelectItem
-
-
-
-1224
-
- Return the server value for this selection item.
-
-
-jakarta.faces.component
-UISelectItem
-
-
-
-1225
-
-
- Return true to indicate that no jakarta.faces.render.Renderer needs to be associated with this component.
-
-
-jakarta.faces.component
-UISelectItem
-
-
-
-1226
-
- Set the description for this selection item.
-
-
-jakarta.faces.component
-UISelectItem
-
-
-java.lang.String
-
-
-
-
-1227
-
- Set the localized label for this selection item.
-
-
-jakarta.faces.component
-UISelectItem
-
-
-java.lang.String
-
-
-
-
-1228
-
- Set the server value for this selection item.
-
-
-jakarta.faces.component
-UISelectItem
-
-
-java.lang.String
-
-
-
-
-1229
-
-jakarta.faces.component
-UISelectItem
-
-
-
-1230
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1231
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1232
-if component is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1233
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-1234
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1235
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1236
-if component is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1237
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-1238
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1239
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-1240
-if validator is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-1241
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-1242
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-1243
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-1244
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-1245
-if event or phaseId is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-1246
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1247
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1248
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1249
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1250
-if component is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1251
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1252
-if an input/output error occurs during decoding
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1253
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1254
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1255
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1256
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1257
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1258
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1259
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1260
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1261
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1262
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1263
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1264
-if expr is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1265
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1266
-if name is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1267
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1268
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-1269
-if index is out of range ((index = size()))
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1270
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1271
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1272
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1273
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1274
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1275
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1276
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1277
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1278
-if name is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1279
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1280
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1281
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1282
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1283
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1284
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1285
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1286
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-1287
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1288
-if an input/output error occurs during decoding
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1289
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1290
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1291
-if an input/output error occurs during processing
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1292
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1293
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1294
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1295
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1296
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1297
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1298
-if an input/output error occurs during processing
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1299
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1300
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-1301
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1302
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1303
-if component is not a child of this component
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1304
-if component is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1305
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1306
-if name is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1307
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-1308
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-1309
-if name represents a read-only property of this component
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-1310
-if name is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1311
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1312
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1313
-if componentId is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1314
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1315
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1316
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1317
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-1318
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1319
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-1320
-
-
- Update the model data associated with this UIComponent, if any.
-
-
- The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1321
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1322
-
- Perform any correctness checks that this component wishes to perform on itself.
-
-
- This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1323
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1324
-
- Evaluate and return the current value of this component, according to the following algorithm.
-
-
-
-
- If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1325
-if a problem occurs evaluating the value reference expression
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-EvaluationException
-
-
-
-1326
-if context is null
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1327
-
-
- Return the local value of this UIInput component.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIOutput}
-
-
-
-1328
-
-
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIOutput}
-
-
-
-1329
-
-
- Set the local value of this UIInput component.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIOutput}
-
-
-java.lang.Object
-
-
-
-
-1330
-
-
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UISelectItem.{jakarta.faces.component.UIOutput}
-
-
-java.lang.String
-
-
-
-
-1331
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UISelectItems
-
-
-
-1332
-
-
- Return true to indicate that no jakarta.faces.render.Renderer needs to be associated with this component.
-
-
-jakarta.faces.component
-UISelectItems
-
-
-
-1333
-
-jakarta.faces.component
-UISelectItems
-
-
-
-1334
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1335
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1336
-if component is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1337
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-1338
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1339
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1340
-if component is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1341
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-1342
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1343
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-1344
-if validator is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-1345
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-1346
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-1347
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-1348
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-1349
-if event or phaseId is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-1350
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1351
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1352
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1353
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1354
-if component is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1355
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1356
-if an input/output error occurs during decoding
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1357
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1358
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1359
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1360
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1361
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1362
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1363
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1364
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1365
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1366
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1367
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1368
-if expr is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1369
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1370
-if name is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1371
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1372
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-1373
-if index is out of range ((index = size()))
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1374
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1375
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1376
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1377
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1378
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1379
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1380
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1381
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1382
-if name is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1383
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1384
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1385
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1386
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1387
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1388
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1389
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1390
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-1391
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1392
-if an input/output error occurs during decoding
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1393
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1394
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1395
-if an input/output error occurs during processing
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1396
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1397
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1398
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1399
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1400
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1401
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1402
-if an input/output error occurs during processing
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1403
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1404
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-1405
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1406
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1407
-if component is not a child of this component
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1408
-if component is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1409
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1410
-if name is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1411
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-1412
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-1413
-if name represents a read-only property of this component
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-1414
-if name is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1415
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1416
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1417
-if componentId is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1418
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1419
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1420
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1421
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-1422
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1423
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-1424
-
-
- Update the model data associated with this UIComponent, if any.
-
-
- The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1425
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1426
-
- Perform any correctness checks that this component wishes to perform on itself.
-
-
- This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1427
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1428
-
- Evaluate and return the current value of this component, according to the following algorithm.
-
-
-
-
- If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1429
-if a problem occurs evaluating the value reference expression
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-EvaluationException
-
-
-
-1430
-if context is null
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1431
-
-
- Return the local value of this UIInput component.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIOutput}
-
-
-
-1432
-
-
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIOutput}
-
-
-
-1433
-
-
- Set the local value of this UIInput component.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIOutput}
-
-
-java.lang.Object
-
-
-
-
-1434
-
-
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UISelectItems.{jakarta.faces.component.UIOutput}
-
-
-java.lang.String
-
-
-
-
-1435
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UISelectMany
-
-
-
-1436
-
- Return the currently selected items, or null if there are no currently selected items.
-
-
-jakarta.faces.component
-UISelectMany
-
-
-
-1437
-
- Set the currently selected items, or null to indicate that there are no currently selected items.
-
-
-jakarta.faces.component
-UISelectMany
-
-
-java.lang.Object[]
-
-
-
-
-1438
-
-
- Create a new UISelectMany instance with default property values.
-
-
-jakarta.faces.component
-UISelectMany
-
-
-
-1439
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1440
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1441
-if component is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1442
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-1443
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1444
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1445
-if component is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1446
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-1447
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1448
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-1449
-if validator is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-1450
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1451
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1452
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1453
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1454
-if component is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1455
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1456
-if an input/output error occurs during decoding
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1457
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1458
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1459
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1460
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1461
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1462
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1463
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1464
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1465
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1466
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1467
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1468
-if expr is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1469
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1470
-if name is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1471
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1472
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-1473
-if index is out of range ((index = size()))
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1474
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1475
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1476
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1477
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1478
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1479
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1480
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1481
-if name is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1482
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1483
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1484
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1485
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1486
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1487
-
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1488
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1489
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1490
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-1491
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1492
-if an input/output error occurs during decoding
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1493
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1494
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1495
-if an input/output error occurs during processing
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1496
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1497
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1498
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1499
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1500
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1501
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1502
-if an input/output error occurs during processing
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1503
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1504
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-1505
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1506
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1507
-if component is not a child of this component
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1508
-if component is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1509
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1510
-if name is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1511
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-1512
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-1513
-if name represents a read-only property of this component
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-1514
-if name is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1515
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1516
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1517
-if componentId is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1518
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1519
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1520
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1521
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-1522
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1523
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-1524
-
-
-
- Add a new ValueChangedListener to the set of listeners interested in being notified when ValueChangedEvents occur.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.ValueChangedListener
-
-
-
-
-1525
-if listener is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.ValueChangedListener
-
-java.lang.NullPointerException
-
-
-
-1526
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-1527
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-1528
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-1529
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-1530
-if event or phaseId is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-1531
-
-
- Return the previous value of this UIInput component.
-
- This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-
-1532
-
-
-
- Remove an existing ValueChangedListener (if any) from the set of listeners interested in being notified when ValueChangedEvents occur.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.ValueChangedListener
-
-
-
-
-1533
-if listener is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.ValueChangedListener
-
-java.lang.NullPointerException
-
-
-
-1534
-
-
- Set the previous value of this UIInput component.
-
- This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-java.lang.Object
-
-
-
-
-1535
-
-
- Perform the following algorithm to update the model data associated with this UIInput, if any, as appropriate.
-
-
-
-
-
-
-
-
- If the valid property of this component is false, take no further action. If the valueRef property of this component is null, take no further action. Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the setValue() method of the ValueBinding to update the value that the value reference expression points at. If the setValue() method returns successfully: Clear the local value of this UIInput. Set the valid property of this UIInput to true. If the setValue() method call fails: Enqueue error messages by calling addMessage() on the specified FacesContext instance. Set the valid property of this UIInput to false.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1536
-if the valueRef property has invalid syntax for an expression
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.IllegalArgumentException
-
-
-
-1537
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1538
-
-
- Perform validations and, if validation is successful, and the local value is different from the previous value, queue a ValueChangedEvent to be processed later.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1539
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1540
-
- Evaluate and return the current value of this component, according to the following algorithm.
-
-
-
-
- If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1541
-if a problem occurs evaluating the value reference expression
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-EvaluationException
-
-
-
-1542
-if context is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1543
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIOutput}
-
-
-
-1544
-
-
- Return the local value of this UIInput component.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIOutput}
-
-
-
-1545
-
-
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIOutput}
-
-
-
-1546
-
-
- Set the local value of this UIInput component.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIOutput}
-
-
-java.lang.Object
-
-
-
-
-1547
-
-
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UIOutput}
-
-
-java.lang.String
-
-
-
-
-1548
-
-
- Add the specified UIComponent to the namespace of this naming container.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1549
-if the specified component does not have a componentId
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1550
-if the component identifier of the specified component is not unique within the namespace of this naming container
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalStateException
-
-
-
-1551
-if component is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1552
-
-
- Find and return a UIComponent in this namespace, if it is present; otherwise return null.
-
-
-
- If the argument name does not contain any UIComponent#SEPARATOR_CHAR characters, it is interpreted to be a name in the namespace of this naming container. If the argument name does contain UIComponent#SEPARATOR_CHAR characters, each segment between UIComponent#SEPARATOR_CHAR is treated as a component identifier in its own namespace, which are searched for in child naming containers of this naming container, from left to right.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
-java.lang.String
-
-
-
-
-1553
-if name is malformed
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1554
-if name is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1555
-
- Generate an identifier for a component, suitable for communication to a client.
- The identifier returned from this method must be unique within this namespace.
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
-
-1556
-
-
- Remove the specified UIComponent from the namespace of this naming container, if it is present.
-
-
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1557
-if the specified component does not have a componentId
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1558
-if component is null
-jakarta.faces.component
-UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1559
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UISelectOne
-
-
-
-1560
-
- Return the currently selected item, or null if there is no currently selected item.
-
-
-jakarta.faces.component
-UISelectOne
-
-
-
-1561
-
- Set the currently selected item, or null to indicate that there is no currently selected item.
-
-
-jakarta.faces.component
-UISelectOne
-
-
-java.lang.Object
-
-
-
-
-1562
-
-
- Create a new UISelectOne instance with default property values.
-
-
-jakarta.faces.component
-UISelectOne
-
-
-
-1563
-
-
- Append the specified UIComponent to the end of the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1564
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1565
-if component is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1566
-
-
- Insert the specified UIComponent at the specified position in the child list for this component.
- If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-
-
-
-1567
-if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1568
-if the index is out of range ((index < 0) || (index > size()))
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1569
-if component is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-int
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1570
-
-
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name.
- The newly added facet will have its parent property set to this component.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-
-
-
-1571
-if the either of the facetName or facet arguments are null.
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1572
-
-
-
- Add a Validator instance to the set associated with this UIComponent.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-1573
-if validator is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-java.lang.NullPointerException
-
-
-
-1574
-
-
- Remove all child UIComponents from the child list.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1575
-
-
- Remove all facet UIComponents from this component.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1576
-
-
- Clear any Validators that have been registered for processing by this component.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1577
-
-
-
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1578
-if component is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1579
-
-
-
-
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one.
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1580
-if an input/output error occurs during decoding
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1581
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1582
-
-
-
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext.
- If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1583
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1584
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1585
-
-
-
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property is true.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1586
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1587
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1588
-
-
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1589
-if an input/output error occurs while rendering
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1590
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1591
-
-
- Find the UIComponent named by the specified expression, if any is found.
-
-
- This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1592
-if expr is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1593
-
- Return the value of the attribute with the specified name (if any); otherwise, return null.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1594
-if name is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1595
-
-
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1596
-
-
- Return the UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-1597
-if index is out of range ((index = size()))
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1598
-
-
- Return the number of UIComponents on the child list for this component.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1599
-
-
-
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list.
- If this component has no children, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1600
-
- Return a client-side identifier for this component, generating one if necessary.
-
- Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1601
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1602
-
-
- Return the identifier of this UIComponent.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1603
-
-
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1604
-
-
- Return the facet UIComponent associated with the specified name, if any.
- Otherwise, return null.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1605
-if name is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1606
-
-
-
- Return an Iterator over the names of the facet UIComponents of this UIComponent.
- If this component has no facets, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1607
-
-
-
- Return an Iterator over the facet followed by child UIComponents of this UIComponent.
- Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1608
-
-
- Return the parent UIComponent of this UIComponent, if any.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1609
-
-
-
- Return the Renderer type for this UIComponent (if any).
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1610
-
- Return a flag indicating whether this component is responsible for rendering its child components.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1611
-
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1612
-
-
-
- Return an Iterator over the Validators associated with this UIComponent.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1613
-
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1614
-
- Return the current validity state of this component.
- The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-1615
-
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1616
-if an input/output error occurs during decoding
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1617
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1618
-
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows.
-
- Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1619
-if an input/output error occurs during processing
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1620
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1621
-
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
- Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1622
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1623
-
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows.
-
-
-
-
- Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1624
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1625
-
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle.
- The default implementation of this method does nothing.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1626
-if an input/output error occurs during processing
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1627
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1628
-
- Remove the child UIComponent at the specified position in the child list for this component.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-
-
-
-1629
-if the index is out of range ((index < 0) || (index >= size()))
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1630
-
-
- Remove the child UIComponent from the child list for this component.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1631
-if component is not a child of this component
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1632
-if component is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1633
-
-
- Remove the facet UIComponent associated with the specified name, if there is one.
- The removed facet will have its parent property cleared.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1634
-if name is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1635
-
-
-
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated.
- Otherwise, do nothing.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.validator.Validator
-
-
-
-
-1636
-
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-1637
-if name represents a read-only property of this component
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalArgumentException
-
-
-
-1638
-if name is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1639
-
-
- Set the identifier of this UIComponent.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1640
-if componentId is zero length or contains invalid characters
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1641
-if componentId is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1642
-if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1643
-
-
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1644
-
- Set the parent UIComponent of this UIComponent.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1645
-
-
- Set the rendered property of this UIComponent.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-1646
-
-
-
- Set the Renderer type for this UIComponent, or null for components that render themselves.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-java.lang.String
-
-
-
-
-1647
-
- Set the current validity state of this component.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-boolean
-
-
-
-
-1648
-
-
-
- Add a new ValueChangedListener to the set of listeners interested in being notified when ValueChangedEvents occur.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.ValueChangedListener
-
-
-
-
-1649
-if listener is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.ValueChangedListener
-
-java.lang.NullPointerException
-
-
-
-1650
-
-
-
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId.
- The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-
-
-
-1651
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-1652
-if the implementation class of this FacesEvent is not supported by this component
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalArgumentException
-
-
-
-1653
-if PhaseId.ANY_PHASE is passed for the phase identifier
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.IllegalStateException
-
-
-
-1654
-if event or phaseId is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.FacesEvent
-jakarta.faces.event.PhaseId
-
-java.lang.NullPointerException
-
-
-
-1655
-
-
- Return the previous value of this UIInput component.
-
- This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-
-1656
-
-
-
- Remove an existing ValueChangedListener (if any) from the set of listeners interested in being notified when ValueChangedEvents occur.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.ValueChangedListener
-
-
-
-
-1657
-if listener is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.event.ValueChangedListener
-
-java.lang.NullPointerException
-
-
-
-1658
-
-
- Set the previous value of this UIInput component.
-
- This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-java.lang.Object
-
-
-
-
-1659
-
-
- Perform the following algorithm to update the model data associated with this UIInput, if any, as appropriate.
-
-
-
-
-
-
-
-
- If the valid property of this component is false, take no further action. If the valueRef property of this component is null, take no further action. Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the setValue() method of the ValueBinding to update the value that the value reference expression points at. If the setValue() method returns successfully: Clear the local value of this UIInput. Set the valid property of this UIInput to true. If the setValue() method call fails: Enqueue error messages by calling addMessage() on the specified FacesContext instance. Set the valid property of this UIInput to false.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1660
-if the valueRef property has invalid syntax for an expression
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.IllegalArgumentException
-
-
-
-1661
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1662
-
-
- Perform validations and, if validation is successful, and the local value is different from the previous value, queue a ValueChangedEvent to be processed later.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1663
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIInput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1664
-
- Evaluate and return the current value of this component, according to the following algorithm.
-
-
-
-
- If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1665
-if a problem occurs evaluating the value reference expression
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-EvaluationException
-
-
-
-1666
-if context is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIOutput}
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1667
-
-
- Return the component type of this UIComponent.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIOutput}
-
-
-
-1668
-
-
- Return the local value of this UIInput component.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIOutput}
-
-
-
-1669
-
-
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIOutput}
-
-
-
-1670
-
-
- Set the local value of this UIInput component.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIOutput}
-
-
-java.lang.Object
-
-
-
-
-1671
-
-
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UIOutput}
-
-
-java.lang.String
-
-
-
-
-1672
-
-
- Add the specified UIComponent to the namespace of this naming container.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1673
-if the specified component does not have a componentId
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1674
-if the component identifier of the specified component is not unique within the namespace of this naming container
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalStateException
-
-
-
-1675
-if component is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1676
-
-
- Find and return a UIComponent in this namespace, if it is present; otherwise return null.
-
-
-
- If the argument name does not contain any UIComponent#SEPARATOR_CHAR characters, it is interpreted to be a name in the namespace of this naming container. If the argument name does contain UIComponent#SEPARATOR_CHAR characters, each segment between UIComponent#SEPARATOR_CHAR is treated as a component identifier in its own namespace, which are searched for in child naming containers of this naming container, from left to right.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
-java.lang.String
-
-
-
-
-1677
-if name is malformed
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1678
-if name is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1679
-
- Generate an identifier for a component, suitable for communication to a client.
- The identifier returned from this method must be unique within this namespace.
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
-
-1680
-
-
- Remove the specified UIComponent from the namespace of this naming container, if it is present.
-
-
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1681
-if the specified component does not have a componentId
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1682
-if component is null
-jakarta.faces.component
-UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1683
-
-
- Append a FacesEvent to the set of events that should be processed at the end of the current phase of the request processing lifecycle.
-
-
-jakarta.faces.context
-FacesContext
-
-
-jakarta.faces.event.FacesEvent
-
-
-
-
-1684
-if event is null
-jakarta.faces.context
-FacesContext
-
-
-jakarta.faces.event.FacesEvent
-
-java.lang.NullPointerException
-
-
-
-1685
-
-
-
- Append a Message to the set of messages associated with the specified UIComponent, if component is not null.
-
- If component is null, this Message is assumed to not be associated with any specific component instance.
-
-jakarta.faces.context
-FacesContext
-
-
-jakarta.faces.component.UIComponent
-jakarta.faces.context.Message
-
-
-
-
-1686
-if message is null
-jakarta.faces.context
-FacesContext
-
-
-jakarta.faces.component.UIComponent
-jakarta.faces.context.Message
-
-java.lang.NullPointerException
-
-
-
-1687
-
-jakarta.faces.context
-FacesContext
-
-
-
-1688
-
-
- Return the FacesContext instance for the request that is being processed by the current thread.
-
-
-jakarta.faces.context
-FacesContext
-
-
-
-1689
-
-
- Return an Iterator over the FacesEvents that have been queued, in the order that they were queued.
- The Iterator returned by this method must support the following functionality: The remove() operation may be utilized by the JSF implementation to remove the current event when it has been completely handled. Event handlers may add new events to the list while it is being iterated over, by calling addFacesEvent(). If no events have been queued, an empty Iterator must be returned.
-
-jakarta.faces.context
-FacesContext
-
-
-
-1690
-
- Return the HttpSession instance for the session associated with the current request (if any); otherwise, return null.
-
-
-jakarta.faces.context
-FacesContext
-
-
-
-1691
-
- Return the Locale to be used in localizing the response being created for this FacesContext.
-
-
-jakarta.faces.context
-FacesContext
-
-
-
-1692
-
-
-
- Return the maximum severity level recorded on any Messages that has been queued, whether or not they are associated with any specific UIComponent.
- If no such messages have been queued, return a value less than Message.SEVERITY_INFO.
-
-jakarta.faces.context
-FacesContext
-
-
-
-1693
-
-
-
- Return an Iterator over the Messages that have been queued, whether or not they are associated with any specific UIComponent.
- If no such messages have been queued, return an empty Iterator.
-
-jakarta.faces.context
-FacesContext
-
-
-
-1694
-
-
-
-
-
- Return an Iterator over the Messages that have been queued that are associated with the specified UIComponent, (if component is not null), or over the Messages that have been queued that are not associated with any specific UIComponent (if component is null).
- If no such messages have been queued, return an empty Iterator.
-
-jakarta.faces.context
-FacesContext
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1695
-
-
- Return the ResponseStream to which components should direct their binary output.
- Within a given response, components can use either the ResponseStream or the ResponseWriter, but not both.
-
-jakarta.faces.context
-FacesContext
-
-
-
-1696
-
-
- Return the ResponseWriter to which components should direct their character-based output.
- Within a given response, components can use either the ResponseStream or the ResponseWriter, but not both.
-
-jakarta.faces.context
-FacesContext
-
-
-
-1697
-
- Return the ServletContext object for the web application associated with this request.
-
-
-jakarta.faces.context
-FacesContext
-
-
-
-1698
-
- Return the ServletRequest object representing the current request that is being processed.
-
-
-jakarta.faces.context
-FacesContext
-
-
-
-1699
-
- Return the ServletResponse object representing the current response that is being rendered.
-
-
-jakarta.faces.context
-FacesContext
-
-
-
-1700
-
-
- Return the component Tree that is associated with the this request.
-
-
-jakarta.faces.context
-FacesContext
-
-
-
-1701
-
- Release any resources associated with this FacesContext instance.
-
- Faces implementations may choose to pool instances in the associated FacesContextFactory to avoid repeated object creation and garbage collection.
-
-jakarta.faces.context
-FacesContext
-
-
-
-1702
-
- Signal the JavaSerer faces implementation that, as soon as the current phase of the request processing lifecycle has been completed, control should be passed to the Render Response phase, bypassing any phases that have not been executed yet.
-
-
-jakarta.faces.context
-FacesContext
-
-
-
-1703
-
- Signal the JavaServer Faces implementation that the HTTP response for this request has already been generated (such as an HTTP redirect), and that the request processing lifecycle should be terminated as soon as the current phase is completed.
-
-
-jakarta.faces.context
-FacesContext
-
-
-
-1704
-
- Set the Locale to be used in localizing the response being created for this FacesContext.
- If not set, the default Locale for our servlet container will be used.
-
-jakarta.faces.context
-FacesContext
-
-
-java.util.Locale
-
-
-
-
-1705
-
-
- Set the ResponseStream to which components should direct their binary output.
-
-jakarta.faces.context
-FacesContext
-
-
-jakarta.faces.context.ResponseStream
-
-
-
-
-1706
-if responseStream is null
-jakarta.faces.context
-FacesContext
-
-
-jakarta.faces.context.ResponseStream
-
-java.lang.NullPointerException
-
-
-
-1707
-
-
- Set the ResponseWriter to which components should direct their character-based output.
-
-jakarta.faces.context
-FacesContext
-
-
-jakarta.faces.context.ResponseWriter
-
-
-
-
-1708
-if responseWriter is null
-jakarta.faces.context
-FacesContext
-
-
-jakarta.faces.context.ResponseWriter
-
-java.lang.NullPointerException
-
-
-
-1709
-
-
- Set the component Tree that is associated with this request.
- This method can only be called by the application handler (or a class that the handler calls), and only during the Invoke Application phase of the request processing lifecycle.
-
-jakarta.faces.context
-FacesContext
-
-
-jakarta.faces.tree.Tree
-
-
-
-
-1710
-if this method is called more than once without a call to release() in beween
-jakarta.faces.context
-FacesContext
-
-
-jakarta.faces.tree.Tree
-
-java.lang.IllegalStateException
-
-
-
-1711
-if tree is null
-jakarta.faces.context
-FacesContext
-
-
-jakarta.faces.tree.Tree
-
-java.lang.NullPointerException
-
-
-
-1712
-
-jakarta.faces.context
-FacesContextFactory
-
-
-
-1713
-
-
-
- Create (if needed) and return a FacesContext instance that is initialized for the processing of the specified request and response objects, utilizing the specified Lifecycle instance, for this web application.
-
-
-jakarta.faces.context
-FacesContextFactory
-
-
-ServletContext
-ServletRequest
-ServletResponse
-jakarta.faces.lifecycle.Lifecycle
-
-
-
-
-1714
-if a FacesContext cannot be constructed for the specified parameters
-jakarta.faces.context
-FacesContextFactory
-
-
-ServletContext
-ServletRequest
-ServletResponse
-jakarta.faces.lifecycle.Lifecycle
-
-jakarta.faces.FacesException
-
-
-
-1715
-if any of the parameters are null
-jakarta.faces.context
-FacesContextFactory
-
-
-ServletContext
-ServletRequest
-ServletResponse
-jakarta.faces.lifecycle.Lifecycle
-
-java.lang.NullPointerException
-
-
-
-1716
-
-
- Return the localized detail text for this Message (if any).
- This should be additional text that can help the user understand the context of the problem, and offer suggestions for approaches to correcting it.
-
-jakarta.faces.context
-Message
-
-
-
-1717
-
-
- Return the severity level of this Message.
-
-
-jakarta.faces.context
-Message
-
-
-
-1718
-
-
- Return the localized summary text for this Message.
- This should be the text that would normally be displayed to a user to identify the problem that needs to be corrected.
-
-jakarta.faces.context
-Message
-
-
-
-1719
-
-
- Return the localized detail text for this Message (if any).
- This should be additional text that can help the user understand the context of the problem, and offer suggestions for approaches to correcting it.
-
-jakarta.faces.context
-MessageImpl
-
-
-
-1720
-
-
- Return the severity level of this Message.
-
-
-jakarta.faces.context
-MessageImpl
-
-
-
-1721
-
-
- Return the localized summary text for this Message.
- This should be the text that would normally be displayed to a user to identify the problem that needs to be corrected.
-
-jakarta.faces.context
-MessageImpl
-
-
-
-1722
-
-
- Construct a new Message with no initial values.
-
-jakarta.faces.context
-MessageImpl
-
-
-
-1723
-
-
- Construct a new Message with the specified initial values.
-
-
-jakarta.faces.context
-MessageImpl
-
-
-int
-java.lang.String
-java.lang.String
-
-
-
-
-1724
-
- Set the localized detail text.
-
-
-jakarta.faces.context
-MessageImpl
-
-
-java.lang.String
-
-
-
-
-1725
-
- Set the severity level.
-
-
-jakarta.faces.context
-MessageImpl
-
-
-int
-
-
-
-
-1726
-if the specified severity level is not one of the supported values
-jakarta.faces.context
-MessageImpl
-
-
-int
-
-java.lang.IllegalArgumentException
-
-
-
-1727
-
- Set the localized summary text.
-
-
-jakarta.faces.context
-MessageImpl
-
-
-java.lang.String
-
-
-
-
-1728
-
-
-
- Return a localized Message instance corresponding to the specified parameters, or null if the specified message identifier is not supported by the MessageResources instance.
-
-
-jakarta.faces.context
-MessageResources
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-
-
-
-
-1729
-if context or messageId is null
-jakarta.faces.context
-MessageResources
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1730
-
-
-
- Return a localized Message instance corresponding to the specified parameters, or null if the specified message identifier is not supported by the MessageResources instance.
-
-
-jakarta.faces.context
-MessageResources
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-java.lang.Object[]
-
-
-
-
-1731
-if context or messageId is null
-jakarta.faces.context
-MessageResources
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-java.lang.Object[]
-
-java.lang.NullPointerException
-
-
-
-1732
-
-
-
- Return a localized Message instance corresponding to the specified parameters, or null if the specified message identifier is not supported by the MessageResources instance.
-
-
-jakarta.faces.context
-MessageResources
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-java.lang.Object
-
-
-
-
-1733
-if context or messageId is null
-jakarta.faces.context
-MessageResources
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1734
-
-
-
- Return a localized Message instance corresponding to the specified parameters, or null if the specified message identifier is not supported by the MessageResources instance.
-
-
-jakarta.faces.context
-MessageResources
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-java.lang.Object
-java.lang.Object
-
-
-
-
-1735
-if context or messageId is null
-jakarta.faces.context
-MessageResources
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-java.lang.Object
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1736
-
-
-
- Return a localized Message instance corresponding to the specified parameters, or null if the specified message identifier is not supported by the MessageResources instance.
-
-
-jakarta.faces.context
-MessageResources
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-java.lang.Object
-java.lang.Object
-java.lang.Object
-
-
-
-
-1737
-if context or messageId is null
-jakarta.faces.context
-MessageResources
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-java.lang.Object
-java.lang.Object
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1738
-
-
-
- Return a localized Message instance corresponding to the specified parameters, or null if the specified message identifier is not supported by the MessageResources instance.
-
-
-jakarta.faces.context
-MessageResources
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-java.lang.Object
-java.lang.Object
-java.lang.Object
-java.lang.Object
-
-
-
-
-1739
-if context or messageId is null
-jakarta.faces.context
-MessageResources
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-java.lang.Object
-java.lang.Object
-java.lang.Object
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1740
-
-jakarta.faces.context
-MessageResources
-
-
-
-1741
-
-
-
- Register a new MessageResources instance, associated with the specified messageResourcesId, to be supported by this MessageResourcesFactory.
-
- This method may be called at any time, and makes the corresponding MessageResources instance available throughout the remaining lifetime of this web application.
-
-jakarta.faces.context
-MessageResourcesFactory
-
-
-java.lang.String
-jakarta.faces.context.MessageResources
-
-
-
-
-1742
-if messageResourcesId is already registered in this MessageResourcesFactory
-jakarta.faces.context
-MessageResourcesFactory
-
-
-java.lang.String
-jakarta.faces.context.MessageResources
-
-java.lang.IllegalArgumentException
-
-
-
-1743
-if messageResourcesId or messageResources is null
-jakarta.faces.context
-MessageResourcesFactory
-
-
-java.lang.String
-jakarta.faces.context.MessageResources
-
-java.lang.NullPointerException
-
-
-
-1744
-
-
- Create (if needed) and return a MessageResources instance for the specified message resources identifier.
- The set of available message resources identifiers is available via the getMessageResourcesIds() method. Each call to getMessageResources() for the same messageResourcesId, from within the same web application, must return the same MessageResources instance.
-
-jakarta.faces.context
-MessageResourcesFactory
-
-
-java.lang.String
-
-
-
-
-1745
-if no MessageResources instance can be returned for the specified identifier
-jakarta.faces.context
-MessageResourcesFactory
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1746
-if messageResourcesId is null
-jakarta.faces.context
-MessageResourcesFactory
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1747
-
- Return an Iterator over the set of message resource identifiers supported by this factory.
- This Iterator must include the standard identifiers described above.
-
-jakarta.faces.context
-MessageResourcesFactory
-
-
-
-1748
-
-jakarta.faces.context
-MessageResourcesFactory
-
-
-
-1749
-
-jakarta.faces.context
-ResponseStream
-
-
-
-1750
-
-jakarta.faces.context
-ResponseStream.{java.io.OutputStream}
-
-
-
-1751
-
-jakarta.faces.context
-ResponseStream.{java.io.OutputStream}
-
-java.io.IOException
-
-
-
-1752
-
-jakarta.faces.context
-ResponseStream.{java.io.OutputStream}
-
-
-
-1753
-
-jakarta.faces.context
-ResponseStream.{java.io.OutputStream}
-
-java.io.IOException
-
-
-
-1754
-
-jakarta.faces.context
-ResponseStream.{java.io.OutputStream}
-
-
-int
-
-
-
-
-1755
-
-jakarta.faces.context
-ResponseStream.{java.io.OutputStream}
-
-
-int
-
-java.io.IOException
-
-
-
-1756
-
-jakarta.faces.context
-ResponseStream.{java.io.OutputStream}
-
-
-byte[]
-
-
-
-
-1757
-
-jakarta.faces.context
-ResponseStream.{java.io.OutputStream}
-
-
-byte[]
-
-java.io.IOException
-
-
-
-1758
-
-jakarta.faces.context
-ResponseStream.{java.io.OutputStream}
-
-
-byte[]
-int
-int
-
-
-
-
-1759
-
-jakarta.faces.context
-ResponseStream.{java.io.OutputStream}
-
-
-byte[]
-int
-int
-
-java.io.IOException
-
-
-
-1760
-
- Write whatever text should end a response.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.context
-ResponseWriter
-
-
-
-1761
-if an input/output error occurs
-jakarta.faces.context
-ResponseWriter
-
-java.io.IOException
-
-
-
-1762
-
- Write the end of an element, after closing any open element created by a call to startElement().
-
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-
-
-
-
-1763
-if an input/output error occurs
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-
-java.io.IOException
-
-
-
-1764
-if name is null
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1765
-
-jakarta.faces.context
-ResponseWriter
-
-
-
-1766
-
- Write whatever text should begin a response.
-
-
-jakarta.faces.context
-ResponseWriter
-
-
-
-1767
-if an input/output error occurs
-jakarta.faces.context
-ResponseWriter
-
-java.io.IOException
-
-
-
-1768
-
- Write the start of an element, up to and including the element name.
- Once this method has been called, clients can call writeAttribute() or writeURIAttribute() method to add attributes and corresponding values. The starting element will be closed (that is, the trailing '>' character added) on any subsequent call to startElement(), writeComment(), writeText(), endElement(), or endDocument().
-
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-
-
-
-
-1769
-if an input/output error occurs
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-
-java.io.IOException
-
-
-
-1770
-if name is null
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1771
-
- Write an attribute name and corresponding value (after converting that text to a String if necessary), after escaping it properly.
- This method may only be called after a call to startElement(), and before the opened element has been closed.
-
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-1772
-if an input/output error occurs
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-java.lang.Object
-
-java.io.IOException
-
-
-
-1773
-if this method is called when there is no currently open element
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalStateException
-
-
-
-1774
-if name or value is null
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1775
-
- Write a comment containing the specified text, after converting that text to a String if necessary.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.Object
-
-
-
-
-1776
-if an input/output error occurs
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.Object
-
-java.io.IOException
-
-
-
-1777
-if comment is null
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1778
-
- Write an object (after converting it to a String, if necessary), after escaping it properly.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.Object
-
-
-
-
-1779
-if an input/output error occurs
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.Object
-
-java.io.IOException
-
-
-
-1780
-if text is null
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1781
-
- Write a single character, after escaping it properly.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.context
-ResponseWriter
-
-
-char
-
-
-
-
-1782
-if an input/output error occurs
-jakarta.faces.context
-ResponseWriter
-
-
-char
-
-java.io.IOException
-
-
-
-1783
-
- Write text from a character array, after escaping it properly.
- This is equivalent to calling writeText(c, 0, c.length). If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.context
-ResponseWriter
-
-
-char[]
-
-
-
-
-1784
-if an input/output error occurs
-jakarta.faces.context
-ResponseWriter
-
-
-char[]
-
-java.io.IOException
-
-
-
-1785
-if text is null
-jakarta.faces.context
-ResponseWriter
-
-
-char[]
-
-java.lang.NullPointerException
-
-
-
-1786
-
- Write text from a character array, after escaping it properly for this method.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.context
-ResponseWriter
-
-
-char[]
-int
-int
-
-
-
-
-1787
-if an input/output error occurs
-jakarta.faces.context
-ResponseWriter
-
-
-char[]
-int
-int
-
-java.io.IOException
-
-
-
-1788
-if the calculated starting or ending position is outside the bounds of the character array
-jakarta.faces.context
-ResponseWriter
-
-
-char[]
-int
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1789
-if text is null
-jakarta.faces.context
-ResponseWriter
-
-
-char[]
-int
-int
-
-java.lang.NullPointerException
-
-
-
-1790
-
- Write a URI attribute name and corresponding value (after converting that text to a String if necessary), after encoding it properly (for example, '%' encoded for HTML).
- This method may only be called after a call to startElement(), and before the opened element has been closed.
-
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-1791
-if an input/output error occurs
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-java.lang.Object
-
-java.io.IOException
-
-
-
-1792
-if this method is called when there is no currently open element
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalStateException
-
-
-
-1793
-if name or value is null
-jakarta.faces.context
-ResponseWriter
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1794
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-
-
-1795
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-java.io.IOException
-
-
-
-1796
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-
-
-1797
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-java.io.IOException
-
-
-
-1798
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-
-int
-
-
-
-
-1799
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-
-int
-
-java.io.IOException
-
-
-
-1800
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-
-char[]
-
-
-
-
-1801
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-
-char[]
-
-java.io.IOException
-
-
-
-1802
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-
-char[]
-int
-int
-
-
-
-
-1803
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-
-char[]
-int
-int
-
-java.io.IOException
-
-
-
-1804
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-
-java.lang.String
-
-
-
-
-1805
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-
-java.lang.String
-
-java.io.IOException
-
-
-
-1806
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-
-java.lang.String
-int
-int
-
-
-
-
-1807
-
-jakarta.faces.context
-ResponseWriter.{java.io.Writer}
-
-
-java.lang.String
-int
-int
-
-java.io.IOException
-
-
-
-1808
-
-
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
-
-
-jakarta.faces.convert
-Converter
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-java.lang.String
-
-
-
-
-1809
-if conversion cannot be successfully performed
-jakarta.faces.convert
-Converter
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-java.lang.String
-
-jakarta.faces.convert.ConverterException
-
-
-
-1810
-if context or component is null
-jakarta.faces.convert
-Converter
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1811
-
-
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
-
-
-jakarta.faces.convert
-Converter
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-java.lang.Object
-
-
-
-
-1812
-if conversion cannot be successfully performed
-jakarta.faces.convert
-Converter
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-java.lang.Object
-
-jakarta.faces.convert.ConverterException
-
-
-
-1813
-if context or component is null
-jakarta.faces.convert
-Converter
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1814
-
- Construct a new exception with no detail message or root cause.
-
-
-jakarta.faces.convert
-ConverterException
-
-
-
-1815
-
- Construct a new exception with the specified detail message and no root cause.
-
-
-jakarta.faces.convert
-ConverterException
-
-
-java.lang.String
-
-
-
-
-1816
-
- Construct a new exception with the specified root cause.
- The detail message will be set to (cause == null ? null : cause.toString()
-
-jakarta.faces.convert
-ConverterException
-
-
-java.lang.Throwable
-
-
-
-
-1817
-
- Construct a new exception with the specified detail message and root cause.
-
-
-jakarta.faces.convert
-ConverterException
-
-
-java.lang.String
-java.lang.Throwable
-
-
-
-
-1818
-
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
-
-
-jakarta.faces.convert
-ConverterException.{jakarta.faces.FacesException}
-
-
-
-1819
-
-
- Register a new Converter instance with the specified converterId, to be supported by this ConverterFactory.
-
- This method may be called at any time, and makes the corresponding Converter instance available throughout the remaining lifetime of this web application.
-
-jakarta.faces.convert
-ConverterFactory
-
-
-java.lang.String
-jakarta.faces.convert.Converter
-
-
-
-
-1820
-if a Converter with the specified converterId has already been registered
-jakarta.faces.convert
-ConverterFactory
-
-
-java.lang.String
-jakarta.faces.convert.Converter
-
-java.lang.IllegalArgumentException
-
-
-
-1821
-if converterId or converter is null
-jakarta.faces.convert
-ConverterFactory
-
-
-java.lang.String
-jakarta.faces.convert.Converter
-
-java.lang.NullPointerException
-
-
-
-1822
-
-
- Register a new Converter instance that knows how to perform conversions to and from the specified object class.
-
- This method may be called at any time, and makes the corresponding Converter instance available throughout the remaining lifetime of this web application.
-
-jakarta.faces.convert
-ConverterFactory
-
-
-java.lang.Class
-jakarta.faces.convert.Converter
-
-
-
-
-1823
-if clazz or converter is null
-jakarta.faces.convert
-ConverterFactory
-
-
-java.lang.Class
-jakarta.faces.convert.Converter
-
-java.lang.NullPointerException
-
-
-
-1824
-
-jakarta.faces.convert
-ConverterFactory
-
-
-
-1825
-
-
- Create (if needed) and return a Converter instance that may be used to perform Object-to-String and String-to-Object conversions for objects of the specified class.
-
-
-
- A search of the registered Converters is performed in the following order: An exact match on the original class. An exact match on one of the interfaces directly implemented by the original class, checked in the order they are returned by Class.getInterfaces(). Recursively for each superclass of the original class: An exact match on this superclass. An exact match on one of the interfaces directly implemented by this superclass. If a Converter is discovered during the search described above, it is returned; otherwise null is returned. Each call to getConverter() for the same clazz, from within the same web application, must return the same Converter instance.
-
-jakarta.faces.convert
-ConverterFactory
-
-
-java.lang.Class
-
-
-
-
-1826
-if clazz is null
-jakarta.faces.convert
-ConverterFactory
-
-
-java.lang.Class
-
-java.lang.NullPointerException
-
-
-
-1827
-
-
- Create (if needed) and return a Converter instance that may be used to perform Object-to-String and String-to-Object conversions for web applications based on JavaServer Faces.
-
-
- The set of available converter identifiers is available via the getConverterIds() method. If no Converter has been registered for the specified converter identifier, return null. Each call to getConverter() for the same converterId, from within the same web application, must return the same Converter instance.
-
-jakarta.faces.convert
-ConverterFactory
-
-
-java.lang.String
-
-
-
-
-1828
-if converterId is null
-jakarta.faces.convert
-ConverterFactory
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1829
-
-
- Return an Iterator over the set of classes for which we have registered Converters in this factory.
-
-
-jakarta.faces.convert
-ConverterFactory
-
-
-
-1830
-
- Return an Iterator over the set of converter identifiers supported by this factory.
-
-
-jakarta.faces.convert
-ConverterFactory
-
-
-
-1831
-
- Construct a new exception with no detail message or root cause.
-
-
-jakarta.faces.el
-EvaluationException
-
-
-
-1832
-
- Construct a new exception with the specified detail message and no root cause.
-
-
-jakarta.faces.el
-EvaluationException
-
-
-java.lang.String
-
-
-
-
-1833
-
- Construct a new exception with the specified root cause.
- The detail message will be set to (cause == null ? null : cause.toString()
-
-jakarta.faces.el
-EvaluationException
-
-
-java.lang.Throwable
-
-
-
-
-1834
-
- Construct a new exception with the specified detail message and root cause.
-
-
-jakarta.faces.el
-EvaluationException
-
-
-java.lang.String
-java.lang.Throwable
-
-
-
-
-1835
-
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
-
-
-jakarta.faces.el
-EvaluationException.{jakarta.faces.FacesException}
-
-
-
-1836
-
- Construct a new exception with no detail message or root cause.
-
-
-jakarta.faces.el
-PropertyNotFoundException
-
-
-
-1837
-
- Construct a new exception with the specified detail message and no root cause.
-
-
-jakarta.faces.el
-PropertyNotFoundException
-
-
-java.lang.String
-
-
-
-
-1838
-
- Construct a new exception with the specified root cause.
- The detail message will be set to (cause == null ? null : cause.toString()
-
-jakarta.faces.el
-PropertyNotFoundException
-
-
-java.lang.Throwable
-
-
-
-
-1839
-
- Construct a new exception with the specified detail message and root cause.
-
-
-jakarta.faces.el
-PropertyNotFoundException
-
-
-java.lang.String
-java.lang.Throwable
-
-
-
-
-1840
-
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
-
-
-jakarta.faces.el
-PropertyNotFoundException.{jakarta.faces.FacesException}
-
-
-
-1841
-
- Return the java.lang.Class representing the type of the specified property of the specified base object, if it can be determined; otherwise return null.
-
-
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-java.lang.String
-
-
-
-
-1842
-if the specified property name does not exist
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-java.lang.String
-
-jakarta.faces.el.PropertyNotFoundException
-
-
-
-1843
-if base or name is null
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1844
-
- Return the java.lang.Class representing the type of value at the specified index of the specified base object, or null if this value is null.
-
-
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-
-
-
-
-1845
-if some other exception occurs
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-
-jakarta.faces.el.PropertyNotFoundException
-
-
-
-1846
-if thrown by the underlying accessed to the indexed property
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1847
-if base is null
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-
-java.lang.NullPointerException
-
-
-
-1848
-
- Return the value of the property with the specified name from the specified base object.
-
-
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-java.lang.String
-
-
-
-
-1849
-if the specified property name does not exist, or is not readable
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-java.lang.String
-
-jakarta.faces.el.PropertyNotFoundException
-
-
-
-1850
-if base or name is null
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1851
-
- Return the value at the specified index of the specified base object.
-
-
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-
-
-
-
-1852
-if some other exception occurs
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-
-jakarta.faces.el.PropertyNotFoundException
-
-
-
-1853
-if thrown by the underlying access to the base object
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1854
-if base is null
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-
-java.lang.NullPointerException
-
-
-
-1855
-
- Return true if the specified property of the specified base object is known to be immutable; otherwise, return false.
-
-
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-java.lang.String
-
-
-
-
-1856
-if the specified property name does not exist
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-java.lang.String
-
-jakarta.faces.el.PropertyNotFoundException
-
-
-
-1857
-if base or name is null
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1858
-
- Return true if the value at the specified index of the specified base object is known to be immutable; otherwise, return false.
-
-
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-
-
-
-
-1859
-if some other exception occurs
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-
-jakarta.faces.el.PropertyNotFoundException
-
-
-
-1860
-if thrown by the underlying accessed to the indexed property
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1861
-if base is null
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-
-java.lang.NullPointerException
-
-
-
-1862
-
-jakarta.faces.el
-PropertyResolver
-
-
-
-1863
-
- Set the specified value of the property with the specified name on the specified base object.
-
-
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-java.lang.String
-java.lang.Object
-
-
-
-
-1864
-if the specified property name does not exist, or is not writeable
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-java.lang.String
-java.lang.Object
-
-jakarta.faces.el.PropertyNotFoundException
-
-
-
-1865
-if base or name is null
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1866
-
- Set the value at the specified index of the specified base object.
-
-
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-java.lang.Object
-
-
-
-
-1867
-if some other exception occurs
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-java.lang.Object
-
-jakarta.faces.el.PropertyNotFoundException
-
-
-
-1868
-if thrown by the underlying access to the base object
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-java.lang.Object
-
-java.lang.IndexOutOfBoundsException
-
-
-
-1869
-if base is null
-jakarta.faces.el
-PropertyResolver
-
-
-java.lang.Object
-int
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1870
-
- Construct a new exception with no detail message or root cause.
-
-
-jakarta.faces.el
-ReferenceSyntaxException
-
-
-
-1871
-
- Construct a new exception with the specified detail message and no root cause.
-
-
-jakarta.faces.el
-ReferenceSyntaxException
-
-
-java.lang.String
-
-
-
-
-1872
-
- Construct a new exception with the specified root cause.
- The detail message will be set to (cause == null ? null : cause.toString()
-
-jakarta.faces.el
-ReferenceSyntaxException
-
-
-java.lang.Throwable
-
-
-
-
-1873
-
- Construct a new exception with the specified detail message and root cause.
-
-
-jakarta.faces.el
-ReferenceSyntaxException
-
-
-java.lang.String
-java.lang.Throwable
-
-
-
-
-1874
-
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
-
-
-jakarta.faces.el
-ReferenceSyntaxException.{jakarta.faces.FacesException}
-
-
-
-1875
-
-
-
- Return the type of the property represented by this ValueBinding, relative to the specified FacesContext.
-
-
-jakarta.faces.el
-ValueBinding
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1876
-if the specified property name does not exist, or is not writeable
-jakarta.faces.el
-ValueBinding
-
-
-jakarta.faces.context.FacesContext
-
-jakarta.faces.el.PropertyNotFoundException
-
-
-
-1877
-if context is null
-jakarta.faces.el
-ValueBinding
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1878
-
-
-
- Return the value of the property represented by this ValueBinding, relative to the specified FacesContext.
-
-
-jakarta.faces.el
-ValueBinding
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1879
-if the specified property name does not exist, or is not readable
-jakarta.faces.el
-ValueBinding
-
-
-jakarta.faces.context.FacesContext
-
-jakarta.faces.el.PropertyNotFoundException
-
-
-
-1880
-if context is null
-jakarta.faces.el
-ValueBinding
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1881
-
- Return true if the specified property of the specified property is known to be immutable; otherwise, return false.
-
-
-jakarta.faces.el
-ValueBinding
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1882
-if the specified property name does not exist
-jakarta.faces.el
-ValueBinding
-
-
-jakarta.faces.context.FacesContext
-
-jakarta.faces.el.PropertyNotFoundException
-
-
-
-1883
-if context is null
-jakarta.faces.el
-ValueBinding
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1884
-
-
-
- Set the value of the property represented by this ValueBinding, relative to the specified FacesContext.
-
-
-jakarta.faces.el
-ValueBinding
-
-
-jakarta.faces.context.FacesContext
-java.lang.Object
-
-
-
-
-1885
-if the specified property name does not exist, or is not writeable
-jakarta.faces.el
-ValueBinding
-
-
-jakarta.faces.context.FacesContext
-java.lang.Object
-
-jakarta.faces.el.PropertyNotFoundException
-
-
-
-1886
-if context is null
-jakarta.faces.el
-ValueBinding
-
-
-jakarta.faces.context.FacesContext
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-1887
-
-jakarta.faces.el
-ValueBinding
-
-
-
-1888
-
- Resolve the specified variable name, and return the corresponding object, if any; otherwise, return null.
-
-
-jakarta.faces.el
-VariableResolver
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-
-
-
-
-1889
-if context or name is null
-jakarta.faces.el
-VariableResolver
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1890
-
-jakarta.faces.el
-VariableResolver
-
-
-
-1891
-
-jakarta.faces.event
-AbortProcessingException
-
-
-
-1892
-
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
-
-
-jakarta.faces.event
-AbortProcessingException.{jakarta.faces.FacesException}
-
-
-
-1893
-
- Construct a new event object from the specified source component and action command.
-
-
-jakarta.faces.event
-ActionEvent
-
-
-jakarta.faces.component.UIComponent
-java.lang.String
-
-
-
-
-1894
-
- Return the String identifying the command that was activated.
-
-
-jakarta.faces.event
-ActionEvent
-
-
-
-1895
-
-
- Return the source UIComponent that sent this event.
-
-jakarta.faces.event
-ActionEvent.{jakarta.faces.event.FacesEvent}
-
-
-
-1896
-
-
- Invoked when the action described by the specified ActionEvent occurs.
-
-
-jakarta.faces.event
-ActionListener
-
-
-jakarta.faces.event.ActionEvent
-
-
-
-
-1897
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.event
-ActionListener
-
-
-jakarta.faces.event.ActionEvent
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-1898
-
- Return the identifier of the request processing phase during which this listener is interested in processing events of the type we are supporting.
-
-
- Legal values are the singleton instances defined by the PhaseId class. FacesListener instances should generally return PhaseId.ANY_PHASE to be notified about events no matter what the current request processing phase is.
-
-jakarta.faces.event
-ActionListener.{jakarta.faces.event.FacesListener}
-
-
-
-1899
-
- Construct a new event object from the specified source component.
-
-
-jakarta.faces.event
-FacesEvent
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1900
-
-
- Return the source UIComponent that sent this event.
-
-jakarta.faces.event
-FacesEvent
-
-
-
-1901
-
- Return the identifier of the request processing phase during which this listener is interested in processing events of the type we are supporting.
-
-
- Legal values are the singleton instances defined by the PhaseId class. FacesListener instances should generally return PhaseId.ANY_PHASE to be notified about events no matter what the current request processing phase is.
-
-jakarta.faces.event
-FacesListener
-
-
-
-1902
-
-
- Compare this PhaseId instance to the specified one.
- Returns a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object.
-
-jakarta.faces.event
-PhaseId
-
-
-java.lang.Object
-
-
-
-
-1903
-
-
- Return the ordinal value of this PhaseId instance.
-
-
-jakarta.faces.event
-PhaseId
-
-
-
-1904
-
-
- Return a String representation of this PhaseId instance.
-
-
-jakarta.faces.event
-PhaseId
-
-
-
-1905
-
-
- Return the current local value of the source UIComponent.
-
-
-jakarta.faces.event
-ValueChangedEvent
-
-
-
-1906
-
-
- Return the previous local value of the source UIComponent.
-
-
-jakarta.faces.event
-ValueChangedEvent
-
-
-
-1907
-
- Construct a new event object from the specified source component, old value, and new value.
-
-
-jakarta.faces.event
-ValueChangedEvent
-
-
-jakarta.faces.component.UIComponent
-java.lang.Object
-java.lang.Object
-
-
-
-
-1908
-
-
- Return the source UIComponent that sent this event.
-
-jakarta.faces.event
-ValueChangedEvent.{jakarta.faces.event.FacesEvent}
-
-
-
-1909
-
-
- Invoked when the value change described by the specified ValueChangedEvent occurs.
-
-
-jakarta.faces.event
-ValueChangedListener
-
-
-jakarta.faces.event.ValueChangedEvent
-
-
-
-
-1910
-Signal the JavaServer Faces implementation that no further processing on the current event should be performed
-jakarta.faces.event
-ValueChangedListener
-
-
-jakarta.faces.event.ValueChangedEvent
-
-jakarta.faces.event.AbortProcessingException
-
-
-
-1911
-
- Return the identifier of the request processing phase during which this listener is interested in processing events of the type we are supporting.
-
-
- Legal values are the singleton instances defined by the PhaseId class. FacesListener instances should generally return PhaseId.ANY_PHASE to be notified about events no matter what the current request processing phase is.
-
-jakarta.faces.event
-ValueChangedListener.{jakarta.faces.event.FacesListener}
-
-
-
-1912
-
- Execute all of the phases of the request processing lifecycle, as described in the JavaServer Faces Specification, in the specified order.
-
- The processing flow can be affected (by the application, by components, or by event listeners) by calls to the renderResponse() or responseComplete() methods of the FacesContext instance associated with the current request.
-
-jakarta.faces.lifecycle
-Lifecycle
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1913
-if thrown during the execution of the request processing lifecycle
-jakarta.faces.lifecycle
-Lifecycle
-
-
-jakarta.faces.context.FacesContext
-
-jakarta.faces.FacesException
-
-
-
-1914
-if context is null
-jakarta.faces.lifecycle
-Lifecycle
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1915
-
-
- Return the ViewHandler instance that will be utilized during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.lifecycle
-Lifecycle
-
-
-
-1916
-
-jakarta.faces.lifecycle
-Lifecycle
-
-
-
-1917
-
-
- Set the ViewHandler instance that will be utilized during the Render Response phase of the request processing lifecycle.
-
-
-jakarta.faces.lifecycle
-Lifecycle
-
-
-jakarta.faces.lifecycle.ViewHandler
-
-
-
-
-1918
-if this method is called after at least one request has been processed by this Lifecycle instance
-jakarta.faces.lifecycle
-Lifecycle
-
-
-jakarta.faces.lifecycle.ViewHandler
-
-java.lang.IllegalStateException
-
-
-
-1919
-if handler is null
-jakarta.faces.lifecycle
-Lifecycle
-
-
-jakarta.faces.lifecycle.ViewHandler
-
-java.lang.NullPointerException
-
-
-
-1920
-
-
- Register a new Lifecycle instance, associated with the specified lifecycleId, to be supported by this LifecycleFactory.
-
- This method may be called at any time, and makes the corresponding Lifecycle instance available throughout the remaining lifetime of this web application.
-
-jakarta.faces.lifecycle
-LifecycleFactory
-
-
-java.lang.String
-jakarta.faces.lifecycle.Lifecycle
-
-
-
-
-1921
-if a Lifecycle with the specified lifecycleId has already been registered
-jakarta.faces.lifecycle
-LifecycleFactory
-
-
-java.lang.String
-jakarta.faces.lifecycle.Lifecycle
-
-java.lang.IllegalArgumentException
-
-
-
-1922
-if lifecycleId or lifecycle is null
-jakarta.faces.lifecycle
-LifecycleFactory
-
-
-java.lang.String
-jakarta.faces.lifecycle.Lifecycle
-
-java.lang.NullPointerException
-
-
-
-1923
-
-
- Create (if needed) and return a Lifecycle instance for the specified lifecycle identifier.
-
- The set of available lifecycle identifiers is available via the getLifecycleIds() method. Each call to getLifecycle() for the same lifecycleId, from within the same web application, must return the same Lifecycle instance.
-
-jakarta.faces.lifecycle
-LifecycleFactory
-
-
-java.lang.String
-
-
-
-
-1924
-if no Lifecycle instance can be returned for the specified identifier
-jakarta.faces.lifecycle
-LifecycleFactory
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1925
-if lifecycleId is null
-jakarta.faces.lifecycle
-LifecycleFactory
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1926
-
- Return an Iterator over the set of lifecycle identifiers supported by this factory.
- This set must include the value specified by LifecycleFactory.DEFAULT_LIFECYCLE.
-
-jakarta.faces.lifecycle
-LifecycleFactory
-
-
-
-1927
-
-jakarta.faces.lifecycle
-LifecycleFactory
-
-
-
-1928
-
-
- Perform whatever actions are required to render the response component tree to the ServletResponse associated with the specified FacesContext.
-
-
-jakarta.faces.lifecycle
-ViewHandler
-
-
-jakarta.faces.context.FacesContext
-
-
-
-
-1929
-if an input/output error occurs
-jakarta.faces.lifecycle
-ViewHandler
-
-
-jakarta.faces.context.FacesContext
-
-java.io.IOException
-
-
-
-1930
-if a servlet error occurs
-jakarta.faces.lifecycle
-ViewHandler
-
-
-jakarta.faces.context.FacesContext
-
-ServletException
-
-
-
-1931
-if context is null
-jakarta.faces.lifecycle
-ViewHandler
-
-
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1932
-
-
-
-
- Decode the current state of the specified UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the type required for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one).
-
-
- If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the value property of this component to true. If conversion is not successful: Save the state information (inside the component) in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect). Add an appropriate conversion failure error message by calling addMessage() on the specified FacesContext. Set the valid property of this component to false. During decoding, events may be enqueued for later processing (by event listeners that have registered an interest), by calling addFacesEvent() on the associated FacesContext.
-
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-
-
-
-1933
-if an input/output error occurs while decoding
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.io.IOException
-
-
-
-1934
-if context or component is null
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1935
-
-
- Render the beginning specified UIComponent to the output stream or writer associated with the response we are creating.
- If the conversion attempted in a previous call to decode for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling component.currentValue(), and rendering the value as appropriate.
-
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-
-
-
-1936
-if an input/output error occurs while rendering
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.io.IOException
-
-
-
-1937
-if context or component is null
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1938
-
-
- Render the child components of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- This method will only be called if the rendersChildren property of this component is true.
-
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-
-
-
-1939
-if an input/output error occurs while rendering
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.io.IOException
-
-
-
-1940
-if context or component is null
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1941
-
-
- Render the ending of the current state of the specified UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
-
-
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-
-
-
-1942
-if an input/output error occurs while rendering
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.io.IOException
-
-
-
-1943
-if context or component is null
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1944
-
-
- Return an AttributeDescriptor for the specified attribute name, as supported for the specified component class.
-
-
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.component.UIComponent
-java.lang.String
-
-
-
-
-1945
-if the specified component class is not supported
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.component.UIComponent
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1946
-if the specified attribute name is not supported for the specified component class
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.component.UIComponent
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1947
-if component or name is null
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.component.UIComponent
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1948
-
-
- Return an AttributeDescriptor for the specified attribute name, as supported for the specified component type.
-
-
-jakarta.faces.render
-Renderer
-
-
-java.lang.String
-java.lang.String
-
-
-
-
-1949
-if the specified component type is not supported
-jakarta.faces.render
-Renderer
-
-
-java.lang.String
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1950
-if the specified attribute name is not supported for the specified component type
-jakarta.faces.render
-Renderer
-
-
-java.lang.String
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1951
-if type or name is null
-jakarta.faces.render
-Renderer
-
-
-java.lang.String
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1952
-
-
- Return an Iterator over the names of the supported attributes for the specified UIComponent implementation class.
- If no attributes are supported, an empty Iterator is returned.
-
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1953
-if the specified component class is not supported
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.IllegalArgumentException
-
-
-
-1954
-if component is null
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1955
-
- Return an Iterator over the names of the supported attributes for the specified component type.
- If no attributes are supported, an empty Iterator is returned.
-
-jakarta.faces.render
-Renderer
-
-
-java.lang.String
-
-
-
-
-1956
-if the specified component type is not supported
-jakarta.faces.render
-Renderer
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1957
-if type is null
-jakarta.faces.render
-Renderer
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1958
-
- Generate and return a new client-side identifier for the specified component.
-
-
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-
-
-
-1959
-if context or component is null
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1960
-
-jakarta.faces.render
-Renderer
-
-
-
-1961
-
-
- Return true if this Renderer supports components of the specified UIComponent class.
-
-
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1962
-if component is null
-jakarta.faces.render
-Renderer
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1963
-
- Return true if this Renderer supports components of the specified type.
-
- This is matched against the type property of each UIComponent to determine compatibility.
-
-jakarta.faces.render
-Renderer
-
-
-java.lang.String
-
-
-
-
-1964
-if componentType is null
-jakarta.faces.render
-Renderer
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1965
-
-
-
-
- Add a new UIComponent subclass to the set of component classes registered with this RenderKit instance and supported by its constituent Renderers.
-
-
-jakarta.faces.render
-RenderKit
-
-
-java.lang.Class
-
-
-
-
-1966
-if componentClass is not a UIComponent subclass
-jakarta.faces.render
-RenderKit
-
-
-java.lang.Class
-
-java.lang.IllegalArgumentException
-
-
-
-1967
-if componentClass is null
-jakarta.faces.render
-RenderKit
-
-
-java.lang.Class
-
-java.lang.NullPointerException
-
-
-
-1968
-
-
-
-
- Add a new Renderer instance, associated with the specified rendererType, to the set of Renderers registered with this RenderKit.
-
-jakarta.faces.render
-RenderKit
-
-
-java.lang.String
-jakarta.faces.render.Renderer
-
-
-
-
-1969
-if a Renderer with the specified rendererType has already been registered
-jakarta.faces.render
-RenderKit
-
-
-java.lang.String
-jakarta.faces.render.Renderer
-
-java.lang.IllegalArgumentException
-
-
-
-1970
-if rendererType or renderer is null
-jakarta.faces.render
-RenderKit
-
-
-java.lang.String
-jakarta.faces.render.Renderer
-
-java.lang.NullPointerException
-
-
-
-1971
-
-
-
-
- Return an Iterator of the UIComponent classes that are registered with this RenderKit instance and supported by its constituent Renderers.
- If there are no such registered component classes, an empty Iterator is returned.
-
-jakarta.faces.render
-RenderKit
-
-
-
-1972
-
-
- Create (if necessary) and return a Renderer instance with the specified renderer type.
- Subsequent calls to this method with the same rendererType, from the same web application, must return the same instance.
-
-jakarta.faces.render
-RenderKit
-
-
-java.lang.String
-
-
-
-
-1973
-if the requested renderer type is not supported by this RenderKit
-jakarta.faces.render
-RenderKit
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1974
-if rendererType is null
-jakarta.faces.render
-RenderKit
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1975
-
- Return an Iterator of all the renderer types registered with this RenderKit.
-
-
-jakarta.faces.render
-RenderKit
-
-
-
-1976
-
-
-
- Return an Iterator of the renderer types of all Renderer instances registered with this RenderKit that support components of the specified component type.
-
- If no Renderers support this component type, an empty Iterator is returned.
-
-jakarta.faces.render
-RenderKit
-
-
-java.lang.String
-
-
-
-
-1977
-if componentType is null
-jakarta.faces.render
-RenderKit
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1978
-
-
-
-
- Return an Iterator of the renderer types of all Renderer instances registered with this RenderKit that support components of the specified UIComponent subclass.
-
- If no Renderers support this component class, an empty Iterator is returned.
-
-jakarta.faces.render
-RenderKit
-
-
-jakarta.faces.component.UIComponent
-
-
-
-
-1979
-if component is null
-jakarta.faces.render
-RenderKit
-
-
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-1980
-
-jakarta.faces.render
-RenderKit
-
-
-
-1981
-
-
-
- Register a new RenderKit instance, associated with the specified renderKitId, to be supported by this RenderKitFactory.
-
- This method may be called at any time, and makes the corresponding RenderKit instance available throughout the remaining lifetime of this web application.
-
-jakarta.faces.render
-RenderKitFactory
-
-
-java.lang.String
-jakarta.faces.render.RenderKit
-
-
-
-
-1982
-if a RenderKit with the specified renderKitId has already been registered
-jakarta.faces.render
-RenderKitFactory
-
-
-java.lang.String
-jakarta.faces.render.RenderKit
-
-java.lang.IllegalArgumentException
-
-
-
-1983
-if renderKitId or renderKit is null
-jakarta.faces.render
-RenderKitFactory
-
-
-java.lang.String
-jakarta.faces.render.RenderKit
-
-java.lang.NullPointerException
-
-
-
-1984
-
-
- Create (if needed) and return a RenderKit instance for the specified render kit identifier.
-
- The set of available render kit identifiers is available via the getRenderKitIds() method. Each call to getRenderKit() for the same renderKitId, from within the same web application, must return the same RenderKit instance.
-
-jakarta.faces.render
-RenderKitFactory
-
-
-java.lang.String
-
-
-
-
-1985
-if no RenderKit instance can be returned for the specified identifier
-jakarta.faces.render
-RenderKitFactory
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-1986
-if renderKitId is null
-jakarta.faces.render
-RenderKitFactory
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-1987
-
-
-
- Create (if needed) and return a RenderKit instance for the specified render kit identifier, possibly customized based on dynamic characteristics of the specified FacesContext.
- The set of available render kit identifiers is available via the getRenderKitIds() method.
-
-jakarta.faces.render
-RenderKitFactory
-
-
-java.lang.String
-jakarta.faces.context.FacesContext
-
-
-
-
-1988
-if no RenderKit instance can be returned for the specified identifier
-jakarta.faces.render
-RenderKitFactory
-
-
-java.lang.String
-jakarta.faces.context.FacesContext
-
-java.lang.IllegalArgumentException
-
-
-
-1989
-if renderKitId or context is null
-jakarta.faces.render
-RenderKitFactory
-
-
-java.lang.String
-jakarta.faces.context.FacesContext
-
-java.lang.NullPointerException
-
-
-
-1990
-
- Return an Iterator over the set of render kit identifiers supported by this factory.
- This set must include the value specified by RenderKitFactory.DEFAULT_RENDER_KIT.
-
-jakarta.faces.render
-RenderKitFactory
-
-
-
-1991
-
-jakarta.faces.render
-RenderKitFactory
-
-
-
-1992
-
-
- Return the render kit identifier of the RenderKit instance (if any) associated with this Tree.
-
-
-jakarta.faces.tree
-Tree
-
-
-
-1993
-
-
- Return the root node of the component tree associated with this Tree.
-
-
-jakarta.faces.tree
-Tree
-
-
-
-1994
-
-
- Return the tree identifier for this Tree.
-
-
-jakarta.faces.tree
-Tree
-
-
-
-1995
-
-
- Set the render kit identifier of the RenderKit instance (if any) associated with this Tree.
-
-
-jakarta.faces.tree
-Tree
-
-
-java.lang.String
-
-
-
-
-1996
-
-jakarta.faces.tree
-Tree
-
-
-
-1997
-
-
-
- Create (if needed) and return a Tree that is initialized with a root node, and whose renderKitId property is initialized to the identifier of the default jakarta.faces.render.RenderKit.
-
-
-jakarta.faces.tree
-TreeFactory
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-
-
-
-
-1998
-if a Tree cannot be constructed for the specified parameters
-jakarta.faces.tree
-TreeFactory
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-
-jakarta.faces.FacesException
-
-
-
-1999
-if context or treeId is null
-jakarta.faces.tree
-TreeFactory
-
-
-jakarta.faces.context.FacesContext
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-2000
-
-jakarta.faces.tree
-TreeFactory
-
-
-
-2001
-
-
- Construct a Validator with no preconfigured limits.
-
-
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-
-2002
-
-
- Construct a Validator with the specified preconfigured limit.
-
-
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-double
-
-
-
-
-2003
-
-
- Construct a Validator with the specified preconfigured limits.
-
-
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-double
-double
-
-
-
-
-2004
-
-
- Return the maximum value to be enforced by this Validator, if isMaximumSet() returns true.
-
-
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-
-2005
-
-
- Return the minimum value to be enforced by this Validator, if isMinimumSet() returns true.
-
-
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-
-2006
-
- Return a flag indicating whether a maximum limit has been set.
-
-
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-
-2007
-
- Return a flag indicating whether a minimum limit has been set.
-
-
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-
-2008
-
-
- Set the maximum value to be enforced by this Validator.
-
-
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-double
-
-
-
-
-2009
-if a specified maximum value is less than a specified minimum value
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-double
-
-java.lang.IllegalArgumentException
-
-
-
-2010
-
-
- Set the minimum value to be enforced by this Validator.
-
-
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-double
-
-
-
-
-2011
-if a specified maximum value is less than a specified minimum value
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-double
-
-java.lang.IllegalArgumentException
-
-
-
-2012
-
-
-
- Perform the correctness checks implemented by this Validator against the specified UIComponent.
-
-
-
-
- If any violations are found: Add zero or more Messages to the specified FacesContext, specifying this UIComponent as associated with the message, describing the nature of the violation(s) encountered. Set the valid property on the specified UIComponent to false.
-
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-
-
-
-2013
-if context or component is null
-jakarta.faces.validator
-DoubleRangeValidator
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-2014
-
-
- Return the maximum length to be enforced by this Validator, if isMaximumSet() returns true.
-
-
-jakarta.faces.validator
-LengthValidator
-
-
-
-2015
-
-
- Return the minimum length to be enforced by this Validator, if isMinimumSet() returns true.
-
-
-jakarta.faces.validator
-LengthValidator
-
-
-
-2016
-
- Return a flag indicating whether a maximum length has been set.
-
-
-jakarta.faces.validator
-LengthValidator
-
-
-
-2017
-
- Return a flag indicating whether a minimum limit has been set.
-
-
-jakarta.faces.validator
-LengthValidator
-
-
-
-2018
-
-
- Construct a Validator with no preconfigured limits.
-
-
-jakarta.faces.validator
-LengthValidator
-
-
-
-2019
-
-
- Construct a Validator with the specified preconfigured limit.
-
-
-jakarta.faces.validator
-LengthValidator
-
-
-int
-
-
-
-
-2020
-
-
- Construct a Validator with the specified preconfigured limits.
-
-
-jakarta.faces.validator
-LengthValidator
-
-
-int
-int
-
-
-
-
-2021
-
-
- Set the maximum length to be enforced by this Validator.
-
-
-jakarta.faces.validator
-LengthValidator
-
-
-int
-
-
-
-
-2022
-if a specified maximum value is less than a specified minimum value
-jakarta.faces.validator
-LengthValidator
-
-
-int
-
-java.lang.IllegalArgumentException
-
-
-
-2023
-
-
- Set the minimum length to be enforced by this Validator.
-
-
-jakarta.faces.validator
-LengthValidator
-
-
-int
-
-
-
-
-2024
-if a specified maximum value is less than a specified minimum value
-jakarta.faces.validator
-LengthValidator
-
-
-int
-
-java.lang.IllegalArgumentException
-
-
-
-2025
-
-
-
- Perform the correctness checks implemented by this Validator against the specified UIComponent.
-
-
-
-
- If any violations are found: Add zero or more Messages to the specified FacesContext, specifying this UIComponent as associated with the message, describing the nature of the violation(s) encountered. Set the valid property on the specified UIComponent to false.
-
-jakarta.faces.validator
-LengthValidator
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-
-
-
-2026
-if context or component is null
-jakarta.faces.validator
-LengthValidator
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-2027
-
-
- Return the maximum value to be enforced by this Validator, if isMaximumSet() returns true.
-
-
-jakarta.faces.validator
-LongRangeValidator
-
-
-
-2028
-
-
- Return the minimum value to be enforced by this Validator, if isMinimumSet() returns true.
-
-
-jakarta.faces.validator
-LongRangeValidator
-
-
-
-2029
-
- Return a flag indicating whether a maximum limit has been set.
-
-
-jakarta.faces.validator
-LongRangeValidator
-
-
-
-2030
-
- Return a flag indicating whether a minimum limit has been set.
-
-
-jakarta.faces.validator
-LongRangeValidator
-
-
-
-2031
-
-
- Construct a Validator with no preconfigured limits.
-
-
-jakarta.faces.validator
-LongRangeValidator
-
-
-
-2032
-
-
- Construct a Validator with the specified preconfigured limit.
-
-
-jakarta.faces.validator
-LongRangeValidator
-
-
-long
-
-
-
-
-2033
-
-
- Construct a Validator with the specified preconfigured limits.
-
-
-jakarta.faces.validator
-LongRangeValidator
-
-
-long
-long
-
-
-
-
-2034
-
-
- Set the maximum value to be enforced by this Validator.
-
-
-jakarta.faces.validator
-LongRangeValidator
-
-
-long
-
-
-
-
-2035
-if a specified maximum value is less than a specified minimum value
-jakarta.faces.validator
-LongRangeValidator
-
-
-long
-
-java.lang.IllegalArgumentException
-
-
-
-2036
-
-
- Set the minimum value to be enforced by this Validator.
-
-
-jakarta.faces.validator
-LongRangeValidator
-
-
-long
-
-
-
-
-2037
-if a specified maximum value is less than a specified minimum value
-jakarta.faces.validator
-LongRangeValidator
-
-
-long
-
-java.lang.IllegalArgumentException
-
-
-
-2038
-
-
-
- Perform the correctness checks implemented by this Validator against the specified UIComponent.
-
-
-
-
- If any violations are found: Add zero or more Messages to the specified FacesContext, specifying this UIComponent as associated with the message, describing the nature of the violation(s) encountered. Set the valid property on the specified UIComponent to false.
-
-jakarta.faces.validator
-LongRangeValidator
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-
-
-
-2039
-if context or component is null
-jakarta.faces.validator
-LongRangeValidator
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-2040
-
-jakarta.faces.validator
-RequiredValidator
-
-
-
-2041
-
-
-
- Perform the correctness checks implemented by this Validator against the specified UIComponent.
-
-
-
-
- If any violations are found: Add zero or more Messages to the specified FacesContext, specifying this UIComponent as associated with the message, describing the nature of the violation(s) encountered. Set the valid property on the specified UIComponent to false.
-
-jakarta.faces.validator
-RequiredValidator
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-
-
-
-2042
-if context or component is null
-jakarta.faces.validator
-RequiredValidator
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-2043
-
-
- Return the maximum value to be enforced by this Validator, if isMaximumSet() returns true.
-
-
-jakarta.faces.validator
-StringRangeValidator
-
-
-
-2044
-
-
- Return the minimum value to be enforced by this Validator, if isMinimumSet() returns true.
-
-
-jakarta.faces.validator
-StringRangeValidator
-
-
-
-2045
-
- Return a flag indicating whether a maximum limit has been set.
-
-
-jakarta.faces.validator
-StringRangeValidator
-
-
-
-2046
-
- Return a flag indicating whether a minimum limit has been set.
-
-
-jakarta.faces.validator
-StringRangeValidator
-
-
-
-2047
-
-
- Set the maximum value to be enforced by this Validator.
-
-
-jakarta.faces.validator
-StringRangeValidator
-
-
-java.lang.String
-
-
-
-
-2048
-if a specified maximum value is less than a specified minimum value
-jakarta.faces.validator
-StringRangeValidator
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-2049
-if maximum is null
-jakarta.faces.validator
-StringRangeValidator
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-2050
-
-
- Set the minimum value to be enforced by this Validator.
-
-
-jakarta.faces.validator
-StringRangeValidator
-
-
-java.lang.String
-
-
-
-
-2051
-if a specified maximum value is less than a specified minimum value
-jakarta.faces.validator
-StringRangeValidator
-
-
-java.lang.String
-
-java.lang.IllegalArgumentException
-
-
-
-2052
-if minimum is null
-jakarta.faces.validator
-StringRangeValidator
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-2053
-
-
- Construct a Validator with no preconfigured limits.
-
-
-jakarta.faces.validator
-StringRangeValidator
-
-
-
-2054
-
-
- Construct a Validator with the specified preconfigured limit.
-
-
-jakarta.faces.validator
-StringRangeValidator
-
-
-java.lang.String
-
-
-
-
-2055
-
-
- Construct a Validator with the specified preconfigured limits.
-
-
-jakarta.faces.validator
-StringRangeValidator
-
-
-java.lang.String
-java.lang.String
-
-
-
-
-2056
-
-
-
- Perform the correctness checks implemented by this Validator against the specified UIComponent.
-
-
-
-
- If any violations are found: Add zero or more Messages to the specified FacesContext, specifying this UIComponent as associated with the message, describing the nature of the violation(s) encountered. Set the valid property on the specified UIComponent to false.
-
-jakarta.faces.validator
-StringRangeValidator
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-
-
-
-2057
-if context or component is null
-jakarta.faces.validator
-StringRangeValidator
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-2058
-
-
-
- Perform the correctness checks implemented by this Validator against the specified UIComponent.
-
-
-
-
- If any violations are found: Add zero or more Messages to the specified FacesContext, specifying this UIComponent as associated with the message, describing the nature of the violation(s) encountered. Set the valid property on the specified UIComponent to false.
-
-jakarta.faces.validator
-Validator
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-
-
-
-2059
-if context or component is null
-jakarta.faces.validator
-Validator
-
-
-jakarta.faces.context.FacesContext
-jakarta.faces.component.UIComponent
-
-java.lang.NullPointerException
-
-
-
-2060
-
-jakarta.faces.webapp
-AttributeTag
-
-
-
-2061
-
-
-
-
- Register the specified attribute name and value with the UIComponent instance associated with our most immediately surrounding FacesTag instance, if this UIComponent does not already have a value for the specified attribute name.
-
-
-jakarta.faces.webapp
-AttributeTag
-
-
-
-2062
-if a JSP error occurs
-jakarta.faces.webapp
-AttributeTag
-
-JspException
-
-
-
-2063
-
- Release references to any acquired resources.
-
-jakarta.faces.webapp
-AttributeTag
-
-
-
-2064
-
- Set the attribute name.
-
-
-jakarta.faces.webapp
-AttributeTag
-
-
-java.lang.String
-
-
-
-
-2065
-
- Set the attribute value.
-
-
-jakarta.faces.webapp
-AttributeTag
-
-
-java.lang.String
-
-
-
-
-2066
-
- Handle the ending of the nested body content for this tag.
- The default implementation simply calls getDoAfterBodyValue() to retrieve the flag value to be returned.
-
-jakarta.faces.webapp
-FacesBodyTag
-
-
-
-2067
-if an error is encountered
-jakarta.faces.webapp
-FacesBodyTag
-
-JspException
-
-
-
-2068
-
- Prepare for evaluation of the body.
- This method is invoked by the JSP page implementation object after setBodyContent() and before the first time the body is to be evaluated. This method will not be invoked for empty tags or for non-empty tags whose doStartTag() method returns SKIP_BODY or EVAL_BODY_INCLUDE.
-
-jakarta.faces.webapp
-FacesBodyTag
-
-
-
-2069
-if an error is encountered
-jakarta.faces.webapp
-FacesBodyTag
-
-JspException
-
-
-
-2070
-
-jakarta.faces.webapp
-FacesBodyTag
-
-
-
-2071
-
- Return the BodyContent for this tag handler.
-
-
-jakarta.faces.webapp
-FacesBodyTag
-
-
-
-2072
-
- Get the JspWriter from our BodyContent.
-
-
-jakarta.faces.webapp
-FacesBodyTag
-
-
-
-2073
-
- Release any resources allocated during the execution of this tag handler.
-
-
-jakarta.faces.webapp
-FacesBodyTag
-
-
-
-2074
-
- Set the bodyContent for this tag handler.
- This method is invoked by the JSP page implementation object at most once per action invocation, before doInitiBody(). This method will not be invoked for empty tags or for non-empty tags whose doStartTag() method returns SKIP_BODY or EVAL_BODY_INCLUDE.
-
-jakarta.faces.webapp
-FacesBodyTag
-
-
-BodyContent
-
-
-
-
-2075
-
-
- Render the ending of the UIComponent that is associated with this tag (via the id attribute), by following these steps.
- If the rendersChildren property of this component is true, call the encodeChildren() method of the component. Call the encodeEnd() method of the component. Release all references to the component, and pop it from the component stack for this response, removing the stack if this was the outermost component. The flag value to be returned is acquired by calling the getDoEndValue() method, which tag subclasses may override if they do not want the default value.
-
-jakarta.faces.webapp
-FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-
-2076
-if an error occurs
-jakarta.faces.webapp
-FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-JspException
-
-
-
-2077
-
-
- Render the beginning of the UIComponent that is associated with this tag (via the id attribute), by following these steps.
-
-
- Ensure that an appropriate ResponseWriter is associated with the current FacesContext. This ensures that encoded output from the components is routed through the JspWriter for the current page. Locate the component (in the component tree) corresponding to this tag, creating a new one if necesary. Override the attributes of the associated component with values set in our custom tag attributes, if values for the corresponding attributes are NOT already set on the component. Push this component onto the stack of components corresponding to nested component tags for the current response, creating the stack if necessary. Call the encodeBegin() method of the component. The flag value to be returned is acquired by calling the getDoStartValue() method, which tag subclasses may override if they do not want the default value.
-
-jakarta.faces.webapp
-FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-
-2078
-if an error occurs
-jakarta.faces.webapp
-FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-JspException
-
-
-
-2079
-
-
- Return the UIComponent instance that is associated with this tag instance.
- This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.
-
-jakarta.faces.webapp
-FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-
-2080
-
- Return true if we dynamically created a new component instance during execution of this tag.
- This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.
-
-jakarta.faces.webapp
-FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-
-2081
-
- Return the Tag that is the parent of this instance.
-
-
-jakarta.faces.webapp
-FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-
-2082
-
- Return the rendererType property that selects the Renderer to be used for encoding this component, or null to ask the component to render itself directly.
- Subclasses must override this method to return the appropriate value.
-
-jakarta.faces.webapp
-FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-
-2083
-
- Set the component identifier for our component.
-
-
-jakarta.faces.webapp
-FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-java.lang.String
-
-
-
-
-2084
-
- Set the PageContext of the page containing this tag instance.
-
-
-jakarta.faces.webapp
-FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-PageContext
-
-
-
-
-2085
-
- Set the Tag that is the parent of this instance.
- In addition, locate the closest enclosing FacesTag and increment its numChildren counter. Finally, save our childIndex as (enclosingFacesTag.numChildren - 1).
-
-jakarta.faces.webapp
-FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-Tag
-
-
-
-
-2086
-
- Set an override for the rendered attribute.
-
-
-jakarta.faces.webapp
-FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-boolean
-
-
-
-
-2087
-
- Release all resources acquired at startup time.
-
-
-jakarta.faces.webapp
-FacesServlet
-
-
-
-2088
-
-jakarta.faces.webapp
-FacesServlet
-
-
-
-2089
-
- Return the ServletConfig instance for this servlet.
-
-
-jakarta.faces.webapp
-FacesServlet
-
-
-
-2090
-
- Return information about this Servlet.
-
-
-jakarta.faces.webapp
-FacesServlet
-
-
-
-2091
-
- Acquire the factory instances we will require.
-
-
-jakarta.faces.webapp
-FacesServlet
-
-
-ServletConfig
-
-
-
-
-2092
-
-jakarta.faces.webapp
-FacesServlet
-
-
-ServletConfig
-
-ServletException
-
-
-
-2093
-
- Process an incoming request, and create the corresponding response, by executing the request processing lifecycle.
-
-
-jakarta.faces.webapp
-FacesServlet
-
-
-ServletRequest
-ServletResponse
-
-
-
-
-2094
-if an input/output error occurs during processing
-jakarta.faces.webapp
-FacesServlet
-
-
-ServletRequest
-ServletResponse
-
-java.io.IOException
-
-
-
-2095
-if a servlet error occurs during processing
-jakarta.faces.webapp
-FacesServlet
-
-
-ServletRequest
-ServletResponse
-
-ServletException
-
-
-
-2096
-
-
- Render the ending of the UIComponent that is associated with this tag (via the id attribute), by following these steps.
- If the rendersChildren property of this component is true, call the encodeChildren() method of the component. Call the encodeEnd() method of the component. Release all references to the component, and pop it from the component stack for this response, removing the stack if this was the outermost component. The flag value to be returned is acquired by calling the getDoEndValue() method, which tag subclasses may override if they do not want the default value.
-
-jakarta.faces.webapp
-FacesTag
-
-
-
-2097
-if an error occurs
-jakarta.faces.webapp
-FacesTag
-
-JspException
-
-
-
-2098
-
-
- Render the beginning of the UIComponent that is associated with this tag (via the id attribute), by following these steps.
-
-
- Ensure that an appropriate ResponseWriter is associated with the current FacesContext. This ensures that encoded output from the components is routed through the JspWriter for the current page. Locate the component (in the component tree) corresponding to this tag, creating a new one if necesary. Override the attributes of the associated component with values set in our custom tag attributes, if values for the corresponding attributes are NOT already set on the component. Push this component onto the stack of components corresponding to nested component tags for the current response, creating the stack if necessary. Call the encodeBegin() method of the component. The flag value to be returned is acquired by calling the getDoStartValue() method, which tag subclasses may override if they do not want the default value.
-
-jakarta.faces.webapp
-FacesTag
-
-
-
-2099
-if an error occurs
-jakarta.faces.webapp
-FacesTag
-
-JspException
-
-
-
-2100
-
-jakarta.faces.webapp
-FacesTag
-
-
-
-2101
-
-
- Return the UIComponent instance that is associated with this tag instance.
- This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.
-
-jakarta.faces.webapp
-FacesTag
-
-
-
-2102
-
- Return true if we dynamically created a new component instance during execution of this tag.
- This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.
-
-jakarta.faces.webapp
-FacesTag
-
-
-
-2103
-
- Return the Tag that is the parent of this instance.
-
-
-jakarta.faces.webapp
-FacesTag
-
-
-
-2104
-
- Return the rendererType property that selects the Renderer to be used for encoding this component, or null to ask the component to render itself directly.
- Subclasses must override this method to return the appropriate value.
-
-jakarta.faces.webapp
-FacesTag
-
-
-
-2105
-
- Release any resources allocated during the execution of this tag handler.
-
-
-jakarta.faces.webapp
-FacesTag
-
-
-
-2106
-
- Set the component identifier for our component.
-
-
-jakarta.faces.webapp
-FacesTag
-
-
-java.lang.String
-
-
-
-
-2107
-
- Set the PageContext of the page containing this tag instance.
-
-
-jakarta.faces.webapp
-FacesTag
-
-
-PageContext
-
-
-
-
-2108
-
- Set the Tag that is the parent of this instance.
- In addition, locate the closest enclosing FacesTag and increment its numChildren counter. Finally, save our childIndex as (enclosingFacesTag.numChildren - 1).
-
-jakarta.faces.webapp
-FacesTag
-
-
-Tag
-
-
-
-
-2109
-
- Set an override for the rendered attribute.
-
-
-jakarta.faces.webapp
-FacesTag
-
-
-boolean
-
-
-
-
-2110
-
-jakarta.faces.webapp
-FacetTag
-
-
-
-2111
-
-jakarta.faces.webapp
-FacetTag
-
-JspException
-
-
-
-2112
-
-jakarta.faces.webapp
-FacetTag
-
-
-
-2113
-
-jakarta.faces.webapp
-FacetTag
-
-JspException
-
-
-
-2114
-
-jakarta.faces.webapp
-FacetTag
-
-
-
-2115
-
-jakarta.faces.webapp
-FacetTag
-
-
-
-2116
-
-jakarta.faces.webapp
-FacetTag
-
-
-
-2117
-
-jakarta.faces.webapp
-FacetTag
-
-
-java.lang.String
-
-
-
-
-2118
-
- Close the underlying writer.
-
-
-jakarta.faces.webapp
-JspResponseWriter
-
-
-
-2119
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter
-
-java.io.IOException
-
-
-
-2120
-
- Flush the underlying writer's buffer, if any.
-
-
-jakarta.faces.webapp
-JspResponseWriter
-
-
-
-2121
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter
-
-java.io.IOException
-
-
-
-2122
-
- Create a JspResponseWriter that wraps the specified PageContext.
-
-
-jakarta.faces.webapp
-JspResponseWriter
-
-
-PageContext
-
-
-
-
-2123
-
- Write an array of characters.
-
-
-jakarta.faces.webapp
-JspResponseWriter
-
-
-char[]
-
-
-
-
-2124
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter
-
-
-char[]
-
-java.io.IOException
-
-
-
-2125
-
- Write a portion of an array of characters.
-
-
-jakarta.faces.webapp
-JspResponseWriter
-
-
-char[]
-int
-int
-
-
-
-
-2126
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter
-
-
-char[]
-int
-int
-
-java.io.IOException
-
-
-
-2127
-
- Write a single character from the low-order 16 bits of the specified integer.
-
-
-jakarta.faces.webapp
-JspResponseWriter
-
-
-int
-
-
-
-
-2128
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter
-
-
-int
-
-java.io.IOException
-
-
-
-2129
-
- Write a String of characters.
-
-
-jakarta.faces.webapp
-JspResponseWriter
-
-
-java.lang.String
-
-
-
-
-2130
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter
-
-
-java.lang.String
-
-java.io.IOException
-
-
-
-2131
-
- Write a portion of a String of characters.
-
-
-jakarta.faces.webapp
-JspResponseWriter
-
-
-java.lang.String
-int
-int
-
-
-
-
-2132
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter
-
-
-java.lang.String
-int
-int
-
-java.io.IOException
-
-
-
-2133
-
- Write whatever text should end a response.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-
-2134
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-java.io.IOException
-
-
-
-2135
-
- Write the end of an element, after closing any open element created by a call to startElement().
-
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-
-
-
-
-2136
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-
-java.io.IOException
-
-
-
-2137
-if name is null
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-2138
-
- Write whatever text should begin a response.
-
-
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-
-2139
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-java.io.IOException
-
-
-
-2140
-
- Write the start of an element, up to and including the element name.
- Once this method has been called, clients can call writeAttribute() or writeURIAttribute() method to add attributes and corresponding values. The starting element will be closed (that is, the trailing '>' character added) on any subsequent call to startElement(), writeComment(), writeText(), endElement(), or endDocument().
-
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-
-
-
-
-2141
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-
-java.io.IOException
-
-
-
-2142
-if name is null
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-2143
-
- Write an attribute name and corresponding value (after converting that text to a String if necessary), after escaping it properly.
- This method may only be called after a call to startElement(), and before the opened element has been closed.
-
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-2144
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.io.IOException
-
-
-
-2145
-if this method is called when there is no currently open element
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalStateException
-
-
-
-2146
-if name or value is null
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-2147
-
- Write a comment containing the specified text, after converting that text to a String if necessary.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.Object
-
-
-
-
-2148
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.Object
-
-java.io.IOException
-
-
-
-2149
-if comment is null
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-2150
-
- Write an object (after converting it to a String, if necessary), after escaping it properly.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.Object
-
-
-
-
-2151
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.Object
-
-java.io.IOException
-
-
-
-2152
-if text is null
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-2153
-
- Write a single character, after escaping it properly.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char
-
-
-
-
-2154
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char
-
-java.io.IOException
-
-
-
-2155
-
- Write text from a character array, after escaping it properly.
- This is equivalent to calling writeText(c, 0, c.length). If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-
-
-
-
-2156
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-
-java.io.IOException
-
-
-
-2157
-if text is null
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-
-java.lang.NullPointerException
-
-
-
-2158
-
- Write text from a character array, after escaping it properly for this method.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-int
-int
-
-
-
-
-2159
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-int
-int
-
-java.io.IOException
-
-
-
-2160
-if the calculated starting or ending position is outside the bounds of the character array
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-int
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-2161
-if text is null
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-int
-int
-
-java.lang.NullPointerException
-
-
-
-2162
-
- Write a URI attribute name and corresponding value (after converting that text to a String if necessary), after encoding it properly (for example, '%' encoded for HTML).
- This method may only be called after a call to startElement(), and before the opened element has been closed.
-
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-2163
-if an input/output error occurs
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.io.IOException
-
-
-
-2164
-if this method is called when there is no currently open element
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalStateException
-
-
-
-2165
-if name or value is null
-jakarta.faces.webapp
-JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-2166
-
- Close the underlying writer.
-
-
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-
-2167
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter
-
-java.io.IOException
-
-
-
-2168
-
- Flush the underlying writer's buffer, if any.
-
-
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-
-2169
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter
-
-java.io.IOException
-
-
-
-2170
-
- Create a ServletResponseWriter that wraps the specified PrintWriter.
-
-
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-java.io.PrintWriter
-
-
-
-
-2171
-
- Write an array of characters.
-
-
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-char[]
-
-
-
-
-2172
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-char[]
-
-java.io.IOException
-
-
-
-2173
-
- Write a portion of an array of characters.
-
-
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-char[]
-int
-int
-
-
-
-
-2174
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-char[]
-int
-int
-
-java.io.IOException
-
-
-
-2175
-
- Write a single character from the low-order 16 bits of the specified integer.
-
-
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-int
-
-
-
-
-2176
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-int
-
-java.io.IOException
-
-
-
-2177
-
- Write a String of characters.
-
-
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-java.lang.String
-
-
-
-
-2178
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-java.lang.String
-
-java.io.IOException
-
-
-
-2179
-
- Write a portion of a String of characters.
-
-
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-java.lang.String
-int
-int
-
-
-
-
-2180
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter
-
-
-java.lang.String
-int
-int
-
-java.io.IOException
-
-
-
-2181
-
- Write whatever text should end a response.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-
-2182
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-java.io.IOException
-
-
-
-2183
-
- Write the end of an element, after closing any open element created by a call to startElement().
-
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-
-
-
-
-2184
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-
-java.io.IOException
-
-
-
-2185
-if name is null
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-2186
-
- Write whatever text should begin a response.
-
-
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-
-2187
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-java.io.IOException
-
-
-
-2188
-
- Write the start of an element, up to and including the element name.
- Once this method has been called, clients can call writeAttribute() or writeURIAttribute() method to add attributes and corresponding values. The starting element will be closed (that is, the trailing '>' character added) on any subsequent call to startElement(), writeComment(), writeText(), endElement(), or endDocument().
-
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-
-
-
-
-2189
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-
-java.io.IOException
-
-
-
-2190
-if name is null
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-
-java.lang.NullPointerException
-
-
-
-2191
-
- Write an attribute name and corresponding value (after converting that text to a String if necessary), after escaping it properly.
- This method may only be called after a call to startElement(), and before the opened element has been closed.
-
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-2192
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.io.IOException
-
-
-
-2193
-if this method is called when there is no currently open element
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalStateException
-
-
-
-2194
-if name or value is null
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-2195
-
- Write a comment containing the specified text, after converting that text to a String if necessary.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.Object
-
-
-
-
-2196
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.Object
-
-java.io.IOException
-
-
-
-2197
-if comment is null
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-2198
-
- Write an object (after converting it to a String, if necessary), after escaping it properly.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.Object
-
-
-
-
-2199
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.Object
-
-java.io.IOException
-
-
-
-2200
-if text is null
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-2201
-
- Write a single character, after escaping it properly.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char
-
-
-
-
-2202
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char
-
-java.io.IOException
-
-
-
-2203
-
- Write text from a character array, after escaping it properly.
- This is equivalent to calling writeText(c, 0, c.length). If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-
-
-
-
-2204
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-
-java.io.IOException
-
-
-
-2205
-if text is null
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-
-java.lang.NullPointerException
-
-
-
-2206
-
- Write text from a character array, after escaping it properly for this method.
- If there is an open element that has been created by a call to startElement(), that element will be closed first.
-
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-int
-int
-
-
-
-
-2207
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-int
-int
-
-java.io.IOException
-
-
-
-2208
-if the calculated starting or ending position is outside the bounds of the character array
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-int
-int
-
-java.lang.IndexOutOfBoundsException
-
-
-
-2209
-if text is null
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-char[]
-int
-int
-
-java.lang.NullPointerException
-
-
-
-2210
-
- Write a URI attribute name and corresponding value (after converting that text to a String if necessary), after encoding it properly (for example, '%' encoded for HTML).
- This method may only be called after a call to startElement(), and before the opened element has been closed.
-
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-
-
-
-2211
-if an input/output error occurs
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.io.IOException
-
-
-
-2212
-if this method is called when there is no currently open element
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.IllegalStateException
-
-
-
-2213
-if name or value is null
-jakarta.faces.webapp
-ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-java.lang.String
-java.lang.Object
-
-java.lang.NullPointerException
-
-
-
-2214
-
-
-
-
-
- Create a new instance of the specified Validator class, and register it with the UIComponent instance associated with our most immediately surrounding FacesTag instance, if the UIComponent instance was created by this execution of the containing JSP page.
-
-
-jakarta.faces.webapp
-ValidatorTag
-
-
-
-2215
-if a JSP error occurs
-jakarta.faces.webapp
-ValidatorTag
-
-JspException
-
-
-
-2216
-
- Release references to any acquired resources.
-
-jakarta.faces.webapp
-ValidatorTag
-
-
-
-2217
-
-
- Set the fully qualified class name of the Validator instance to be created.
-
-jakarta.faces.webapp
-ValidatorTag
-
-
-java.lang.String
-
-
-
-
-2218
-
-jakarta.faces.webapp
-ValidatorTag
-
-
-
-
diff --git a/internal/docs/jsf/JSFJavadocAssertions_4.0.xml b/internal/docs/jsf/JSFJavadocAssertions_4.0.xml
deleted file mode 100644
index 5b6f4f0130..0000000000
--- a/internal/docs/jsf/JSFJavadocAssertions_4.0.xml
+++ /dev/null
@@ -1,66452 +0,0 @@
-
-
-
-
- 6056
- 2219
- FACES
- Jakarta Faces 4.0
- Jakarta Faces
- 4.0
-
-
-
-
-
- 1
- Construct a new exception with no detail message or root cause.
- jakarta.faces
- FacesException
-
-
-
- 2
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces
- FacesException
-
-
- java.lang.String
-
-
-
-
- 3
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces
- FacesException
-
-
- java.lang.Throwable
-
-
-
-
- 4
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces
- FacesException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- 5
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
- jakarta.faces
- FacesException
-
-
-
- 7
- if the web application class loader cannot be identified
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
- 12
- if the web application class loader cannot be identified
- jakarta.faces
- FactoryFinder
-
- jakarta.faces.FacesException
-
-
-
- 15
-
- jakarta.faces.application
- Application
-
-
-
- 33
- Create (if needed) and return an Application instance for this web application.
- jakarta.faces.application
- ApplicationFactory
-
-
-
- 34
- Replace the Application instance that will be returned for this web application.
- jakarta.faces.application
- ApplicationFactory
-
-
- jakarta.faces.application.Application
-
-
-
-
- 37
-
- jakarta.faces.application
- NavigationHandler
-
-
-
- 91
- Create a new UICommand instance with default property values.
- jakarta.faces.component
- UICommand
-
-
-
- 207
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- 210
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- 213
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- 234
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UIComponent
-
-
-
- 238
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UIComponent
-
-
-
- 270
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UIComponent
-
-
- boolean
-
-
-
-
- 271
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
- 302
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- 305
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- 308
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
- 329
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UIComponentBase
-
-
-
- 333
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UIComponentBase
-
-
-
- 365
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UIComponentBase
-
-
- boolean
-
-
-
-
- 366
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
- 376
- Create a new UIForm instance with default property values.
- jakarta.faces.component
- UIForm
-
-
-
- 474
- Create a new UIGraphic instance with default property values.
- jakarta.faces.component
- UIGraphic
-
-
-
- 589
- Create a new UIInput instance with default property values.
- jakarta.faces.component
- UIInput
-
-
-
- 803
- Create a new UIOutput instance with default property values.
- jakarta.faces.component
- UIOutput
-
-
-
- 900
- Create a new UIPanel instance with default property values.
- jakarta.faces.component
- UIPanel
-
-
-
- 1003
- Return the optional parameter name for this parameter.
- jakarta.faces.component
- UIParameter
-
-
-
- 1005
- Set the optional parameter name for this parameter.
- jakarta.faces.component
- UIParameter
-
-
- java.lang.String
-
-
-
-
- 1006
- Create a new UIParameter instance with default property values.
- jakarta.faces.component
- UIParameter
-
-
-
- 1111
- Create a new UISelectBoolean instance with default property values.
- jakarta.faces.component
- UISelectBoolean
-
-
-
- 1222
- Return the description for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
-
- 1223
- Return the localized label for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
-
- 1226
- Set the description for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
- java.lang.String
-
-
-
-
- 1227
- Set the localized label for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
- java.lang.String
-
-
-
-
- 1438
- Create a new UISelectMany instance with default property values.
- jakarta.faces.component
- UISelectMany
-
-
-
- 1562
- Create a new UISelectOne instance with default property values.
- jakarta.faces.component
- UISelectOne
-
-
-
- 1695
- Return the ResponseStream to which components should direct their binary output. Within a given response, components can use either the ResponseStream or the ResponseWriter, but not both.
- jakarta.faces.context
- FacesContext
-
-
-
- 1696
- Return the ResponseWriter to which components should direct their character-based output. Within a given response, components can use either the ResponseStream or the ResponseWriter, but not both.
- jakarta.faces.context
- FacesContext
-
-
-
- 1705
- Set the ResponseStream to which components should direct their binary output.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.context.ResponseStream
-
-
-
-
- 1707
- Set the ResponseWriter to which components should direct their character-based output.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.context.ResponseWriter
-
-
-
-
- 1749
-
- jakarta.faces.context
- ResponseStream
-
-
-
- 1760
- Write whatever text should end a response. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
-
- 1761
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
- java.io.IOException
-
-
-
- 1763
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
- 1765
-
- jakarta.faces.context
- ResponseWriter
-
-
-
- 1766
- Write whatever text should begin a response.
- jakarta.faces.context
- ResponseWriter
-
-
-
- 1767
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
- java.io.IOException
-
-
-
- 1776
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
-
- java.io.IOException
-
-
-
- 1787
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- char[]
- int
- int
-
- java.io.IOException
-
-
-
- 1811
- Convert the specified model object value, which is associated with the specified UIComponent, into a String that is suitable for being included in the response generated during the Render Response phase of the request processing lifeycle.
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
- 1814
- Construct a new exception with no detail message or root cause.
- jakarta.faces.convert
- ConverterException
-
-
-
- 1815
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.convert
- ConverterException
-
-
- java.lang.String
-
-
-
-
- 1816
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.convert
- ConverterException
-
-
- java.lang.Throwable
-
-
-
-
- 1817
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.convert
- ConverterException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
- 1896
- Invoked when the action described by the specified ActionEvent occurs.
- jakarta.faces.event
- ActionListener
-
-
- jakarta.faces.event.ActionEvent
-
-
-
-
- 1899
- Construct a new event object from the specified source component.
- jakarta.faces.event
- FacesEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
- 1900
- Return the source UIComponent that sent this event.
- jakarta.faces.event
- FacesEvent
-
-
-
- 1902
- Compare this PhaseId instance to the specified one. Returns a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object.
- jakarta.faces.event
- PhaseId
-
-
- java.lang.Object
-
-
-
-
- 1903
- Return the ordinal value of this PhaseId instance.
- jakarta.faces.event
- PhaseId
-
-
-
- 1904
- Return a String representation of this PhaseId instance.
- jakarta.faces.event
- PhaseId
-
-
-
- 1913
- if thrown during the execution of the request processing lifecycle
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.FacesException
-
-
-
- 1916
-
- jakarta.faces.lifecycle
- Lifecycle
-
-
-
- 1920
- Register a new Lifecycle instance, associated with the specified lifecycleId, to be supported by this LifecycleFactory. This method may be called at any time, and makes the corresponding Lifecycle instance available throughout the remaining lifetime of this web application.
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- java.lang.String
- jakarta.faces.lifecycle.Lifecycle
-
-
-
-
- 1923
- Create (if needed) and return a Lifecycle instance for the specified lifecycle identifier. The set of available lifecycle identifiers is available via the getLifecycleIds() method. Each call to getLifecycle() for the same lifecycleId, from within the same web application, must return the same Lifecycle instance.
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- java.lang.String
-
-
-
-
- 1926
- Return an Iterator over the set of lifecycle identifiers supported by this factory. This set must include the value specified by LifecycleFactory.DEFAULT_LIFECYCLE.
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
-
- 1936
- if an input/output error occurs while rendering
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- 1938
- Render the child components of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property of this component is true.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- 1939
- if an input/output error occurs while rendering
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- 1941
- Render the ending of the current state of the specified UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
- 1942
- if an input/output error occurs while rendering
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
- 1960
-
- jakarta.faces.render
- Renderer
-
-
-
- 1980
-
- jakarta.faces.render
- RenderKit
-
-
-
- 2001
- Construct a Validator with no preconfigured limits.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
- 2002
- Construct a Validator with the specified preconfigured limit.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- double
-
-
-
-
- 2003
- Construct a Validator with the specified preconfigured limits.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- double
- double
-
-
-
-
- 2008
- Set the maximum value to be enforced by this Validator.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- double
-
-
-
-
- 2010
- Set the minimum value to be enforced by this Validator.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- double
-
-
-
-
- 2018
- Construct a Validator with no preconfigured limits.
- jakarta.faces.validator
- LengthValidator
-
-
-
- 2019
- Construct a Validator with the specified preconfigured limit.
- jakarta.faces.validator
- LengthValidator
-
-
- int
-
-
-
-
- 2020
- Construct a Validator with the specified preconfigured limits.
- jakarta.faces.validator
- LengthValidator
-
-
- int
- int
-
-
-
-
- 2021
- Set the maximum length to be enforced by this Validator.
- jakarta.faces.validator
- LengthValidator
-
-
- int
-
-
-
-
- 2023
- Set the minimum length to be enforced by this Validator.
- jakarta.faces.validator
- LengthValidator
-
-
- int
-
-
-
-
- 2031
- Construct a Validator with no preconfigured limits.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
- 2032
- Construct a Validator with the specified preconfigured limit.
- jakarta.faces.validator
- LongRangeValidator
-
-
- long
-
-
-
-
- 2033
- Construct a Validator with the specified preconfigured limits.
- jakarta.faces.validator
- LongRangeValidator
-
-
- long
- long
-
-
-
-
- 2034
- Set the maximum value to be enforced by this Validator.
- jakarta.faces.validator
- LongRangeValidator
-
-
- long
-
-
-
-
- 2036
- Set the minimum value to be enforced by this Validator.
- jakarta.faces.validator
- LongRangeValidator
-
-
- long
-
-
-
-
- 2040
-
- jakarta.faces.validator
- RequiredValidator
-
-
-
- 2087
- Release all resources acquired at startup time.
- jakarta.faces.webapp
- FacesServlet
-
-
-
- 2088
-
- jakarta.faces.webapp
- FacesServlet
-
-
-
- 2090
- Return information about this Servlet.
- jakarta.faces.webapp
- FacesServlet
-
-
-
-
-
-
-
- 32
-
- jakarta.faces.application
- ApplicationFactory
-
-
-
-
- 1712
-
- jakarta.faces.context
- FacesContextFactory
-
-
-
-
- 1927
-
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
-
-
- 1991
-
- jakarta.faces.render
- RenderKitFactory
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 6__OLD
- Create (if necessary) and return a per-web-application instance of the appropriate implementation class for the specified JavaServer Faces factory class, based on the discovery algorithm described in the class description.
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
-
-
-
-
-
- 6
- Create (if necessary) and return a per-web-application instance of the appropriate implementation class for the specified Jakarta Faces factory class, based on the discovery algorithm described in the class description. The standard injectionProvider and wrappers in Jakarta Faces all implement the interface FacesWrapper. If the returned Object is an implementation of one of the standard injectionProvider, it must be legal to cast it to an instance of FacesWrapper and call FacesWrapper#getWrapped on the instance.
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
-
-
-
-
-
-
- 11__OLD
- Release any references to factory instances associated with the class loader for the calling web application. This method should be called as apart of web application shutdown in a container where the JavaServer Faces API classes are part of the container itself, rather than being included inside the web application.
- jakarta.faces
- FactoryFinder
-
-
-
-
- 11
- Release any references to factory instances associated with the class loader for the calling web application. This method must be called during of web application shutdown.
- jakarta.faces
- FactoryFinder
-
-
-
-
-
- 16__OLD
- Return the ActionListener that will be the default ActionListener to be registered with relevant components during the Reconstitute Component Tree phase of the request processing lifecycle. The default implementation will perform the following functions: The getPhaseId() method of this listener instance must return PhaseId.INVOKE_APPLICATION. If the source component has a non-null action property, return that value. If the source component has a non-null actionRef property, evaluate this value reference to retrieve the corresponding object. If there is no such corresponding object, or if this object does not implement Action, throw an IllegalArgumentException. Call the invoke() method of the returned object, and return the return value from that method call.
- jakarta.faces.application
- Application
-
-
-
-
- 16
- Return the default ActionListener to be registered for all jakarta.faces.component.ActionSource components in this application. If not explicitly set, a default implementation must be provided that performs the functions as specified in the section 7.1.1 "ActionListener Property" in the chapter 7 "Application Integration" of the Jakarta Faces Specification Document. Note that the specification for the default ActionListener contiues to call for the use of a deprecated property (action) and class (MethodBinding). Unfortunately, this is necessary because the default ActionListener must continue to work with components that do not implement jakarta.faces.component.ActionSource2, and only implement jakarta.faces.component.ActionSource.
- jakarta.faces.application
- Application
-
-
-
-
-
- 17__OLD
- Return the NavigationHandler instance that will be passed the outcome returned by any invoked Action for this web application. The default implementation must provide the behavior described in the NavigationHandler class description.
- jakarta.faces.application
- Application
-
-
-
-
- 17
- Return the NavigationHandler instance that will be passed the outcome returned by any invoked application action for this web application. If not explicitly set, a default implementation must be provided that performs the functions described in the NavigationHandler class description. The NavigationHandler implementation is declared in the application configuration resources by giving the fully qualified class name as the value of the element within the element. The runtime must employ the decorator pattern as for every other pluggable artifact in Jakarta Faces.
- jakarta.faces.application
- Application
-
-
-
-
-
- 23__OLD
- Replace the default ActionListener that will be registered with relevant components during the Reconstitute Component Tree phase of the requset processing lifecycle. This listener must return PhaseId.INVOKE_APPLICATION from its getPhaseId() method.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
-
- 23
- Set the default ActionListener to be registered for all jakarta.faces.component.ActionSource components.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
-
-
- 26__OLD
- Set the NavigationHandler instance that will be passed the outcome returned by any invoked Action for this web application.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.NavigationHandler
-
-
-
-
-
- 26
- Set the NavigationHandler instance that will be passed the outcome returned by any invoked application action for this web application.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.NavigationHandler
-
-
-
-
-
-
- 74__OLD
- Add a new ActionListener to the set of listeners interested in being notified when ActionEvents occur.
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
-
- 74
-
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
-
-
- 86__OLD
- Remove an existing ActionListener (if any) from the set of listeners interested in being notified when ActionEvents occur.
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
-
- 86
-
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
-
-
- 203__OLD
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 203
- Decode any new state of this UIComponent from the request contained in the specified FacesContext, and store this state as needed. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling queueEvent().
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 206__OLD
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 206
- If our rendered property is true, render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. Call #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent). Call jakarta.faces.application.Application#publishEvent, passing jakarta.faces.event.PreRenderComponentEvent.class as the first argument and the component instance to be rendered as the second argument. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer#encodeBegin(FacesContext, UIComponent). If our rendered property is false, call #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent) and return immediately.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 209__OLD
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 209
- If our rendered property is true, render the child UIComponents of this UIComponent. This method will only be called if the rendersChildren property is true. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer#encodeChildren(FacesContext, UIComponent). If no Renderer is associated with this UIComponent, iterate over each of the children of this component and call #encodeAll(jakarta.faces.context.FacesContext).
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 212__OLD
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 212
- If our rendered property is true, render the ending of the current state of this UIComponent. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer#encodeEnd(FacesContext, UIComponent). Call UIComponent#popComponentFromEL. before returning regardless of the value of the rendered property.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 215__OLD
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
-
- 215
- Search for and return the UIComponent with an id that matches the specified search expression (if any), according to the algorithm described below. WARNING: The found UIComponent instance, if any, is returned without regard for its tree traversal context. Retrieving an Jakarta Expression Language-bound attribute from the component is not safe. Jakarta Expression Language expressions can contain implicit objects, such as #{component}, which assume they are being evaluated within the scope of a tree traversal context. Evaluating expressions with these kinds of implicit objects outside of a tree traversal context produces undefined results. See #invokeOnComponent for a method that does correctly account for the tree traversal context when operating on the found UIComponent instance. #invokeOnComponent is also useful to find components given a simple clientId. Component identifiers are required to be unique within the scope of the closest ancestor NamingContainer that encloses this component (which might be this component itself). If there are no NamingContainer components in the ancestry of this component, the root component in the tree is treated as if it were a NamingContainer, whether or not its class actually implements the NamingContainer interface. A search expression consists of either an identifier (which is matched exactly against the id property of a UIComponent, or a series of such identifiers linked by the UINamingContainer#getSeparatorChar character value. The search algorithm should operates as follows, though alternate alogrithms may be used as long as the end result is the same: Identify the UIComponent that will be the base for searching, by stopping as soon as one of the following conditions is met: If the search expression begins with the the separator character (called an "absolute" search expression), the base will be the root UIComponent of the component tree. The leading separator character will be stripped off, and the remainder of the search expression will be treated as a "relative" search expression as described below. Otherwise, if this UIComponent is a NamingContainer it will serve as the basis. Otherwise, search up the parents of this component. If a NamingContainer is encountered, it will be the base. Otherwise (if no NamingContainer is encountered) the root UIComponent will be the base. The search expression (possibly modified in the previous step) is now a "relative" search expression that will be used to locate the component (if any) that has an id that matches, within the scope of the base component. The match is performed as follows: If the search expression is a simple identifier, this value is compared to the id property, and then recursively through the facets and children of the base UIComponent (except that if a descendant NamingContainer is found, its own facets and children are not searched). If the search expression includes more than one identifier separated by the separator character, the first identifier is used to locate a NamingContainer by the rules in the previous bullet point. Then, the findComponent() method of this NamingContainer will be called, passing the remainder of the search expression.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
-
-
- 222__OLD
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 222
- Return the number of child UIComponents that are associated with this UIComponent. If there are no children, this method must return 0. The method must not cause the creation of a child component list.
- jakarta.faces.component
- UIComponent
-
-
-
-
-
- 224__OLD
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 224
- Return a client-side identifier for this component, generating one if necessary. The associated Renderer, if any, will be asked to convert the clientId to a form suitable for transmission to the client. The return from this method must be the same value throughout the lifetime of the instance, unless the id property of the component is changed, or the component is placed in a NamingContainer whose client ID changes (for example, UIData). However, even in these cases, consecutive calls to this method must always return the same value. The implementation must follow these steps in determining the clientId: Find the closest ancestor to this component in the view hierarchy that implements NamingContainer. Call getContainerClientId() on it and save the result as the parentId local variable. Call #getId on this component and save the result as the myId local variable. If myId is null, call context.getViewRoot().createUniqueId() and assign the result to myId. If parentId is non-null, let myId equal parentId + UINamingContainer#getSeparatorChar + myId. Call Renderer#convertClientId, passing myId, and return the result.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 229__OLD
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
-
- 229
- Convenience method to return the named facet, if it exists, or null otherwise. If the requested facet does not exist, the facets Map must not be created.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
-
-
- 232__OLD
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 232
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned. The returned Iterator must not support the remove() operation.
- jakarta.faces.component
- UIComponent
-
-
-
-
-
- 233__OLD
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 233
- Return the parent UIComponent of this UIComponent, if any. A component must allow child components to be added to and removed from the list of children of this component, even though the child component returns null from getParent( ).
- jakarta.faces.component
- UIComponent
-
-
-
-
-
- 235__OLD
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 235
- Return a flag indicating whether this component is responsible for rendering its child components. The default implementation in UIComponentBase#getRendersChildren tries to find the renderer for this component. If it does, it calls Renderer#getRendersChildren and returns the result. If it doesn't, it returns false. As of version 1.2 of the Jakarta Faces Specification, component authors are encouraged to return true from this method and rely on UIComponentBase#encodeChildren.
- jakarta.faces.component
- UIComponent
-
-
-
-
-
- 240__OLD
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 240
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. If the rendered property of this UIComponent is false, skip further processing. Call #pushComponentToEL. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component. Call #popComponentFromEL from inside of a finally block, just before returning. If a RuntimeException is thrown during decode processing, call FacesContext#renderResponse and re-throw the exception.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 246__OLD
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 246
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. If the rendered property of this UIComponent is false, skip further processing. Call #pushComponentToEL. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). After returning from the processUpdates() method on a child or facet, call UIComponent#popComponentFromEL
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 248__OLD
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 248
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. If the rendered property of this UIComponent is false, skip further processing. Call #pushComponentToEL. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). After returning from calling getFacetsAndChildren() call UIComponent#popComponentFromEL.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 269__OLD
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 269
- Set the parent UIComponent of this UIComponent. If parent.isInView() returns true, calling this method will first cause a jakarta.faces.event.PreRemoveFromViewEvent to be published, for this node, and then the children of this node. Then, once the re-parenting has occurred, a jakarta.faces.event.PostAddToViewEvent will be published as well, first for this node, and then for the node's children, but only if any of the following conditions are true. jakarta.faces.context.FacesContext#getCurrentPhaseId returns jakarta.faces.event.PhaseId#RESTORE_VIEW and partial state saving is enabled. jakarta.faces.context.FacesContext#isPostback returns false and jakarta.faces.context.FacesContext#getCurrentPhaseId returns something other than jakarta.faces.event.PhaseId#RESTORE_VIEW This method must never be called by developers; a UIComponent's internal implementation will call it as components are added to or removed from a parent's child List or facet Map.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
-
- 298__OLD
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 298
- Decode any new state of this UIComponent from the request contained in the specified FacesContext, and store this state as needed. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling queueEvent().
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 301__OLD
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 301
- If our rendered property is true, render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. Call #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent). Call jakarta.faces.application.Application#publishEvent, passing jakarta.faces.event.PreRenderComponentEvent.class as the first argument and the component instance to be rendered as the second argument. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer#encodeBegin(FacesContext, UIComponent). If our rendered property is false, call #pushComponentToEL(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent) and return immediately.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 304__OLD
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 304
- If our rendered property is true, render the child UIComponents of this UIComponent. This method will only be called if the rendersChildren property is true. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer#encodeChildren(FacesContext, UIComponent). If no Renderer is associated with this UIComponent, iterate over each of the children of this component and call #encodeAll(jakarta.faces.context.FacesContext).
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 307__OLD
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 307
- If our rendered property is true, render the ending of the current state of this UIComponent. If a Renderer is associated with this UIComponent, the actual encoding will be delegated to Renderer#encodeEnd(FacesContext, UIComponent). Call UIComponent#popComponentFromEL. before returning regardless of the value of the rendered property.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 310__OLD
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
-
- 310
- Search for and return the UIComponent with an id that matches the specified search expression (if any), according to the algorithm described below. WARNING: The found UIComponent instance, if any, is returned without regard for its tree traversal context. Retrieving an Jakarta Expression Language-bound attribute from the component is not safe. Jakarta Expression Language expressions can contain implicit objects, such as #{component}, which assume they are being evaluated within the scope of a tree traversal context. Evaluating expressions with these kinds of implicit objects outside of a tree traversal context produces undefined results. See #invokeOnComponent for a method that does correctly account for the tree traversal context when operating on the found UIComponent instance. #invokeOnComponent is also useful to find components given a simple clientId. Component identifiers are required to be unique within the scope of the closest ancestor NamingContainer that encloses this component (which might be this component itself). If there are no NamingContainer components in the ancestry of this component, the root component in the tree is treated as if it were a NamingContainer, whether or not its class actually implements the NamingContainer interface. A search expression consists of either an identifier (which is matched exactly against the id property of a UIComponent, or a series of such identifiers linked by the UINamingContainer#getSeparatorChar character value. The search algorithm should operates as follows, though alternate alogrithms may be used as long as the end result is the same: Identify the UIComponent that will be the base for searching, by stopping as soon as one of the following conditions is met: If the search expression begins with the the separator character (called an "absolute" search expression), the base will be the root UIComponent of the component tree. The leading separator character will be stripped off, and the remainder of the search expression will be treated as a "relative" search expression as described below. Otherwise, if this UIComponent is a NamingContainer it will serve as the basis. Otherwise, search up the parents of this component. If a NamingContainer is encountered, it will be the base. Otherwise (if no NamingContainer is encountered) the root UIComponent will be the base. The search expression (possibly modified in the previous step) is now a "relative" search expression that will be used to locate the component (if any) that has an id that matches, within the scope of the base component. The match is performed as follows: If the search expression is a simple identifier, this value is compared to the id property, and then recursively through the facets and children of the base UIComponent (except that if a descendant NamingContainer is found, its own facets and children are not searched). If the search expression includes more than one identifier separated by the separator character, the first identifier is used to locate a NamingContainer by the rules in the previous bullet point. Then, the findComponent() method of this NamingContainer will be called, passing the remainder of the search expression.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
-
-
- 317__OLD
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 317
- Return the number of child UIComponents that are associated with this UIComponent. If there are no children, this method must return 0. The method must not cause the creation of a child component list.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
-
- 319__OLD
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 319
- Return a client-side identifier for this component, generating one if necessary. The associated Renderer, if any, will be asked to convert the clientId to a form suitable for transmission to the client. The return from this method must be the same value throughout the lifetime of the instance, unless the id property of the component is changed, or the component is placed in a NamingContainer whose client ID changes (for example, UIData). However, even in these cases, consecutive calls to this method must always return the same value. The implementation must follow these steps in determining the clientId: Find the closest ancestor to this component in the view hierarchy that implements NamingContainer. Call getContainerClientId() on it and save the result as the parentId local variable. Call #getId on this component and save the result as the myId local variable. If myId is null, call context.getViewRoot().createUniqueId() and assign the result to myId. If parentId is non-null, let myId equal parentId + UINamingContainer#getSeparatorChar + myId. Call Renderer#convertClientId, passing myId, and return the result.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 324__OLD
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
-
- 324
- Convenience method to return the named facet, if it exists, or null otherwise. If the requested facet does not exist, the facets Map must not be created.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
-
-
- 327__OLD
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 327
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned. The returned Iterator must not support the remove() operation.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
-
- 328__OLD
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 328
- Return the parent UIComponent of this UIComponent, if any. A component must allow child components to be added to and removed from the list of children of this component, even though the child component returns null from getParent( ).
- jakarta.faces.component
- UIComponentBase
-
-
-
-
-
- 330__OLD
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 330
- Return a flag indicating whether this component is responsible for rendering its child components. The default implementation in UIComponentBase#getRendersChildren tries to find the renderer for this component. If it does, it calls Renderer#getRendersChildren and returns the result. If it doesn't, it returns false. As of version 1.2 of the Jakarta Faces Specification, component authors are encouraged to return true from this method and rely on UIComponentBase#encodeChildren.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
-
- 335__OLD
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 335
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. If the rendered property of this UIComponent is false, skip further processing. Call #pushComponentToEL. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component. Call #popComponentFromEL from inside of a finally block, just before returning. If a RuntimeException is thrown during decode processing, call FacesContext#renderResponse and re-throw the exception.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 341__OLD
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 341
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. If the rendered property of this UIComponent is false, skip further processing. Call #pushComponentToEL. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). After returning from the processUpdates() method on a child or facet, call UIComponent#popComponentFromEL
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 343__OLD
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 343
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. If the rendered property of this UIComponent is false, skip further processing. Call #pushComponentToEL. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). After returning from calling getFacetsAndChildren() call UIComponent#popComponentFromEL.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 364__OLD
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 364
- Set the parent UIComponent of this UIComponent. If parent.isInView() returns true, calling this method will first cause a jakarta.faces.event.PreRemoveFromViewEvent to be published, for this node, and then the children of this node. Then, once the re-parenting has occurred, a jakarta.faces.event.PostAddToViewEvent will be published as well, first for this node, and then for the node's children, but only if any of the following conditions are true. jakarta.faces.context.FacesContext#getCurrentPhaseId returns jakarta.faces.event.PhaseId#RESTORE_VIEW and partial state saving is enabled. jakarta.faces.context.FacesContext#isPostback returns false and jakarta.faces.context.FacesContext#getCurrentPhaseId returns something other than jakarta.faces.event.PhaseId#RESTORE_VIEW This method must never be called by developers; a UIComponent's internal implementation will call it as components are added to or removed from a parent's child List or facet Map.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
-
- 368__OLD
-
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 368
- Default constructor, populates the descriptor map.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
-
- 590__OLD
- Perform the following algorithm to update the model data associated with this UIInput, if any, as appropriate. If the valid property of this component is false, take no further action. If the valueRef property of this component is null, take no further action. Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the setValue() method of the ValueBinding to update the value that the value reference expression points at. If the setValue() method returns successfully: Clear the local value of this UIInput. Set the valid property of this UIInput to true. If the setValue() method call fails: Enqueue error messages by calling addMessage() on the specified FacesContext instance. Set the valid property of this UIInput to false.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 590
- Perform the following algorithm to update the model data associated with this UIInput, if any, as appropriate. If the valid property of this component is false, take no further action. If the localValueSet property of this component is false, take no further action. If no ValueExpression for value exists, take no further action. Call setValue() method of the ValueExpression to update the value that the ValueExpression points at. If the setValue() method returns successfully: Clear the local value of this UIInput. Set the localValueSet property of this UIInput to false. If the setValue() method throws an Exception: Enqueue an error message. Create a FacesMessage with the id #UPDATE_MESSAGE_ID. Create a UpdateModelException, passing the FacesMessage and the caught exception to the constructor. Create an ExceptionQueuedEventContext, passing the FacesContext, the UpdateModelException, this component instance, and PhaseId#UPDATE_MODEL_VALUES to its constructor. Call FacesContext#getExceptionHandler and then call ExceptionHandler#processEvent, passing the ExceptionQueuedEventContext. Set the valid property of this UIInput to false. The exception must not be re-thrown. This enables tree traversal to continue for this lifecycle phase, as in all the other lifecycle phases.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 593__OLD
- Perform validations and, if validation is successful, and the local value is different from the previous value, queue a ValueChangedEvent to be processed later.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 593
- Perform the following algorithm to validate the local value of this UIInput. Retrieve the submitted value with #getSubmittedValue. If this returns null, and the value of the #ALWAYS_PERFORM_VALIDATION_WHEN_REQUIRED_IS_TRUE context-param is true (ignoring case), examine the value of the "required" property. If the value of "required" is true, continue as below. If the value of "required" is false or the required attribute is not set, exit without further processing. If the context-param is not set, or is set to false (ignoring case), exit without further processing. (This indicates that no value was submitted for this component.) If the jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL context parameter value is true (ignoring case), and getSubmittedValue() returns a zero-length String call #setSubmittedValue, passing null as the argument and continue processing using null as the current submitted value. Convert the submitted value into a "local value" of the appropriate data type by calling #getConvertedValue. If conversion fails: Enqueue an appropriate error message by calling the addMessage() method on the FacesContext. Set the valid property on this component to false Validate the property by calling #validateValue. If the valid property of this component is still true, retrieve the previous value of the component (with getValue()), store the new local value using setValue(), and reset the submitted value to null with a call to #setSubmittedValue passing null as the argument. If the local value is different from the previous value of this component, as determined by a call to #compareValues, fire a ValueChangeEvent to be broadcast to all interested listeners. Application components implementing UIInput that wish to perform validation with logic embedded in the component should perform their own correctness checks, and then call the super.validate() method to perform the standard processing described above.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 700__OLD
-
- jakarta.faces.component
- UINamingContainer
-
-
-
-
- 700
- Create a new UINamingContainer instance with default property values.
- jakarta.faces.component
- UINamingContainer
-
-
-
-
-
- 799__OLD
- Return the local value of this UIInput component.
- jakarta.faces.component
- UIOutput
-
-
-
-
- 799
- Return the value property.
- jakarta.faces.component
- UIOutput
-
-
-
-
-
- 801__OLD
- Set the local value of this UIInput component.
- jakarta.faces.component
- UIOutput
-
-
- java.lang.Object
-
-
-
-
-
- 801
- Set the value of this UIComponent (if any).
- jakarta.faces.component
- UIOutput
-
-
- java.lang.Object
-
-
-
-
-
-
- 1109__OLD
- Return the local value of the selected state of this component.
- jakarta.faces.component
- UISelectBoolean
-
-
-
-
- 1109
- Return the local value of the selected state of this component. This method is a typesafe alias for getValue().
- jakarta.faces.component
- UISelectBoolean
-
-
-
-
-
- 1110__OLD
- Set the local value of the selected state of this component.
- jakarta.faces.component
- UISelectBoolean
-
-
- boolean
-
-
-
-
-
- 1110
- Set the local value of the selected state of this component. This method is a typesafe alias for setValue().
- jakarta.faces.component
- UISelectBoolean
-
-
- boolean
-
-
-
-
-
-
- 1229__OLD
-
- jakarta.faces.component
- UISelectItem
-
-
-
-
- 1229
- Create a new UISelectItem instance with default property values.
- jakarta.faces.component
- UISelectItem
-
-
-
-
-
- 1333__OLD
-
- jakarta.faces.component
- UISelectItems
-
-
-
-
- 1333
- Create a new UISelectItems instance with default property values.
- jakarta.faces.component
- UISelectItems
-
-
-
-
-
- 1436__OLD
- Return the currently selected items, or null if there are no currently selected items.
- jakarta.faces.component
- UISelectMany
-
-
-
-
- 1436
- Return the currently selected values, or null if there are no currently selected values. This is a typesafe alias for getValue().
- jakarta.faces.component
- UISelectMany
-
-
-
-
-
- 1437__OLD
- Set the currently selected items, or null to indicate that there are no currently selected items.
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.Object[]
-
-
-
-
-
- 1437
- Set the currently selected values, or null to indicate that there are no currently selected values. This is a typesafe alias for setValue().
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.Object[]
-
-
-
-
-
-
- 1687__OLD
-
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1687
- Default constructor. This looks at the callstack to see if we're created from a factory.
- jakarta.faces.context
- FacesContext
-
-
-
-
-
- 1688__OLD
- Return the FacesContext instance for the request that is being processed by the current thread.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1688
- Return the FacesContext instance for the request that is being processed by the current thread. If called during application initialization or shutdown, any method documented as "valid to call this method during application startup or shutdown" must be supported during application startup or shutdown time. The result of calling a method during application startup or shutdown time that does not have this designation is undefined.
- jakarta.faces.context
- FacesContext
-
-
-
-
-
- 1693__OLD
- Return an Iterator over the Messages that have been queued, whether or not they are associated with any specific UIComponent. If no such messages have been queued, return an empty Iterator.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1693
- Return an Iterator over the jakarta.faces.application.FacesMessages that have been queued, whether or not they are associated with any specific client identifier. If no such messages have been queued, return an empty Iterator. The elements of the Iterator must be returned in the order in which they were added with calls to #addMessage.
- jakarta.faces.context
- FacesContext
-
-
-
-
-
- 1701__OLD
- Release any resources associated with this FacesContext instance. Faces implementations may choose to pool instances in the associated FacesContextFactory to avoid repeated object creation and garbage collection.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1701
- Release any resources associated with this FacesContext instance. Faces implementations may choose to pool instances in the associated FacesContextFactory to avoid repeated object creation and garbage collection. After release() is called on a FacesContext instance (until the FacesContext instance has been recycled by the implementation for re-use), calling any other methods will cause an IllegalStateException to be thrown. If a call was made to #getAttributes during the processing for this request, the implementation must call clear() on the Map returned from getAttributes(), and then de-allocate the data-structure behind that Map. The implementation must call #setCurrentInstance passing null to remove the association between this thread and this dead FacesContext instance.
- jakarta.faces.context
- FacesContext
-
-
-
-
-
- 1702__OLD
- Signal the JavaSerer faces implementation that, as soon as the current phase of the request processing lifecycle has been completed, control should be passed to the Render Response phase, bypassing any phases that have not been executed yet.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1702
- Signal the Jakarta Faces implementation that, as soon as the current phase of the request processing lifecycle has been completed, control should be passed to the Render Response phase, bypassing any phases that have not been executed yet.
- jakarta.faces.context
- FacesContext
-
-
-
-
-
- 1703__OLD
- Signal the JavaServer Faces implementation that the HTTP response for this request has already been generated (such as an HTTP redirect), and that the request processing lifecycle should be terminated as soon as the current phase is completed.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1703
- Signal the Jakarta Faces implementation that the HTTP response for this request has already been generated (such as an HTTP redirect), and that the request processing lifecycle should be terminated as soon as the current phase is completed.
- jakarta.faces.context
- FacesContext
-
-
-
-
-
- 1762__OLD
- Write the end of an element, after closing any open element created by a call to startElement().
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
-
-
-
-
- 1762
- Write the end of an element, after closing any open element created by a call to startElement(). Elements must be closed in the inverse order from which they were opened; it is an error to do otherwise. If the argument component's pass through attributes includes an attribute of the name given by the value of the symbolic constant jakarta.faces.render.Renderer#PASSTHROUGH_RENDERER_LOCALNAME_KEY, use that as the element name, instead of the value passed as the first parameter to this method.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
-
-
-
-
-
- 1775__OLD
- Write a comment containing the specified text, after converting that text to a String if necessary. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
-
-
-
-
-
- 1775
- Write a comment containing the specified text, after converting that text to a String (if necessary), and after performing any escaping appropriate for the markup language being rendered. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
-
-
-
-
-
-
- 1786__OLD
- Write text from a character array, after escaping it properly for this method. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
- char[]
- int
- int
-
-
-
-
-
- 1786
- Write text from a character array, after any performing any escaping appropriate for the markup language being rendered. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
- char[]
- int
- int
-
-
-
-
-
-
- 1808__OLD
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Apply Request Values phase of the request processing lifecycle.
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- 1808
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
-
- 1891__OLD
-
- jakarta.faces.event
- AbortProcessingException
-
-
-
-
- 1891
- Construct a new exception with no detail message or root cause.
- jakarta.faces.event
- AbortProcessingException
-
-
-
-
-
- 1897__OLD
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- ActionListener
-
-
- jakarta.faces.event.ActionEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 1897
- Signal the Jakarta Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- ActionListener
-
-
- jakarta.faces.event.ActionEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
-
- 1912__OLD
- Execute all of the phases of the request processing lifecycle, as described in the JavaServer Faces Specification, in the specified order. The processing flow can be affected (by the application, by components, or by event listeners) by calls to the renderResponse() or responseComplete() methods of the FacesContext instance associated with the current request.
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1912
- Execute all of the phases of the request processing lifecycle, up to but not including the Render Response phase, as described in section 2 "Request Processing Lifecycle" of the Jakarta Faces Specification Document, in the specified order. The processing flow can be affected (by the application, by components, or by event listeners) by calls to the renderResponse() or responseComplete() methods of the FacesContext instance associated with the current request.
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
-
- 1932__OLD
- Decode the current state of the specified UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the type required for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one). If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the value property of this component to true. If conversion is not successful: Save the state information (inside the component) in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect). Add an appropriate conversion failure error message by calling addMessage() on the specified FacesContext. Set the valid property of this component to false. During decoding, events may be enqueued for later processing (by event listeners that have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1932
- Decode any new state of the specified UIComponent from the request contained in the specified FacesContext, and store that state on the UIComponent. During decoding, events may be enqueued for later processing (by event listeners that have registered an interest), by calling queueEvent() on the associated UIComponent.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
-
- 1935__OLD
- Render the beginning specified UIComponent to the output stream or writer associated with the response we are creating. If the conversion attempted in a previous call to decode for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling component.currentValue(), and rendering the value as appropriate.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1935
- Render the beginning specified UIComponent to the output stream or writer associated with the response we are creating. If the conversion attempted in a previous call to getConvertedValue() for this component failed, the state information saved during execution of decode() should be used to reproduce the incorrect input.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
-
- 1976__OLD
- Return an Iterator of the renderer types of all Renderer instances registered with this RenderKit that support components of the specified component type. If no Renderers support this component type, an empty Iterator is returned.
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
-
-
-
-
-
- 1976
- Return an Iterator over the renderer-type entries for the given component-family. If the specified componentFamily is not known to this RenderKit implementation, return an empty Iterator The default implementation of this method returns an empty Iterator
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
-
-
-
-
-
-
- 1981__OLD
- Register a new RenderKit instance, associated with the specified renderKitId, to be supported by this RenderKitFactory. This method may be called at any time, and makes the corresponding RenderKit instance available throughout the remaining lifetime of this web application.
- jakarta.faces.render
- RenderKitFactory
-
-
- java.lang.String
- jakarta.faces.render.RenderKit
-
-
-
-
-
- 1981
- Register the specified RenderKit instance, associated with the specified renderKitId, to be supported by this RenderKitFactory, replacing any previously registered RenderKit for this identifier.
- jakarta.faces.render
- RenderKitFactory
-
-
- java.lang.String
- jakarta.faces.render.RenderKit
-
-
-
-
-
-
- 1990__OLD
- Return an Iterator over the set of render kit identifiers supported by this factory. This set must include the value specified by RenderKitFactory.DEFAULT_RENDER_KIT.
- jakarta.faces.render
- RenderKitFactory
-
-
-
-
- 1990
- Return an Iterator over the set of render kit identifiers registered with this factory. This set must include the value specified by RenderKitFactory.HTML_BASIC_RENDER_KIT.
- jakarta.faces.render
- RenderKitFactory
-
-
-
-
-
- 2004__OLD
- Return the maximum value to be enforced by this Validator, if isMaximumSet() returns true.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
-
- 2004
- Return the maximum value to be enforced by this Validator or Double.MAX_VALUE if it has not been set.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
-
-
- 2005__OLD
- Return the minimum value to be enforced by this Validator, if isMinimumSet() returns true.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
-
- 2005
- Return the minimum value to be enforced by this Validator, or Double.MIN_VALUE if it has not been set.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
-
-
- 2014__OLD
- Return the maximum length to be enforced by this Validator, if isMaximumSet() returns true.
- jakarta.faces.validator
- LengthValidator
-
-
-
-
- 2014
- Return the maximum length to be enforced by this Validator, or 0 if the maximum has not been set.
- jakarta.faces.validator
- LengthValidator
-
-
-
-
-
- 2015__OLD
- Return the minimum length to be enforced by this Validator, if isMinimumSet() returns true.
- jakarta.faces.validator
- LengthValidator
-
-
-
-
- 2015
- Return the minimum length to be enforced by this Validator, or 0 if the minimum has not been set.
- jakarta.faces.validator
- LengthValidator
-
-
-
-
-
- 2027__OLD
- Return the maximum value to be enforced by this Validator, if isMaximumSet() returns true.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
-
- 2027
- Return the maximum value to be enforced by this Validator.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
-
-
- 2028__OLD
- Return the minimum value to be enforced by this Validator, if isMinimumSet() returns true.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
-
- 2028
- Return the minimum value to be enforced by this Validator.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
-
-
-
-
- 8
- if factoryName does not identify a standard JavaServer Faces factory name
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 9
- if there is no configured factory implementation class for the specified factory name
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
-
- java.lang.IllegalStateException
-
-
-
-
- 10
- if factoryname is null
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 13
-
- jakarta.faces.application
- Action
-
-
-
-
- 14
- Perform the task that is encapsulated in this Action instance, and return a String value that is a logical description of the outcome of performing that task. Exceptions encountered during the performance of the task should be encapsulated into appropriate return values.
- jakarta.faces.application
- Action
-
-
-
-
- 18
- Return the PropertyResolver instance that will be utilized to resolve action and valus references. The default implementation must provide the behavior described in the PropertyResolver class description.
- jakarta.faces.application
- Application
-
-
-
-
- 19
- Return a ValueBinding for the specified action or value reference expression, which may be used to manipulate the corresponding property value later. The returned ValueBinding instance must utilize the PropertyResolver and VariableResolver instances registered with this Application instance at the time that the ValueBinding instance was initially created. For maximum performance, implementations of Application may, but are not required to, cache ValueBinding instances in order to avoid repeated parsing of the reference expression. However, under no circumstances may a particular ValueBinding instance be shared across multiple web applications.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
-
- 20
- if the specified ref has invalid syntax
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- jakarta.faces.el.ReferenceSyntaxException
-
-
-
-
- 21
- if ref is null
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 22
- Return the VariableResolver instance that will be utilized to resolve action and value references. The default implementation must provide the behavior described in the VariableResolver class description.
- jakarta.faces.application
- Application
-
-
-
-
- 24
- if the specified listener does not return PhaseId.INVOKE_APPLICATION from its getPhaseId() method
- jakarta.faces.application
- Application
-
-
- jakarta.faces.event.ActionListener
-
- java.lang.IllegalArgumentException
-
-
-
-
- 25
- if listener is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.event.ActionListener
-
- java.lang.NullPointerException
-
-
-
-
- 27
- if handler is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.NavigationHandler
-
- java.lang.NullPointerException
-
-
-
-
- 28
- Set the PropertyResolver instance that will be utilized to resolve action and value references.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.PropertyResolver
-
-
-
-
-
- 29
- if resolver is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.PropertyResolver
-
- java.lang.NullPointerException
-
-
-
-
- 30
- Set the VariableResolver instance that will be utilized to resolve action and value references.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.VariableResolver
-
-
-
-
-
- 31
- if resolver is null
- jakarta.faces.application
- Application
-
-
- jakarta.faces.el.VariableResolver
-
- java.lang.NullPointerException
-
-
-
-
- 35
- Perform navigation processing based on the state information in the specified FacesContext, plus the outcome string returned by an executed Action.
- jakarta.faces.application
- NavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- 36
- if context or outcome is null
- jakarta.faces.application
- NavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 38
-
- jakarta.faces.component
- AttributeDescriptor
-
-
-
-
- 39
- Return a brief description of this attribute, useful when rendering help text in a tool, localized for the default Locale for this instance of the Java Virtual Machine.
- jakarta.faces.component
- AttributeDescriptor
-
-
-
-
- 40
- Return a brief description of this attribute, useful when rendering help text in a tool, localized for the specified Locale.
- jakarta.faces.component
- AttributeDescriptor
-
-
- java.util.Locale
-
-
-
-
-
- 41
- if locale is null
- jakarta.faces.component
- AttributeDescriptor
-
-
- java.util.Locale
-
- java.lang.NullPointerException
-
-
-
-
- 42
- Return a short displayable name of this attribute, useful in constructing the user interface of a tool, localized for the default Locale for this instance of the Java Virtual Machine.
- jakarta.faces.component
- AttributeDescriptor
-
-
-
-
- 43
- Return a short displayable name of this attribute, useful in constructing the user interface of a tool, localized for the specified Locale.
- jakarta.faces.component
- AttributeDescriptor
-
-
- java.util.Locale
-
-
-
-
-
- 44
- if locale is null
- jakarta.faces.component
- AttributeDescriptor
-
-
- java.util.Locale
-
- java.lang.NullPointerException
-
-
-
-
- 45
- Return the attribute name of the attribute described by this AttributeDescriptor.
- jakarta.faces.component
- AttributeDescriptor
-
-
-
-
- 46
- Return the Java class representing the data type of the legal values for this attribute.
- jakarta.faces.component
- AttributeDescriptor
-
-
-
-
- 47
- Add the specified UIComponent to the namespace of this naming container.
- jakarta.faces.component
- NamingContainer
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 48
- if the specified component does not have a componentId
- jakarta.faces.component
- NamingContainer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 49
- if the component identifier of the specified component is not unique within the namespace of this naming container
- jakarta.faces.component
- NamingContainer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalStateException
-
-
-
-
- 50
- if component is null
- jakarta.faces.component
- NamingContainer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 51
- Find and return a UIComponent in this namespace, if it is present; otherwise return null. If the argument name does not contain any UIComponent#SEPARATOR_CHAR characters, it is interpreted to be a name in the namespace of this naming container. If the argument name does contain UIComponent#SEPARATOR_CHAR characters, each segment between UIComponent#SEPARATOR_CHAR is treated as a component identifier in its own namespace, which are searched for in child naming containers of this naming container, from left to right.
- jakarta.faces.component
- NamingContainer
-
-
- java.lang.String
-
-
-
-
-
- 52
- if name is malformed
- jakarta.faces.component
- NamingContainer
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 53
- if name is null
- jakarta.faces.component
- NamingContainer
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 54
- Generate an identifier for a component, suitable for communication to a client. The identifier returned from this method must be unique within this namespace.
- jakarta.faces.component
- NamingContainer
-
-
-
-
- 55
- Remove the specified UIComponent from the namespace of this naming container, if it is present.
- jakarta.faces.component
- NamingContainer
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 56
- if the specified component does not have a componentId
- jakarta.faces.component
- NamingContainer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 57
- if component is null
- jakarta.faces.component
- NamingContainer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 58
- Add the specified UIComponent to the namespace of this naming container.
- jakarta.faces.component
- NamingContainerSupport
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 59
- if the specified component does not have a componentId
- jakarta.faces.component
- NamingContainerSupport
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 60
- if the component identifier of the specified component is not unique within the namespace of this naming container
- jakarta.faces.component
- NamingContainerSupport
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalStateException
-
-
-
-
- 61
- if component is null
- jakarta.faces.component
- NamingContainerSupport
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 62
- Find and return a UIComponent in this namespace, if it is present; otherwise return null. If the argument name does not contain any UIComponent#SEPARATOR_CHAR characters, it is interpreted to be a name in the namespace of this naming container. If the argument name does contain UIComponent#SEPARATOR_CHAR characters, each segment between UIComponent#SEPARATOR_CHAR is treated as a component identifier in its own namespace, which are searched for in child naming containers of this naming container, from left to right.
- jakarta.faces.component
- NamingContainerSupport
-
-
- java.lang.String
-
-
-
-
-
- 63
- if name is malformed
- jakarta.faces.component
- NamingContainerSupport
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 64
- if name is null
- jakarta.faces.component
- NamingContainerSupport
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 65
- Generate an identifier for a component, suitable for communication to a client. The identifier returned from this method must be unique within this namespace.
- jakarta.faces.component
- NamingContainerSupport
-
-
-
-
- 66
-
- jakarta.faces.component
- NamingContainerSupport
-
-
-
-
- 67
- Remove the specified UIComponent from the namespace of this naming container, if it is present.
- jakarta.faces.component
- NamingContainerSupport
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 68
- if the specified component does not have a componentId
- jakarta.faces.component
- NamingContainerSupport
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 69
- if component is null
- jakarta.faces.component
- NamingContainerSupport
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 70
- Return a description of this item, for use in development tools.
- jakarta.faces.component
- SelectItem
-
-
-
-
- 71
- Return the label of this item, to be rendered visibly for the user.
- jakarta.faces.component
- SelectItem
-
-
-
-
- 72
- Return the value of this item, to be returned as a request parameter if this item is selected by the user.
- jakarta.faces.component
- SelectItem
-
-
-
-
- 73
- Construct a UISelectItem instance with the specified property values.
- jakarta.faces.component
- SelectItem
-
-
- java.lang.Object
- java.lang.String
- java.lang.String
-
-
-
-
-
- 75
- if listener is null
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.ActionListener
-
- java.lang.NullPointerException
-
-
-
-
- 76
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 77
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 78
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 79
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 80
- if event or phaseId is null
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 81
- Queue an ActionEvent for processing during the next event processing cycle.
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 82
- Return the literal action outcome value to be returned to the jakarta.faces.event.ActionListener processing application level events for this application.
- jakarta.faces.component
- UICommand
-
-
-
-
- 83
- Return the action reference expression pointing at the jakarta.faces.application.Action to be invoked, if this component is activated by the user, during Invoke Application phase of the request processing lifecycle.
- jakarta.faces.component
- UICommand
-
-
-
-
- 84
- Return the command name for this UICommand.
- jakarta.faces.component
- UICommand
-
-
-
-
- 85
- Return the component type of this UIComponent.
- jakarta.faces.component
- UICommand
-
-
-
-
- 87
- if listener is null
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.ActionListener
-
- java.lang.NullPointerException
-
-
-
-
- 88
- Set the literal action outcome value for this component.
- jakarta.faces.component
- UICommand
-
-
- java.lang.String
-
-
-
-
-
- 89
- Set the action reference expression pointing at the jakarta.faces.application.Action to be invoked, if this component is activated by the user, during Invoke Application phase of the request processing lifecycle.
- jakarta.faces.component
- UICommand
-
-
- java.lang.String
-
-
-
-
-
- 90
- Set the command name for this UICommand.
- jakarta.faces.component
- UICommand
-
-
- java.lang.String
-
-
-
-
-
- 92
- Override the default behavior and perform no model update.
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 93
- if the modelReference property has invalid syntax for an expression
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.IllegalArgumentException
-
-
-
-
- 94
- if context is null
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 95
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 96
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 97
- if component is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 98
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 99
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 100
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 101
- if component is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 102
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 103
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 104
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 105
- if validator is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 106
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 107
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 108
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 109
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 110
- if component is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 111
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 112
- if an input/output error occurs during decoding
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 113
- if context is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 114
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 115
- if an input/output error occurs while rendering
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 116
- if context is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 117
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 118
- if an input/output error occurs while rendering
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 119
- if context is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 120
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 121
- if an input/output error occurs while rendering
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 122
- if context is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 123
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 124
- if expr is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 125
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 126
- if name is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 127
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 128
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 129
- if index is out of range ((index = size()))
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 130
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 131
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 132
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 133
- if context is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 134
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 135
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 136
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 137
- if name is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 138
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 139
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 140
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 141
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 142
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 143
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 144
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 145
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 146
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 147
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 148
- if an input/output error occurs during decoding
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 149
- if context is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 150
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 151
- if an input/output error occurs during processing
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 152
- if context is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 153
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 154
- if context is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 155
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 156
- if context is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 157
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 158
- if an input/output error occurs during processing
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 159
- if context is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 160
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 161
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 162
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 163
- if component is not a child of this component
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 164
- if component is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 165
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 166
- if name is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 167
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 168
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 169
- if name represents a read-only property of this component
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 170
- if name is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 171
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 172
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 173
- if componentId is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 174
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 175
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 176
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 177
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 178
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 179
- Set the current validity state of this component.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 180
- Perform any correctness checks that this component wishes to perform on itself. This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 181
- if context is null
- jakarta.faces.component
- UICommand.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 182
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 183
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 184
- if component is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 185
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIComponent
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 186
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIComponent
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 187
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UIComponent
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 188
- if component is null
- jakarta.faces.component
- UIComponent
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 189
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 190
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 191
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 192
- if validator is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 193
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 194
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 195
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 196
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 197
- if event or phaseId is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 198
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 199
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 200
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 201
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 202
- if component is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 204
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 205
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 208
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 211
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 214
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 216
- if expr is null
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 217
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
-
- 218
- if name is null
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 219
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 220
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIComponent
-
-
- int
-
-
-
-
-
- 221
- if index is out of range ((index = size()))
- jakarta.faces.component
- UIComponent
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 223
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 225
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 226
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 227
- Return the component type of this UIComponent.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 228
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 230
- if name is null
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 231
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 236
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 237
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 239
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UIComponent
-
-
-
-
- 241
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 242
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 243
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 244
- if an input/output error occurs during processing
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 245
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 247
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 249
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 250
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 251
- if an input/output error occurs during processing
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 252
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 253
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIComponent
-
-
- int
-
-
-
-
-
- 254
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UIComponent
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 255
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 256
- if component is not a child of this component
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 257
- if component is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 258
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
-
- 259
- if name is null
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 260
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 261
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 262
- if name represents a read-only property of this component
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 263
- if name is null
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 264
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
-
- 265
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 266
- if componentId is null
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 267
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 268
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
-
- 272
- Set the current validity state of this component.
- jakarta.faces.component
- UIComponent
-
-
- boolean
-
-
-
-
-
- 273
- Update the model data associated with this UIComponent, if any. The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 274
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 275
- Perform any correctness checks that this component wishes to perform on itself. This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 276
- if context is null
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 277
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 278
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 279
- if component is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 280
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIComponentBase
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 281
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIComponentBase
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 282
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UIComponentBase
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 283
- if component is null
- jakarta.faces.component
- UIComponentBase
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 284
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 285
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 286
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 287
- if validator is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 288
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 289
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 290
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 291
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 292
- if event or phaseId is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 293
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 294
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 295
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 296
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 297
- if component is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 299
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 300
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 303
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 306
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 309
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 311
- if expr is null
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 312
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
-
- 313
- if name is null
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 314
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 315
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIComponentBase
-
-
- int
-
-
-
-
-
- 316
- if index is out of range ((index = size()))
- jakarta.faces.component
- UIComponentBase
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 318
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 320
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 321
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 322
- Return the component type of this UIComponent.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 323
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 325
- if name is null
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 326
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 331
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 332
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 334
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- 336
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 337
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 338
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 339
- if an input/output error occurs during processing
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 340
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 342
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 344
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 345
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 346
- if an input/output error occurs during processing
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 347
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 348
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIComponentBase
-
-
- int
-
-
-
-
-
- 349
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UIComponentBase
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 350
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 351
- if component is not a child of this component
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 352
- if component is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 353
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
-
- 354
- if name is null
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 355
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 356
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 357
- if name represents a read-only property of this component
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 358
- if name is null
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 359
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
-
- 360
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 361
- if componentId is null
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 362
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 363
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
-
- 367
- Set the current validity state of this component.
- jakarta.faces.component
- UIComponentBase
-
-
- boolean
-
-
-
-
-
- 369
- Update the model data associated with this UIComponent, if any. The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 370
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 371
- Perform any correctness checks that this component wishes to perform on itself. This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 372
- if context is null
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 373
- Return the component type of this UIComponent.
- jakarta.faces.component
- UIForm
-
-
-
-
- 374
- Return the form name for this UIForm.
- jakarta.faces.component
- UIForm
-
-
-
-
- 375
- Set the form name for this UIForm.
- jakarta.faces.component
- UIForm
-
-
- java.lang.String
-
-
-
-
-
- 377
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 378
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 379
- if component is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 380
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 381
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 382
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 383
- if component is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 384
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 385
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 386
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 387
- if validator is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 388
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 389
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 390
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 391
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 392
- if event or phaseId is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 393
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 394
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 395
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 396
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 397
- if component is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 398
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 399
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 400
- if context is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 401
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 402
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 403
- if context is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 404
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 405
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 406
- if context is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 407
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 408
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 409
- if context is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 410
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 411
- if expr is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 412
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 413
- if name is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 414
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 415
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 416
- if index is out of range ((index = size()))
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 417
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 418
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 419
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 420
- if context is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 421
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 422
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 423
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 424
- if name is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 425
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 426
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 427
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 428
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 429
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 430
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 431
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 432
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 433
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 434
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 435
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 436
- if context is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 437
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 438
- if an input/output error occurs during processing
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 439
- if context is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 440
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 441
- if context is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 442
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 443
- if context is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 444
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 445
- if an input/output error occurs during processing
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 446
- if context is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 447
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 448
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 449
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 450
- if component is not a child of this component
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 451
- if component is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 452
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 453
- if name is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 454
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 455
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 456
- if name represents a read-only property of this component
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 457
- if name is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 458
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 459
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 460
- if componentId is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 461
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 462
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 463
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 464
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 465
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 466
- Set the current validity state of this component.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 467
- Update the model data associated with this UIComponent, if any. The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 468
- if context is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 469
- Perform any correctness checks that this component wishes to perform on itself. This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 470
- if context is null
- jakarta.faces.component
- UIForm.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 471
- Return the component type of this UIComponent.
- jakarta.faces.component
- UIGraphic
-
-
-
-
- 472
- Return the image URL for this UIGraphic.
- jakarta.faces.component
- UIGraphic
-
-
-
-
- 473
- Set the image URL for this UIGraphic.
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
-
-
-
-
-
- 475
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 476
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 477
- if component is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 478
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 479
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 480
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 481
- if component is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 482
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 483
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 484
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 485
- if validator is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 486
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 487
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 488
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 489
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 490
- if event or phaseId is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 491
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 492
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 493
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 494
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 495
- if component is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 496
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 497
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 498
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 499
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 500
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 501
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 502
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 503
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 504
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 505
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 506
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 507
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 508
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 509
- if expr is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 510
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 511
- if name is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 512
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 513
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 514
- if index is out of range ((index = size()))
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 515
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 516
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 517
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 518
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 519
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 520
- Return the component type of this UIComponent.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 521
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 522
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 523
- if name is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 524
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 525
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 526
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 527
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 528
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 529
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 530
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 531
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 532
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 533
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 534
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 535
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 536
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 537
- if an input/output error occurs during processing
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 538
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 539
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 540
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 541
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 542
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 543
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 544
- if an input/output error occurs during processing
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 545
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 546
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 547
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 548
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 549
- if component is not a child of this component
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 550
- if component is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 551
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 552
- if name is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 553
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 554
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 555
- if name represents a read-only property of this component
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 556
- if name is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 557
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 558
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 559
- if componentId is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 560
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 561
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 562
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 563
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 564
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 565
- Set the current validity state of this component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 566
- Update the model data associated with this UIComponent, if any. The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 567
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 568
- Perform any correctness checks that this component wishes to perform on itself. This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 569
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 570
- Evaluate and return the current value of this component, according to the following algorithm. If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 571
- if a problem occurs evaluating the value reference expression
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- EvaluationException
-
-
-
-
- 572
- if context is null
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 573
- Return the local value of this UIInput component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIOutput}
-
-
-
-
- 574
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIOutput}
-
-
-
-
- 575
- Set the local value of this UIInput component.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIOutput}
-
-
- java.lang.Object
-
-
-
-
-
- 576
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UIGraphic.{jakarta.faces.component.UIOutput}
-
-
- java.lang.String
-
-
-
-
-
- 577
- Add a new ValueChangedListener to the set of listeners interested in being notified when ValueChangedEvents occur.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.ValueChangedListener
-
-
-
-
-
- 578
- if listener is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.ValueChangedListener
-
- java.lang.NullPointerException
-
-
-
-
- 579
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 580
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 581
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 582
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 583
- if event or phaseId is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 584
- Return the component type of this UIComponent.
- jakarta.faces.component
- UIInput
-
-
-
-
- 585
- Return the previous value of this UIInput component. This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
- jakarta.faces.component
- UIInput
-
-
-
-
- 586
- Remove an existing ValueChangedListener (if any) from the set of listeners interested in being notified when ValueChangedEvents occur.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.ValueChangedListener
-
-
-
-
-
- 587
- if listener is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.ValueChangedListener
-
- java.lang.NullPointerException
-
-
-
-
- 588
- Set the previous value of this UIInput component. This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
- jakarta.faces.component
- UIInput
-
-
- java.lang.Object
-
-
-
-
-
- 591
- if the valueRef property has invalid syntax for an expression
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.IllegalArgumentException
-
-
-
-
- 592
- if context is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 594
- if context is null
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 595
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 596
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 597
- if component is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 598
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 599
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 600
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 601
- if component is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 602
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 603
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 604
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 605
- if validator is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 606
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 607
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 608
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 609
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 610
- if component is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 611
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 612
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 613
- if context is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 614
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 615
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 616
- if context is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 617
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 618
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 619
- if context is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 620
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 621
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 622
- if context is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 623
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 624
- if expr is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 625
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 626
- if name is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 627
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 628
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 629
- if index is out of range ((index = size()))
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 630
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 631
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 632
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 633
- if context is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 634
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 635
- Return the component type of this UIComponent.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 636
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 637
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 638
- if name is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 639
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 640
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 641
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 642
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 643
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 644
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 645
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 646
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 647
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 648
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 649
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 650
- if context is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 651
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 652
- if an input/output error occurs during processing
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 653
- if context is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 654
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 655
- if context is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 656
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 657
- if context is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 658
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 659
- if an input/output error occurs during processing
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 660
- if context is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 661
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 662
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 663
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 664
- if component is not a child of this component
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 665
- if component is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 666
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 667
- if name is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 668
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 669
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 670
- if name represents a read-only property of this component
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 671
- if name is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 672
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 673
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 674
- if componentId is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 675
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 676
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 677
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 678
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 679
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 680
- Set the current validity state of this component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 681
- Evaluate and return the current value of this component, according to the following algorithm. If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 682
- if a problem occurs evaluating the value reference expression
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- EvaluationException
-
-
-
-
- 683
- if context is null
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 684
- Return the local value of this UIInput component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIOutput}
-
-
-
-
- 685
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIOutput}
-
-
-
-
- 686
- Set the local value of this UIInput component.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIOutput}
-
-
- java.lang.Object
-
-
-
-
-
- 687
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UIInput.{jakarta.faces.component.UIOutput}
-
-
- java.lang.String
-
-
-
-
-
- 688
- Add the specified UIComponent to the namespace of this naming container.
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 689
- if the specified component does not have a componentId
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 690
- if the component identifier of the specified component is not unique within the namespace of this naming container
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalStateException
-
-
-
-
- 691
- if component is null
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 692
- Find and return a UIComponent in this namespace, if it is present; otherwise return null. If the argument name does not contain any UIComponent#SEPARATOR_CHAR characters, it is interpreted to be a name in the namespace of this naming container. If the argument name does contain UIComponent#SEPARATOR_CHAR characters, each segment between UIComponent#SEPARATOR_CHAR is treated as a component identifier in its own namespace, which are searched for in child naming containers of this naming container, from left to right.
- jakarta.faces.component
- UINamingContainer
-
-
- java.lang.String
-
-
-
-
-
- 693
- if name is malformed
- jakarta.faces.component
- UINamingContainer
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 694
- if name is null
- jakarta.faces.component
- UINamingContainer
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 695
- Generate an identifier for a component, suitable for communication to a client. The identifier returned from this method must be unique within this namespace.
- jakarta.faces.component
- UINamingContainer
-
-
-
-
- 696
- Return the component type of this UIComponent.
- jakarta.faces.component
- UINamingContainer
-
-
-
-
- 697
- Remove the specified UIComponent from the namespace of this naming container, if it is present.
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 698
- if the specified component does not have a componentId
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 699
- if component is null
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 701
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 702
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 703
- if component is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 704
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 705
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 706
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 707
- if component is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 708
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 709
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 710
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 711
- if validator is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 712
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 713
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 714
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 715
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 716
- if event or phaseId is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 717
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 718
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 719
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 720
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 721
- if component is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 722
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 723
- if an input/output error occurs during decoding
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 724
- if context is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 725
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 726
- if an input/output error occurs while rendering
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 727
- if context is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 728
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 729
- if an input/output error occurs while rendering
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 730
- if context is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 731
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 732
- if an input/output error occurs while rendering
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 733
- if context is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 734
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 735
- if expr is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 736
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 737
- if name is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 738
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 739
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 740
- if index is out of range ((index = size()))
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 741
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 742
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 743
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 744
- if context is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 745
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 746
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 747
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 748
- if name is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 749
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 750
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 751
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 752
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 753
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 754
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 755
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 756
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 757
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 758
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 759
- if an input/output error occurs during decoding
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 760
- if context is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 761
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 762
- if an input/output error occurs during processing
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 763
- if context is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 764
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 765
- if context is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 766
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 767
- if context is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 768
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 769
- if an input/output error occurs during processing
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 770
- if context is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 771
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 772
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 773
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 774
- if component is not a child of this component
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 775
- if component is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 776
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 777
- if name is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 778
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 779
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 780
- if name represents a read-only property of this component
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 781
- if name is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 782
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 783
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 784
- if componentId is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 785
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 786
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 787
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 788
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 789
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 790
- Set the current validity state of this component.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 791
- Update the model data associated with this UIComponent, if any. The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 792
- if context is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 793
- Perform any correctness checks that this component wishes to perform on itself. This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 794
- if context is null
- jakarta.faces.component
- UINamingContainer.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 795
- Evaluate and return the current value of this component, according to the following algorithm. If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
- jakarta.faces.component
- UIOutput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 796
- if a problem occurs evaluating the value reference expression
- jakarta.faces.component
- UIOutput
-
-
- jakarta.faces.context.FacesContext
-
- EvaluationException
-
-
-
-
- 797
- if context is null
- jakarta.faces.component
- UIOutput
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 798
- Return the component type of this UIComponent.
- jakarta.faces.component
- UIOutput
-
-
-
-
- 800
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UIOutput
-
-
-
-
- 802
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UIOutput
-
-
- java.lang.String
-
-
-
-
-
- 804
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 805
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 806
- if component is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 807
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 808
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 809
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 810
- if component is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 811
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 812
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 813
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 814
- if validator is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 815
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 816
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 817
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 818
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 819
- if event or phaseId is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 820
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 821
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 822
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 823
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 824
- if component is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 825
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 826
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 827
- if context is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 828
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 829
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 830
- if context is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 831
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 832
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 833
- if context is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 834
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 835
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 836
- if context is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 837
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 838
- if expr is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 839
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 840
- if name is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 841
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 842
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 843
- if index is out of range ((index = size()))
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 844
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 845
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 846
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 847
- if context is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 848
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 849
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 850
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 851
- if name is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 852
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 853
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 854
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 855
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 856
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 857
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 858
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 859
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 860
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 861
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 862
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 863
- if context is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 864
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 865
- if an input/output error occurs during processing
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 866
- if context is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 867
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 868
- if context is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 869
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 870
- if context is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 871
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 872
- if an input/output error occurs during processing
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 873
- if context is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 874
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 875
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 876
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 877
- if component is not a child of this component
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 878
- if component is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 879
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 880
- if name is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 881
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 882
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 883
- if name represents a read-only property of this component
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 884
- if name is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 885
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 886
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 887
- if componentId is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 888
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 889
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 890
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 891
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 892
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 893
- Set the current validity state of this component.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 894
- Update the model data associated with this UIComponent, if any. The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 895
- if context is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 896
- Perform any correctness checks that this component wishes to perform on itself. This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 897
- if context is null
- jakarta.faces.component
- UIOutput.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 898
- Return the component type of this UIComponent.
- jakarta.faces.component
- UIPanel
-
-
-
-
- 899
- Return true to indicate that this component takes responsibility for rendering its children.
- jakarta.faces.component
- UIPanel
-
-
-
-
- 901
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 902
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 903
- if component is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 904
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 905
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 906
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 907
- if component is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 908
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 909
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 910
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 911
- if validator is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 912
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 913
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 914
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 915
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 916
- if event or phaseId is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 917
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 918
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 919
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 920
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 921
- if component is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 922
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 923
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 924
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 925
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 926
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 927
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 928
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 929
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 930
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 931
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 932
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 933
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 934
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 935
- if expr is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 936
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 937
- if name is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 938
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 939
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 940
- if index is out of range ((index = size()))
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 941
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 942
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 943
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 944
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 945
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 946
- Return the component type of this UIComponent.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 947
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 948
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 949
- if name is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 950
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 951
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 952
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 953
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 954
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 955
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 956
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 957
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 958
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 959
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 960
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 961
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 962
- if an input/output error occurs during processing
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 963
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 964
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 965
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 966
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 967
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 968
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 969
- if an input/output error occurs during processing
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 970
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 971
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 972
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 973
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 974
- if component is not a child of this component
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 975
- if component is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 976
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 977
- if name is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 978
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 979
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 980
- if name represents a read-only property of this component
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 981
- if name is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 982
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 983
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 984
- if componentId is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 985
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 986
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 987
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 988
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 989
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 990
- Set the current validity state of this component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 991
- Update the model data associated with this UIComponent, if any. The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 992
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 993
- Perform any correctness checks that this component wishes to perform on itself. This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 994
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 995
- Evaluate and return the current value of this component, according to the following algorithm. If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 996
- if a problem occurs evaluating the value reference expression
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- EvaluationException
-
-
-
-
- 997
- if context is null
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 998
- Return the local value of this UIInput component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIOutput}
-
-
-
-
- 999
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1000
- Set the local value of this UIInput component.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIOutput}
-
-
- java.lang.Object
-
-
-
-
-
- 1001
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UIPanel.{jakarta.faces.component.UIOutput}
-
-
- java.lang.String
-
-
-
-
-
- 1002
- Return the component type of this UIComponent.
- jakarta.faces.component
- UIParameter
-
-
-
-
- 1004
- Return true to indicate that no jakarta.faces.render.Renderer needs to be associated with this component.
- jakarta.faces.component
- UIParameter
-
-
-
-
- 1007
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1008
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1009
- if component is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1010
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1011
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1012
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1013
- if component is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1014
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1015
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1016
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 1017
- if validator is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 1018
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 1019
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 1020
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1021
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 1022
- if event or phaseId is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 1023
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1024
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1025
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1026
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1027
- if component is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1028
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1029
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1030
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1031
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1032
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1033
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1034
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1035
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1036
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1037
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1038
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1039
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1040
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1041
- if expr is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1042
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1043
- if name is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1044
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1045
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 1046
- if index is out of range ((index = size()))
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1047
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1048
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1049
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1050
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1051
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1052
- Return the component type of this UIComponent.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1053
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1054
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1055
- if name is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1056
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1057
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1058
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1059
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1060
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1061
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1062
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1063
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1064
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1065
- if an input/output error occurs during decoding
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1066
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1067
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1068
- if an input/output error occurs during processing
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1069
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1070
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1071
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1072
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1073
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1074
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1075
- if an input/output error occurs during processing
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1076
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1077
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 1078
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1079
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1080
- if component is not a child of this component
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1081
- if component is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1082
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1083
- if name is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1084
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 1085
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 1086
- if name represents a read-only property of this component
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1087
- if name is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1088
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1089
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1090
- if componentId is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1091
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1092
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1093
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1094
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 1095
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1096
- Set the current validity state of this component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 1097
- Update the model data associated with this UIComponent, if any. The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1098
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1099
- Perform any correctness checks that this component wishes to perform on itself. This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1100
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1101
- Evaluate and return the current value of this component, according to the following algorithm. If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1102
- if a problem occurs evaluating the value reference expression
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- EvaluationException
-
-
-
-
- 1103
- if context is null
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1104
- Return the local value of this UIInput component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1105
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1106
- Set the local value of this UIInput component.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIOutput}
-
-
- java.lang.Object
-
-
-
-
-
- 1107
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UIParameter.{jakarta.faces.component.UIOutput}
-
-
- java.lang.String
-
-
-
-
-
- 1108
- Return the component type of this UIComponent.
- jakarta.faces.component
- UISelectBoolean
-
-
-
-
- 1112
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1113
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1114
- if component is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1115
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1116
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1117
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1118
- if component is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1119
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1120
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1121
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 1122
- if validator is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 1123
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1124
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1125
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1126
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1127
- if component is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1128
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1129
- if an input/output error occurs during decoding
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1130
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1131
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1132
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1133
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1134
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1135
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1136
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1137
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1138
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1139
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1140
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1141
- if expr is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1142
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1143
- if name is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1144
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1145
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 1146
- if index is out of range ((index = size()))
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1147
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1148
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1149
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1150
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1151
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1152
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1153
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1154
- if name is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1155
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1156
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1157
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1158
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1159
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1160
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1161
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1162
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1163
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1164
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1165
- if an input/output error occurs during decoding
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1166
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1167
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1168
- if an input/output error occurs during processing
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1169
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1170
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1171
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1172
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1173
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1174
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1175
- if an input/output error occurs during processing
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1176
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1177
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 1178
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1179
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1180
- if component is not a child of this component
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1181
- if component is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1182
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1183
- if name is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1184
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 1185
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 1186
- if name represents a read-only property of this component
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1187
- if name is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1188
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1189
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1190
- if componentId is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1191
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1192
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1193
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1194
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 1195
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1196
- Set the current validity state of this component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 1197
- Add a new ValueChangedListener to the set of listeners interested in being notified when ValueChangedEvents occur.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.ValueChangedListener
-
-
-
-
-
- 1198
- if listener is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.ValueChangedListener
-
- java.lang.NullPointerException
-
-
-
-
- 1199
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 1200
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 1201
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1202
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 1203
- if event or phaseId is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 1204
- Return the previous value of this UIInput component. This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
-
-
- 1205
- Remove an existing ValueChangedListener (if any) from the set of listeners interested in being notified when ValueChangedEvents occur.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.ValueChangedListener
-
-
-
-
-
- 1206
- if listener is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.ValueChangedListener
-
- java.lang.NullPointerException
-
-
-
-
- 1207
- Set the previous value of this UIInput component. This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- java.lang.Object
-
-
-
-
-
- 1208
- Perform the following algorithm to update the model data associated with this UIInput, if any, as appropriate. If the valid property of this component is false, take no further action. If the valueRef property of this component is null, take no further action. Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the setValue() method of the ValueBinding to update the value that the value reference expression points at. If the setValue() method returns successfully: Clear the local value of this UIInput. Set the valid property of this UIInput to true. If the setValue() method call fails: Enqueue error messages by calling addMessage() on the specified FacesContext instance. Set the valid property of this UIInput to false.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1209
- if the valueRef property has invalid syntax for an expression
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1210
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1211
- Perform validations and, if validation is successful, and the local value is different from the previous value, queue a ValueChangedEvent to be processed later.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1212
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1213
- Evaluate and return the current value of this component, according to the following algorithm. If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1214
- if a problem occurs evaluating the value reference expression
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- EvaluationException
-
-
-
-
- 1215
- if context is null
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1216
- Return the component type of this UIComponent.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1217
- Return the local value of this UIInput component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1218
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1219
- Set the local value of this UIInput component.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
- java.lang.Object
-
-
-
-
-
- 1220
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UISelectBoolean.{jakarta.faces.component.UIOutput}
-
-
- java.lang.String
-
-
-
-
-
- 1221
- Return the component type of this UIComponent.
- jakarta.faces.component
- UISelectItem
-
-
-
-
- 1224
- Return the server value for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
-
-
- 1225
- Return true to indicate that no jakarta.faces.render.Renderer needs to be associated with this component.
- jakarta.faces.component
- UISelectItem
-
-
-
-
- 1228
- Set the server value for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
- java.lang.String
-
-
-
-
-
- 1230
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1231
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1232
- if component is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1233
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1234
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1235
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1236
- if component is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1237
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1238
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1239
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 1240
- if validator is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 1241
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 1242
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 1243
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1244
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 1245
- if event or phaseId is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 1246
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1247
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1248
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1249
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1250
- if component is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1251
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1252
- if an input/output error occurs during decoding
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1253
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1254
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1255
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1256
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1257
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1258
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1259
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1260
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1261
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1262
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1263
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1264
- if expr is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1265
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1266
- if name is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1267
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1268
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 1269
- if index is out of range ((index = size()))
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1270
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1271
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1272
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1273
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1274
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1275
- Return the component type of this UIComponent.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1276
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1277
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1278
- if name is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1279
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1280
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1281
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1282
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1283
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1284
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1285
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1286
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1287
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1288
- if an input/output error occurs during decoding
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1289
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1290
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1291
- if an input/output error occurs during processing
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1292
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1293
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1294
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1295
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1296
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1297
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1298
- if an input/output error occurs during processing
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1299
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1300
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 1301
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1302
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1303
- if component is not a child of this component
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1304
- if component is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1305
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1306
- if name is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1307
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 1308
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 1309
- if name represents a read-only property of this component
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1310
- if name is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1311
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1312
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1313
- if componentId is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1314
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1315
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1316
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1317
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 1318
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1319
- Set the current validity state of this component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 1320
- Update the model data associated with this UIComponent, if any. The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1321
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1322
- Perform any correctness checks that this component wishes to perform on itself. This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1323
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1324
- Evaluate and return the current value of this component, according to the following algorithm. If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1325
- if a problem occurs evaluating the value reference expression
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- EvaluationException
-
-
-
-
- 1326
- if context is null
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1327
- Return the local value of this UIInput component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1328
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1329
- Set the local value of this UIInput component.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIOutput}
-
-
- java.lang.Object
-
-
-
-
-
- 1330
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UISelectItem.{jakarta.faces.component.UIOutput}
-
-
- java.lang.String
-
-
-
-
-
- 1331
- Return the component type of this UIComponent.
- jakarta.faces.component
- UISelectItems
-
-
-
-
- 1332
- Return true to indicate that no jakarta.faces.render.Renderer needs to be associated with this component.
- jakarta.faces.component
- UISelectItems
-
-
-
-
- 1334
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1335
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1336
- if component is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1337
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1338
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1339
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1340
- if component is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1341
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1342
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1343
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 1344
- if validator is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 1345
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId (or for any phase, if the listener returns PhaseId.ANY_PHASE from its getPhaseId() method. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 1346
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 1347
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1348
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 1349
- if event or phaseId is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 1350
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1351
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1352
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1353
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1354
- if component is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1355
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1356
- if an input/output error occurs during decoding
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1357
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1358
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1359
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1360
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1361
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1362
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1363
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1364
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1365
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1366
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1367
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1368
- if expr is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1369
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1370
- if name is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1371
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1372
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 1373
- if index is out of range ((index = size()))
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1374
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1375
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1376
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1377
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1378
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1379
- Return the component type of this UIComponent.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1380
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1381
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1382
- if name is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1383
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1384
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1385
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1386
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1387
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1388
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1389
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1390
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1391
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1392
- if an input/output error occurs during decoding
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1393
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1394
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1395
- if an input/output error occurs during processing
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1396
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1397
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1398
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1399
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1400
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1401
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1402
- if an input/output error occurs during processing
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1403
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1404
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 1405
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1406
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1407
- if component is not a child of this component
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1408
- if component is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1409
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1410
- if name is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1411
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 1412
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 1413
- if name represents a read-only property of this component
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1414
- if name is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1415
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1416
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1417
- if componentId is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1418
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1419
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1420
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1421
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 1422
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1423
- Set the current validity state of this component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 1424
- Update the model data associated with this UIComponent, if any. The default implementation in UIComponentBase does no processing; concrete implementations of components that represent controls that can be altered by users (such as UIInput must provide an apppropriate implementation of this method.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1425
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1426
- Perform any correctness checks that this component wishes to perform on itself. This method will be called during the Process Validations phase of the request processing lifecycle. If errors are encountered, appropriate Message instances should be added to the FacesContext for the current request, and the valid property of this UIComponent should be set to false.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1427
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1428
- Evaluate and return the current value of this component, according to the following algorithm. If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1429
- if a problem occurs evaluating the value reference expression
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- EvaluationException
-
-
-
-
- 1430
- if context is null
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1431
- Return the local value of this UIInput component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1432
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1433
- Set the local value of this UIInput component.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIOutput}
-
-
- java.lang.Object
-
-
-
-
-
- 1434
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UISelectItems.{jakarta.faces.component.UIOutput}
-
-
- java.lang.String
-
-
-
-
-
- 1435
- Return the component type of this UIComponent.
- jakarta.faces.component
- UISelectMany
-
-
-
-
- 1439
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1440
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1441
- if component is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1442
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1443
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1444
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1445
- if component is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1446
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1447
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1448
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 1449
- if validator is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 1450
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1451
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1452
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1453
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1454
- if component is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1455
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1456
- if an input/output error occurs during decoding
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1457
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1458
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1459
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1460
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1461
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1462
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1463
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1464
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1465
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1466
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1467
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1468
- if expr is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1469
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1470
- if name is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1471
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1472
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 1473
- if index is out of range ((index = size()))
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1474
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1475
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1476
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1477
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1478
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1479
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1480
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1481
- if name is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1482
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1483
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1484
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1485
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1486
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1487
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1488
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1489
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1490
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1491
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1492
- if an input/output error occurs during decoding
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1493
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1494
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1495
- if an input/output error occurs during processing
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1496
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1497
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1498
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1499
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1500
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1501
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1502
- if an input/output error occurs during processing
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1503
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1504
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 1505
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1506
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1507
- if component is not a child of this component
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1508
- if component is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1509
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1510
- if name is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1511
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 1512
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 1513
- if name represents a read-only property of this component
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1514
- if name is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1515
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1516
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1517
- if componentId is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1518
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1519
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1520
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1521
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 1522
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1523
- Set the current validity state of this component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 1524
- Add a new ValueChangedListener to the set of listeners interested in being notified when ValueChangedEvents occur.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.ValueChangedListener
-
-
-
-
-
- 1525
- if listener is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.ValueChangedListener
-
- java.lang.NullPointerException
-
-
-
-
- 1526
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 1527
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 1528
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1529
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 1530
- if event or phaseId is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 1531
- Return the previous value of this UIInput component. This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
-
-
- 1532
- Remove an existing ValueChangedListener (if any) from the set of listeners interested in being notified when ValueChangedEvents occur.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.ValueChangedListener
-
-
-
-
-
- 1533
- if listener is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.ValueChangedListener
-
- java.lang.NullPointerException
-
-
-
-
- 1534
- Set the previous value of this UIInput component. This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- java.lang.Object
-
-
-
-
-
- 1535
- Perform the following algorithm to update the model data associated with this UIInput, if any, as appropriate. If the valid property of this component is false, take no further action. If the valueRef property of this component is null, take no further action. Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the setValue() method of the ValueBinding to update the value that the value reference expression points at. If the setValue() method returns successfully: Clear the local value of this UIInput. Set the valid property of this UIInput to true. If the setValue() method call fails: Enqueue error messages by calling addMessage() on the specified FacesContext instance. Set the valid property of this UIInput to false.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1536
- if the valueRef property has invalid syntax for an expression
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1537
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1538
- Perform validations and, if validation is successful, and the local value is different from the previous value, queue a ValueChangedEvent to be processed later.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1539
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1540
- Evaluate and return the current value of this component, according to the following algorithm. If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1541
- if a problem occurs evaluating the value reference expression
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- EvaluationException
-
-
-
-
- 1542
- if context is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1543
- Return the component type of this UIComponent.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1544
- Return the local value of this UIInput component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1545
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1546
- Set the local value of this UIInput component.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIOutput}
-
-
- java.lang.Object
-
-
-
-
-
- 1547
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UIOutput}
-
-
- java.lang.String
-
-
-
-
-
- 1548
- Add the specified UIComponent to the namespace of this naming container.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1549
- if the specified component does not have a componentId
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1550
- if the component identifier of the specified component is not unique within the namespace of this naming container
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalStateException
-
-
-
-
- 1551
- if component is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1552
- Find and return a UIComponent in this namespace, if it is present; otherwise return null. If the argument name does not contain any UIComponent#SEPARATOR_CHAR characters, it is interpreted to be a name in the namespace of this naming container. If the argument name does contain UIComponent#SEPARATOR_CHAR characters, each segment between UIComponent#SEPARATOR_CHAR is treated as a component identifier in its own namespace, which are searched for in child naming containers of this naming container, from left to right.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
- java.lang.String
-
-
-
-
-
- 1553
- if name is malformed
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1554
- if name is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1555
- Generate an identifier for a component, suitable for communication to a client. The identifier returned from this method must be unique within this namespace.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
-
-
- 1556
- Remove the specified UIComponent from the namespace of this naming container, if it is present.
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1557
- if the specified component does not have a componentId
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1558
- if component is null
- jakarta.faces.component
- UISelectMany.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1559
- Return the component type of this UIComponent.
- jakarta.faces.component
- UISelectOne
-
-
-
-
- 1560
- Return the currently selected item, or null if there is no currently selected item.
- jakarta.faces.component
- UISelectOne
-
-
-
-
- 1561
- Set the currently selected item, or null to indicate that there is no currently selected item.
- jakarta.faces.component
- UISelectOne
-
-
- java.lang.Object
-
-
-
-
-
- 1563
- Append the specified UIComponent to the end of the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1564
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1565
- if component is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1566
- Insert the specified UIComponent at the specified position in the child list for this component. If the child to be added has a non-null and valid component identifier, the identifier is added to the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1567
- if the component identifier of the new component is non-null, and is not unique in the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1568
- if the index is out of range ((index < 0) || (index > size()))
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1569
- if component is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- int
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1570
- Add the specified UIComponent as a facet associated with the name specified by the facetName argument, replacing any previous facet with that name. The newly added facet will have its parent property set to this component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1571
- if the either of the facetName or facet arguments are null.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1572
- Add a Validator instance to the set associated with this UIComponent.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 1573
- if validator is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
- java.lang.NullPointerException
-
-
-
-
- 1574
- Remove all child UIComponents from the child list.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1575
- Remove all facet UIComponents from this component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1576
- Clear any Validators that have been registered for processing by this component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1577
- Return true if the specified UIComponent is a direct child of this UIComponent; otherwise, return false.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1578
- if component is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1579
- Decode the current state of this UIComponent from the request contained in the specified FacesContext, and attempt to convert this state information into an object of the required type for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one. If conversion is successful: Save the new local value of this component by calling setValue() and passing the new value. Set the valid property of this component to true. If conversion is not successful: Save state information in such a way that encoding can reproduce the previous input (even though it was syntactically or semantically incorrect) Add an appropriate conversion failure error message by calling context.addMessage(). Set the valid property of this comonent to false. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling addFacesEvent() on the associated FacesContext.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1580
- if an input/output error occurs during decoding
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1581
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1582
- Render the beginning of the current state of this UIComponent to the response contained in the specified FacesContext. If the conversion attempted in a previous call to decode() for this component failed, the state information saved during execution of decode() should be utilized to reproduce the incorrect input. If the conversion was successful, or if there was no previous call to decode(), the value to be displayed should be acquired by calling currentValue(), and rendering the value as appropriate.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1583
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1584
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1585
- Render the child UIComponents of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property is true.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1586
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1587
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1588
- Render the ending of the current state of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1589
- if an input/output error occurs while rendering
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1590
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1591
- Find the UIComponent named by the specified expression, if any is found. This is done by locating the closest parent UIComponent that is a NamingContainer, and calling its findComponentInNamespace() method. The specified expr may contain either a component identifier, or a set of component identifiers separated by SEPARATOR_CHAR characters.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1592
- if expr is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1593
- Return the value of the attribute with the specified name (if any); otherwise, return null.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1594
- if name is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1595
- Return an Iterator over the names of all currently defined attributes of this UIComponent that have a non-null value.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1596
- Return the UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 1597
- if index is out of range ((index = size()))
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1598
- Return the number of UIComponents on the child list for this component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1599
- Return an Iterator over the child UIComponents of this UIComponent, in the order of their position in the child list. If this component has no children, an empty Iterator is returned.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1600
- Return a client-side identifier for this component, generating one if necessary. Generation will be delegated to the associated jakarta.faces.render.Renderer (if there is one).
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1601
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1602
- Return the identifier of this UIComponent.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1603
- Return the converter id of the jakarta.faces.convert.Converter that is registered for this component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1604
- Return the facet UIComponent associated with the specified name, if any. Otherwise, return null.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1605
- if name is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1606
- Return an Iterator over the names of the facet UIComponents of this UIComponent. If this component has no facets, an empty Iterator is returned.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1607
- Return an Iterator over the facet followed by child UIComponents of this UIComponent. Facets are returned in an undefined order, followed by all the children in the order they are stored in the child list. If this component has no facets or children, an empty Iterator is returned.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1608
- Return the parent UIComponent of this UIComponent, if any.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1609
- Return the Renderer type for this UIComponent (if any).
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1610
- Return a flag indicating whether this component is responsible for rendering its child components.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1611
- Return a flag indicating whether this component has concrete implementations of the decode() and encodeXxx() methods, and is therefore suitable for use in the direct implementation programming model for rendering.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1612
- Return an Iterator over the Validators associated with this UIComponent.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1613
- Return true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1614
- Return the current validity state of this component. The validity state of a component is adjusted at the following points during the request processing lifecycle: During the Apply Request Values phase, set to true or false by decode(), based on the success or failure of decoding a new local value for this component. During the Process Validations phase, set to false by processValidations() if any call to a validate() method returned false. During the Update Model Values phase, set to false by updateModel() if any conversion or update error occurred.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
-
-
- 1615
- Perform the component tree processing required by the Apply Request Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processDecodes() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the decode() method of this component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1616
- if an input/output error occurs during decoding
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1617
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1618
- Perform the component tree processing required by the Reconstitute Component Tree phase of the request processing lifecyc,e for all facets of this component, all children of this component, and this component itself, as follows. Call the processReconstitutes() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). Call the reconstitute() method of this component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1619
- if an input/output error occurs during processing
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1620
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1621
- Perform the component tree processing required by the Update Model Values phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processUpdates() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). Call the updateModel() method of this component. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1622
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1623
- Perform the component tree processing required by the Process Validations phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the processValidators() method of all facets and children of this UIComponent, in the order determined by a call to getFacetsAndChildren(). If the valid property of this component is currently true: Call the validate() method of each Validator registered for this UIComponent. Call the validate() method of this component. Set the valid property of this component to the result returned from the validate() method. If the valid property of this UIComponent is now false, call FacesContext.renderResponse() to transfer control at the end of the current phase.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1624
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1625
- Perform any processing required to correct the state of this component as a result of the owning component tree having been reconstructed during Reconstitute Component Tree phase of the request processing lifecycle. The default implementation of this method does nothing.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1626
- if an input/output error occurs during processing
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1627
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1628
- Remove the child UIComponent at the specified position in the child list for this component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
-
-
-
-
- 1629
- if the index is out of range ((index < 0) || (index >= size()))
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1630
- Remove the child UIComponent from the child list for this component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1631
- if component is not a child of this component
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1632
- if component is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1633
- Remove the facet UIComponent associated with the specified name, if there is one. The removed facet will have its parent property cleared.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1634
- if name is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1635
- Remove a Validator instance from the set associated with this UIComponent, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- 1636
- Set the new value of the attribute with the specified name, replacing any existing value for that name.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 1637
- if name represents a read-only property of this component
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1638
- if name is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1639
- Set the identifier of this UIComponent.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1640
- if componentId is zero length or contains invalid characters
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1641
- if componentId is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1642
- if this UIComponent instance is already in the tree and and is not unique within the namespace of the closest ancestor that is a naming container.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1643
- Set the converter id of the jakarta.faces.convert.Converter that is registered for this component, or null to indicate that there is no registered Converter.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1644
- Set the parent UIComponent of this UIComponent.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1645
- Set the rendered property of this UIComponent.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 1646
- Set the Renderer type for this UIComponent, or null for components that render themselves.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- java.lang.String
-
-
-
-
-
- 1647
- Set the current validity state of this component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIComponentBase}
-
-
- boolean
-
-
-
-
-
- 1648
- Add a new ValueChangedListener to the set of listeners interested in being notified when ValueChangedEvents occur.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.ValueChangedListener
-
-
-
-
-
- 1649
- if listener is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.ValueChangedListener
-
- java.lang.NullPointerException
-
-
-
-
- 1650
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type, for the specified PhaseId. The order in which registered listeners are notified is implementation dependent. After all interested listeners have been notified, return false if this event does not have any listeners interested in this event in future phases of the request processing lifecycle. Otherwise, return true.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- 1651
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 1652
- if the implementation class of this FacesEvent is not supported by this component
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1653
- if PhaseId.ANY_PHASE is passed for the phase identifier
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.IllegalStateException
-
-
-
-
- 1654
- if event or phaseId is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.FacesEvent
- jakarta.faces.event.PhaseId
-
- java.lang.NullPointerException
-
-
-
-
- 1655
- Return the previous value of this UIInput component. This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
-
-
- 1656
- Remove an existing ValueChangedListener (if any) from the set of listeners interested in being notified when ValueChangedEvents occur.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.ValueChangedListener
-
-
-
-
-
- 1657
- if listener is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.event.ValueChangedListener
-
- java.lang.NullPointerException
-
-
-
-
- 1658
- Set the previous value of this UIInput component. This method should only be utilized by the decode() method of this component, or its corresponding jakarta.faces.render.Renderer.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- java.lang.Object
-
-
-
-
-
- 1659
- Perform the following algorithm to update the model data associated with this UIInput, if any, as appropriate. If the valid property of this component is false, take no further action. If the valueRef property of this component is null, take no further action. Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the setValue() method of the ValueBinding to update the value that the value reference expression points at. If the setValue() method returns successfully: Clear the local value of this UIInput. Set the valid property of this UIInput to true. If the setValue() method call fails: Enqueue error messages by calling addMessage() on the specified FacesContext instance. Set the valid property of this UIInput to false.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1660
- if the valueRef property has invalid syntax for an expression
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1661
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1662
- Perform validations and, if validation is successful, and the local value is different from the previous value, queue a ValueChangedEvent to be processed later.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1663
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIInput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1664
- Evaluate and return the current value of this component, according to the following algorithm. If the value property has been set (containing the local value for this component), return that; else If the valueRef property has been set, Retrieve the Application instance for this web application from ApplicationFactory. Ask it for a ValueBinding for the valueRef expression. Use the getValue() method of the ValueBinding to retrieve the value that the value reference expression points at. Otherwise, return null.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1665
- if a problem occurs evaluating the value reference expression
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- EvaluationException
-
-
-
-
- 1666
- if context is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIOutput}
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1667
- Return the component type of this UIComponent.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1668
- Return the local value of this UIInput component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1669
- Return the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIOutput}
-
-
-
-
- 1670
- Set the local value of this UIInput component.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIOutput}
-
-
- java.lang.Object
-
-
-
-
-
- 1671
- Set the value reference expression for this UIInput component, pointing at the model tier property that will be updated or rendered.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UIOutput}
-
-
- java.lang.String
-
-
-
-
-
- 1672
- Add the specified UIComponent to the namespace of this naming container.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1673
- if the specified component does not have a componentId
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1674
- if the component identifier of the specified component is not unique within the namespace of this naming container
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalStateException
-
-
-
-
- 1675
- if component is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1676
- Find and return a UIComponent in this namespace, if it is present; otherwise return null. If the argument name does not contain any UIComponent#SEPARATOR_CHAR characters, it is interpreted to be a name in the namespace of this naming container. If the argument name does contain UIComponent#SEPARATOR_CHAR characters, each segment between UIComponent#SEPARATOR_CHAR is treated as a component identifier in its own namespace, which are searched for in child naming containers of this naming container, from left to right.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
- java.lang.String
-
-
-
-
-
- 1677
- if name is malformed
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1678
- if name is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1679
- Generate an identifier for a component, suitable for communication to a client. The identifier returned from this method must be unique within this namespace.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
-
-
- 1680
- Remove the specified UIComponent from the namespace of this naming container, if it is present.
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1681
- if the specified component does not have a componentId
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1682
- if component is null
- jakarta.faces.component
- UISelectOne.{jakarta.faces.component.UISelectBase}
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1683
- Append a FacesEvent to the set of events that should be processed at the end of the current phase of the request processing lifecycle.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
-
- 1684
- if event is null
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.event.FacesEvent
-
- java.lang.NullPointerException
-
-
-
-
- 1685
- Append a Message to the set of messages associated with the specified UIComponent, if component is not null. If component is null, this Message is assumed to not be associated with any specific component instance.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.component.UIComponent
- jakarta.faces.context.Message
-
-
-
-
-
- 1686
- if message is null
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.component.UIComponent
- jakarta.faces.context.Message
-
- java.lang.NullPointerException
-
-
-
-
- 1689
- Return an Iterator over the FacesEvents that have been queued, in the order that they were queued. The Iterator returned by this method must support the following functionality: The remove() operation may be utilized by the JSF implementation to remove the current event when it has been completely handled. Event handlers may add new events to the list while it is being iterated over, by calling addFacesEvent(). If no events have been queued, an empty Iterator must be returned.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1690
- Return the HttpSession instance for the session associated with the current request (if any); otherwise, return null.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1691
- Return the Locale to be used in localizing the response being created for this FacesContext.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1692
- Return the maximum severity level recorded on any Messages that has been queued, whether or not they are associated with any specific UIComponent. If no such messages have been queued, return a value less than Message.SEVERITY_INFO.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1694
- Return an Iterator over the Messages that have been queued that are associated with the specified UIComponent, (if component is not null), or over the Messages that have been queued that are not associated with any specific UIComponent (if component is null). If no such messages have been queued, return an empty Iterator.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1697
- Return the ServletContext object for the web application associated with this request.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1698
- Return the ServletRequest object representing the current request that is being processed.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1699
- Return the ServletResponse object representing the current response that is being rendered.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1700
- Return the component Tree that is associated with the this request.
- jakarta.faces.context
- FacesContext
-
-
-
-
- 1704
- Set the Locale to be used in localizing the response being created for this FacesContext. If not set, the default Locale for our servlet container will be used.
- jakarta.faces.context
- FacesContext
-
-
- java.util.Locale
-
-
-
-
-
- 1706
- if responseStream is null
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.context.ResponseStream
-
- java.lang.NullPointerException
-
-
-
-
- 1708
- if responseWriter is null
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.context.ResponseWriter
-
- java.lang.NullPointerException
-
-
-
-
- 1709
- Set the component Tree that is associated with this request. This method can only be called by the application handler (or a class that the handler calls), and only during the Invoke Application phase of the request processing lifecycle.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.tree.Tree
-
-
-
-
-
- 1710
- if this method is called more than once without a call to release() in beween
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.tree.Tree
-
- java.lang.IllegalStateException
-
-
-
-
- 1711
- if tree is null
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.tree.Tree
-
- java.lang.NullPointerException
-
-
-
-
- 1713
- Create (if needed) and return a FacesContext instance that is initialized for the processing of the specified request and response objects, utilizing the specified Lifecycle instance, for this web application.
- jakarta.faces.context
- FacesContextFactory
-
-
- ServletContext
- ServletRequest
- ServletResponse
- jakarta.faces.lifecycle.Lifecycle
-
-
-
-
-
- 1714
- if a FacesContext cannot be constructed for the specified parameters
- jakarta.faces.context
- FacesContextFactory
-
-
- ServletContext
- ServletRequest
- ServletResponse
- jakarta.faces.lifecycle.Lifecycle
-
- jakarta.faces.FacesException
-
-
-
-
- 1715
- if any of the parameters are null
- jakarta.faces.context
- FacesContextFactory
-
-
- ServletContext
- ServletRequest
- ServletResponse
- jakarta.faces.lifecycle.Lifecycle
-
- java.lang.NullPointerException
-
-
-
-
- 1716
- Return the localized detail text for this Message (if any). This should be additional text that can help the user understand the context of the problem, and offer suggestions for approaches to correcting it.
- jakarta.faces.context
- Message
-
-
-
-
- 1717
- Return the severity level of this Message.
- jakarta.faces.context
- Message
-
-
-
-
- 1718
- Return the localized summary text for this Message. This should be the text that would normally be displayed to a user to identify the problem that needs to be corrected.
- jakarta.faces.context
- Message
-
-
-
-
- 1719
- Return the localized detail text for this Message (if any). This should be additional text that can help the user understand the context of the problem, and offer suggestions for approaches to correcting it.
- jakarta.faces.context
- MessageImpl
-
-
-
-
- 1720
- Return the severity level of this Message.
- jakarta.faces.context
- MessageImpl
-
-
-
-
- 1721
- Return the localized summary text for this Message. This should be the text that would normally be displayed to a user to identify the problem that needs to be corrected.
- jakarta.faces.context
- MessageImpl
-
-
-
-
- 1722
- Construct a new Message with no initial values.
- jakarta.faces.context
- MessageImpl
-
-
-
-
- 1723
- Construct a new Message with the specified initial values.
- jakarta.faces.context
- MessageImpl
-
-
- int
- java.lang.String
- java.lang.String
-
-
-
-
-
- 1724
- Set the localized detail text.
- jakarta.faces.context
- MessageImpl
-
-
- java.lang.String
-
-
-
-
-
- 1725
- Set the severity level.
- jakarta.faces.context
- MessageImpl
-
-
- int
-
-
-
-
-
- 1726
- if the specified severity level is not one of the supported values
- jakarta.faces.context
- MessageImpl
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1727
- Set the localized summary text.
- jakarta.faces.context
- MessageImpl
-
-
- java.lang.String
-
-
-
-
-
- 1728
- Return a localized Message instance corresponding to the specified parameters, or null if the specified message identifier is not supported by the MessageResources instance.
- jakarta.faces.context
- MessageResources
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- 1729
- if context or messageId is null
- jakarta.faces.context
- MessageResources
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1730
- Return a localized Message instance corresponding to the specified parameters, or null if the specified message identifier is not supported by the MessageResources instance.
- jakarta.faces.context
- MessageResources
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Object[]
-
-
-
-
-
- 1731
- if context or messageId is null
- jakarta.faces.context
- MessageResources
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Object[]
-
- java.lang.NullPointerException
-
-
-
-
- 1732
- Return a localized Message instance corresponding to the specified parameters, or null if the specified message identifier is not supported by the MessageResources instance.
- jakarta.faces.context
- MessageResources
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 1733
- if context or messageId is null
- jakarta.faces.context
- MessageResources
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1734
- Return a localized Message instance corresponding to the specified parameters, or null if the specified message identifier is not supported by the MessageResources instance.
- jakarta.faces.context
- MessageResources
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Object
- java.lang.Object
-
-
-
-
-
- 1735
- if context or messageId is null
- jakarta.faces.context
- MessageResources
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Object
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1736
- Return a localized Message instance corresponding to the specified parameters, or null if the specified message identifier is not supported by the MessageResources instance.
- jakarta.faces.context
- MessageResources
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Object
- java.lang.Object
- java.lang.Object
-
-
-
-
-
- 1737
- if context or messageId is null
- jakarta.faces.context
- MessageResources
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Object
- java.lang.Object
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1738
- Return a localized Message instance corresponding to the specified parameters, or null if the specified message identifier is not supported by the MessageResources instance.
- jakarta.faces.context
- MessageResources
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Object
- java.lang.Object
- java.lang.Object
- java.lang.Object
-
-
-
-
-
- 1739
- if context or messageId is null
- jakarta.faces.context
- MessageResources
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Object
- java.lang.Object
- java.lang.Object
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1740
-
- jakarta.faces.context
- MessageResources
-
-
-
-
- 1741
- Register a new MessageResources instance, associated with the specified messageResourcesId, to be supported by this MessageResourcesFactory. This method may be called at any time, and makes the corresponding MessageResources instance available throughout the remaining lifetime of this web application.
- jakarta.faces.context
- MessageResourcesFactory
-
-
- java.lang.String
- jakarta.faces.context.MessageResources
-
-
-
-
-
- 1742
- if messageResourcesId is already registered in this MessageResourcesFactory
- jakarta.faces.context
- MessageResourcesFactory
-
-
- java.lang.String
- jakarta.faces.context.MessageResources
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1743
- if messageResourcesId or messageResources is null
- jakarta.faces.context
- MessageResourcesFactory
-
-
- java.lang.String
- jakarta.faces.context.MessageResources
-
- java.lang.NullPointerException
-
-
-
-
- 1744
- Create (if needed) and return a MessageResources instance for the specified message resources identifier. The set of available message resources identifiers is available via the getMessageResourcesIds() method. Each call to getMessageResources() for the same messageResourcesId, from within the same web application, must return the same MessageResources instance.
- jakarta.faces.context
- MessageResourcesFactory
-
-
- java.lang.String
-
-
-
-
-
- 1745
- if no MessageResources instance can be returned for the specified identifier
- jakarta.faces.context
- MessageResourcesFactory
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1746
- if messageResourcesId is null
- jakarta.faces.context
- MessageResourcesFactory
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1747
- Return an Iterator over the set of message resource identifiers supported by this factory. This Iterator must include the standard identifiers described above.
- jakarta.faces.context
- MessageResourcesFactory
-
-
-
-
- 1748
-
- jakarta.faces.context
- MessageResourcesFactory
-
-
-
-
- 1750
-
- jakarta.faces.context
- ResponseStream.{java.io.OutputStream}
-
-
-
-
- 1751
-
- jakarta.faces.context
- ResponseStream.{java.io.OutputStream}
-
- java.io.IOException
-
-
-
-
- 1752
-
- jakarta.faces.context
- ResponseStream.{java.io.OutputStream}
-
-
-
-
- 1753
-
- jakarta.faces.context
- ResponseStream.{java.io.OutputStream}
-
- java.io.IOException
-
-
-
-
- 1754
-
- jakarta.faces.context
- ResponseStream.{java.io.OutputStream}
-
-
- int
-
-
-
-
-
- 1755
-
- jakarta.faces.context
- ResponseStream.{java.io.OutputStream}
-
-
- int
-
- java.io.IOException
-
-
-
-
- 1756
-
- jakarta.faces.context
- ResponseStream.{java.io.OutputStream}
-
-
- byte[]
-
-
-
-
-
- 1757
-
- jakarta.faces.context
- ResponseStream.{java.io.OutputStream}
-
-
- byte[]
-
- java.io.IOException
-
-
-
-
- 1758
-
- jakarta.faces.context
- ResponseStream.{java.io.OutputStream}
-
-
- byte[]
- int
- int
-
-
-
-
-
- 1759
-
- jakarta.faces.context
- ResponseStream.{java.io.OutputStream}
-
-
- byte[]
- int
- int
-
- java.io.IOException
-
-
-
-
- 1764
- if name is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1768
- Write the start of an element, up to and including the element name. Once this method has been called, clients can call writeAttribute() or writeURIAttribute() method to add attributes and corresponding values. The starting element will be closed (that is, the trailing '>' character added) on any subsequent call to startElement(), writeComment(), writeText(), endElement(), or endDocument().
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
-
-
-
-
- 1769
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- 1770
- if name is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1771
- Write an attribute name and corresponding value (after converting that text to a String if necessary), after escaping it properly. This method may only be called after a call to startElement(), and before the opened element has been closed.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 1772
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- 1773
- if this method is called when there is no currently open element
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalStateException
-
-
-
-
- 1774
- if name or value is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1777
- if comment is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1778
- Write an object (after converting it to a String, if necessary), after escaping it properly. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
-
-
-
-
-
- 1779
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- 1780
- if text is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1781
- Write a single character, after escaping it properly. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
- char
-
-
-
-
-
- 1782
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- char
-
- java.io.IOException
-
-
-
-
- 1783
- Write text from a character array, after escaping it properly. This is equivalent to calling writeText(c, 0, c.length). If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
- char[]
-
-
-
-
-
- 1784
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- char[]
-
- java.io.IOException
-
-
-
-
- 1785
- if text is null
- jakarta.faces.context
- ResponseWriter
-
-
- char[]
-
- java.lang.NullPointerException
-
-
-
-
- 1788
- if the calculated starting or ending position is outside the bounds of the character array
- jakarta.faces.context
- ResponseWriter
-
-
- char[]
- int
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1789
- if text is null
- jakarta.faces.context
- ResponseWriter
-
-
- char[]
- int
- int
-
- java.lang.NullPointerException
-
-
-
-
- 1790
- Write a URI attribute name and corresponding value (after converting that text to a String if necessary), after encoding it properly (for example, '%' encoded for HTML). This method may only be called after a call to startElement(), and before the opened element has been closed.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 1791
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- 1792
- if this method is called when there is no currently open element
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalStateException
-
-
-
-
- 1793
- if name or value is null
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1794
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
-
-
-
- 1795
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
- java.io.IOException
-
-
-
-
- 1796
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
-
-
-
- 1797
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
- java.io.IOException
-
-
-
-
- 1798
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
-
- int
-
-
-
-
-
- 1799
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
-
- int
-
- java.io.IOException
-
-
-
-
- 1800
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
-
- char[]
-
-
-
-
-
- 1801
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
-
- char[]
-
- java.io.IOException
-
-
-
-
- 1802
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
-
- char[]
- int
- int
-
-
-
-
-
- 1803
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
-
- char[]
- int
- int
-
- java.io.IOException
-
-
-
-
- 1804
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
-
- java.lang.String
-
-
-
-
-
- 1805
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- 1806
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
-
- java.lang.String
- int
- int
-
-
-
-
-
- 1807
-
- jakarta.faces.context
- ResponseWriter.{java.io.Writer}
-
-
- java.lang.String
- int
- int
-
- java.io.IOException
-
-
-
-
- 1809
- if conversion cannot be successfully performed
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- jakarta.faces.convert.ConverterException
-
-
-
-
- 1810
- if context or component is null
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1812
- if conversion cannot be successfully performed
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
-
- 1813
- if context or component is null
- jakarta.faces.convert
- Converter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1818
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
- jakarta.faces.convert
- ConverterException.{jakarta.faces.FacesException}
-
-
-
-
- 1819
- Register a new Converter instance with the specified converterId, to be supported by this ConverterFactory. This method may be called at any time, and makes the corresponding Converter instance available throughout the remaining lifetime of this web application.
- jakarta.faces.convert
- ConverterFactory
-
-
- java.lang.String
- jakarta.faces.convert.Converter
-
-
-
-
-
- 1820
- if a Converter with the specified converterId has already been registered
- jakarta.faces.convert
- ConverterFactory
-
-
- java.lang.String
- jakarta.faces.convert.Converter
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1821
- if converterId or converter is null
- jakarta.faces.convert
- ConverterFactory
-
-
- java.lang.String
- jakarta.faces.convert.Converter
-
- java.lang.NullPointerException
-
-
-
-
- 1822
- Register a new Converter instance that knows how to perform conversions to and from the specified object class. This method may be called at any time, and makes the corresponding Converter instance available throughout the remaining lifetime of this web application.
- jakarta.faces.convert
- ConverterFactory
-
-
- java.lang.Class
- jakarta.faces.convert.Converter
-
-
-
-
-
- 1823
- if clazz or converter is null
- jakarta.faces.convert
- ConverterFactory
-
-
- java.lang.Class
- jakarta.faces.convert.Converter
-
- java.lang.NullPointerException
-
-
-
-
- 1824
-
- jakarta.faces.convert
- ConverterFactory
-
-
-
-
- 1825
- Create (if needed) and return a Converter instance that may be used to perform Object-to-String and String-to-Object conversions for objects of the specified class. A search of the registered Converters is performed in the following order: An exact match on the original class. An exact match on one of the interfaces directly implemented by the original class, checked in the order they are returned by Class.getInterfaces(). Recursively for each superclass of the original class: An exact match on this superclass. An exact match on one of the interfaces directly implemented by this superclass. If a Converter is discovered during the search described above, it is returned; otherwise null is returned. Each call to getConverter() for the same clazz, from within the same web application, must return the same Converter instance.
- jakarta.faces.convert
- ConverterFactory
-
-
- java.lang.Class
-
-
-
-
-
- 1826
- if clazz is null
- jakarta.faces.convert
- ConverterFactory
-
-
- java.lang.Class
-
- java.lang.NullPointerException
-
-
-
-
- 1827
- Create (if needed) and return a Converter instance that may be used to perform Object-to-String and String-to-Object conversions for web applications based on JavaServer Faces. The set of available converter identifiers is available via the getConverterIds() method. If no Converter has been registered for the specified converter identifier, return null. Each call to getConverter() for the same converterId, from within the same web application, must return the same Converter instance.
- jakarta.faces.convert
- ConverterFactory
-
-
- java.lang.String
-
-
-
-
-
- 1828
- if converterId is null
- jakarta.faces.convert
- ConverterFactory
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1829
- Return an Iterator over the set of classes for which we have registered Converters in this factory.
- jakarta.faces.convert
- ConverterFactory
-
-
-
-
- 1830
- Return an Iterator over the set of converter identifiers supported by this factory.
- jakarta.faces.convert
- ConverterFactory
-
-
-
-
- 1831
- Construct a new exception with no detail message or root cause.
- jakarta.faces.el
- EvaluationException
-
-
-
-
- 1832
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.el
- EvaluationException
-
-
- java.lang.String
-
-
-
-
-
- 1833
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.el
- EvaluationException
-
-
- java.lang.Throwable
-
-
-
-
-
- 1834
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.el
- EvaluationException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
-
- 1835
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
- jakarta.faces.el
- EvaluationException.{jakarta.faces.FacesException}
-
-
-
-
- 1836
- Construct a new exception with no detail message or root cause.
- jakarta.faces.el
- PropertyNotFoundException
-
-
-
-
- 1837
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.el
- PropertyNotFoundException
-
-
- java.lang.String
-
-
-
-
-
- 1838
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.el
- PropertyNotFoundException
-
-
- java.lang.Throwable
-
-
-
-
-
- 1839
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.el
- PropertyNotFoundException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
-
- 1840
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
- jakarta.faces.el
- PropertyNotFoundException.{jakarta.faces.FacesException}
-
-
-
-
- 1841
- Return the java.lang.Class representing the type of the specified property of the specified base object, if it can be determined; otherwise return null.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.String
-
-
-
-
-
- 1842
- if the specified property name does not exist
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.String
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
-
- 1843
- if base or name is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1844
- Return the java.lang.Class representing the type of value at the specified index of the specified base object, or null if this value is null.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
-
-
-
-
- 1845
- if some other exception occurs
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
-
- 1846
- if thrown by the underlying accessed to the indexed property
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1847
- if base is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- java.lang.NullPointerException
-
-
-
-
- 1848
- Return the value of the property with the specified name from the specified base object.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.String
-
-
-
-
-
- 1849
- if the specified property name does not exist, or is not readable
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.String
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
-
- 1850
- if base or name is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1851
- Return the value at the specified index of the specified base object.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
-
-
-
-
- 1852
- if some other exception occurs
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
-
- 1853
- if thrown by the underlying access to the base object
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1854
- if base is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- java.lang.NullPointerException
-
-
-
-
- 1855
- Return true if the specified property of the specified base object is known to be immutable; otherwise, return false.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.String
-
-
-
-
-
- 1856
- if the specified property name does not exist
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.String
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
-
- 1857
- if base or name is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1858
- Return true if the value at the specified index of the specified base object is known to be immutable; otherwise, return false.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
-
-
-
-
- 1859
- if some other exception occurs
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
-
- 1860
- if thrown by the underlying accessed to the indexed property
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1861
- if base is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
-
- java.lang.NullPointerException
-
-
-
-
- 1862
-
- jakarta.faces.el
- PropertyResolver
-
-
-
-
- 1863
- Set the specified value of the property with the specified name on the specified base object.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 1864
- if the specified property name does not exist, or is not writeable
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.String
- java.lang.Object
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
-
- 1865
- if base or name is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1866
- Set the value at the specified index of the specified base object.
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
- java.lang.Object
-
-
-
-
-
- 1867
- if some other exception occurs
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
- java.lang.Object
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
-
- 1868
- if thrown by the underlying access to the base object
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
- java.lang.Object
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 1869
- if base is null
- jakarta.faces.el
- PropertyResolver
-
-
- java.lang.Object
- int
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1870
- Construct a new exception with no detail message or root cause.
- jakarta.faces.el
- ReferenceSyntaxException
-
-
-
-
- 1871
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.el
- ReferenceSyntaxException
-
-
- java.lang.String
-
-
-
-
-
- 1872
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.el
- ReferenceSyntaxException
-
-
- java.lang.Throwable
-
-
-
-
-
- 1873
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.el
- ReferenceSyntaxException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
-
- 1874
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
- jakarta.faces.el
- ReferenceSyntaxException.{jakarta.faces.FacesException}
-
-
-
-
- 1875
- Return the type of the property represented by this ValueBinding, relative to the specified FacesContext.
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1876
- if the specified property name does not exist, or is not writeable
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
-
- 1877
- if context is null
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1878
- Return the value of the property represented by this ValueBinding, relative to the specified FacesContext.
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1879
- if the specified property name does not exist, or is not readable
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
-
- 1880
- if context is null
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1881
- Return true if the specified property of the specified property is known to be immutable; otherwise, return false.
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1882
- if the specified property name does not exist
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
-
- 1883
- if context is null
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1884
- Set the value of the property represented by this ValueBinding, relative to the specified FacesContext.
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- 1885
- if the specified property name does not exist, or is not writeable
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- jakarta.faces.el.PropertyNotFoundException
-
-
-
-
- 1886
- if context is null
- jakarta.faces.el
- ValueBinding
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 1887
-
- jakarta.faces.el
- ValueBinding
-
-
-
-
- 1888
- Resolve the specified variable name, and return the corresponding object, if any; otherwise, return null.
- jakarta.faces.el
- VariableResolver
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- 1889
- if context or name is null
- jakarta.faces.el
- VariableResolver
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1890
-
- jakarta.faces.el
- VariableResolver
-
-
-
-
- 1892
- Return the cause of this exception, or null if the cause is nonexistent or unknown.
- jakarta.faces.event
- AbortProcessingException.{jakarta.faces.FacesException}
-
-
-
-
- 1893
- Construct a new event object from the specified source component and action command.
- jakarta.faces.event
- ActionEvent
-
-
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- 1894
- Return the String identifying the command that was activated.
- jakarta.faces.event
- ActionEvent
-
-
-
-
- 1895
- Return the source UIComponent that sent this event.
- jakarta.faces.event
- ActionEvent.{jakarta.faces.event.FacesEvent}
-
-
-
-
- 1898
- Return the identifier of the request processing phase during which this listener is interested in processing events of the type we are supporting. Legal values are the singleton instances defined by the PhaseId class. FacesListener instances should generally return PhaseId.ANY_PHASE to be notified about events no matter what the current request processing phase is.
- jakarta.faces.event
- ActionListener.{jakarta.faces.event.FacesListener}
-
-
-
-
- 1901
- Return the identifier of the request processing phase during which this listener is interested in processing events of the type we are supporting. Legal values are the singleton instances defined by the PhaseId class. FacesListener instances should generally return PhaseId.ANY_PHASE to be notified about events no matter what the current request processing phase is.
- jakarta.faces.event
- FacesListener
-
-
-
-
- 1905
- Return the current local value of the source UIComponent.
- jakarta.faces.event
- ValueChangedEvent
-
-
-
-
- 1906
- Return the previous local value of the source UIComponent.
- jakarta.faces.event
- ValueChangedEvent
-
-
-
-
- 1907
- Construct a new event object from the specified source component, old value, and new value.
- jakarta.faces.event
- ValueChangedEvent
-
-
- jakarta.faces.component.UIComponent
- java.lang.Object
- java.lang.Object
-
-
-
-
-
- 1908
- Return the source UIComponent that sent this event.
- jakarta.faces.event
- ValueChangedEvent.{jakarta.faces.event.FacesEvent}
-
-
-
-
- 1909
- Invoked when the value change described by the specified ValueChangedEvent occurs.
- jakarta.faces.event
- ValueChangedListener
-
-
- jakarta.faces.event.ValueChangedEvent
-
-
-
-
-
- 1910
- Signal the JavaServer Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- ValueChangedListener
-
-
- jakarta.faces.event.ValueChangedEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- 1911
- Return the identifier of the request processing phase during which this listener is interested in processing events of the type we are supporting. Legal values are the singleton instances defined by the PhaseId class. FacesListener instances should generally return PhaseId.ANY_PHASE to be notified about events no matter what the current request processing phase is.
- jakarta.faces.event
- ValueChangedListener.{jakarta.faces.event.FacesListener}
-
-
-
-
- 1914
- if context is null
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1915
- Return the ViewHandler instance that will be utilized during the Render Response phase of the request processing lifecycle.
- jakarta.faces.lifecycle
- Lifecycle
-
-
-
-
- 1917
- Set the ViewHandler instance that will be utilized during the Render Response phase of the request processing lifecycle.
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.lifecycle.ViewHandler
-
-
-
-
-
- 1918
- if this method is called after at least one request has been processed by this Lifecycle instance
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.lifecycle.ViewHandler
-
- java.lang.IllegalStateException
-
-
-
-
- 1919
- if handler is null
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.lifecycle.ViewHandler
-
- java.lang.NullPointerException
-
-
-
-
- 1921
- if a Lifecycle with the specified lifecycleId has already been registered
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- java.lang.String
- jakarta.faces.lifecycle.Lifecycle
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1922
- if lifecycleId or lifecycle is null
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- java.lang.String
- jakarta.faces.lifecycle.Lifecycle
-
- java.lang.NullPointerException
-
-
-
-
- 1924
- if no Lifecycle instance can be returned for the specified identifier
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1925
- if lifecycleId is null
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1928
- Perform whatever actions are required to render the response component tree to the ServletResponse associated with the specified FacesContext.
- jakarta.faces.lifecycle
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1929
- if an input/output error occurs
- jakarta.faces.lifecycle
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- 1930
- if a servlet error occurs
- jakarta.faces.lifecycle
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
- ServletException
-
-
-
-
- 1931
- if context is null
- jakarta.faces.lifecycle
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1933
- if an input/output error occurs while decoding
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- 1934
- if context or component is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1937
- if context or component is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1940
- if context or component is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1943
- if context or component is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1944
- Return an AttributeDescriptor for the specified attribute name, as supported for the specified component class.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- 1945
- if the specified component class is not supported
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1946
- if the specified attribute name is not supported for the specified component class
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1947
- if component or name is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1948
- Return an AttributeDescriptor for the specified attribute name, as supported for the specified component type.
- jakarta.faces.render
- Renderer
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- 1949
- if the specified component type is not supported
- jakarta.faces.render
- Renderer
-
-
- java.lang.String
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1950
- if the specified attribute name is not supported for the specified component type
- jakarta.faces.render
- Renderer
-
-
- java.lang.String
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1951
- if type or name is null
- jakarta.faces.render
- Renderer
-
-
- java.lang.String
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1952
- Return an Iterator over the names of the supported attributes for the specified UIComponent implementation class. If no attributes are supported, an empty Iterator is returned.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1953
- if the specified component class is not supported
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1954
- if component is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1955
- Return an Iterator over the names of the supported attributes for the specified component type. If no attributes are supported, an empty Iterator is returned.
- jakarta.faces.render
- Renderer
-
-
- java.lang.String
-
-
-
-
-
- 1956
- if the specified component type is not supported
- jakarta.faces.render
- Renderer
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1957
- if type is null
- jakarta.faces.render
- Renderer
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1958
- Generate and return a new client-side identifier for the specified component.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1959
- if context or component is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1961
- Return true if this Renderer supports components of the specified UIComponent class.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1962
- if component is null
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1963
- Return true if this Renderer supports components of the specified type. This is matched against the type property of each UIComponent to determine compatibility.
- jakarta.faces.render
- Renderer
-
-
- java.lang.String
-
-
-
-
-
- 1964
- if componentType is null
- jakarta.faces.render
- Renderer
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1965
- Add a new UIComponent subclass to the set of component classes registered with this RenderKit instance and supported by its constituent Renderers.
- jakarta.faces.render
- RenderKit
-
-
- java.lang.Class
-
-
-
-
-
- 1966
- if componentClass is not a UIComponent subclass
- jakarta.faces.render
- RenderKit
-
-
- java.lang.Class
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1967
- if componentClass is null
- jakarta.faces.render
- RenderKit
-
-
- java.lang.Class
-
- java.lang.NullPointerException
-
-
-
-
- 1968
- Add a new Renderer instance, associated with the specified rendererType, to the set of Renderers registered with this RenderKit.
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
- jakarta.faces.render.Renderer
-
-
-
-
-
- 1969
- if a Renderer with the specified rendererType has already been registered
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
- jakarta.faces.render.Renderer
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1970
- if rendererType or renderer is null
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
- jakarta.faces.render.Renderer
-
- java.lang.NullPointerException
-
-
-
-
- 1971
- Return an Iterator of the UIComponent classes that are registered with this RenderKit instance and supported by its constituent Renderers. If there are no such registered component classes, an empty Iterator is returned.
- jakarta.faces.render
- RenderKit
-
-
-
-
- 1972
- Create (if necessary) and return a Renderer instance with the specified renderer type. Subsequent calls to this method with the same rendererType, from the same web application, must return the same instance.
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
-
-
-
-
-
- 1973
- if the requested renderer type is not supported by this RenderKit
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1974
- if rendererType is null
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1975
- Return an Iterator of all the renderer types registered with this RenderKit.
- jakarta.faces.render
- RenderKit
-
-
-
-
- 1977
- if componentType is null
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1978
- Return an Iterator of the renderer types of all Renderer instances registered with this RenderKit that support components of the specified UIComponent subclass. If no Renderers support this component class, an empty Iterator is returned.
- jakarta.faces.render
- RenderKit
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 1979
- if component is null
- jakarta.faces.render
- RenderKit
-
-
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 1982
- if a RenderKit with the specified renderKitId has already been registered
- jakarta.faces.render
- RenderKitFactory
-
-
- java.lang.String
- jakarta.faces.render.RenderKit
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1983
- if renderKitId or renderKit is null
- jakarta.faces.render
- RenderKitFactory
-
-
- java.lang.String
- jakarta.faces.render.RenderKit
-
- java.lang.NullPointerException
-
-
-
-
- 1984
- Create (if needed) and return a RenderKit instance for the specified render kit identifier. The set of available render kit identifiers is available via the getRenderKitIds() method. Each call to getRenderKit() for the same renderKitId, from within the same web application, must return the same RenderKit instance.
- jakarta.faces.render
- RenderKitFactory
-
-
- java.lang.String
-
-
-
-
-
- 1985
- if no RenderKit instance can be returned for the specified identifier
- jakarta.faces.render
- RenderKitFactory
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1986
- if renderKitId is null
- jakarta.faces.render
- RenderKitFactory
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 1987
- Create (if needed) and return a RenderKit instance for the specified render kit identifier, possibly customized based on dynamic characteristics of the specified FacesContext. The set of available render kit identifiers is available via the getRenderKitIds() method.
- jakarta.faces.render
- RenderKitFactory
-
-
- java.lang.String
- jakarta.faces.context.FacesContext
-
-
-
-
-
- 1988
- if no RenderKit instance can be returned for the specified identifier
- jakarta.faces.render
- RenderKitFactory
-
-
- java.lang.String
- jakarta.faces.context.FacesContext
-
- java.lang.IllegalArgumentException
-
-
-
-
- 1989
- if renderKitId or context is null
- jakarta.faces.render
- RenderKitFactory
-
-
- java.lang.String
- jakarta.faces.context.FacesContext
-
- java.lang.NullPointerException
-
-
-
-
- 1992
- Return the render kit identifier of the RenderKit instance (if any) associated with this Tree.
- jakarta.faces.tree
- Tree
-
-
-
-
- 1993
- Return the root node of the component tree associated with this Tree.
- jakarta.faces.tree
- Tree
-
-
-
-
- 1994
- Return the tree identifier for this Tree.
- jakarta.faces.tree
- Tree
-
-
-
-
- 1995
- Set the render kit identifier of the RenderKit instance (if any) associated with this Tree.
- jakarta.faces.tree
- Tree
-
-
- java.lang.String
-
-
-
-
-
- 1996
-
- jakarta.faces.tree
- Tree
-
-
-
-
- 1997
- Create (if needed) and return a Tree that is initialized with a root node, and whose renderKitId property is initialized to the identifier of the default jakarta.faces.render.RenderKit.
- jakarta.faces.tree
- TreeFactory
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- 1998
- if a Tree cannot be constructed for the specified parameters
- jakarta.faces.tree
- TreeFactory
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
-
- 1999
- if context or treeId is null
- jakarta.faces.tree
- TreeFactory
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 2000
-
- jakarta.faces.tree
- TreeFactory
-
-
-
-
- 2006
- Return a flag indicating whether a maximum limit has been set.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
-
- 2007
- Return a flag indicating whether a minimum limit has been set.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
-
- 2009
- if a specified maximum value is less than a specified minimum value
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- double
-
- java.lang.IllegalArgumentException
-
-
-
-
- 2011
- if a specified maximum value is less than a specified minimum value
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- double
-
- java.lang.IllegalArgumentException
-
-
-
-
- 2012
- Perform the correctness checks implemented by this Validator against the specified UIComponent. If any violations are found: Add zero or more Messages to the specified FacesContext, specifying this UIComponent as associated with the message, describing the nature of the violation(s) encountered. Set the valid property on the specified UIComponent to false.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 2013
- if context or component is null
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 2016
- Return a flag indicating whether a maximum length has been set.
- jakarta.faces.validator
- LengthValidator
-
-
-
-
- 2017
- Return a flag indicating whether a minimum limit has been set.
- jakarta.faces.validator
- LengthValidator
-
-
-
-
- 2022
- if a specified maximum value is less than a specified minimum value
- jakarta.faces.validator
- LengthValidator
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
-
- 2024
- if a specified maximum value is less than a specified minimum value
- jakarta.faces.validator
- LengthValidator
-
-
- int
-
- java.lang.IllegalArgumentException
-
-
-
-
- 2025
- Perform the correctness checks implemented by this Validator against the specified UIComponent. If any violations are found: Add zero or more Messages to the specified FacesContext, specifying this UIComponent as associated with the message, describing the nature of the violation(s) encountered. Set the valid property on the specified UIComponent to false.
- jakarta.faces.validator
- LengthValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 2026
- if context or component is null
- jakarta.faces.validator
- LengthValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 2029
- Return a flag indicating whether a maximum limit has been set.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
-
- 2030
- Return a flag indicating whether a minimum limit has been set.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
-
- 2035
- if a specified maximum value is less than a specified minimum value
- jakarta.faces.validator
- LongRangeValidator
-
-
- long
-
- java.lang.IllegalArgumentException
-
-
-
-
- 2037
- if a specified maximum value is less than a specified minimum value
- jakarta.faces.validator
- LongRangeValidator
-
-
- long
-
- java.lang.IllegalArgumentException
-
-
-
-
- 2038
- Perform the correctness checks implemented by this Validator against the specified UIComponent. If any violations are found: Add zero or more Messages to the specified FacesContext, specifying this UIComponent as associated with the message, describing the nature of the violation(s) encountered. Set the valid property on the specified UIComponent to false.
- jakarta.faces.validator
- LongRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 2039
- if context or component is null
- jakarta.faces.validator
- LongRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 2041
- Perform the correctness checks implemented by this Validator against the specified UIComponent. If any violations are found: Add zero or more Messages to the specified FacesContext, specifying this UIComponent as associated with the message, describing the nature of the violation(s) encountered. Set the valid property on the specified UIComponent to false.
- jakarta.faces.validator
- RequiredValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 2042
- if context or component is null
- jakarta.faces.validator
- RequiredValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 2043
- Return the maximum value to be enforced by this Validator, if isMaximumSet() returns true.
- jakarta.faces.validator
- StringRangeValidator
-
-
-
-
- 2044
- Return the minimum value to be enforced by this Validator, if isMinimumSet() returns true.
- jakarta.faces.validator
- StringRangeValidator
-
-
-
-
- 2045
- Return a flag indicating whether a maximum limit has been set.
- jakarta.faces.validator
- StringRangeValidator
-
-
-
-
- 2046
- Return a flag indicating whether a minimum limit has been set.
- jakarta.faces.validator
- StringRangeValidator
-
-
-
-
- 2047
- Set the maximum value to be enforced by this Validator.
- jakarta.faces.validator
- StringRangeValidator
-
-
- java.lang.String
-
-
-
-
-
- 2048
- if a specified maximum value is less than a specified minimum value
- jakarta.faces.validator
- StringRangeValidator
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 2049
- if maximum is null
- jakarta.faces.validator
- StringRangeValidator
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 2050
- Set the minimum value to be enforced by this Validator.
- jakarta.faces.validator
- StringRangeValidator
-
-
- java.lang.String
-
-
-
-
-
- 2051
- if a specified maximum value is less than a specified minimum value
- jakarta.faces.validator
- StringRangeValidator
-
-
- java.lang.String
-
- java.lang.IllegalArgumentException
-
-
-
-
- 2052
- if minimum is null
- jakarta.faces.validator
- StringRangeValidator
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 2053
- Construct a Validator with no preconfigured limits.
- jakarta.faces.validator
- StringRangeValidator
-
-
-
-
- 2054
- Construct a Validator with the specified preconfigured limit.
- jakarta.faces.validator
- StringRangeValidator
-
-
- java.lang.String
-
-
-
-
-
- 2055
- Construct a Validator with the specified preconfigured limits.
- jakarta.faces.validator
- StringRangeValidator
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- 2056
- Perform the correctness checks implemented by this Validator against the specified UIComponent. If any violations are found: Add zero or more Messages to the specified FacesContext, specifying this UIComponent as associated with the message, describing the nature of the violation(s) encountered. Set the valid property on the specified UIComponent to false.
- jakarta.faces.validator
- StringRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 2057
- if context or component is null
- jakarta.faces.validator
- StringRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 2058
- Perform the correctness checks implemented by this Validator against the specified UIComponent. If any violations are found: Add zero or more Messages to the specified FacesContext, specifying this UIComponent as associated with the message, describing the nature of the violation(s) encountered. Set the valid property on the specified UIComponent to false.
- jakarta.faces.validator
- Validator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- 2059
- if context or component is null
- jakarta.faces.validator
- Validator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.lang.NullPointerException
-
-
-
-
- 2060
-
- jakarta.faces.webapp
- AttributeTag
-
-
-
-
- 2061
- Register the specified attribute name and value with the UIComponent instance associated with our most immediately surrounding FacesTag instance, if this UIComponent does not already have a value for the specified attribute name.
- jakarta.faces.webapp
- AttributeTag
-
-
-
-
- 2062
- if a JSP error occurs
- jakarta.faces.webapp
- AttributeTag
-
- JspException
-
-
-
-
- 2063
- Release references to any acquired resources.
- jakarta.faces.webapp
- AttributeTag
-
-
-
-
- 2064
- Set the attribute name.
- jakarta.faces.webapp
- AttributeTag
-
-
- java.lang.String
-
-
-
-
-
- 2065
- Set the attribute value.
- jakarta.faces.webapp
- AttributeTag
-
-
- java.lang.String
-
-
-
-
-
- 2066
- Handle the ending of the nested body content for this tag. The default implementation simply calls getDoAfterBodyValue() to retrieve the flag value to be returned.
- jakarta.faces.webapp
- FacesBodyTag
-
-
-
-
- 2067
- if an error is encountered
- jakarta.faces.webapp
- FacesBodyTag
-
- JspException
-
-
-
-
- 2068
- Prepare for evaluation of the body. This method is invoked by the JSP page implementation object after setBodyContent() and before the first time the body is to be evaluated. This method will not be invoked for empty tags or for non-empty tags whose doStartTag() method returns SKIP_BODY or EVAL_BODY_INCLUDE.
- jakarta.faces.webapp
- FacesBodyTag
-
-
-
-
- 2069
- if an error is encountered
- jakarta.faces.webapp
- FacesBodyTag
-
- JspException
-
-
-
-
- 2070
-
- jakarta.faces.webapp
- FacesBodyTag
-
-
-
-
- 2071
- Return the BodyContent for this tag handler.
- jakarta.faces.webapp
- FacesBodyTag
-
-
-
-
- 2072
- Get the JspWriter from our BodyContent.
- jakarta.faces.webapp
- FacesBodyTag
-
-
-
-
- 2073
- Release any resources allocated during the execution of this tag handler.
- jakarta.faces.webapp
- FacesBodyTag
-
-
-
-
- 2074
- Set the bodyContent for this tag handler. This method is invoked by the JSP page implementation object at most once per action invocation, before doInitiBody(). This method will not be invoked for empty tags or for non-empty tags whose doStartTag() method returns SKIP_BODY or EVAL_BODY_INCLUDE.
- jakarta.faces.webapp
- FacesBodyTag
-
-
- BodyContent
-
-
-
-
-
- 2075
- Render the ending of the UIComponent that is associated with this tag (via the id attribute), by following these steps. If the rendersChildren property of this component is true, call the encodeChildren() method of the component. Call the encodeEnd() method of the component. Release all references to the component, and pop it from the component stack for this response, removing the stack if this was the outermost component. The flag value to be returned is acquired by calling the getDoEndValue() method, which tag subclasses may override if they do not want the default value.
- jakarta.faces.webapp
- FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-
-
- 2076
- if an error occurs
- jakarta.faces.webapp
- FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
- JspException
-
-
-
-
- 2077
- Render the beginning of the UIComponent that is associated with this tag (via the id attribute), by following these steps. Ensure that an appropriate ResponseWriter is associated with the current FacesContext. This ensures that encoded output from the components is routed through the JspWriter for the current page. Locate the component (in the component tree) corresponding to this tag, creating a new one if necesary. Override the attributes of the associated component with values set in our custom tag attributes, if values for the corresponding attributes are NOT already set on the component. Push this component onto the stack of components corresponding to nested component tags for the current response, creating the stack if necessary. Call the encodeBegin() method of the component. The flag value to be returned is acquired by calling the getDoStartValue() method, which tag subclasses may override if they do not want the default value.
- jakarta.faces.webapp
- FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-
-
- 2078
- if an error occurs
- jakarta.faces.webapp
- FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
- JspException
-
-
-
-
- 2079
- Return the UIComponent instance that is associated with this tag instance. This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.
- jakarta.faces.webapp
- FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-
-
- 2080
- Return true if we dynamically created a new component instance during execution of this tag. This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.
- jakarta.faces.webapp
- FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-
-
- 2081
- Return the Tag that is the parent of this instance.
- jakarta.faces.webapp
- FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-
-
- 2082
- Return the rendererType property that selects the Renderer to be used for encoding this component, or null to ask the component to render itself directly. Subclasses must override this method to return the appropriate value.
- jakarta.faces.webapp
- FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
-
-
- 2083
- Set the component identifier for our component.
- jakarta.faces.webapp
- FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
- java.lang.String
-
-
-
-
-
- 2084
- Set the PageContext of the page containing this tag instance.
- jakarta.faces.webapp
- FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
- PageContext
-
-
-
-
-
- 2085
- Set the Tag that is the parent of this instance. In addition, locate the closest enclosing FacesTag and increment its numChildren counter. Finally, save our childIndex as (enclosingFacesTag.numChildren - 1).
- jakarta.faces.webapp
- FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
- Tag
-
-
-
-
-
- 2086
- Set an override for the rendered attribute.
- jakarta.faces.webapp
- FacesBodyTag.{jakarta.faces.webapp.FacesTag}
-
-
- boolean
-
-
-
-
-
- 2089
- Return the ServletConfig instance for this servlet.
- jakarta.faces.webapp
- FacesServlet
-
-
-
-
- 2091
- Acquire the factory instances we will require.
- jakarta.faces.webapp
- FacesServlet
-
-
- ServletConfig
-
-
-
-
-
- 2092
-
- jakarta.faces.webapp
- FacesServlet
-
-
- ServletConfig
-
- ServletException
-
-
-
-
- 2093
- Process an incoming request, and create the corresponding response, by executing the request processing lifecycle.
- jakarta.faces.webapp
- FacesServlet
-
-
- ServletRequest
- ServletResponse
-
-
-
-
-
- 2094
- if an input/output error occurs during processing
- jakarta.faces.webapp
- FacesServlet
-
-
- ServletRequest
- ServletResponse
-
- java.io.IOException
-
-
-
-
- 2095
- if a servlet error occurs during processing
- jakarta.faces.webapp
- FacesServlet
-
-
- ServletRequest
- ServletResponse
-
- ServletException
-
-
-
-
- 2096
- Render the ending of the UIComponent that is associated with this tag (via the id attribute), by following these steps. If the rendersChildren property of this component is true, call the encodeChildren() method of the component. Call the encodeEnd() method of the component. Release all references to the component, and pop it from the component stack for this response, removing the stack if this was the outermost component. The flag value to be returned is acquired by calling the getDoEndValue() method, which tag subclasses may override if they do not want the default value.
- jakarta.faces.webapp
- FacesTag
-
-
-
-
- 2097
- if an error occurs
- jakarta.faces.webapp
- FacesTag
-
- JspException
-
-
-
-
- 2098
- Render the beginning of the UIComponent that is associated with this tag (via the id attribute), by following these steps. Ensure that an appropriate ResponseWriter is associated with the current FacesContext. This ensures that encoded output from the components is routed through the JspWriter for the current page. Locate the component (in the component tree) corresponding to this tag, creating a new one if necesary. Override the attributes of the associated component with values set in our custom tag attributes, if values for the corresponding attributes are NOT already set on the component. Push this component onto the stack of components corresponding to nested component tags for the current response, creating the stack if necessary. Call the encodeBegin() method of the component. The flag value to be returned is acquired by calling the getDoStartValue() method, which tag subclasses may override if they do not want the default value.
- jakarta.faces.webapp
- FacesTag
-
-
-
-
- 2099
- if an error occurs
- jakarta.faces.webapp
- FacesTag
-
- JspException
-
-
-
-
- 2100
-
- jakarta.faces.webapp
- FacesTag
-
-
-
-
- 2101
- Return the UIComponent instance that is associated with this tag instance. This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.
- jakarta.faces.webapp
- FacesTag
-
-
-
-
- 2102
- Return true if we dynamically created a new component instance during execution of this tag. This method is designed to be used by tags nested within this tag, and only returns useful results between the execution of doStartTag() and doEndTag() on this tag instance.
- jakarta.faces.webapp
- FacesTag
-
-
-
-
- 2103
- Return the Tag that is the parent of this instance.
- jakarta.faces.webapp
- FacesTag
-
-
-
-
- 2104
- Return the rendererType property that selects the Renderer to be used for encoding this component, or null to ask the component to render itself directly. Subclasses must override this method to return the appropriate value.
- jakarta.faces.webapp
- FacesTag
-
-
-
-
- 2105
- Release any resources allocated during the execution of this tag handler.
- jakarta.faces.webapp
- FacesTag
-
-
-
-
- 2106
- Set the component identifier for our component.
- jakarta.faces.webapp
- FacesTag
-
-
- java.lang.String
-
-
-
-
-
- 2107
- Set the PageContext of the page containing this tag instance.
- jakarta.faces.webapp
- FacesTag
-
-
- PageContext
-
-
-
-
-
- 2108
- Set the Tag that is the parent of this instance. In addition, locate the closest enclosing FacesTag and increment its numChildren counter. Finally, save our childIndex as (enclosingFacesTag.numChildren - 1).
- jakarta.faces.webapp
- FacesTag
-
-
- Tag
-
-
-
-
-
- 2109
- Set an override for the rendered attribute.
- jakarta.faces.webapp
- FacesTag
-
-
- boolean
-
-
-
-
-
- 2110
-
- jakarta.faces.webapp
- FacetTag
-
-
-
-
- 2111
-
- jakarta.faces.webapp
- FacetTag
-
- JspException
-
-
-
-
- 2112
-
- jakarta.faces.webapp
- FacetTag
-
-
-
-
- 2113
-
- jakarta.faces.webapp
- FacetTag
-
- JspException
-
-
-
-
- 2114
-
- jakarta.faces.webapp
- FacetTag
-
-
-
-
- 2115
-
- jakarta.faces.webapp
- FacetTag
-
-
-
-
- 2116
-
- jakarta.faces.webapp
- FacetTag
-
-
-
-
- 2117
-
- jakarta.faces.webapp
- FacetTag
-
-
- java.lang.String
-
-
-
-
-
- 2118
- Close the underlying writer.
- jakarta.faces.webapp
- JspResponseWriter
-
-
-
-
- 2119
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter
-
- java.io.IOException
-
-
-
-
- 2120
- Flush the underlying writer's buffer, if any.
- jakarta.faces.webapp
- JspResponseWriter
-
-
-
-
- 2121
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter
-
- java.io.IOException
-
-
-
-
- 2122
- Create a JspResponseWriter that wraps the specified PageContext.
- jakarta.faces.webapp
- JspResponseWriter
-
-
- PageContext
-
-
-
-
-
- 2123
- Write an array of characters.
- jakarta.faces.webapp
- JspResponseWriter
-
-
- char[]
-
-
-
-
-
- 2124
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter
-
-
- char[]
-
- java.io.IOException
-
-
-
-
- 2125
- Write a portion of an array of characters.
- jakarta.faces.webapp
- JspResponseWriter
-
-
- char[]
- int
- int
-
-
-
-
-
- 2126
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter
-
-
- char[]
- int
- int
-
- java.io.IOException
-
-
-
-
- 2127
- Write a single character from the low-order 16 bits of the specified integer.
- jakarta.faces.webapp
- JspResponseWriter
-
-
- int
-
-
-
-
-
- 2128
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter
-
-
- int
-
- java.io.IOException
-
-
-
-
- 2129
- Write a String of characters.
- jakarta.faces.webapp
- JspResponseWriter
-
-
- java.lang.String
-
-
-
-
-
- 2130
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- 2131
- Write a portion of a String of characters.
- jakarta.faces.webapp
- JspResponseWriter
-
-
- java.lang.String
- int
- int
-
-
-
-
-
- 2132
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter
-
-
- java.lang.String
- int
- int
-
- java.io.IOException
-
-
-
-
- 2133
- Write whatever text should end a response. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-
-
- 2134
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
- java.io.IOException
-
-
-
-
- 2135
- Write the end of an element, after closing any open element created by a call to startElement().
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
-
-
-
-
-
- 2136
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- 2137
- if name is null
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 2138
- Write whatever text should begin a response.
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-
-
- 2139
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
- java.io.IOException
-
-
-
-
- 2140
- Write the start of an element, up to and including the element name. Once this method has been called, clients can call writeAttribute() or writeURIAttribute() method to add attributes and corresponding values. The starting element will be closed (that is, the trailing '>' character added) on any subsequent call to startElement(), writeComment(), writeText(), endElement(), or endDocument().
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
-
-
-
-
-
- 2141
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- 2142
- if name is null
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 2143
- Write an attribute name and corresponding value (after converting that text to a String if necessary), after escaping it properly. This method may only be called after a call to startElement(), and before the opened element has been closed.
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 2144
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- 2145
- if this method is called when there is no currently open element
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalStateException
-
-
-
-
- 2146
- if name or value is null
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 2147
- Write a comment containing the specified text, after converting that text to a String if necessary. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.Object
-
-
-
-
-
- 2148
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- 2149
- if comment is null
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 2150
- Write an object (after converting it to a String, if necessary), after escaping it properly. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.Object
-
-
-
-
-
- 2151
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- 2152
- if text is null
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 2153
- Write a single character, after escaping it properly. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char
-
-
-
-
-
- 2154
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char
-
- java.io.IOException
-
-
-
-
- 2155
- Write text from a character array, after escaping it properly. This is equivalent to calling writeText(c, 0, c.length). If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
-
-
-
-
-
- 2156
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
-
- java.io.IOException
-
-
-
-
- 2157
- if text is null
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
-
- java.lang.NullPointerException
-
-
-
-
- 2158
- Write text from a character array, after escaping it properly for this method. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
- int
- int
-
-
-
-
-
- 2159
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
- int
- int
-
- java.io.IOException
-
-
-
-
- 2160
- if the calculated starting or ending position is outside the bounds of the character array
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
- int
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 2161
- if text is null
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
- int
- int
-
- java.lang.NullPointerException
-
-
-
-
- 2162
- Write a URI attribute name and corresponding value (after converting that text to a String if necessary), after encoding it properly (for example, '%' encoded for HTML). This method may only be called after a call to startElement(), and before the opened element has been closed.
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 2163
- if an input/output error occurs
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- 2164
- if this method is called when there is no currently open element
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalStateException
-
-
-
-
- 2165
- if name or value is null
- jakarta.faces.webapp
- JspResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 2166
- Close the underlying writer.
- jakarta.faces.webapp
- ServletResponseWriter
-
-
-
-
- 2167
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter
-
- java.io.IOException
-
-
-
-
- 2168
- Flush the underlying writer's buffer, if any.
- jakarta.faces.webapp
- ServletResponseWriter
-
-
-
-
- 2169
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter
-
- java.io.IOException
-
-
-
-
- 2170
- Create a ServletResponseWriter that wraps the specified PrintWriter.
- jakarta.faces.webapp
- ServletResponseWriter
-
-
- java.io.PrintWriter
-
-
-
-
-
- 2171
- Write an array of characters.
- jakarta.faces.webapp
- ServletResponseWriter
-
-
- char[]
-
-
-
-
-
- 2172
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter
-
-
- char[]
-
- java.io.IOException
-
-
-
-
- 2173
- Write a portion of an array of characters.
- jakarta.faces.webapp
- ServletResponseWriter
-
-
- char[]
- int
- int
-
-
-
-
-
- 2174
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter
-
-
- char[]
- int
- int
-
- java.io.IOException
-
-
-
-
- 2175
- Write a single character from the low-order 16 bits of the specified integer.
- jakarta.faces.webapp
- ServletResponseWriter
-
-
- int
-
-
-
-
-
- 2176
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter
-
-
- int
-
- java.io.IOException
-
-
-
-
- 2177
- Write a String of characters.
- jakarta.faces.webapp
- ServletResponseWriter
-
-
- java.lang.String
-
-
-
-
-
- 2178
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- 2179
- Write a portion of a String of characters.
- jakarta.faces.webapp
- ServletResponseWriter
-
-
- java.lang.String
- int
- int
-
-
-
-
-
- 2180
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter
-
-
- java.lang.String
- int
- int
-
- java.io.IOException
-
-
-
-
- 2181
- Write whatever text should end a response. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-
-
- 2182
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
- java.io.IOException
-
-
-
-
- 2183
- Write the end of an element, after closing any open element created by a call to startElement().
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
-
-
-
-
-
- 2184
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- 2185
- if name is null
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 2186
- Write whatever text should begin a response.
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
-
-
- 2187
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
- java.io.IOException
-
-
-
-
- 2188
- Write the start of an element, up to and including the element name. Once this method has been called, clients can call writeAttribute() or writeURIAttribute() method to add attributes and corresponding values. The starting element will be closed (that is, the trailing '>' character added) on any subsequent call to startElement(), writeComment(), writeText(), endElement(), or endDocument().
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
-
-
-
-
-
- 2189
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- 2190
- if name is null
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
-
- java.lang.NullPointerException
-
-
-
-
- 2191
- Write an attribute name and corresponding value (after converting that text to a String if necessary), after escaping it properly. This method may only be called after a call to startElement(), and before the opened element has been closed.
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 2192
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- 2193
- if this method is called when there is no currently open element
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalStateException
-
-
-
-
- 2194
- if name or value is null
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 2195
- Write a comment containing the specified text, after converting that text to a String if necessary. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.Object
-
-
-
-
-
- 2196
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- 2197
- if comment is null
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 2198
- Write an object (after converting it to a String, if necessary), after escaping it properly. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.Object
-
-
-
-
-
- 2199
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- 2200
- if text is null
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 2201
- Write a single character, after escaping it properly. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char
-
-
-
-
-
- 2202
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char
-
- java.io.IOException
-
-
-
-
- 2203
- Write text from a character array, after escaping it properly. This is equivalent to calling writeText(c, 0, c.length). If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
-
-
-
-
-
- 2204
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
-
- java.io.IOException
-
-
-
-
- 2205
- if text is null
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
-
- java.lang.NullPointerException
-
-
-
-
- 2206
- Write text from a character array, after escaping it properly for this method. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
- int
- int
-
-
-
-
-
- 2207
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
- int
- int
-
- java.io.IOException
-
-
-
-
- 2208
- if the calculated starting or ending position is outside the bounds of the character array
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
- int
- int
-
- java.lang.IndexOutOfBoundsException
-
-
-
-
- 2209
- if text is null
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- char[]
- int
- int
-
- java.lang.NullPointerException
-
-
-
-
- 2210
- Write a URI attribute name and corresponding value (after converting that text to a String if necessary), after encoding it properly (for example, '%' encoded for HTML). This method may only be called after a call to startElement(), and before the opened element has been closed.
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- 2211
- if an input/output error occurs
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- 2212
- if this method is called when there is no currently open element
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.IllegalStateException
-
-
-
-
- 2213
- if name or value is null
- jakarta.faces.webapp
- ServletResponseWriter.{jakarta.faces.webapp.ResponseWriterBase}
-
-
- java.lang.String
- java.lang.Object
-
- java.lang.NullPointerException
-
-
-
-
- 2214
- Create a new instance of the specified Validator class, and register it with the UIComponent instance associated with our most immediately surrounding FacesTag instance, if the UIComponent instance was created by this execution of the containing JSP page.
- jakarta.faces.webapp
- ValidatorTag
-
-
-
-
- 2215
- if a JSP error occurs
- jakarta.faces.webapp
- ValidatorTag
-
- JspException
-
-
-
-
- 2216
- Release references to any acquired resources.
- jakarta.faces.webapp
- ValidatorTag
-
-
-
-
- 2217
- Set the fully qualified class name of the Validator instance to be created.
- jakarta.faces.webapp
- ValidatorTag
-
-
- java.lang.String
-
-
-
-
-
- 2218
-
- jakarta.faces.webapp
- ValidatorTag
-
-
-
-
-
-
-
- JSF:JAVADOC:2219
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces
- FacesWrapper
-
-
-
-
- JSF:JAVADOC:2220
- This method will store the argument factoryName/implName mapping in such a way that #getFactory will find this mapping when searching for a match. This method has no effect if getFactory() has already been called looking for a factory for this factoryName. This method can be used by implementations to store a factory mapping while parsing the Faces configuration file
- jakarta.faces
- FactoryFinder
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2221
-
- jakarta.faces.annotation
- ApplicationMap.Literal
-
-
-
-
- JSF:JAVADOC:2222
- The value of this attribute indicates that features corresponding to this version must be enabled for this application.
- jakarta.faces.annotation
- FacesConfig
-
-
-
-
- JSF:JAVADOC:2223
-
- jakarta.faces.annotation
- FacesConfig.Literal
-
-
-
-
- JSF:JAVADOC:2224
- The value of this attribute indicates that features corresponding to this version must be enabled for this application.
- jakarta.faces.annotation
- FacesConfig.Literal
-
-
-
-
- JSF:JAVADOC:2225
-
- jakarta.faces.annotation
- FacesConfig.Version
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2226
-
- jakarta.faces.annotation
- FacesConfig.Version
-
-
-
-
- JSF:JAVADOC:2227
-
- jakarta.faces.annotation
- FlowMap.Literal
-
-
-
-
- JSF:JAVADOC:2228
-
- jakarta.faces.annotation
- HeaderMap.Literal
-
-
-
-
- JSF:JAVADOC:2229
-
- jakarta.faces.annotation
- HeaderValuesMap.Literal
-
-
-
-
- JSF:JAVADOC:2230
-
- jakarta.faces.annotation
- InitParameterMap.Literal
-
-
-
-
- JSF:JAVADOC:2231
- Taken to be the value that is injected into the field.
- jakarta.faces.annotation
- ManagedProperty
-
-
-
-
- JSF:JAVADOC:2232
-
- jakarta.faces.annotation
- ManagedProperty.Literal
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2233
- Taken to be the value that is injected into the field.
- jakarta.faces.annotation
- ManagedProperty.Literal
-
-
-
-
- JSF:JAVADOC:2234
-
- jakarta.faces.annotation
- RequestCookieMap.Literal
-
-
-
-
- JSF:JAVADOC:2235
-
- jakarta.faces.annotation
- RequestMap.Literal
-
-
-
-
- JSF:JAVADOC:2236
-
- jakarta.faces.annotation
- RequestParameterMap.Literal
-
-
-
-
- JSF:JAVADOC:2237
-
- jakarta.faces.annotation
- RequestParameterValuesMap.Literal
-
-
-
-
- JSF:JAVADOC:2238
-
- jakarta.faces.annotation
- SessionMap.Literal
-
-
-
-
- JSF:JAVADOC:2239
- Set the Faces View Id pattern. The Faces View Id pattern can represent a single view, such as "/index.xhtml", or a pattern like "/foo/bar/*". Though the exact interpretation of the Faces View Id for a single view is ultimately defined by the annotated element, in general it should align with the return value from an action expression (see ActionSource2#setActionExpression(jakarta.el.MethodExpression)
- jakarta.faces.annotation
- View
-
-
-
-
- JSF:JAVADOC:2240
-
- jakarta.faces.annotation
- View.Literal
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2241
- Set the Faces View Id pattern. The Faces View Id pattern can represent a single view, such as "/index.xhtml", or a pattern like "/foo/bar/*". Though the exact interpretation of the Faces View Id for a single view is ultimately defined by the annotated element, in general it should align with the return value from an action expression (see ActionSource2#setActionExpression(jakarta.el.MethodExpression)
- jakarta.faces.annotation
- View.Literal
-
-
-
-
- JSF:JAVADOC:2242
-
- jakarta.faces.annotation
- ViewMap.Literal
-
-
-
-
- JSF:JAVADOC:2243
- Register a new mapping of behavior id to the name of the corresponding Behavior class. This allows subsequent calls to createBehavior() to serve as a factory for Behavior instances.
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2244
- Register a new mapping of component type to the name of the corresponding UIComponent class. This allows subsequent calls to createComponent() to serve as a factory for UIComponent instances.
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2245
- Register a new mapping of converter id to the name of the corresponding Converter class. This allows subsequent calls to createConverter() to serve as a factory for Converter instances.
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2246
- Register a new converter class that is capable of performing conversions for the specified target class.
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2247
- Register a validator by its id that is applied to all UIInput components in a view. The validator to most often serve this role is the BeanValidator. The usage contract for this method assumes that the validator has been registered using the normal #8220;by-id #8221; registration mechanism. An implementation is provided that takes no action so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2248
- Provide a way for Faces applications to register an ELContextListener that will be notified on creation of ELContext instances. This listener will be called once per request. An implementation is provided that throws UnsupportedOperationException so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
- jakarta.el.ELContextListener
-
-
-
-
-
- JSF:JAVADOC:2249
- Cause an the argument resolver to be added to the resolver chain as specified in section 5.3.2 "ELResolver" of the Jakarta Faces Specification Document. It is not possible to remove an ELResolver registered with this method, once it has been registered. It is illegal to register an ELResolver after the application has received any requests from the client. If an attempt is made to register a listener after that time, an IllegalStateException must be thrown. This restriction is in place to allow the Jakarta Server Pages container to optimize for the common case where no additional ELResolvers are in the chain, aside from the standard ones. It is permissible to add ELResolvers before or after initialization to a CompositeELResolver that is already in the chain. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend Application.
- jakarta.faces.application
- Application
-
-
- jakarta.el.ELResolver
-
-
-
-
-
- JSF:JAVADOC:2250
- Cause the argument resolver to be added to the head of the resolver chain. It is not possible to remove a SearchKeywordResolver registered with this method, once it has been registered. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend Application.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.component.search.SearchKeywordResolver
-
-
-
-
-
- JSF:JAVADOC:2251
- Register a new mapping of validator id to the name of the corresponding Validator class. This allows subsequent calls to createValidator() to serve as a factory for Validator instances.
- jakarta.faces.application
- Application
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2252
- Instantiate and return a new Behavior instance of the class specified by a previous call to addBehavior() for the specified behavior id.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2253
- if the Behavior cannot be created
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2254
- Instantiate and return a new UIComponent instance of the class specified by a previous call to addComponent() for the specified component type. Before the component instance is returned, it must be inspected for the presence of a jakarta.faces.event.ListenerFor (or jakarta.faces.event.ListenersFor) or ResourceDependency (or ResourceDependencies) annotation. If any of these annotations are present, the action listed in jakarta.faces.event.ListenerFor or ResourceDependency must be taken on the component, before it is returned from this method. This variant of createComponent must not inspect the jakarta.faces.render.Renderer for the component to be returned for any of the afore mentioned annotations. Such inspection is the province of #createComponent(ValueExpression, FacesContext, String, String) or #createComponent(FacesContext, String, String).
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2255
- if a UIComponent of the specified type cannot be created
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2256
- Call the getValue() method on the specified ValueExpression. If it returns a UIComponent instance, return it as the value of this method. If it does not, instantiate a new UIComponent instance of the specified component type, pass the new component to the setValue() method of the specified ValueExpression, and return it. Before the component instance is returned, it must be inspected for the presence of a jakarta.faces.event.ListenerFor (or jakarta.faces.event.ListenersFor) or ResourceDependency (or ResourceDependencies) annotation. If any of these annotations are present, the action listed in jakarta.faces.event.ListenerFor or ResourceDependency must be taken on the component, before it is returned from this method. This variant of createComponent must not inspect the jakarta.faces.render.Renderer for the component to be returned for any of the afore mentioned annotations. Such inspection is the province of #createComponent(ValueExpression, FacesContext, String, String) or #createComponent(FacesContext, String, String). A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function.
- jakarta.faces.application
- Application
-
-
- jakarta.el.ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2257
- if a UIComponent cannot be created
- jakarta.faces.application
- Application
-
-
- jakarta.el.ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2258
- Like #createComponent(ValueExpression, FacesContext, String) except the Renderer for the component to be returned must be inspected for the annotations mentioned in #createComponent(ValueExpression, FacesContext, String) as specified in the documentation for that method. The Renderer instance to inspect must be obtained by calling FacesContext#getRenderKit and calling jakarta.faces.render.RenderKit#getRenderer on the result, passing the argument componentType as the first argument and the result of calling UIComponent#getFamily on the newly created component as the second argument. If no such Renderer can be found, a message must be logged with a helpful error message. Otherwise, UIComponent#setRendererType must be called on the newly created UIComponent instance, passing the argument rendererType as the argument. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function.
- jakarta.faces.application
- Application
-
-
- jakarta.el.ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2259
- Like #createComponent(String) except the Renderer for the component to be returned must be inspected for the annotations mentioned in #createComponent(ValueExpression, FacesContext, String) as specified in the documentation for that method. The Renderer instance to inspect must be obtained by calling FacesContext#getRenderKit and calling jakarta.faces.render.RenderKit#getRenderer on the result, passing the argument componentType as the first argument and the result of calling UIComponent#getFamily on the newly created component as the second argument. If no such Renderer can be found, a message must be logged with a helpful error message. Otherwise, UIComponent#setRendererType must be called on the newly created UIComponent instance, passing the argument rendererType as the argument. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function .
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2260
- Instantiate and return a new UIComponent instance from the argument Resource. An algorithm semantically equivalent to the following must be followed to instantiate the UIComponent to return. Obtain a reference to the ViewDeclarationLanguage for this Application instance by calling ViewHandler#getViewDeclarationLanguage, passing the viewId found by calling jakarta.faces.component.UIViewRoot#getViewId on the jakarta.faces.component.UIViewRoot in the argument FacesContext. Obtain a reference to the composite component metadata for this composite component by calling ViewDeclarationLanguage#getComponentMetadata, passing the facesContext and componentResource arguments to this method. This version of the Jakarta Faces Specification uses JavaBeans as the API to the component metadata. Determine if the component author declared a componentType for this component instance by obtaining the BeanDescriptor from the component metadata and calling its getValue() method, passing UIComponent#COMPOSITE_COMPONENT_TYPE_KEY as the argument. If non-null, the result must be a ValueExpression whose value is the component-type of the UIComponent to be created for this Resource component. Call through to #createComponent(java.lang.String) to create the component. Otherwise, determine if a script based component for this Resource can be found by calling ViewDeclarationLanguage#getScriptComponentResource. If the result is non-null, and is a script written in a language satisfying the content type text/javascript, create a UIComponent instance from the script resource. Otherwise, let library-name be the return from calling Resource#getLibraryName on the argument componentResource and resource-name be the return from calling Resource#getResourceName on the argument componentResource. Create a fully qualified Java class name by removing any file extension from resource-name and let fqcn be library-name + "." + resource-name. If a class with the name of fqcn cannot be found, take no action and continue to the next step. If any of InstantiationException, IllegalAccessException, or ClassCastException are thrown, wrap the exception in a FacesException and re-throw it. If any other exception is thrown, log the exception and continue to the next step. If none of the previous steps have yielded a UIComponent instance, call #createComponent(java.lang.String) passing "jakarta.faces.NamingContainer" as the argument. Call UIComponent#setRendererType on the UIComponent instance, passing "jakarta.faces.Composite" as the argument. Store the argument Resource in the attributes Map of the UIComponent under the key, Resource#COMPONENT_RESOURCE_KEY. Store composite component metadata in the attributes Map of the UIComponent under the key, UIComponent#BEANINFO_KEY. Before the component instance is returned, it must be inspected for the presence of a jakarta.faces.event.ListenerFor annotation. If this annotation is present, the action listed in jakarta.faces.event.ListenerFor must be taken on the component, before it is returned from this method. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
-
-
-
-
- JSF:JAVADOC:2261
- Instantiate and return a new Converter instance of the class specified by a previous call to addConverter() for the specified converter id. If the toLowerCase() of the String represenation of the value of the "jakarta.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE" application configuration parameter is "true" (without the quotes) and the Converter instance to be returned is an instance of jakarta.faces.convert.DateTimeConverter, jakarta.faces.convert.DateTimeConverter#setTimeZone must be called, passing the return from TimeZone.getDefault(). The argument converter must be inspected for the presence of the jakarta.faces.application.ResourceDependency annotation. If the ResourceDependency annotation is present, the action described in ResourceDependency must be taken. If the ResourceDependency annotation is not present, the argument converter must be inspected for the presence of the jakarta.faces.application.ResourceDependencies annotation. If the ResourceDependencies annotation is present, the action described in ResourceDependencies must be taken.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2262
- Instantiate and return a new Converter instance of the class that has registered itself as capable of performing conversions for objects of the specified type. If no such Converter class can be identified, return null. To locate an appropriate Converter class, the following algorithm is performed, stopping as soon as an appropriate Converter class is found: Locate a Converter registered for the target class itself. Locate a Converter registered for interfaces that are implemented by the target class (directly or indirectly). Locate a Converter registered for the superclass (if any) of the target class, recursively working up the inheritance hierarchy. If the Converter has a single argument constructor that accepts a Class, instantiate the Converter using that constructor, passing the argument targetClass as the sole argument. Otherwise, simply use the zero-argument constructor. If the toLowerCase() of the String represenation of the value of the "jakarta.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZONE" application configuration parameter is "true" (without the quotes) and the Converter instance to be returned is an instance of jakarta.faces.convert.DateTimeConverter, jakarta.faces.convert.DateTimeConverter#setTimeZone must be called, passing the return from TimeZone.getDefault().
- jakarta.faces.application
- Application
-
-
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:2263
- Instantiate and return a new Validator instance of the class specified by a previous call to addValidator() for the specified validator id. The argument validator must be inspected for the presence of the jakarta.faces.application.ResourceDependency annotation. If the ResourceDependency annotation is present, the action described in ResourceDependency must be taken. If the ResourceDependency annotation is not present, the argument validator must be inspected for the presence of the jakarta.faces.application.ResourceDependencies annotation. If the ResourceDependencies annotation is present, the action described in ResourceDependencies must be taken.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2264
- if a Validator of the specified id cannot be created
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2265
- Get a value by evaluating an expression. Call #getExpressionFactory then call ExpressionFactory#createValueExpression passing the argument expression and expectedType. Call FacesContext#getELContext and pass it to ValueExpression#getValue, returning the result. An implementation is provided that throws UnsupportedOperationException so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:2266
-
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Class
-
- jakarta.el.ELException
-
-
-
-
- JSF:JAVADOC:2267
- Return an Iterator over the set of currently registered behavior ids for this Application.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2268
- Return an Iterator over the set of currently defined component types for this Application.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2269
- Return an Iterator over the set of currently registered converter ids for this Application.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2270
- Return an Iterator over the set of Class instances for which Converter classes have been explicitly registered.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2271
- Return the default Locale for this application. If not explicitly set, null is returned.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2272
- Return the renderKitId to be used for rendering this application. If not explicitly set, null is returned.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2273
- Return an immutable Map over the set of currently registered default validator IDs and their class name for this Application. An implementation is provided that returns Collections.emptyMap so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2274
- If no calls have been made to #addELContextListener, this method must return an empty array. Otherwise, return an array representing the list of listeners added by calls to #addELContextListener. An implementation is provided that throws UnsupportedOperationException so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2275
- Return the singleton ELResolver instance to be used for all Jakarta Expression Language resolution. This is actually an instance of jakarta.el.CompositeELResolver that must contain the following ELResolver instances in the following order: ELResolver instances declared using the element in the application configuration resources. An implementation that wraps the head of the legacy VariableResolver chain, as per section VariableResolver ChainWrapper in Chapter 5 in the spec document. An implementation that wraps the head of the legacy PropertyResolver chain, as per section PropertyResolver ChainWrapper in Chapter 5 in the spec document. Any ELResolver instances added by calls to #addELResolver. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend Application.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2276
- Return the ExpressionFactory instance for this application. This instance is used by the convenience method #evaluateExpressionGet. The implementation must return the ExpressionFactory from the Expression Language container by calling jakarta.el.ELManager.getExpressionFactory(). An implementation is provided that throws UnsupportedOperationException so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2277
- Return the thread-safe singleton FlowHandler for this application. For implementations declaring compliance with version 2.2 of the specification, this method must never return null, even if the application has no flows. This is necessary to enable dynamic flow creation during the application's lifetime. All implementations that declare compliance with version 2.2 of the specification must implement this method. For the purpose of backward compatibility with environments that extend Application but do not override this method, an implementation is provided that returns null. Due to the decoratable nature of Application, code calling this method should always check for a null return.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2278
- Return the fully qualified class name of the ResourceBundle to be used for Jakarta Faces messages for this application. If not explicitly set, null is returned.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2279
- Return the project stage for the currently running application instance. The default value is ProjectStage#Production The implementation of this method must perform the following algorithm or an equivalent with the same end result to determine the value to return. If the value has already been determined by a previous call to this method, simply return that value. Look for a JNDI environment entry under the key given by the value of ProjectStage#PROJECT_STAGE_JNDI_NAME (return type of java.lang.String). If found, continue with the algorithm below, otherwise, look for an entry in the initParamMap of the ExternalContext from the current FacesContext with the key given by the value of ProjectStage#PROJECT_STAGE_PARAM_NAME If a value is found, see if an enum constant can be obtained by calling ProjectStage.valueOf(), passing the value from the initParamMap. If this succeeds without exception, save the value and return it. If not found, or any of the previous attempts to discover the enum constant value have failed, log a descriptive error message, assign the value as ProjectStage.Production and return it. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function .
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2280
- Find a ResourceBundle as defined in the application configuration resources under the specified name. If a ResourceBundle was defined for the name, return an instance that uses the locale of the current jakarta.faces.component.UIViewRoot. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2281
- Return the singleton, stateless, thread-safe ResourceHandler for this application. The Jakarta Faces implementation must support the following techniques for declaring an alternate implementation of ResourceHandler. The ResourceHandler implementation is declared in the application configuration resources by giving the fully qualified class name as the value of the element within the element. In all of the above cases, the runtime must employ the decorator pattern as for every other pluggable artifact in Jakarta Faces. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function .
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2282
- Return the thread-safe singleton SearchExpressionHandler for this application.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2283
- Return the singleton SearchKeywordResolver instance to be used for all search keyword resolution. This is actually an instance of a composite SearchKeywordResolver that must contain the following SearchKeywordResolver instances in the following order: SearchKeywordResolver instances declared using the element in the application configuration resources. Any SearchKeywordResolver instances added by calls to #addSearchKeywordResolver. The SearchKeywordResolver implementations for @all, @child(n), @form, @id(...), @namingcontainer, @next, @none, @parent, @previous, @root and @this. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend Application.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2284
- Return the StateManager instance that will be utilized during the Restore View and Render Response phases of the request processing lifecycle. If not explicitly set, a default implementation must be provided that performs the functions described in the StateManager description in the Jakarta Faces Specification.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2285
- Return an Iterator over the supported Locales for this appication.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2286
- Return an Iterator over the set of currently registered validator ids for this Application.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2287
- Return the ViewHandler instance that will be utilized during the Restore View and Render Response phases of the request processing lifecycle. If not explicitly set, a default implementation must be provided that performs the functions described in the ViewHandler description in the Jakarta Faces Specification.
- jakarta.faces.application
- Application
-
-
-
-
- JSF:JAVADOC:2288
- If jakarta.faces.context.FacesContext#isProcessingEvents() is true and there are one or more listeners for events of the type represented by systemEventClass, call those listeners, passing source as the source of the event. The implementation should be as fast as possible in determining whether or not a listener for the given systemEventClass and source has been installed, and should return immediately once such a determination has been made. The implementation of publishEvent must honor the requirements stated in #subscribeToEvent regarding the storage and retrieval of listener instances. Specifically, if #subscribeToEvent(Class,Class,SystemEventListener) was called, the sourceClass argument must match exactly the Class of the source argument in the call to publishEvent(). The implementation must not do any inheritance hierarachy inspection when looking for a match between the sourceClass passed to #subscribeToEvent(Class,Class,SystemEventListener) and the sourceClass passed to publishEvent() in order to find any listeners to which the event should be published. In the case where the Class of the source argument does not match the Class of the sourceClass used when the listener was subscribed using subscribeToEvent(), #publishEvent(FacesContext,Class,Class,Object) can be used to provide the Class used to perform the listener lookup and match. The default implementation must implement an algorithm semantically equivalent to the following to locate listener instances and to invoke them. If the source argument implements jakarta.faces.event.SystemEventListenerHolder, call jakarta.faces.event.SystemEventListenerHolder#getListenersForEventClass on it, passing the systemEventClass argument. If the list is not empty, perform algorithm traverseListenerList on the list. If any view level listeners have been installed by previous calls to #subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener) on the jakarta.faces.component.UIViewRoot, perform algorithm traverseListenerList on the list of listeners for that event installed on the UIViewRoot. If any Application level listeners have been installed by previous calls to #subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener), perform algorithm traverseListenerList on the list. If any Application level listeners have been installed by previous calls to #subscribeToEvent(Class, jakarta.faces.event.SystemEventListener), perform algorithm traverseListenerList on the list. If the act of invoking the processListener method causes an jakarta.faces.event.AbortProcessingException to be thrown, processing of the listeners must be aborted, no further processing of the listeners for this event must take place, and the exception must be logged with Level.SEVERE. Algorithm traverseListenerList: For each listener in the list, Call jakarta.faces.event.SystemEventListener#isListenerForSource, passing the source argument. If this returns false, take no action on the listener. Otherwise, if the event to be passed to the listener instances has not yet been constructed, construct the event, passing source as the argument to the one-argument constructor that takes an Object. This same event instance must be passed to all listener instances. Call jakarta.faces.event.SystemEvent#isAppropriateListener, passing the listener instance as the argument. If this returns false, take no action on the listener. Call jakarta.faces.event.SystemEvent#processListener, passing the listener instance. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function .
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.Class
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2289
- This method functions exactly like #publishEvent(FacesContext,Class,Object), except the run-time must use the argument sourceBaseType to find the matching listener instead of using the Class of the source argument. A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function .
- jakarta.faces.application
- Application
-
-
- jakarta.faces.context.FacesContext
- java.lang.Class
- java.lang.Class
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2290
- Remove the argument listener from the list of ELContextListeners. If listener is null, no exception is thrown and no action is performed. If listener is not in the list, no exception is thrown and no action is performed. An implementation is provided that throws UnsupportedOperationException so that users that decorate the Application continue to work.
- jakarta.faces.application
- Application
-
-
- jakarta.el.ELContextListener
-
-
-
-
-
- JSF:JAVADOC:2291
- Set the default Locale for this application.
- jakarta.faces.application
- Application
-
-
- java.util.Locale
-
-
-
-
-
- JSF:JAVADOC:2292
- Set the renderKitId to be used to render this application. Unless the client has provided a custom ViewHandler that supports the use of multiple jakarta.faces.render.RenderKit instances in the same application, this method must only be called at application startup, before any Faces requests have been processed. This is a limitation of the current Specification, and may be lifted in a future release.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2293
- Set the FlowHandler instance used by the NavigationHandler to satisfy the requirements of the faces flows feature.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.flow.FlowHandler
-
-
-
-
-
- JSF:JAVADOC:2294
- Set the fully qualified class name of the ResourceBundle to be used for Jakarta Faces messages for this application. See the JavaDocs for the java.util.ResourceBundle class for more information about the syntax for resource bundle names.
- jakarta.faces.application
- Application
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2295
- Set the ResourceHandler instance that will be utilized for rendering the markup for resources, and for satisfying client requests to serve up resources.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.ResourceHandler
-
-
-
-
-
- JSF:JAVADOC:2296
- Set the SearchExpressionHandler instance used by the application.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.component.search.SearchExpressionHandler
-
-
-
-
-
- JSF:JAVADOC:2297
- Set the StateManager instance that will be utilized during the Restore View and Render Response phases of the request processing lifecycle.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.StateManager
-
-
-
-
-
- JSF:JAVADOC:2298
- Set the Locale instances representing the supported Locales for this application.
- jakarta.faces.application
- Application
-
-
- java.util.Collection
-
-
-
-
-
- JSF:JAVADOC:2299
- Set the ViewHandler instance that will be utilized during the Restore View and Render Response phases of the request processing lifecycle.
- jakarta.faces.application
- Application
-
-
- jakarta.faces.application.ViewHandler
-
-
-
-
-
- JSF:JAVADOC:2300
- Install the listener instance referenced by argument listener into the application as a listener for events of type systemEventClass that originate from objects of type sourceClass. If argument sourceClass is non-null, sourceClass and systemEventClass must be used to store the argument listener in the application in such a way that the listener can be quickly looked up by the implementation of #publishEvent given systemEventClass and an instance of the Class referenced by sourceClass. If argument sourceClass is null, the listener must be discoverable by the implementation of #publishEvent given only systemEventClass. It is valid to call this method during the processing of an event which was subscribed to by a previous call to this method.
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
-
- JSF:JAVADOC:2301
- Install the listener instance referenced by argument listener into application as a listener for events of type systemEventClass. The default implementation simply calls through to #subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener) passing null as the sourceClass argument A default implementation is provided that throws UnsupportedOperationException so that users that decorate Application can continue to function .
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
-
- JSF:JAVADOC:2302
- Remove the listener instance referenced by argument listener from the application as a listener for events of type systemEventClass that originate from objects of type sourceClass. See #subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener) for the specification of how the listener is stored, and therefore, how it must be removed. See #subscribeToEvent(java.lang.Class,java.lang.Class,jakarta.faces.event.SystemEventListener) for an additional requirement regarding when it is valid to call this method.
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
-
- JSF:JAVADOC:2303
- Remove the listener instance referenced by argument listener from the application as a listener for events of type systemEventClass. The default implementation simply calls through to #unsubscribeFromEvent(Class, jakarta.faces.event.SystemEventListener) passing null as the sourceClass argument See #subscribeToEvent(java.lang.Class,java.lang.Class,jakarta.faces.event.SystemEventListener) for an additional requirement regarding when it is valid to call this method.
- jakarta.faces.application
- Application
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
-
- JSF:JAVADOC:2304
-
- jakarta.faces.application
- ApplicationConfigurationPopulator
-
-
-
-
- JSF:JAVADOC:2305
- Service providers that implement this service must be called by the Jakarta Faces runtime exactly once for each implementation, at startup, before any requests have been serviced. Before calling the #populateApplicationConfiguration method, the runtime must ensure that the Document argument is empty aside from being pre-configured to be in the proper namespace for an Application Configuration Resources file: https://jakarta.ee/xml/ns/jakartaee. Implementations of this service must ensure that any changes made to the argument Document conform to that schema as defined in the specification. The Jakarta Faces runtime is not required to validate the Document after control returns from the service implementation, though it may do so. Ordering of Artifacts If the document is made to contain an element, as specified in the section 11.3.8 "Ordering of Artifacts" in the Jakarta Faces Specification Document, the document will be prioritized accordingly. Otherwise, the runtime must place the document in the list of other Application Configuration Resources documents at the "lowest" priority, meaning any conflicts that may arise between the argument document and any other Application Configuration Resources are resolved in favor of the other document.
- jakarta.faces.application
- ApplicationConfigurationPopulator
-
-
- org.w3c.dom.Document
-
-
-
-
-
- JSF:JAVADOC:2306
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.application
- ApplicationFactory
-
-
- jakarta.faces.application.ApplicationFactory
-
-
-
-
-
- JSF:JAVADOC:2307
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.application
- ApplicationFactory
-
-
-
-
- JSF:JAVADOC:2308
- The default behavior of this method is to call Application#addBehavior(String, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2309
- The default behavior of this method is to call Application#addComponent(String, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2310
- The default behavior of this method is to call Application#addConverter(String, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2311
- The default behavior of this method is to call Application#addConverter(Class, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.Class
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2312
- The default behavior of this method is to call Application#addDefaultValidatorId(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2313
- The default behavior of this method is to call Application#addELContextListener(jakarta.el.ELContextListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.el.ELContextListener
-
-
-
-
-
- JSF:JAVADOC:2314
- The default behavior of this method is to call Application#addELResolver(jakarta.el.ELResolver) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.el.ELResolver
-
-
-
-
-
- JSF:JAVADOC:2315
- Cause the argument resolver to be added to the head of the resolver chain. It is not possible to remove a SearchKeywordResolver registered with this method, once it has been registered. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend Application.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.component.search.SearchKeywordResolver
-
-
-
-
-
- JSF:JAVADOC:2316
- The default behavior of this method is to call Application#addValidator(String, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2317
-
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2318
- If this application has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.Application
-
-
-
-
-
- JSF:JAVADOC:2319
- The default behavior of this method is to call Application#createBehavior(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2320
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2321
- The default behavior of this method is to call Application#createComponent(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2322
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2323
- The default behavior of this method is to call Application#createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.el.ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2324
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.el.ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2325
- The default behavior of this method is to call Application#createComponent(jakarta.el.ValueExpression, jakarta.faces.context.FacesContext, String, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.el.ValueExpression
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2326
- The default behavior of this method is to call Application#createComponent(jakarta.faces.context.FacesContext, String, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2327
- The default behavior of this method is to call Application#createComponent(jakarta.faces.context.FacesContext, Resource) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
-
-
-
-
- JSF:JAVADOC:2328
- The default behavior of this method is to call Application#createConverter(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2329
- The default behavior of this method is to call Application#createConverter(Class) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:2330
- The default behavior of this method is to call Application#createValidator(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2331
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2332
- The default behavior of this method is to call Application#evaluateExpressionGet(jakarta.faces.context.FacesContext, String, Class) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:2333
-
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.Class
-
- jakarta.el.ELException
-
-
-
-
- JSF:JAVADOC:2334
- The default behavior of this method is to call Application#getActionListener on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2335
- The default behavior of this method is to call Application#getBehaviorIds on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2336
- The default behavior of this method is to call Application#getComponentTypes on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2337
- The default behavior of this method is to call Application#getConverterIds on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2338
- The default behavior of this method is to call Application#getConverterTypes on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2339
- The default behavior of this method is to call Application#getDefaultLocale on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2340
- The default behavior of this method is to call Application#getDefaultRenderKitId on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2341
- The default behavior of this method is to call Application#getDefaultValidatorInfo on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2342
- The default behavior of this method is to call Application#getELContextListeners on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2343
- The default behavior of this method is to call Application#getELResolver on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2344
- The default behavior of this method is to call Application#getExpressionFactory on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2345
- Return the thread-safe singleton FlowHandler for this application. For implementations declaring compliance with version 2.2 of the specification, this method must never return null, even if the application has no flows. This is necessary to enable dynamic flow creation during the application's lifetime. All implementations that declare compliance with version 2.2 of the specification must implement this method. For the purpose of backward compatibility with environments that extend Application but do not override this method, an implementation is provided that returns null. Due to the decoratable nature of Application, code calling this method should always check for a null return.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2346
- The default behavior of this method is to call Application#getMessageBundle on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2347
- The default behavior of this method is to call Application#getNavigationHandler on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2348
- The default behavior of this method is to call Application#getProjectStage on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2349
- The default behavior of this method is to call Application#getResourceBundle(jakarta.faces.context.FacesContext, String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2350
- The default behavior of this method is to call Application#getResourceHandler on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2351
- Return the thread-safe singleton SearchExpressionHandler for this application.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2352
- Return the singleton SearchKeywordResolver instance to be used for all search keyword resolution. This is actually an instance of a composite SearchKeywordResolver that must contain the following SearchKeywordResolver instances in the following order: SearchKeywordResolver instances declared using the element in the application configuration resources. Any SearchKeywordResolver instances added by calls to #addSearchKeywordResolver. The SearchKeywordResolver implementations for @all, @child(n), @form, @id(...), @namingcontainer, @next, @none, @parent, @previous, @root and @this. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend Application.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2353
- The default behavior of this method is to call Application#getStateManager on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2354
- The default behavior of this method is to call Application#getSupportedLocales on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2355
- The default behavior of this method is to call Application#getValidatorIds on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2356
- The default behavior of this method is to call Application#getViewHandler on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2357
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- ApplicationWrapper
-
-
-
-
- JSF:JAVADOC:2358
- The default behavior of this method is to call Application#publishEvent(jakarta.faces.context.FacesContext, Class, Object) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.Class
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2359
- The default behavior of this method is to call Application#publishEvent(jakarta.faces.context.FacesContext, Class, Class, Object) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.Class
- java.lang.Class
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2360
- The default behavior of this method is to call Application#removeELContextListener(jakarta.el.ELContextListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.el.ELContextListener
-
-
-
-
-
- JSF:JAVADOC:2361
- The default behavior of this method is to call Application#setActionListener(jakarta.faces.event.ActionListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
-
- JSF:JAVADOC:2362
- The default behavior of this method is to call Application#setDefaultLocale(java.util.Locale) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.util.Locale
-
-
-
-
-
- JSF:JAVADOC:2363
- The default behavior of this method is to call Application#setDefaultRenderKitId(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2364
- Set the FlowHandler instance used by the NavigationHandler to satisfy the requirements of the faces flows feature.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.flow.FlowHandler
-
-
-
-
-
- JSF:JAVADOC:2365
- The default behavior of this method is to call Application#setMessageBundle(String) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2366
- The default behavior of this method is to call Application#setNavigationHandler(NavigationHandler) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.NavigationHandler
-
-
-
-
-
- JSF:JAVADOC:2367
- The default behavior of this method is to call Application#setResourceHandler(ResourceHandler) on the wrapped Application object. This method can throw IllegalStateException and NullPointerException.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.ResourceHandler
-
-
-
-
-
- JSF:JAVADOC:2368
- Set the SearchExpressionHandler instance used by the application.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.component.search.SearchExpressionHandler
-
-
-
-
-
- JSF:JAVADOC:2369
- The default behavior of this method is to call Application#setStateManager(StateManager) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.StateManager
-
-
-
-
-
- JSF:JAVADOC:2370
- The default behavior of this method is to call Application#setSupportedLocales(java.util.Collection) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.util.Collection
-
-
-
-
-
- JSF:JAVADOC:2371
- The default behavior of this method is to call Application#setViewHandler(ViewHandler) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- jakarta.faces.application.ViewHandler
-
-
-
-
-
- JSF:JAVADOC:2372
- The default behavior of this method is to call Application#subscribeToEvent(Class, Class, jakarta.faces.event.SystemEventListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.Class
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
-
- JSF:JAVADOC:2373
- The default behavior of this method is to call Application#subscribeToEvent(Class, jakarta.faces.event.SystemEventListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
-
- JSF:JAVADOC:2374
- The default behavior of this method is to call Application#unsubscribeFromEvent(Class, Class, jakarta.faces.event.SystemEventListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.Class
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
-
- JSF:JAVADOC:2375
- The default behavior of this method is to call Application#unsubscribeFromEvent(Class, jakarta.faces.event.SystemEventListener) on the wrapped Application object.
- jakarta.faces.application
- ApplicationWrapper
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
-
- JSF:JAVADOC:2376
-
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
-
-
- JSF:JAVADOC:2377
- Return the NavigationCase representing the navigation that would be taken had NavigationHandler#handleNavigation been called with the same arguments or null if there is no such case.
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2378
- Return the NavigationCase representing the navigation that would be taken had NavigationHandler#handleNavigation been called with the same arguments or null if there is no such case. Implementations that comply the version of the specification in which this method was introduced must override this method. For compatibility with decorated implementations that comply with an earlier version of the specification, an implementation is provided that simply calls through to #getNavigationCase(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String), ignoring the toFlowDocumentId parameter.
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2379
- Return a Map where the keys are values and the values are Set where each element in the Set is a NavigationCase that applies to that . The implementation must support live modifications to this Map.
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
-
-
- JSF:JAVADOC:2380
- Called by the flow system to cause the flow to be inspected for navigation rules. For backward compatibility with earlier implementations, an empty method is provided.
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
-
-
-
-
-
- JSF:JAVADOC:2381
- A convenience method to signal the Jakarta Faces implementation to perform navigation with the provided outcome. When the NavigationHandler is invoked, the current viewId is treated as the "from viewId" and the "from action" is null.
- jakarta.faces.application
- ConfigurableNavigationHandler
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2382
-
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
-
-
- JSF:JAVADOC:2383
- If this configurable navigation handler has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- jakarta.faces.application.ConfigurableNavigationHandler
-
-
-
-
-
- JSF:JAVADOC:2384
- Return the NavigationCase representing the navigation that would be taken had NavigationHandler#handleNavigation been called with the same arguments or null if there is no such case.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2385
- Return the NavigationCase representing the navigation that would be taken had NavigationHandler#handleNavigation been called with the same arguments or null if there is no such case. Implementations that comply the version of the specification in which this method was introduced must override this method. For compatibility with decorated implementations that comply with an earlier version of the specification, an implementation is provided that simply calls through to #getNavigationCase(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String), ignoring the toFlowDocumentId parameter.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2386
- Return a Map where the keys are values and the values are Set where each element in the Set is a NavigationCase that applies to that . The implementation must support live modifications to this Map.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
-
-
- JSF:JAVADOC:2387
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
-
-
- JSF:JAVADOC:2388
- Perform navigation processing based on the state information in the specified FacesContext, plus the outcome string returned by an executed application action. If the implementation class also extends ConfigurableNavigationHandler, the implementation must guarantee that the logic used in a call to ConfigurableNavigationHandler#getNavigationCase is used in this method to determine the correct navigation. This method must set the render targets (used in partial rendering) to render all invoking jakarta.faces.context.PartialViewContext#setRenderAll) if the view identifier has changed as the result of an application action (to take into account Ajax requests).
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2389
- Called by the flow system to cause the flow to be inspected for navigation rules. For backward compatibility with earlier implementations, an empty method is provided.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
-
-
-
-
-
- JSF:JAVADOC:2390
- A convenience method to signal the Jakarta Faces implementation to perform navigation with the provided outcome. When the NavigationHandler is invoked, the current viewId is treated as the "from viewId" and the "from action" is null.
- jakarta.faces.application
- ConfigurableNavigationHandlerWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2391
- Construct a new jakarta.faces.application.FacesMessage with no initial values. The severity is set to Severity.INFO.
- jakarta.faces.application
- FacesMessage
-
-
-
-
- JSF:JAVADOC:2392
- Construct a new jakarta.faces.application.FacesMessage with just a summary. The detail is null, the severity is set to Severity.INFO.
- jakarta.faces.application
- FacesMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2393
- Construct a new jakarta.faces.application.FacesMessage with the specified initial values. The severity is set to Severity.INFO.
- jakarta.faces.application
- FacesMessage
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2394
- Construct a new FacesMessage with the specified initial values.
- jakarta.faces.application
- FacesMessage
-
-
- jakarta.faces.application.FacesMessage.FacesMessage.Severity
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2395
- Return the localized detail text. If no localized detail text has been defined for this message, return the localized summary text instead.
- jakarta.faces.application
- FacesMessage
-
-
-
-
- JSF:JAVADOC:2396
- Return the severity level.
- jakarta.faces.application
- FacesMessage
-
-
-
-
- JSF:JAVADOC:2397
- Return the localized summary text.
- jakarta.faces.application
- FacesMessage
-
-
-
-
- JSF:JAVADOC:2398
-
- jakarta.faces.application
- FacesMessage
-
-
-
-
- JSF:JAVADOC:2399
- Marks this message as having been rendered to the client.
- jakarta.faces.application
- FacesMessage
-
-
-
-
- JSF:JAVADOC:2400
- Set the localized detail text.
- jakarta.faces.application
- FacesMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2401
- Set the severity level.
- jakarta.faces.application
- FacesMessage
-
-
- jakarta.faces.application.FacesMessage.FacesMessage.Severity
-
-
-
-
-
- JSF:JAVADOC:2402
- Set the localized summary text.
- jakarta.faces.application
- FacesMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2403
- Compare this jakarta.faces.application.FacesMessage.Severity instance to the specified one. Returns a negative integer, zero, or a positive integer if this object is less than, equal to, or greater than the specified object.
- jakarta.faces.application
- FacesMessage.Severity
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2404
- Return the ordinal value of this FacesMessage.Severity instance.
- jakarta.faces.application
- FacesMessage.Severity
-
-
-
-
- JSF:JAVADOC:2405
- Return a String representation of this FacesMessage.Severity instance.
- jakarta.faces.application
- FacesMessage.Severity
-
-
-
-
- JSF:JAVADOC:2406
-
- jakarta.faces.application
- NavigationCase
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2407
- Construct an absolute URL to this NavigationCase instance using jakarta.faces.application.ViewHandler#getActionURL on the path portion of the url.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2408
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
-
- JSF:JAVADOC:2409
- Construct an absolute URL suitable for a bookmarkable link to this NavigationCase instance using jakarta.faces.application.ViewHandler#getBookmarkableURL on the path portion of the url. This URL may include view parameters specified as metadata within the view.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2410
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
-
- JSF:JAVADOC:2411
- Evaluates the for this , if any. The expression to be evaluated is passed into the constructor as a string. When the expression is evaluated, its value must be coerced into a boolean per the normal Jakarta Expression Language coercion rules. Note throws any exceptions encountered during the process of evaluating the expression or obtaining its value.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2412
- Return the for this
- jakarta.faces.application
- NavigationCase
-
-
-
-
- JSF:JAVADOC:2413
- Return the for this
- jakarta.faces.application
- NavigationCase
-
-
-
-
- JSF:JAVADOC:2414
- Return the of the inside which this is nested.
- jakarta.faces.application
- NavigationCase
-
-
-
-
- JSF:JAVADOC:2415
- Return the parameters to be included for navigation cases requiring a redirect. If no parameters are defined, null will be returned. The keys in the Map are parameter names. For each key, the corresponding value is a List of unconverted values.
- jakarta.faces.application
- NavigationCase
-
-
-
-
- JSF:JAVADOC:2416
- Construct an absolute URL suitable for a "redirect" to this NavigationCase instance using jakarta.faces.application.ViewHandler#getRedirectURL on the path portion of the url.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2417
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
-
- JSF:JAVADOC:2418
- Construct an absolute URL to this NavigationCase instance using jakarta.faces.application.ViewHandler#getResourceURL on the path portion of the url.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2419
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
-
- JSF:JAVADOC:2420
- If this navigation case represents a flow invocation, this property is the documentId in which the flow whose id is given by the return from #getFromOutcome() is defined. Implementations must override this method to return the value defined in the corresponding application configuration resources element. The base implementation returns the empty string.
- jakarta.faces.application
- NavigationCase
-
-
-
-
- JSF:JAVADOC:2421
- Evaluates the for this
- jakarta.faces.application
- NavigationCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2422
- Test if this navigation case has an associated element.
- jakarta.faces.application
- NavigationCase
-
-
-
-
- JSF:JAVADOC:2423
-
- jakarta.faces.application
- NavigationCase
-
-
-
-
- JSF:JAVADOC:2424
- Return the value for this . This will be true if the view parametets should be encoded into the redirect URL (only applies to redirect case)
- jakarta.faces.application
- NavigationCase
-
-
-
-
- JSF:JAVADOC:2425
- Return the value for this . This will be true if the new view should be navigated to via a jakarta.faces.context.ExternalContext#redirect(String)
- jakarta.faces.application
- NavigationCase
-
-
-
-
- JSF:JAVADOC:2426
- Construct a new NavigationCase based on the provided arguments. See section 7.4.2 "Default NavigationHandler Algorithm" of the Jakarta Faces Specification Document for how a NavigationCase is used by the standard ConfigurableNavigationHandler
- jakarta.faces.application
- NavigationCase
-
-
- java.lang.String
- java.lang.String
- java.lang.String
- java.lang.String
- java.lang.String
- java.util.Map
- boolean
- boolean
-
-
-
-
-
- JSF:JAVADOC:2427
- Construct a new NavigationCase based on the provided arguments. See section 7.4.2 "Default NavigationHandler Algorithm" of the Jakarta Faces Specification Document for how a NavigationCase is used by the standard ConfigurableNavigationHandler
- jakarta.faces.application
- NavigationCase
-
-
- java.lang.String
- java.lang.String
- java.lang.String
- java.lang.String
- java.lang.String
- java.lang.String
- java.util.Map
- boolean
- boolean
-
-
-
-
-
- JSF:JAVADOC:2428
-
- jakarta.faces.application
- NavigationCase
-
-
-
-
- JSF:JAVADOC:2429
-
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2430
- Construct an absolute URL to this NavigationCase instance using jakarta.faces.application.ViewHandler#getActionURL on the path portion of the url.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2431
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
-
- JSF:JAVADOC:2432
- Construct an absolute URL suitable for a bookmarkable link to this NavigationCase instance using jakarta.faces.application.ViewHandler#getBookmarkableURL on the path portion of the url. This URL may include view parameters specified as metadata within the view.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2433
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
-
- JSF:JAVADOC:2434
- Evaluates the for this , if any. The expression to be evaluated is passed into the constructor as a string. When the expression is evaluated, its value must be coerced into a boolean per the normal Jakarta Expression Language coercion rules. Note throws any exceptions encountered during the process of evaluating the expression or obtaining its value.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2435
- Return the for this
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
-
- JSF:JAVADOC:2436
- Return the for this
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
-
- JSF:JAVADOC:2437
- Return the of the inside which this is nested.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
-
- JSF:JAVADOC:2438
- Return the parameters to be included for navigation cases requiring a redirect. If no parameters are defined, null will be returned. The keys in the Map are parameter names. For each key, the corresponding value is a List of unconverted values.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
-
- JSF:JAVADOC:2439
- Construct an absolute URL suitable for a "redirect" to this NavigationCase instance using jakarta.faces.application.ViewHandler#getRedirectURL on the path portion of the url.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2440
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
-
- JSF:JAVADOC:2441
- Construct an absolute URL to this NavigationCase instance using jakarta.faces.application.ViewHandler#getResourceURL on the path portion of the url.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2442
- if the process of constructing the URL causes this exception to be thrown.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.net.MalformedURLException
-
-
-
-
- JSF:JAVADOC:2443
- If this navigation case represents a flow invocation, this property is the documentId in which the flow whose id is given by the return from #getFromOutcome() is defined. Implementations must override this method to return the value defined in the corresponding application configuration resources element. The base implementation returns the empty string.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
-
- JSF:JAVADOC:2444
- Evaluates the for this
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2445
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
-
- JSF:JAVADOC:2446
- Test if this navigation case has an associated element.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
-
- JSF:JAVADOC:2447
-
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
-
- JSF:JAVADOC:2448
- Return the value for this . This will be true if the view parametets should be encoded into the redirect URL (only applies to redirect case)
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
-
- JSF:JAVADOC:2449
- Return the value for this . This will be true if the new view should be navigated to via a jakarta.faces.context.ExternalContext#redirect(String)
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
-
- JSF:JAVADOC:2450
-
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
-
- JSF:JAVADOC:2451
- If this navigation case has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.application
- NavigationCaseWrapper
-
-
- jakarta.faces.application.NavigationCase
-
-
-
-
-
- JSF:JAVADOC:2452
-
- jakarta.faces.application
- NavigationCaseWrapper
-
-
-
-
- JSF:JAVADOC:2453
- Perform navigation processing based on the state information in the specified FacesContext, plus the outcome string returned by an executed application action. If the implementation class also extends ConfigurableNavigationHandler, the implementation must guarantee that the logic used in a call to ConfigurableNavigationHandler#getNavigationCase is used in this method to determine the correct navigation. This method must set the render targets (used in partial rendering) to render all invoking jakarta.faces.context.PartialViewContext#setRenderAll) if the view identifier has changed as the result of an application action (to take into account Ajax requests).
- jakarta.faces.application
- NavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2454
- Overloaded variant of #handleNavigation(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String) that allows the caller to provide the defining document id for a flow to be entered by this navigation. For backward compatibility with decorated NavigationHandler implementations that conform to an earlier version of the specification, an implementation is provided that calls through to #handleNavigation(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String), ignoring the toFlowDocumentId parameter.
- jakarta.faces.application
- NavigationHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2455
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- NavigationHandlerWrapper
-
-
-
-
- JSF:JAVADOC:2456
- Perform navigation processing based on the state information in the specified FacesContext, plus the outcome string returned by an executed application action. If the implementation class also extends ConfigurableNavigationHandler, the implementation must guarantee that the logic used in a call to ConfigurableNavigationHandler#getNavigationCase is used in this method to determine the correct navigation. This method must set the render targets (used in partial rendering) to render all invoking jakarta.faces.context.PartialViewContext#setRenderAll) if the view identifier has changed as the result of an application action (to take into account Ajax requests).
- jakarta.faces.application
- NavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2457
- Overloaded variant of #handleNavigation(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String) that allows the caller to provide the defining document id for a flow to be entered by this navigation. For backward compatibility with decorated NavigationHandler implementations that conform to an earlier version of the specification, an implementation is provided that calls through to #handleNavigation(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String), ignoring the toFlowDocumentId parameter.
- jakarta.faces.application
- NavigationHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2458
-
- jakarta.faces.application
- NavigationHandlerWrapper
-
-
-
-
- JSF:JAVADOC:2459
- If this navigation handler has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.application
- NavigationHandlerWrapper
-
-
- jakarta.faces.application.NavigationHandler
-
-
-
-
-
- JSF:JAVADOC:2460
-
- jakarta.faces.application
- ProjectStage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2461
-
- jakarta.faces.application
- ProjectStage
-
-
-
-
- JSF:JAVADOC:2462
- Construct a new exception with no detail message or root cause.
- jakarta.faces.application
- ProtectedViewException
-
-
-
-
- JSF:JAVADOC:2463
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.application
- ProtectedViewException
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2464
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.application
- ProtectedViewException
-
-
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:2465
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.application
- ProtectedViewException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:2466
- Return the MIME content-type for this resource.
- jakarta.faces.application
- Resource
-
-
-
-
- JSF:JAVADOC:2467
- If the current request is a resource request, (that is, ResourceHandler#isResourceRequest returns true), return an InputStream containing the bytes of the resource. Otherwise, throw an IOException.
- jakarta.faces.application
- Resource
-
-
-
-
- JSF:JAVADOC:2468
- if the current request is not a resource request.
- jakarta.faces.application
- Resource
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2469
- Return the libraryName for this resource. May be null. The libraryName for a resource is an optional String that indicates membership in a "resource library". All resources with the same libraryName belong to the same "resource library". The "resource library" concept allows disambiguating resources that have the same resourceName. See ResourceHandler for more information.
- jakarta.faces.application
- Resource
-
-
-
-
- JSF:JAVADOC:2470
- Return a path to this resource such that, when the browser resolves it against the base URI for the view that includes the resource, and issues a GET request to the resultant fully qualified URL, the bytes of the resource are returned in response. The default implementation must implement the following algorithm. For discussion, the return result from this method will be called result. Get the context-root for this web application, not ending in slash. For discussion this will be called contextRoot. Discover if the FacesServlet is prefix (path) mapped, extension mapped, or exact mapped (as defined by Servlet.12.2.) and the value of the mapping (including the leading '.' in the case of extension mapping). For discussion, this will be facesServletMapping. If exact mapped, result must be the following if and only if the FacesServlet is mapped to the exact URL pattern ResourceHandler#RESOURCE_IDENTIFIER + #getResourceName result = contextRoot + ResourceHandler#RESOURCE_IDENTIFIER + #getResourceName If exact mapped, and the FacesServlet is not mapped to the exact URL pattern ResourceHandler#RESOURCE_IDENTIFIER + #getResourceName do the following: Retrieve the existing mappings of the FacesServlet, e.g. using ServletRegistration#getMappings(), and from those pick any prefix mapping or extension mapping. If no such mapping is found, throw an IllegalStateException. If such mapping is found remove the * character from that mapping, take that as the new facesServletMapping and continue with evaluating this mapping as specified below for if prefix mapped and for if extension mapped If prefix mapped, result must be result = contextRoot + '/' + facesServletMapping + ResourceHandler#RESOURCE_IDENTIFIER + '/' + #getResourceName If extension mapped, result must be result = contextRoot + ResourceHandler#RESOURCE_IDENTIFIER + #getResourceName + facesServletMapping Build up a string, called resourceMetaData which is an amp; separated string of name=value pairs suitable for inclusion in a URL query string. If #getLibraryName returns non-null, resourceMetaData must include "ln=" + the return from #getLibraryName If there is a localePrefix for this application, as defined in ResourceHandler#LOCALE_PREFIX, resourceMetaData must include "loc=" + the localePrefix. If this resource is contained in a resource library contract, resourceMetaData must include "con=" + the name of the resource library contract. Append "?" + resourceMetaData to result. Make it portlet safe by passing the result through ViewHandler#getResourceURL.
- jakarta.faces.application
- Resource
-
-
-
-
- JSF:JAVADOC:2471
- Return the resourceName for this resource. Will never be null. All Resource instances must have a resourceName.
- jakarta.faces.application
- Resource
-
-
-
-
- JSF:JAVADOC:2472
- Returns a mutable Map whose entries will be sent as response headers during ResourceHandler#handleResourceRequest. The entries in this map must not persist beyond the scope of a single request. Any modifications made to the map after the resource has been served will be ignored by the run-time.
- jakarta.faces.application
- Resource
-
-
-
-
- JSF:JAVADOC:2473
- Return an actual URL instance that refers to this resource instance.
- jakarta.faces.application
- Resource
-
-
-
-
- JSF:JAVADOC:2474
-
- jakarta.faces.application
- Resource
-
-
-
-
- JSF:JAVADOC:2475
- Set the MIME content-type for this resource. The default implementation performs no validation on the argument.
- jakarta.faces.application
- Resource
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2476
- Set the libraryName for this resource.
- jakarta.faces.application
- Resource
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2477
- Set the resourceName for this resource.
- jakarta.faces.application
- Resource
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2478
- Call through to #getRequestPath and return the result.
- jakarta.faces.application
- Resource
-
-
-
-
- JSF:JAVADOC:2479
- Return true if the user-agent requesting this resource needs an update. If the If-Modified-Since HTTP header is available for this request, its value must be consulted, as specified in Section 14.25 of IETF RFC 2616, to determine the result. Returns false if the user-agent does not need an update for this resource.
- jakarta.faces.application
- Resource
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2480
- The individual resource dependencies
- jakarta.faces.application
- ResourceDependencies
-
-
-
-
- JSF:JAVADOC:2481
- The libraryName in which the resource pointed to by this ResourceDependency resides. If not specified, defaults to the empty string. It is valid to have Jakarta Expression Language Expressions in the value of this attribute, as long as the expression resolves to an instance of the expected type.
- jakarta.faces.application
- ResourceDependency
-
-
-
-
- JSF:JAVADOC:2482
- The resourceName of the resource pointed to by this ResourceDependency. It is valid to have Jakarta Expression Language Expressions in the value of this attribute, as long as the expression resolves to an instance of the expected type.
- jakarta.faces.application
- ResourceDependency
-
-
-
-
- JSF:JAVADOC:2483
- The value given for this attribute will be passed as the "target" argument to jakarta.faces.component.UIViewRoot#addComponentResource(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent, java.lang.String). If this attribute is specified, jakarta.faces.component.UIViewRoot#addComponentResource(jakarta.faces.context.FacesContext,jakarta.faces.component.UIComponent) must be called instead, as described above. It is valid to have Jakarta Expression Language Expressions in the value of this attribute, as long as the expression resolves to an instance of the expected type.
- jakarta.faces.application
- ResourceDependency
-
-
-
-
- JSF:JAVADOC:2484
- Create an instance of ViewResource given the argument resourceName. The content-type of the resource is derived by passing the resourceName to jakarta.faces.context.ExternalContext#getMimeType The algorithm specified in section 2.6.1.4 "Libraries of Localized and Versioned Resources" of the Jakarta Faces Specification Document must be executed to create the Resource. New requirements were introduced in version 2.2 of the specification. For historical reasons, this method operate correctly when the argument resourceName is of the form libraryName/resourceName, even when resourceName contains '/' characters.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2485
- Create an instance of Resource with a resourceName given by the value of the argument resourceName that is a member of the library named by the argument libraryName. The content-type of the resource is derived by passing the resourceName to jakarta.faces.context.ExternalContext#getMimeType. The algorithm specified in section 2.6.1.4 "Libraries of Localized and Versioned Resources" of the Jakarta Faces Specification Document must be executed to create the Resource. New requirements were introduced in version 2.2 of the specification.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2486
- Create an instance of Resource with a resourceName given by the value of the argument resourceName that is a member of the library named by the argument libraryName that claims to have the content-type given by the argument content-type. The algorithm specified in section 2.6.1.4 "Libraries of Localized and Versioned Resources" of the Jakarta Faces Specification Document must be executed to create the Resource. New requirements were introduced in version 2.2 of the specification.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2487
- Create an instance of Resource given the argument resourceId. The content-type of the resource is derived by passing the resourceName to jakarta.faces.context.ExternalContext#getMimeType The resource must be identified according to the specification in section 2.6.1.3 "Resource Identifiers" of the Jakarta Faces Specification Document. New requirements were introduced in version 2.2 of the specification.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2488
- Create an instance of Resource given the argument resourceName, which may contain "/" characters. The jakarta.faces.view.ViewDeclarationLanguage calls this method when it needs to load a view from a persistent store, such as a filesystem. This method is functionality equivalent to #createResource(java.lang.String), but all callsites that need to load VDL views must use this method so that classes that want to decorate the ResourceHandler in order to only affect the loading of views may do so without affecting the processing of other kinds of resources, such as scripts and stylesheets. A jakarta.faces.context.FacesContext must be present before calling this method. To preserve compatibility with prior revisions of the specification, a default implementation must be provided that calls #createResource(java.lang.String). The default implementation must look for the resource in the following places, in this order. Considering resource library contracts (at the locations specified in the Jakarta Faces Specification Document section 2.7 "Resource Library Contracts"). Considering the web app root. Considering faces flows (at the locations specified in the Jakarta Faces Specification Document section 11.3.3 "Faces Flows"). Call FacesContext#getResourceLibraryContracts. If the result is non-null and not empty, for each value in the list, treat the value as the name of a resource library contract. If the argument resoureName exists as a resource in the resource library contract, return it. Otherwise, return the resource (not in the resource library contract), if found. Otherwise, return null.
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2489
- Return the renderer-type for a jakarta.faces.render.Renderer that is capable of rendering this resource. The default implementation must return values according to the following table. If no renderer-type can be determined, null must be returned. resource name to renderer-type mapping example resource name renderer-type mycomponent.js jakarta.faces.resource.Script mystyle.css jakarta.faces.resource.Stylesheet
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2490
- Return a Stream possibly lazily populated by walking the resource tree rooted at a given initial path. The resource tree is traversed breadth-first, the elements in the stream are view resource names that would yield a ViewResource when passed into ResourceHandler#createViewResource as the resourceName parameter. The maxDepth parameter is the maximum depth of directory levels to visit beyond the initial path, which is always visited. The value is relative to the root (/), not to the given initial path. E.g. given maxDepth = 3 and initial path /foo/, visiting will proceed up to /foo/bar/, where / counts as depth 1, /foo/ as depth 2 and /foo/bar/ as depth 3. A value lower or equal to the depth of the initial path means that only the initial path is visited. A value of Integer#MAX_VALUE MAX_VALUE may be used to indicate that all levels should be visited.
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- int
- jakarta.faces.application.ResourceVisitOption[]
-
-
-
-
-
- JSF:JAVADOC:2491
- Return a Stream possibly lazily populated by walking the resource tree rooted at a given initial path. The resource tree is traversed breadth-first, the elements in the stream are view resource names that would yield a ViewResource when passed into ResourceHandler#createViewResource as the resourceName parameter. This method works as if invoking it were equivalent to evaluating the expression: getViewResources(facesContext, start, Integer.MAX_VALUE, options) Put differently, it visits all levels of the resource tree.
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.application.ResourceVisitOption[]
-
-
-
-
-
- JSF:JAVADOC:2492
- This method specifies the contract for satisfying resource requests. This method is called from jakarta.faces.webapp.FacesServlet#service after that method determines the current request is a resource request by calling #isResourceRequest. Thus, handleResourceRequest may assume that the current request is a resource request. The default implementation must implement an algorithm semantically identical to the following algorithm. For discussion, in all cases when a status code is to be set, this spec talks only using the Jakarta Servlet API, but it is understood that in a portlet environment the appropriate equivalent API must be used. If the resourceIdentifier ends with any of the extensions listed in the value of the #RESOURCE_EXCLUDES_PARAM_NAME init parameter, HttpServletRequest.SC_NOT_FOUND must be passed to HttpServletResponse.setStatus(), then handleResourceRequest must immediately return. Extract the resourceName from the resourceIdentifier by taking the substring of resourceIdentifier that starts at #RESOURCE_IDENTIFIER.length() + 1 and goes to the end of resourceIdentifier. If no resourceName can be extracted, HttpServletRequest.SC_NOT_FOUND must be passed to HttpServletResponse.setStatus(), then handleResourceRequest must immediately return. Extract the libraryName from the request by looking in the request parameter map for an entry under the key "ln", without the quotes. If found, use its value as the libraryName. If resourceName and libraryName are present, call #createResource(String, String) to create the Resource. If only resourceName is present, call #createResource(String) to create the Resource. If the Resource cannot be successfully created, HttpServletRequest.SC_NOT_FOUND must be passed to HttpServletResponse.setStatus(), then handleResourceRequest must immediately return. Call Resource#userAgentNeedsUpdate. If this method returns false, HttpServletRequest.SC_NOT_MODIFIED must be passed to HttpServletResponse.setStatus(), then handleResourceRequest must immediately return. Pass the result of Resource#getContentType to HttpServletResponse.setContentType. Call Resource#getResponseHeaders. For each entry in this Map, call HttpServletResponse.setHeader(), passing the key as the first argument and the value as the second argument. Call Resource#getInputStream and serve up the bytes of the resource to the response. Call HttpServletResponse.setContentLength() passing the byte count of the resource. If an IOException is thrown during any of the previous steps, log a descriptive, localized message, including the resourceName and libraryName (if present). Then, HttpServletRequest.SC_NOT_FOUND must be passed to HttpServletResponse.setStatus(), then handleResourceRequest must immediately return. In all cases in this method, any streams, channels, sockets, or any other IO resources must be closed before this method returns.
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2493
- when an I/O error occurs.
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2494
- Returns whether the resource as identified by given resource and library name has been rendered. The default implementation must during the render response phase of the current view return true when the resource has been marked as rendered via #markResourceRendered(FacesContext, String, String).
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2495
- Return true if the current request is a resource request. This method is called by jakarta.faces.webapp.FacesServlet#service to determine if this request is a view request or a resource request.
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2496
- Return true if the argument url contains the string given by the value of the constant ResourceHandler#RESOURCE_IDENTIFIER, false otherwise.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2497
- Return true if the resource library named by the argument libraryName can be found. If there is a localePrefix for this application, as defined in #LOCALE_PREFIX, first look for the library with the prefix. If no such library is found, look for the library without the prefix. This allows developers to avoid duplication of files. For example, consider the case where the developer wants to have a resource library containing a localized image resource and a non-localized script resource. By checking both locations for the existence of the library, along with other spec changes in section 2.6.1.4 "Libraries of Localized and Versioned Resources" of the Jakarta Faces Specification Document, this scenario is enabled.
- jakarta.faces.application
- ResourceHandler
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2498
- Mark the resource as identified by given resource and library name as rendered. The default implementation must ensure that #isResourceRendered(FacesContext, String, String) will return true when the resource has already been rendered during the render response phase of the current view.
- jakarta.faces.application
- ResourceHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2499
-
- jakarta.faces.application
- ResourceHandler
-
-
-
-
- JSF:JAVADOC:2500
- The default behavior of this method is to call ResourceHandler#createResource(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2501
- The default behavior of this method is to call ResourceHandler#createResource(String, String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2502
- The default behavior of this method is to call ResourceHandler#createResource(String, String, String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2503
- The default behavior of this method is to call ResourceHandler#createResourceFromId(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2504
- The default behavior of this method is to call ResourceHandler#createViewResource on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2505
- The default behavior of this method is to call ResourceHandler#getRendererTypeForResourceName(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2506
- The default behavior of this method is to call ResourceHandler#getViewResources(FacesContext, String, int, ResourceVisitOption...) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- int
- jakarta.faces.application.ResourceVisitOption[]
-
-
-
-
-
- JSF:JAVADOC:2507
- The default behavior of this method is to call ResourceHandler#getViewResources(FacesContext, String, ResourceVisitOption...) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.application.ResourceVisitOption[]
-
-
-
-
-
- JSF:JAVADOC:2508
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
-
-
- JSF:JAVADOC:2509
- The default behavior of this method is to call ResourceHandler#handleResourceRequest(jakarta.faces.context.FacesContext) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2510
-
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2511
- The default behavior of this method is to call ResourceHandler#isResourceRendered(FacesContext, String, String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2512
- The default behavior of this method is to call ResourceHandler#isResourceRequest(jakarta.faces.context.FacesContext) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2513
- The default behavior of this method is to call ResourceHandler#isResourceURL on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2514
- The default behavior of this method is to call ResourceHandler#libraryExists(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2515
- The default behavior of this method is to call ResourceHandler#markResourceRendered(FacesContext, String, String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2516
-
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
-
-
- JSF:JAVADOC:2517
- If this resource handler has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.application
- ResourceHandlerWrapper
-
-
- jakarta.faces.application.ResourceHandler
-
-
-
-
-
- JSF:JAVADOC:2518
-
- jakarta.faces.application
- ResourceVisitOption
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2519
-
- jakarta.faces.application
- ResourceVisitOption
-
-
-
-
- JSF:JAVADOC:2520
- The default behavior of this method is to call Resource#getContentType() on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
-
- JSF:JAVADOC:2521
- The default behavior of this method is to call Resource#getInputStream on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
-
- JSF:JAVADOC:2522
-
- jakarta.faces.application
- ResourceWrapper
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2523
- The default behavior of this method is to call Resource#getLibraryName() on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
-
- JSF:JAVADOC:2524
- The default behavior of this method is to call Resource#getRequestPath on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
-
- JSF:JAVADOC:2525
- The default behavior of this method is to call Resource#getResourceName() on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
-
- JSF:JAVADOC:2526
- The default behavior of this method is to call Resource#getResponseHeaders on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
-
- JSF:JAVADOC:2527
- The default behavior of this method is to call Resource#getURL on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
-
-
- JSF:JAVADOC:2528
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- ResourceWrapper
-
-
-
-
- JSF:JAVADOC:2529
- If this resource has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.application
- ResourceWrapper
-
-
- jakarta.faces.application.Resource
-
-
-
-
-
- JSF:JAVADOC:2530
-
- jakarta.faces.application
- ResourceWrapper
-
-
-
-
- JSF:JAVADOC:2531
- The default behavior of this method is to call Resource#setContentType(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2532
- The default behavior of this method is to call Resource#setLibraryName(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2533
- The default behavior of this method is to call Resource#setResourceName(String) on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2534
- The default behavior of this method is to call Resource#userAgentNeedsUpdate on the wrapped ResourceHandler object.
- jakarta.faces.application
- ResourceWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2535
- Convenience method to return the view state as a String with no RenderKit specific markup. This default implementation of this method will call StateManagementStrategy#saveView(FacesContext) and passing the result to and returning the resulting value from ResponseStateManager#getViewState(jakarta.faces.context.FacesContext, Object).
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2536
- Method to determine if the state is saved on the client.
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2537
-
- jakarta.faces.application
- StateManager
-
-
-
-
- JSF:JAVADOC:2538
- Save the state represented in the specified state Object instance, in an implementation dependent manner. This method will typically simply delegate the actual writing to the writeState() method of the ResponseStateManager instance provided by the RenderKit being used to render this view. This method assumes that the caller has positioned the ResponseWriter at the correct position for the saved state to be written.
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2539
- when an I/O error occurs.
- jakarta.faces.application
- StateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2540
- The default behavior of this method is to call StateManager#getViewState(jakarta.faces.context.FacesContext) on the wrapped StateManager object.
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2541
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- StateManagerWrapper
-
-
-
-
- JSF:JAVADOC:2542
- The default behavior of this method is to call StateManager#isSavingStateInClient(jakarta.faces.context.FacesContext) on the wrapped StateManager object.
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2543
- If this state manager has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.application.StateManager
-
-
-
-
-
- JSF:JAVADOC:2544
- The default behavior of this method is to call StateManager#writeState(jakarta.faces.context.FacesContext, java.lang.Object) on the wrapped StateManager object.
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2545
-
- jakarta.faces.application
- StateManagerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2546
- Return the message for this exception prepended with the view identifier if the view identifier is not null, otherwise, return the message.
- jakarta.faces.application
- ViewExpiredException
-
-
-
-
- JSF:JAVADOC:2547
- Return the view identifier of this exception, or null if the view identifier is nonexistent or unknown.
- jakarta.faces.application
- ViewExpiredException
-
-
-
-
- JSF:JAVADOC:2548
- Construct a new exception with no detail message or root cause.
- jakarta.faces.application
- ViewExpiredException
-
-
-
-
- JSF:JAVADOC:2549
- Construct a new exception with the specified view identifier.
- jakarta.faces.application
- ViewExpiredException
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2550
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.application
- ViewExpiredException
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2551
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.application
- ViewExpiredException
-
-
- java.lang.Throwable
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2552
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.application
- ViewExpiredException
-
-
- java.lang.String
- java.lang.Throwable
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2553
- Add the argument urlPattern to the thread safe Set of protected views for this application. Compliant implementations make it so a subsequent call to #getProtectedViewsUnmodifiable contains the argument. The runtime must support calling this method at any time after application startup. The default implementation takes no action.
- jakarta.faces.application
- ViewHandler
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2554
- Returns the correct character encoding to be used for this request. The following algorithm is employed. Examine the Content-Type request header. If it has a charset parameter, extract it and return that as the encoding. If no charset parameter was found, check for the existence of a session by calling ExternalContext#getSession(boolean) passing false as the argument. If that method returns true, get the session Map by calling ExternalContext#getSessionMap and look for a value under the key given by the value of the symbolic constant ViewHandler#CHARACTER_ENCODING_KEY. If present, return the value, converted to String. Otherwise, return null
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2555
- Returns an appropriate Locale to use for this and subsequent requests for the current client.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2556
- Return an appropriate renderKitId for this and subsequent requests from the current client. It is an error for this method to return null. The default return value is jakarta.faces.render.RenderKitFactory#HTML_BASIC_RENDER_KIT.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2557
- Create and return a new UIViewRoot instance initialized with information from the argument FacesContext and viewId. Locate the ViewDeclarationLanguage implementation for the VDL used in the view. The argument viewId must be converted to a physical viewId that can refer to an actual resource suitable for use by the ViewDeclarationLanguage ViewDeclarationLanguage#createView, which must be called by this method.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2558
- Derive and return the viewId from the current request, or the argument input by following the algorithm defined in section 7.6.2 "Default ViewHandler Implementation" of the Jakarta Faces Specification Document. Note that unlike deriveViewId(), this method does not require that a physical view be present. This method should work correctly when the FacesServlet is invoked via either a path mapping, extension mapping or an exact match (mapping) as defined by Servlet.12.2. Note that path mapping is also commonly known as prefix mapping (e.g. "/faces/*") and extension mapping as suffix mapping (e.g. "*.xhtml"). An exact match is possible where there's a servlet mapping with an exact URL pattern such as "/foo". The default implementation of this method simply returns requestViewId unchanged.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2559
- Derive and return the viewId from the current request, or the argument input by following the algorithm defined in section 7.6.2 "Default ViewHandler Implementation" of the Jakarta Faces Specification Document. This method should work correctly when the FacesServlet is invoked via either a path mapping, extension mapping or an exact match (mapping) as defined by Servlet.12.2. Note that path mapping is also commonly known as prefix mapping (e.g. "/faces/*") and extension mapping as suffix mapping (e.g. "*.xhtml"). An exact match is possible where there's a servlet mapping with an exact URL pattern such as "/foo". The default implementation of this method simply returns requestViewId unchanged.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2560
- If the value returned from this method is used as the file argument to the four-argument constructor for java.net.URL (assuming appropriate values are used for the first three arguments), then a client making a request to the toExternalForm() of that URL will select the argument viewId for traversing the Jakarta Faces lifecycle. Please see section 7.6.2 "Default ViewHandler Implementation" of the Jakarta Faces Specification Document for the complete specification, especially for details related to view protection using the jakarta.faces.render.ResponseStateManager#NON_POSTBACK_VIEW_TOKEN_PARAM and the behavior when the current request is to a URL for which the FacesServlet has an exact mapping as defined by Servlet.12.2.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2561
- Return a Jakarta Faces action URL derived from the viewId argument that is suitable to be used as the target of a link in a Jakarta Faces response. Compliant implementations must implement this method as specified in section 7.6.2 "Default ViewHandler Implementation" of the Jakarta Faces Specification Document. The default implementation simply calls through to #getActionURL, passing the arguments context and viewId.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.util.Map
- boolean
-
-
-
-
-
- JSF:JAVADOC:2562
- Return an unmodifiable Set of the protected views currently known to this ViewHandler instance. Compliant implementations must return a Set that is the concatenation of the contents of all the elements within all the in all of the application configuration resources in the current application. The runtime must support calling this method at any time after application startup. The default implementation returns an unmodifiable empty Set.
- jakarta.faces.application
- ViewHandler
-
-
-
-
- JSF:JAVADOC:2563
- Return a Jakarta Faces action URL derived from the viewId argument that is suitable to be used by the NavigationHandler to issue a redirect request to the URL using a NonFaces request. Compliant implementations must implement this method as specified in section 7.6.2 "Default ViewHandler Implementation" of the Jakarta Faces Specification Document. The default implementation simply calls through to #getActionURL, passing the arguments context and viewId.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.util.Map
- boolean
-
-
-
-
-
- JSF:JAVADOC:2564
- If the value returned from this method is used as the file argument to the four-argument constructor for java.net.URL (assuming appropriate values are used for the first three arguments), then a client making a request to the toExternalForm() of that URL will select the argument path for direct rendering. If the specified path starts with a slash, it must be treated as context relative; otherwise, it must be treated as relative to the action URL of the current view.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2565
- Return the ViewDeclarationLanguage instance used for this ViewHandler instance. The default implementation must use jakarta.faces.view.ViewDeclarationLanguageFactory#getViewDeclarationLanguage to obtain the appropriate ViewDeclarationLanguage implementation for the argument viewId. Any exceptions thrown as a result of invoking that method must not be swallowed. The default implementation of this method returns null.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2566
- Return a Stream possibly lazily populated by walking the view trees of every active ViewDeclarationLanguage rooted at a given initial path. The view tree of every ViewDeclarationLanguage is individually traversed breadth-first as per the contract of ViewDeclarationLanguage#getViews(FacesContext, String, int, ViewVisitOption...). The elements in the stream are logical view ids. The maxDepth parameter is the maximum depth of directory levels to visit for each ViewDeclarationLanguage beyond the initial path, which is always visited. The value is relative to the root (/), not to the given initial path. E.g. given maxDepth = 3 and initial path /foo/, visiting will proceed up to /foo/bar/, where / counts as depth 1, /foo/ as depth 2 and /foo/bar/ as depth 3. A value lower or equal to the depth of the initial path means that only the initial path is visited. A value of Integer#MAX_VALUE MAX_VALUE may be used to indicate that all levels should be visited. In case more than one active ViewDeclarationLanguage is present, the order in which view ids from each ViewDeclarationLanguage appear in the stream is undetermined, except for the guarantee that every individual ViewDeclarationLanguage is traversed breadth-first.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- int
- jakarta.faces.application.ViewVisitOption[]
-
-
-
-
-
- JSF:JAVADOC:2567
- Return a Stream possibly lazily populated by walking the view trees of every active ViewDeclarationLanguage rooted at a given initial path. The view tree of every ViewDeclarationLanguage is individually traversed breadth-first as per the contract of ViewDeclarationLanguage#getViews(FacesContext, String, int, ViewVisitOption...). The elements in the stream are logical view ids. This method works as if invoking it were equivalent to evaluating the expression: getViews(facesContext, start, Integer.MAX_VALUE, options) Put differently, it visits all levels of the view tree. In case more than one active ViewDeclarationLanguage is present, the order in which view ids from each ViewDeclarationLanguage appear in the stream is undetermined, except for the guarantee that every individual ViewDeclarationLanguage is traversed breadth-first.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.application.ViewVisitOption[]
-
-
-
-
-
- JSF:JAVADOC:2568
- If the value returned from this method is used as the file argument to the four-argument constructor for java.net.URL (assuming appropriate values are used for the first three arguments), then a client making a push handshake request to the toExternalForm() of that URL will select the argument channel for connecting the websocket push channel in the current view. It must match the PushContext#URI_PREFIX of the endpoint.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2569
- Initialize the view for the request processing lifecycle. This method must be called at the beginning of the Restore View Phase of the Request Processing Lifecycle. It is responsible for performing any per-request initialization necessary to the operation of the lifycecle. The default implementation must perform the following actions. If ExternalContext#getRequestCharacterEncoding returns null, call #calculateCharacterEncoding and pass the result, if non-null, into the ExternalContext#setRequestCharacterEncoding method. If ExternalContext#getRequestCharacterEncoding returns non-null take no action.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2570
- if a problem occurs setting the encoding, such as the UnsupportedEncodingException thrown by the underlying Jakarta Servlet or Portlet technology when the encoding is not supported.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2571
- Remove the argument urlPattern from the thread safe Set of protected views for this application, if present in the Set. If the argument urlPattern is not present in the Set, this method has no effect. Compliant implementations must make it so a subsequent call to #getProtectedViewsUnmodifiable does not contain the argument. The runtime must support calling this method at any time after application startup. Returns true if this Set contained the argument. The default implementation takes no action and returns false.
- jakarta.faces.application
- ViewHandler
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2572
- Perform whatever actions are required to render the response view to the response object associated with the current FacesContext. Otherwise, the default implementation must obtain a reference to the ViewDeclarationLanguage for the viewId of the argument viewToRender and call its ViewDeclarationLanguage#renderView method, returning the result and not swallowing any exceptions thrown by that method.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:2573
- if an input/output error occurs
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2574
- if a Jakarta Servlet error occurs
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2575
- Perform whatever actions are required to restore the view associated with the specified FacesContext and viewId. It may delegate to the restoreView of the associated StateManager to do the actual work of restoring the view. If there is no available state for the specified viewId, return null. Otherwise, the default implementation must obtain a reference to the ViewDeclarationLanguage for this viewId and call its ViewDeclarationLanguage#restoreView method, returning the result and not swallowing any exceptions thrown by that method.
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2576
-
- jakarta.faces.application
- ViewHandler
-
-
-
-
- JSF:JAVADOC:2577
- Take any appropriate action to either immediately write out the current state information (by calling StateManager#writeState, or noting where state information should later be written. This method must do nothing if the current request is an Ajax request. When responding to Ajax requests, the state is obtained by calling StateManager#getViewState and then written into the Ajax response during final encoding (jakarta.faces.context.PartialViewContext#processPartial(jakarta.faces.event.PhaseId)) .
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2578
- if an input/output error occurs
- jakarta.faces.application
- ViewHandler
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2579
- The default behavior of this method is to call ViewHandler#addProtectedView on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2580
- The default behavior of this method is to call ViewHandler#calculateCharacterEncoding(jakarta.faces.context.FacesContext) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2581
- The default behavior of this method is to call ViewHandler#calculateLocale(jakarta.faces.context.FacesContext) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2582
- The default behavior of this method is to call ViewHandler#calculateRenderKitId(jakarta.faces.context.FacesContext) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2583
- The default behavior of this method is to call ViewHandler#createView(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2584
- The default behavior of this method is to call ViewHandler#deriveLogicalViewId(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2585
- The default behavior of this method is to call ViewHandler#deriveViewId(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2586
- The default behavior of this method is to call ViewHandler#getActionURL(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2587
- The default behavior of this method is to call ViewHandler#getBookmarkableURL(jakarta.faces.context.FacesContext, String, java.util.Map, boolean) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.util.Map
- boolean
-
-
-
-
-
- JSF:JAVADOC:2588
- The default behavior of this method is to call ViewHandler#getProtectedViewsUnmodifiable on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
-
-
- JSF:JAVADOC:2589
- The default behavior of this method is to call ViewHandler#getRedirectURL(jakarta.faces.context.FacesContext, String, java.util.Map, boolean) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.util.Map
- boolean
-
-
-
-
-
- JSF:JAVADOC:2590
- The default behavior of this method is to call ViewHandler#getResourceURL(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2591
- The default behavior of this method is to call ViewHandler#getViewDeclarationLanguage on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2592
- The default behavior of this method is to call ViewHandler#getViews(FacesContext, String, ViewVisitOption...) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.application.ViewVisitOption[]
-
-
-
-
-
- JSF:JAVADOC:2593
- The default behavior of this method is to call ViewHandler#getViews(FacesContext, String, int, ViewVisitOption...) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- int
- jakarta.faces.application.ViewVisitOption[]
-
-
-
-
-
- JSF:JAVADOC:2594
- The default behavior of this method is to call ViewHandler#getWebsocketURL(FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2595
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
-
-
- JSF:JAVADOC:2596
- The default behavior of this method is to call ViewHandler#initView on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2597
-
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2598
- The default behavior of this method is to call ViewHandler#removeProtectedView on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2599
- The default behavior of this method is to call ViewHandler#renderView(jakarta.faces.context.FacesContext, jakarta.faces.component.UIViewRoot) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:2600
-
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2601
-
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2602
- The default behavior of this method is to call ViewHandler#restoreView(jakarta.faces.context.FacesContext, String) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2603
- If this view handler has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.application.ViewHandler
-
-
-
-
-
- JSF:JAVADOC:2604
-
- jakarta.faces.application
- ViewHandlerWrapper
-
-
-
-
- JSF:JAVADOC:2605
- The default behavior of this method is to call ViewHandler#writeState(jakarta.faces.context.FacesContext) on the wrapped ViewHandler object.
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2606
-
- jakarta.faces.application
- ViewHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2607
- Return an actual URL instance that refers to this resource instance.
- jakarta.faces.application
- ViewResource
-
-
-
-
- JSF:JAVADOC:2608
-
- jakarta.faces.application
- ViewResource
-
-
-
-
- JSF:JAVADOC:2609
-
- jakarta.faces.application
- ViewVisitOption
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2610
-
- jakarta.faces.application
- ViewVisitOption
-
-
-
-
- JSF:JAVADOC:2611
- Add a new ActionListener to the set of listeners interested in being notified when ActionEvents occur.
- jakarta.faces.component
- ActionSource
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
-
- JSF:JAVADOC:2612
- Return the set of registered ActionListeners for this ActionSource instance. If there are no registered listeners, a zero-length array is returned.
- jakarta.faces.component
- ActionSource
-
-
-
-
- JSF:JAVADOC:2613
- Return a flag indicating that the default ActionListener provided by the Jakarta Faces implementation should be executed immediately (that is, during Apply Request Values phase of the request processing lifecycle), rather than waiting until the Invoke Application phase. The default value for this property must be false.
- jakarta.faces.component
- ActionSource
-
-
-
-
- JSF:JAVADOC:2614
- Remove an existing ActionListener (if any) from the set of listeners interested in being notified when ActionEvents occur.
- jakarta.faces.component
- ActionSource
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
-
- JSF:JAVADOC:2615
- Set the "immediate execution" flag for this UIComponent.
- jakarta.faces.component
- ActionSource
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2616
- Return the MethodExpression 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.
- jakarta.faces.component
- ActionSource2
-
-
-
-
- JSF:JAVADOC:2617
- Set the MethodExpression pointing at the appication 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. Any method referenced by such an expression must be public, with a return type of String, and accept no parameters.
- jakarta.faces.component
- ActionSource2
-
-
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:2618
- This method will be called by an implementation of UIComponent#invokeOnComponent and must be passed the component with the clientId given as an argument to invokeOnComponent. At the point in time when this method is called, the argument target is guaranteed to be in the proper state with respect to its ancestors in the View.
- jakarta.faces.component
- ContextCallback
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:2619
- Returns the public identifier of the document, or null if there is none. For example, "-//W3C//DTD XHTML 1.1//EN".
- jakarta.faces.component
- Doctype
-
-
-
-
- JSF:JAVADOC:2620
- Returns the name of the first element in the document, never null. For example, "html".
- jakarta.faces.component
- Doctype
-
-
-
-
- JSF:JAVADOC:2621
- Returns the system identifier of the document, or null if there is none. For example, "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd".
- jakarta.faces.component
- Doctype
-
-
-
-
- JSF:JAVADOC:2622
- Add a Validator instance to the set associated with this component.
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- JSF:JAVADOC:2623
- Add a new ValueChangeListener to the set of listeners interested in being notified when ValueChangeEvents occur.
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.event.ValueChangeListener
-
-
-
-
-
- JSF:JAVADOC:2624
- Return the submittedValue value of this component. This method should only be used by the encodeBegin() and/or encodeEnd() methods of this component, or its corresponding Renderer. The action taken based on whether the value is null, empty, or non-null is determined based on the value of the jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULLcontext-param.
- jakarta.faces.component
- EditableValueHolder
-
-
-
-
- JSF:JAVADOC:2625
- Return the set of registered Validators for this component instance. If there are no registered validators, a zero-length array is returned.
- jakarta.faces.component
- EditableValueHolder
-
-
-
-
- JSF:JAVADOC:2626
- Return the set of registered ValueChangeListeners for this component instance. If there are no registered listeners, a zero-length array is returned.
- jakarta.faces.component
- EditableValueHolder
-
-
-
-
- JSF:JAVADOC:2627
- Return the "immediate" state for this component.
- jakarta.faces.component
- EditableValueHolder
-
-
-
-
- JSF:JAVADOC:2628
- Return the "local value set" state for this component. Calls to setValue() automatically reset this property to true.
- jakarta.faces.component
- EditableValueHolder
-
-
-
-
- JSF:JAVADOC:2629
- Return the "required field" state for this component.
- jakarta.faces.component
- EditableValueHolder
-
-
-
-
- JSF:JAVADOC:2630
- Return a flag indicating whether the local value of this component is valid (no conversion error has occurred).
- jakarta.faces.component
- EditableValueHolder
-
-
-
-
- JSF:JAVADOC:2631
- Remove a Validator instance from the set associated with this component, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- JSF:JAVADOC:2632
- Remove an existing ValueChangeListener (if any) from the set of listeners interested in being notified when ValueChangeEvents occur.
- jakarta.faces.component
- EditableValueHolder
-
-
- jakarta.faces.event.ValueChangeListener
-
-
-
-
-
- JSF:JAVADOC:2633
- Convenience method to reset this component's value to the un-initialized state.
- jakarta.faces.component
- EditableValueHolder
-
-
-
-
- JSF:JAVADOC:2634
- Set the "immediate" state for this component. When set to true, the component's value will be converted and validated immediately in the Apply Request Values phase, and ValueChangeEvents will be delivered in that phase as well. The default value for this property must be false.
- jakarta.faces.component
- EditableValueHolder
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2635
- Sets the "local value set" state for this component.
- jakarta.faces.component
- EditableValueHolder
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2636
- Set the "required field" state for this component.
- jakarta.faces.component
- EditableValueHolder
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2637
- Set the submittedValue value of this component. This method should only be used by the decode() and validate() method of this component, or its corresponding Renderer. The action taken based on whether the value is null, empty, or non-null is determined based on the value of the jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULLcontext-param.
- jakarta.faces.component
- EditableValueHolder
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2638
- Set a flag indicating whether the local value of this component is valid (no conversion error has occurred).
- jakarta.faces.component
- EditableValueHolder
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2639
- If the value of this attribute is true, the runtime must create a Facelet tag handler, that extends from jakarta.faces.view.facelets.ComponentHandler, suitable for use in pages under the tag library with namespace given by the value of the #namespace attribute.
- jakarta.faces.component
- FacesComponent
-
-
-
-
- JSF:JAVADOC:2640
- If the value of the #createTag attribute is true, the value of this attribute is taken to be the tag library namespace into which this component is placed.
- jakarta.faces.component
- FacesComponent
-
-
-
-
- JSF:JAVADOC:2641
- If the value of the #createTag attribute is true, the runtime must use this value as the tag name for including an instance of the component annotated with this annotation in a view. If this attribute is not specified on a usage of this annotation, the simple name of the class on which this annotation is declared, with the first character lowercased, is taken to be the value.
- jakarta.faces.component
- FacesComponent
-
-
-
-
- JSF:JAVADOC:2642
- The value of this annotation attribute is taken to be the component-type with which instances of this class of component can be instantiated by calling jakarta.faces.application.Application#createComponent(java.lang.String). If no value is specified, or the value is null, the value is taken to be the return of calling getSimpleName on the class to which this annotation is attached and lowercasing the first character. If more than one component with this derived name is found, the results are undefined.
- jakarta.faces.component
- FacesComponent
-
-
-
-
- JSF:JAVADOC:2643
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.component
- PartialStateHolder
-
-
-
-
- JSF:JAVADOC:2644
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.component
- PartialStateHolder
-
-
-
-
- JSF:JAVADOC:2645
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.component
- PartialStateHolder
-
-
-
-
- JSF:JAVADOC:2646
- Store the specified value in a List that is internal to the StateHelper. It's important to note for delta tracking that any modifications to the internal List be made through this method or StateHelper#remove(java.io.Serializable, Object).
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2647
- Attempts to find a value associated with the specified key, using the value expression collection from the component if no such value is found.
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
-
-
-
-
-
- JSF:JAVADOC:2648
- Performs the same logic as #eval(java.io.Serializable) } but if no value is found, this will return the specified defaultValue
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2649
- Performs the same logic as #eval(java.io.Serializable) } but if no value is found, this will return the return-value of the defaultValueSupplier
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
- java.util.function.Supplier
-
-
-
-
-
- JSF:JAVADOC:2650
- Return the value currently associated with the specified key if any.
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
-
-
-
-
-
- JSF:JAVADOC:2651
- Return the previously stored value and store the specified key/value pair. This is intended to store data that would otherwise reside in an instance variable on the component.
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2652
- Store the specified mapKey/value in a Map that is internal to the helper, and return the previously stored value. The Map will then be associated with key. It's important to note for delta tracking that any modifications to the internal Map be made through this method or StateHelper#remove(java.io.Serializable, Object).
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
- java.lang.String
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2653
- Remove the key/value pair from the helper, returning the value previously stored under this key.
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
-
-
-
-
-
- JSF:JAVADOC:2654
- Remove a value from the inner data structure. Look in the inner data structure for the value at the given key. If the value is a Map, remove and return the value under the key given by the valueOrKey argument. If the value is a Collection, simply remove the value given by the argument valueOrKey and return null.
- jakarta.faces.component
- StateHelper
-
-
- java.io.Serializable
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2655
- If true, the Object implementing this interface must not participate in state saving or restoring.
- jakarta.faces.component
- StateHolder
-
-
-
-
- JSF:JAVADOC:2656
- Perform any processing required to restore the state from the entries in the state Object. If the class that implements this interface has references to instances that also implement StateHolder (such as a UIComponent with event handlers, validators, etc.) this method must call the #restoreState method on all those instances as well. If the state argument is null, take no action and return.
- jakarta.faces.component
- StateHolder
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2657
- Gets the state of the instance as a Serializable Object. If the class that implements this interface has references to instances that implement StateHolder (such as a UIComponent with event handlers, validators, etc.) this method must call the #saveState method on all those instances as well. This method must not save the state of children and facets. That is done via the jakarta.faces.application.StateManager This method must not alter the state of the implementing object. In other words, after executing this code: Object state = component.saveState(facesContext); component should be the same as before executing it. The return from this method must be Serializable
- jakarta.faces.component
- StateHolder
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2658
- Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
- jakarta.faces.component
- StateHolder
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2659
- Return the value currently associated with the specified key if any.
- jakarta.faces.component
- TransientStateHelper
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2660
- Performs the same logic as #getTransient } but if no value is found, this will return the specified defaultValue
- jakarta.faces.component
- TransientStateHelper
-
-
- java.lang.Object
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2661
- Return the previously stored value and store the specified key/value pair. This is intended to store data that would otherwise reside in an instance variable on the component.
- jakarta.faces.component
- TransientStateHelper
-
-
- java.lang.Object
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2662
- Restore the "transient state" using the object passed as state. If the state argument is null clear any previous transient state if any and return.
- jakarta.faces.component
- TransientStateHolder
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2663
- Return the object containing related "transient states". that could be used later to restore the "transient state".
- jakarta.faces.component
- TransientStateHolder
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2664
- Get the component family.
- jakarta.faces.component
- UIColumn
-
-
-
-
- JSF:JAVADOC:2665
- Return the footer facet of the column (if any). A convenience method for getFacet("footer").
- jakarta.faces.component
- UIColumn
-
-
-
-
- JSF:JAVADOC:2666
- Return the header facet of the column (if any). A convenience method for getFacet("header").
- jakarta.faces.component
- UIColumn
-
-
-
-
- JSF:JAVADOC:2667
- Set the footer facet of the column. A convenience method for getFacets().put("footer", footer).
- jakarta.faces.component
- UIColumn
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:2668
- Set the header facet of the column. A convenience method for getFacets().put("header", header).
- jakarta.faces.component
- UIColumn
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:2669
- Create a new UIColumn instance with default property values.
- jakarta.faces.component
- UIColumn
-
-
-
-
- JSF:JAVADOC:2670
- In addition to to the default UIComponent#broadcast processing, pass the ActionEvent being broadcast to the method referenced by actionListener (if any), and to the default ActionListener registered on the jakarta.faces.application.Application.
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
-
- JSF:JAVADOC:2671
- Signal the Jakarta Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:2672
- Return the MethodExpression 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.
- jakarta.faces.component
- UICommand
-
-
-
-
- JSF:JAVADOC:2673
-
- jakarta.faces.component
- UICommand
-
-
-
-
- JSF:JAVADOC:2674
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UICommand
-
-
-
-
- JSF:JAVADOC:2675
- Returns the value property of the UICommand. This is most often rendered as a label.
- jakarta.faces.component
- UICommand
-
-
-
-
- JSF:JAVADOC:2676
- The immediate flag.
- jakarta.faces.component
- UICommand
-
-
-
-
- JSF:JAVADOC:2677
- Intercept queueEvent and take the following action. If the event is an ActionEvent, obtain the UIComponent instance from the event. If the component is an ActionSource obtain the value of its "immediate" property. If it is true, mark the phaseId for the event to be PhaseId.APPLY_REQUEST_VALUES otherwise, mark the phaseId to be PhaseId.INVOKE_APPLICATION. The event must be passed on to super.queueEvent() before returning from this method.
- jakarta.faces.component
- UICommand
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
-
- JSF:JAVADOC:2678
- Set the MethodExpression pointing at the appication 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. Any method referenced by such an expression must be public, with a return type of String, and accept no parameters.
- jakarta.faces.component
- UICommand
-
-
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:2679
-
- jakarta.faces.component
- UICommand
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2680
- Sets the value property of the UICommand. This is most often rendered as a label.
- jakarta.faces.component
- UICommand
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2681
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type. Listeners are called in the order in which they were added. If the event is an instance of jakarta.faces.event.BehaviorEvent and the current component is the source of the event call jakarta.faces.event.BehaviorEvent#getBehavior to get the jakarta.faces.component.behavior.Behavior for the event. Call jakarta.faces.component.behavior.Behavior#broadcast(jakarta.faces.event.BehaviorEvent) on the Behavior instance.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
-
- JSF:JAVADOC:2682
- Signal the Jakarta Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:2683
- An implementation of PartialStateHolder#clearInitialState, this method is called by the runtime to tell the instance to stop tracking state changes.
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2684
- If this component returns true from #isRendered, take the following action. Render this component and all its children that return true from isRendered(), regardless of the value of the #getRendersChildren flag.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2685
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2686
- Return a mutable Map representing the attributes (and properties, see below) associated wth this UIComponent, keyed by attribute name (which must be a String). The returned implementation must support all of the standard and optional Map methods, plus support the following additional requirements: The Map implementation must implement the java.io.Serializable interface. Any attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a String must throw a ClassCastException. If the attribute name specified as a key matches a property of this UIComponent's implementation class, the following methods will have special behavior: containsKey - Return false. get() - If the property is readable, call the getter method and return the returned value (wrapping primitive values in their corresponding wrapper classes); otherwise throw IllegalArgumentException. put() - If the property is writeable, call the setter method to set the corresponding value (unwrapping primitive values in their corresponding wrapper classes). If the property is not writeable, or an attempt is made to set a property of primitive type to null, throw IllegalArgumentException. remove - Throw IllegalArgumentException.
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2687
- Return a mutable List representing the child UIComponents associated with this component. The returned implementation must support all of the standard and optional List methods, plus support the following additional requirements: The List implementation must implement the java.io.Serializable interface. Any attempt to add a null must throw a NullPointerException Any attempt to add an object that does not implement UIComponent must throw a ClassCastException. Whenever a new child component is added, the parent property of the child must be set to this component instance. If the parent property of the child was already non-null, the child must first be removed from its previous parent (where it may have been either a child or a facet). Whenever an existing child component is removed, the parent property of the child must be set to null. After the child component has been added to the view, jakarta.faces.application.Application#publishEvent must be called, passing jakarta.faces.event.PostAddToViewEvent.class as the first argument and the newly added component as the second argument if any the following cases are true. jakarta.faces.context.FacesContext#getCurrentPhaseId returns jakarta.faces.event.PhaseId#RESTORE_VIEW and partial state saving is enabled. jakarta.faces.context.FacesContext#isPostback returns false and jakarta.faces.context.FacesContext#getCurrentPhaseId returns something other than jakarta.faces.event.PhaseId#RESTORE_VIEW
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2688
- Enable Jakarta Expression Language to access the clientId of a component. This is particularly useful in combination with the component and cc implicit objects. A default implementation is provided that simply calls FacesContext#getCurrentInstance and then calls through to #getClientId(FacesContext).
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2689
- Finds the nearest composite component parent of the specified component.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:2690
- Allow components that implement NamingContainer to selectively disable prepending their clientId to their descendent's clientIds by breaking the prepending logic into a separately callable method. See #getClientId for usage. By default, this method will call through to #getClientId and return the result.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2691
- Return the UIComponent instance that is currently processing. This is equivalent to evaluating the Jakarta Expression Language expression "#{component}" and doing a getValue operation on the resultant ValueExpression. This method must return null if there is no currently processing UIComponent
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2692
- Return the closest ancestor component, relative to the component returned from #getCurrentComponent, that is a composite component, or null if no such component exists.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2693
- Return the number of facet UIComponents that are associated with this UIComponent. If there are no facets, this method must return 0. The method must not cause the creation of a facet component map. For backwards compatability with classes that extend UIComponent directly, a default implementation is provided that simply calls #getFacets and then calls the size() method on the returned Map. A more optimized version of this method is provided in UIComponentBase#getFacetCount.
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2694
- Return a mutable Map representing the facet UIComponents associated with this UIComponent, keyed by facet name (which must be a String). The returned implementation must support all of the standard and optional Map methods, plus support the following additional requirements: The Map implementation must implement the java.io.Serializable interface. Any attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a String must throw a ClassCastException. Any attempt to add a value that is not a UIComponent must throw a ClassCastException. Whenever a new facet UIComponent is added: The parent property of the component must be set to this component instance. If the parent property of the component was already non-null, the component must first be removed from its previous parent (where it may have been either a child or a facet). Whenever an existing facet UIComponent is removed: The parent property of the facet must be set to null.
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2695
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2696
- Return the component identifier of this UIComponent.
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2697
- This implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class. UIComponentBase provides the implementation of this method.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:2698
- Starting with "this", return the closest component in the ancestry that is a NamingContainer or null if none can be found.
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2699
- This is a convenience method that simply calls #getPassThroughAttributes(boolean), passing true as the argument. This method must never return null.
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2700
- This method has the same specification as #getPassThroughAttributes() except that it is allowed to return null if and only if the argument create is false and no pass through attribute data structure exists for this instance. The returned Map implementation must support all of the standard and optional Map methods, plus support the following additional requirements. The map must be stored in using #getStateHelper. The Map implementation must implement java.io.Serializable. Any attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a String must throw an IllegalArgumentException. For backward compatibility with components that extend directly from this class, a default implementation is provided that returns the empty map.
- jakarta.faces.component
- UIComponent
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2701
- Return a Map of the ResourceBundle for this component. A component may have a ResourceBundle associated with it. This bundle may contain localized properties relating to instances of this component. The default implementation first looks for a ResourceBundle with a base name equal to the fully qualified class name of the current UIComponent this and Locale equal to the Locale of the current UIViewRoot. If no such bundle is found, and the component is a composite component, let resourceName be the resourceName of the Resource for this composite component, replacing the file extension with ".properties". Let libraryName be the libraryName of the the Resource for this composite component. Call jakarta.faces.application.ResourceHandler#createResource(java.lang.String,java.lang.String), passing the derived resourceName and libraryName. Note that this will automatically allow for the localization of the ResourceBundle due to the localization facility implemented in createResource, which is specified in section 2.6.1.3 "Resource Identifiers" of the Jakarta Faces Specification Document. If the resultant Resource exists and can be found, the InputStream for the resource is used to create a ResourceBundle. If either of the two previous steps for obtaining the ResourceBundle for this component is successful, the ResourceBundle is wrapped in a Map and returned. Otherwise Collections.EMPTY_MAP is returned.
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2702
- Return the TransientStateHelper instance for this UIComponent instance. The default implementation simply calls through to #getTransientStateHelper(boolean) passing true as the argument.
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2703
- Return the TransientStateHelper instance for this UIComponent instance.
- jakarta.faces.component
- UIComponent
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2704
- Return the ValueExpression used to calculate the value for the specified attribute or property name, if any. This method must be overridden and implemented for components that comply with Jakarta Faces 1.2 and later.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2705
- An implementation of PartialStateHolder#initialStateMarked, this method is called by the runtime to test if the PartialStateHolder#markInitialState method was called.
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2706
- Starting at this component in the View hierarchy, search for a component with a clientId equal to the argument clientId and, if found, call the ContextCallback#invokeContextCallback method on the argument callback, passing the current FacesContext and the found component as arguments. This method is similar to #findComponent but it does not support the leading UINamingContainer#getSeparatorChar syntax for searching from the root of the View. The default implementation will first check if this.getClientId() is equal to the argument clientId. If so, first call #pushComponentToEL, then call the ContextCallback#invokeContextCallback method on the argument callback, passing through the FacesContext argument and passing this as the component argument. Then call #popComponentFromEL. If an Exception is thrown by the callback, wrap it in a FacesException and re-throw it. Otherwise, return true. Otherwise, for each component returned by #getFacetsAndChildren, call invokeOnComponent() passing the arguments to this method, in order. The first time invokeOnComponent() returns true, abort traversing the rest of the Iterator and return true. When calling ContextCallback#invokeContextCallback the implementation of this method must guarantee that the state of the component passed to the callback correctly reflects the component's position in the View hierarchy with respect to any state found in the argument clientId. For example, an iterating component such as UIData will need to set its row index to correctly reflect the argument clientId before finding the appropriate child component backed by the correct row. When the callback returns, either normally or by throwing an Exception the implementation of this method must restore the state of the view to the way it was before invoking the callback. If none of the elements from #getFacetsAndChildren returned true from invokeOnComponent(), return false. Simple usage example to find a component by clientId. private UIComponent found = null; private void doFind(FacesContext context, String clientId) { context.getViewRoot().invokeOnComponent(context, clientId, new ContextCallback() { public void invokeContextCallback(FacesContext context, UIComponent component) { found = component; } }); }
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
-
- JSF:JAVADOC:2707
- if the argument Callback throws an Exception, it is wrapped in a FacesException and re-thrown.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2708
- Return true if component is a composite component, otherwise false.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:2709
- Return true if this component is within the view hierarchy otherwise false
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2710
- An implementation of PartialStateHolder#markInitialState, this method is called by the runtime to indicate that the instance should start tracking changes to its state.
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2711
- Pop the current UIComponent from the FacesContext attributes map so that the previous UIComponent, if any, becomes the current component.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2712
- The default implementation performs the following action. If the argument event is an instance of PostRestoreStateEvent, call this.#getValueExpression passing the literal string #8220;binding #8221;, without the quotes, as the argument. If the result is non-null, set the value of the ValueExpression to be this.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.ComponentSystemEvent
-
-
-
-
-
- JSF:JAVADOC:2713
-
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.ComponentSystemEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:2714
- Perform the component tree processing required by the Restore View phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the restoreState() method of this component. Call UIComponent#pushComponentToEL. Call the processRestoreState() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). After returning from the processRestoreState() method on a child or facet, call UIComponent#popComponentFromEL This method may not be called if the state saving method is set to server.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2715
- Perform the component tree processing required by the state saving portion of the Render Response phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. consult the transient property of this component. If true, just return null. Call #pushComponentToEL. Call the processSaveState() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(), skipping children and facets that are transient. Ensure that #popComponentFromEL is called correctly after each child or facet. Call the saveState() method of this component. Encapsulate the child state and your state into a Serializable Object and return it. This method may not be called if the state saving method is set to server.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2716
- Push the current UIComponent this to the FacesContext attribute map saving the previous UIComponent for a subsequent call to #popComponentFromEL. This method and popComponentFromEL() form the basis for the contract that enables the Jakarta Expression Language Expression "#{component}" to resolve to the "current" component that is being processed in the lifecycle. The requirements for when pushComponentToEL() and popComponentFromEL() must be called are specified as needed in the javadoc for this class. After pushComponentToEL() returns, a call to #getCurrentComponent must return this UIComponent instance until popComponentFromEL() is called, after which point the previous UIComponent instance will be returned from getCurrentComponent()
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:2717
- Queue an event for broadcast at the end of the current request processing lifecycle phase. The default implementation in UIComponentBase must delegate this call to the queueEvent() method of the parent UIComponent.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
-
- JSF:JAVADOC:2718
- For components that need to support the concept of transient state, this method will restore any state saved on a prior call to #saveTransientState.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2719
- For components that need to support the concept of transient state, this method will save any state that is known to be transient in nature.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2720
- Set the component identifier of this UIComponent (if any). Component identifiers must obey the following syntax restrictions: Must not be a zero-length String. First character must be a letter or an underscore ('_'). Subsequent characters must be a letter, a digit, an underscore ('_'), or a dash ('-'). Component identifiers must also obey the following semantic restrictions (note that this restriction is NOT enforced by the setId() implementation): The specified identifier must be unique among all the components (including facets) that are descendents of the nearest ancestor UIComponent that is a NamingContainer, or within the scope of the entire component tree if there is no such ancestor that is a NamingContainer.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2721
- Updates the status as to whether or not this component is currently within the view hierarchy. This method must never be called by developers; a UIComponent's internal implementation will call it as components are added to or removed from a parent's child List or facet Map.
- jakarta.faces.component
- UIComponent
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2722
- Set the ValueExpression used to calculate the value for the specified attribute or property name, if any. The implementation must call ValueExpression#isLiteralText on the argument expression. If isLiteralText() returns true, invoke ValueExpression#getValue on the argument expression and pass the result as the value parameter in a call to this.#getAttributes().put(name, value) where name is the argument name. If an exception is thrown as a result of calling ValueExpression#getValue, wrap it in a jakarta.faces.FacesException and re-throw it. If isLiteralText() returns false, simply store the un-evaluated expression argument in the collection of ValueExpressions under the key given by the argument name. This method must be overridden and implemented for components that comply with Jakarta Faces 1.2 and later.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.String
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:2723
- This implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class. UIComponentBase provides the implementation of this method.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.Class
- jakarta.faces.event.ComponentSystemEventListener
-
-
-
-
-
- JSF:JAVADOC:2724
-
- jakarta.faces.component
- UIComponent
-
-
-
-
- JSF:JAVADOC:2725
- This implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class. UIComponentBase provides the implementation of this method.
- jakarta.faces.component
- UIComponent
-
-
- java.lang.Class
- jakarta.faces.event.ComponentSystemEventListener
-
-
-
-
-
- JSF:JAVADOC:2726
- Perform a tree visit starting at this node in the tree. UIComponent.visitTree() implementations do not invoke the VisitCallback directly, but instead call VisitContext#invokeVisitCallback to invoke the callback. This allows VisitContext implementations to provide optimized tree traversals, for example by only calling the VisitCallback for a subset of components. UIComponent.visitTree() implementations must call UIComponent.pushComponentToEL() before performing the visit and UIComponent.popComponentFromEL() after the visit.
- jakarta.faces.component
- UIComponent
-
-
- jakarta.faces.component.visit.VisitContext
- jakarta.faces.component.visit.VisitCallback
-
-
-
-
-
- JSF:JAVADOC:2727
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#addClientBehavior. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
- jakarta.faces.component.behavior.ClientBehavior
-
-
-
-
-
- JSF:JAVADOC:2728
- Broadcast the specified FacesEvent to all registered event listeners who have expressed an interest in events of this type. Listeners are called in the order in which they were added. If the event is an instance of jakarta.faces.event.BehaviorEvent and the current component is the source of the event call jakarta.faces.event.BehaviorEvent#getBehavior to get the jakarta.faces.component.behavior.Behavior for the event. Call jakarta.faces.component.behavior.Behavior#broadcast(jakarta.faces.event.BehaviorEvent) on the Behavior instance.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
-
- JSF:JAVADOC:2729
- Signal the Jakarta Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:2730
- For each of the attached objects on this instance that implement PartialStateHolder, call PartialStateHolder#clearInitialState on the attached object.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- JSF:JAVADOC:2731
- Return a mutable Map representing the attributes (and properties, see below) associated wth this UIComponent, keyed by attribute name (which must be a String). The returned implementation must support all of the standard and optional Map methods, plus support the following additional requirements: The Map implementation must implement the java.io.Serializable interface. Any attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a String must throw a ClassCastException. If the attribute name specified as a key matches a property of this UIComponent's implementation class, the following methods will have special behavior: containsKey - Return false. get() - If the property is readable, call the getter method and return the returned value (wrapping primitive values in their corresponding wrapper classes); otherwise throw IllegalArgumentException. put() - If the property is writeable, call the setter method to set the corresponding value (unwrapping primitive values in their corresponding wrapper classes). If the property is not writeable, or an attempt is made to set a property of primitive type to null, throw IllegalArgumentException. remove - Throw IllegalArgumentException.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- JSF:JAVADOC:2732
- Return a mutable List representing the child UIComponents associated with this component. The returned implementation must support all of the standard and optional List methods, plus support the following additional requirements: The List implementation must implement the java.io.Serializable interface. Any attempt to add a null must throw a NullPointerException Any attempt to add an object that does not implement UIComponent must throw a ClassCastException. Whenever a new child component is added, the parent property of the child must be set to this component instance. If the parent property of the child was already non-null, the child must first be removed from its previous parent (where it may have been either a child or a facet). Whenever an existing child component is removed, the parent property of the child must be set to null. After the child component has been added to the view, jakarta.faces.application.Application#publishEvent must be called, passing jakarta.faces.event.PostAddToViewEvent.class as the first argument and the newly added component as the second argument if any the following cases are true. jakarta.faces.context.FacesContext#getCurrentPhaseId returns jakarta.faces.event.PhaseId#RESTORE_VIEW and partial state saving is enabled. jakarta.faces.context.FacesContext#isPostback returns false and jakarta.faces.context.FacesContext#getCurrentPhaseId returns something other than jakarta.faces.event.PhaseId#RESTORE_VIEW
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- JSF:JAVADOC:2733
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getClientBehaviors. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must add an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- JSF:JAVADOC:2734
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- JSF:JAVADOC:2735
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- JSF:JAVADOC:2736
- Return the number of facet UIComponents that are associated with this UIComponent. If there are no facets, this method must return 0. The method must not cause the creation of a facet component map. For backwards compatability with classes that extend UIComponent directly, a default implementation is provided that simply calls #getFacets and then calls the size() method on the returned Map. A more optimized version of this method is provided in UIComponentBase#getFacetCount.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- JSF:JAVADOC:2737
- Return a mutable Map representing the facet UIComponents associated with this UIComponent, keyed by facet name (which must be a String). The returned implementation must support all of the standard and optional Map methods, plus support the following additional requirements: The Map implementation must implement the java.io.Serializable interface. Any attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a String must throw a ClassCastException. Any attempt to add a value that is not a UIComponent must throw a ClassCastException. Whenever a new facet UIComponent is added: The parent property of the component must be set to this component instance. If the parent property of the component was already non-null, the component must first be removed from its previous parent (where it may have been either a child or a facet). Whenever an existing facet UIComponent is removed: The parent property of the facet must be set to null.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- JSF:JAVADOC:2738
- Return the component identifier of this UIComponent.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- JSF:JAVADOC:2739
- Return the SystemEventListener instances registered on this UIComponent instance that are interested in events of type eventClass.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:2740
- This method has the same specification as #getPassThroughAttributes() except that it is allowed to return null if and only if the argument create is false and no pass through attribute data structure exists for this instance. The returned Map implementation must support all of the standard and optional Map methods, plus support the following additional requirements. The map must be stored in using #getStateHelper. The Map implementation must implement java.io.Serializable. Any attempt to add a null key or value must throw a NullPointerException. Any attempt to add a key that is not a String must throw an IllegalArgumentException. For backward compatibility with components that extend directly from this class, a default implementation is provided that returns the empty map.
- jakarta.faces.component
- UIComponentBase
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2741
-
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
-
- JSF:JAVADOC:2742
- {@inheritDoc}
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2743
-
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- JSF:JAVADOC:2744
- For each of the attached objects on this instance that implement PartialStateHolder, call PartialStateHolder#markInitialState on the attached object.
- jakarta.faces.component
- UIComponentBase
-
-
-
-
- JSF:JAVADOC:2745
- Perform the component tree processing required by the Restore View phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. Call the restoreState() method of this component. Call UIComponent#pushComponentToEL. Call the processRestoreState() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(). After returning from the processRestoreState() method on a child or facet, call UIComponent#popComponentFromEL This method may not be called if the state saving method is set to server.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2746
- Perform the component tree processing required by the state saving portion of the Render Response phase of the request processing lifecycle for all facets of this component, all children of this component, and this component itself, as follows. consult the transient property of this component. If true, just return null. Call #pushComponentToEL. Call the processSaveState() method of all facets and children of this UIComponent in the order determined by a call to getFacetsAndChildren(), skipping children and facets that are transient. Ensure that #popComponentFromEL is called correctly after each child or facet. Call the saveState() method of this component. Encapsulate the child state and your state into a Serializable Object and return it. This method may not be called if the state saving method is set to server.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2747
- Queue an event for broadcast at the end of the current request processing lifecycle phase. The default implementation in UIComponentBase must delegate this call to the queueEvent() method of the parent UIComponent.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
-
- JSF:JAVADOC:2748
- This method is called by UIComponent subclasses that need to restore the objects they saved using #saveAttachedState. This method is tightly coupled with #saveAttachedState. This method supports restoring all attached objects types supported by #saveAttachedState.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2749
- if the object is not previously returned by #saveAttachedState.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.lang.IllegalStateException
-
-
-
-
- JSF:JAVADOC:2750
-
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2751
- This method is called by UIComponent subclasses that want to save one or more attached objects. It is a convenience method that does the work of saving attached objects that may or may not implement the StateHolder interface. Using this method implies the use of #restoreAttachedState to restore the attached objects. This method supports saving attached objects of the following type: Objects, null values, and Collections of these objects. If any contained objects are not Collections and do not implement StateHolder, they must have zero-argument public constructors. The exact structure of the returned object is undefined and opaque, but will be serializable.
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2752
-
- jakarta.faces.component
- UIComponentBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2753
- Set the component identifier of this UIComponent (if any). Component identifiers must obey the following syntax restrictions: Must not be a zero-length String. First character must be a letter or an underscore ('_'). Subsequent characters must be a letter, a digit, an underscore ('_'), or a dash ('-'). Component identifiers must also obey the following semantic restrictions (note that this restriction is NOT enforced by the setId() implementation): The specified identifier must be unique among all the components (including facets) that are descendents of the nearest ancestor UIComponent that is a NamingContainer, or within the scope of the entire component tree if there is no such ancestor that is a NamingContainer.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2754
-
- jakarta.faces.component
- UIComponentBase
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2755
- Install the listener instance referenced by argument componentListener as a listener for events of type eventClass originating from this specific instance of UIComponent. The default implementation creates an inner SystemEventListener instance that wraps argument componentListener as the listener argument. This inner class must call through to the argument componentListener in its implementation of SystemEventListener#processEvent and its implementation of SystemEventListener#isListenerForSource must return true if the instance class of this UIComponent is assignable from the argument to isListenerForSource. The listener instance referenced by argument componentListener may not already be installed as a listener for events of type eventClass originating from this specific instance of UIComponent. When doing the comparison to determine if an existing listener is equal to the argument componentListener, the equals() method on the existing listener must be invoked, passing the argument componentListener, rather than the other way around.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.Class
- jakarta.faces.event.ComponentSystemEventListener
-
-
-
-
-
- JSF:JAVADOC:2756
- Remove the listener instance referenced by argument componentListener as a listener for events of type eventClass originating from this specific instance of UIComponent. When doing the comparison to determine if an existing listener is equal to the argument componentListener (and thus must be removed), the equals() method on the existing listener must be invoked, passing the argument componentListener, rather than the other way around.
- jakarta.faces.component
- UIComponentBase
-
-
- java.lang.Class
- jakarta.faces.event.ComponentSystemEventListener
-
-
-
-
-
- JSF:JAVADOC:2757
- Override the default UIComponentBase#broadcast processing to unwrap any wrapped FacesEvent and reset the current row index, before the event is actually broadcast. For events that we did not wrap (in queueEvent()), default processing will occur.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
-
- JSF:JAVADOC:2758
- Signal the Jakarta Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.event.FacesEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:2759
- Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed value can be supplied by component creators which should be included in the generated unique id.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2760
- In addition to the default behavior, ensure that any saved per-row state for our child input components is discarded unless it is needed to rerender the current page with errors.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2761
- if an input/output error occurs while rendering
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2762
- Return a client identifier for this component that includes the current value of the rowIndex property, if it is not set to -1. This implies that multiple calls to getClientId() may return different results, but ensures that child components can themselves generate row-specific client identifiers (since UIData is a NamingContainer).
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2763
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2764
- Return the zero-relative row number of the first row to be displayed.
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2765
- Return the footer facet of this component (if any). A convenience method for getFacet("footer").
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2766
- Return the header facet of this component (if any). A convenience method for getFacet("header").
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2767
- Return the number of rows in the underlying data model. If the number of available rows is unknown, return -1.
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2768
- Return the data object representing the data for the currently selected row index, if any.
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2769
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, return -1. This property is not enabled for value binding expressions.
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2770
- Return the number of rows to be displayed, or zero for all remaining rows in the table. The default value of this property is zero.
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2771
- Return the value of the UIData. This value must either be be of type DataModel, or a type that can be adapted into a DataModel. UIData will automatically adapt the following types: Arrays java.util.List java.sql.ResultSet java.util.Collection All other types will be adapted using the ScalarDataModel class, which will treat the object as a single row of data.
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2772
- Return the request-scope attribute under which the data object for the current row will be exposed when iterating. This property is not enabled for value binding expressions.
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2773
- Override behavior from UIComponentBase#invokeOnComponent to provide special care for positioning the data properly before finding the component and invoking the callback on it. If the argument clientId is equal to this.getClientId() simply invoke the contextCallback, passing the context argument and this as arguments, and return true. If the argument clientId is not equal to this.getClientId(), inspect each of the facet children of this UIData instance and for each one, compare its clientId with the argument clientId. If there is a match, invoke the contextCallback, passing the context argument and this as arguments, and return true. Otherwise, attempt to extract a rowIndex from the clientId. For example, if the argument clientId was form:data:3:customerHeader the rowIndex would be 3. Let this value be called newIndex. The current rowIndex of this instance must be saved aside and restored before returning in all cases, regardless of the outcome of the search or if any exceptions are thrown in the process. The implementation of this method must never return true if setting the rowIndex of this instance to be equal to newIndex causes this instance to return false from #isRowAvailable.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
-
- JSF:JAVADOC:2774
- {@inheritDoc} Also throws FacesException if any exception is thrown when deriving the rowIndex from the argument clientId.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:2775
- Return a flag indicating whether there is rowData available at the current rowIndex. If no wrappedData is available, return false.
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2776
- Return the value of the rowStatePreserved JavaBeans property. See #setRowStatePreserved.
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2777
- Override the base class method to take special action if the method is being invoked when StateManager#IS_BUILDING_INITIAL_STATE is true and the rowStatePreserved JavaBeans property for this instance is true. The additional action taken is to traverse the descendents and save their state without regard to any particular row value.
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2778
- Override the default UIComponentBase#processDecodes processing to perform the following steps. If the rendered property of this UIComponent is false, skip further processing. Set the current rowIndex to -1. Call the processDecodes() method of all facets of this UIData, in the order determined by a call to getFacets().keySet().iterator(). Call the processDecodes() method of all facets of the UIColumn children of this UIData. Iterate over the set of rows that were included when this component was rendered (i.e. those defined by the first and rows properties), performing the following processing for each row: Set the current rowIndex to the appropriate value for this row. If isRowAvailable() returns true, iterate over the children components of each UIColumn child of this UIData component, calling the processDecodes() method for each such child. Set the current rowIndex to -1. Call the decode() method of this component. If a RuntimeException is thrown during decode processing, call FacesContext#renderResponse and re-throw the exception.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2779
- Override the default UIComponentBase#processUpdates processing to perform the following steps. If the rendered property of this UIComponent is false, skip further processing. Set the current rowIndex to -1. Call the processUpdates() method of all facets of this UIData, in the order determined by a call to getFacets().keySet().iterator(). Call the processUpdates() method of all facets of the UIColumn children of this UIData. Iterate over the set of rows that were included when this component was rendered (i.e. those defined by the first and rows properties), performing the following processing for each row: Set the current rowIndex to the appropriate value for this row. If isRowAvailable() returns true, iterate over the children components of each UIColumn child of this UIData component, calling the processUpdates() method for each such child. Set the current rowIndex to -1.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2780
- Override the default UIComponentBase#processValidators processing to perform the following steps. If the rendered property of this UIComponent is false, skip further processing. Set the current rowIndex to -1. Call the processValidators() method of all facets of this UIData, in the order determined by a call to getFacets().keySet().iterator(). Call the processValidators() method of all facets of the UIColumn children of this UIData. Iterate over the set of rows that were included when this component was rendered (i.e. those defined by the first and rows properties), performing the following processing for each row: Set the current rowIndex to the appropriate value for this row. If isRowAvailable() returns true, iterate over the children components of each UIColumn child of this UIData component, calling the processValidators() method for each such child. Set the current rowIndex to -1.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2781
- Override the default UIComponentBase#queueEvent processing to wrap any queued events in a wrapper so that we can reset the current row index in broadcast().
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
-
- JSF:JAVADOC:2782
-
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2783
-
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2784
- Set the zero-relative row number of the first row to be displayed.
- jakarta.faces.component
- UIData
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:2785
- Set the footer facet of this component. A convenience method for getFacets().put("footer", footer).
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:2786
- Set the header facet of this component. A convenience method for getFacets().put("header", header).
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:2787
- Set the zero relative index of the current row, or -1 to indicate that no row is currently selected, by implementing the following algorithm. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. To support transient state among descendents, please consult the specification for #setRowStatePreserved, which details the requirements for setRowIndex() when the rowStatePreserved JavaBeans property is set to true. Save current state information for all descendant components (as described below). Store the new row index, and pass it on to the DataModel associated with this UIData instance. If the new rowIndex value is -1: If the var property is not null, remove the corresponding request scope attribute (if any). Reset the state information for all descendant components (as described below). If the new rowIndex value is not -1: If the var property is not null, call getRowData() and expose the resulting data object as a request scope attribute whose key is the var property value. Reset the state information for all descendant components (as described below). To save current state information for all descendant components, UIData must maintain per-row information for each descendant as follows: If the descendant is an instance of EditableValueHolder, save the state of its localValue property. If the descendant is an instance of EditableValueHolder, save the state of the localValueSet property. If the descendant is an instance of EditableValueHolder, save the state of the valid property. If the descendant is an instance of EditableValueHolder, save the state of the submittedValue property. To restore current state information for all descendant components, UIData must reference its previously stored information for the current rowIndex and call setters for each descendant as follows: If the descendant is an instance of EditableValueHolder, restore the value property. If the descendant is an instance of EditableValueHolder, restore the state of the localValueSet property. If the descendant is an instance of EditableValueHolder, restore the state of the valid property. If the descendant is an instance of EditableValueHolder, restore the state of the submittedValue property.
- jakarta.faces.component
- UIData
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:2788
- Set the number of rows to be displayed, or zero for all remaining rows in the table.
- jakarta.faces.component
- UIData
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:2789
- If this property is set to true, the UIData must take steps to ensure that modifications to its iterated children will be preserved on a per-row basis. This allows applications to modify component properties, such as the style-class, for a specific row, rather than having such modifications apply to all rows. To accomplish this, UIData must call StateHolder#saveState and TransientStateHolder#saveTransientState on its children to capture their state on exiting each row. When re-entering the row, StateHolder#restoreState and TransientStateHolder#restoreTransientState must be called in order to reinitialize the children to the correct state for the new row. All of this action must take place during the processing of #setRowIndex. Users should consider enabling this feature for cases where it is necessary to modify properties of UIData's children in a row-specific way. Note, however, that row-level state saving/restoring does add overhead. As such, this feature should be used judiciously.
- jakarta.faces.component
- UIData
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2790
- Set the value of the UIData. This value must either be be of type DataModel, or a type that can be adapted into a DataModel.
- jakarta.faces.component
- UIData
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2791
- Set the ValueExpression used to calculate the value for the specified attribute or property name, if any. In addition, if a ValueExpression is set for the value property, remove any synthesized DataModel for the data previously bound to this component.
- jakarta.faces.component
- UIData
-
-
- java.lang.String
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:2792
- Set the request-scope attribute under which the data object for the current row wil be exposed when iterating.
- jakarta.faces.component
- UIData
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2793
- Create a new UIData instance with default property values.
- jakarta.faces.component
- UIData
-
-
-
-
- JSF:JAVADOC:2794
- Override the behavior in UIComponent#visitTree to handle iteration correctly. If the UIComponent#isVisitable method of this instance returns false, take no action and return. Call UIComponent#pushComponentToEL and invoke the visit callback on this UIData instance as described in UIComponent#visitTree. Let the result of the invoctaion be visitResult. If visitResult is VisitResult#COMPLETE, take no further action and return true. Otherwise, determine if we need to visit our children. The default implementation calls VisitContext#getSubtreeIdsToVisit passing this as the argument. If the result of that call is non-empty, let doVisitChildren be true. If doVisitChildren is true and visitResult is VisitResult#ACCEPT, take the following action. If this component has facets, call UIComponent#getFacets on this instance and invoke the values() method. For each UIComponent in the returned Map, call UIComponent#visitTree. If this component has children, for each UIColumn child: Call VisitContext#invokeVisitCallback on that UIColumn instance. If such a call returns true, terminate visiting and return true from this method. If the child UIColumn has facets, call UIComponent#visitTree on each one. Take no action on non-UIColumn children. Save aside the result of a call to #getRowIndex. For each child component of this UIData that is also an instance of UIColumn, Iterate over the rows. Let rowsToProcess be the return from #getRows. Let rowIndex be the return from #getFirst - 1. While the number of rows processed is less than rowsToProcess, take the following actions. Call #setRowIndex, passing the current row index. If #isRowAvailable returns false, take no further action and return false. Call UIComponent#visitTree on each of the children of this UIColumn instance. Call #popComponentFromEL and restore the saved row index with a call to #setRowIndex. Return false to allow the visiting to continue.
- jakarta.faces.component
- UIData
-
-
- jakarta.faces.component.visit.VisitContext
- jakarta.faces.component.visit.VisitCallback
-
-
-
-
-
- JSF:JAVADOC:2795
- Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed value can be supplied by component creators which should be included in the generated unique id. If the prependId property has the value false, this method must call createUniqueId on the next ancestor UniqueIdVendor.
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2796
- Override the UIComponent#getContainerClientId to allow users to disable this form from prepending its clientId to its descendent's clientIds depending on the value of this form's #isPrependId property.
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2797
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIForm
-
-
-
-
- JSF:JAVADOC:2798
- Is the id prepended.
- jakarta.faces.component
- UIForm
-
-
-
-
- JSF:JAVADOC:2799
- Returns the current value of the submitted property. The default value is false. See #setSubmitted for details. This property must be kept as a transient property using the UIComponent#getTransientStateHelper.
- jakarta.faces.component
- UIForm
-
-
-
-
- JSF:JAVADOC:2800
- Override UIComponent#processDecodes to ensure that the form is decoded before its children. This is necessary to allow the submitted property to be correctly set.
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2801
- Override UIComponent#processUpdates to ensure that the children of this UIForm instance are only processed if #isSubmitted returns true.
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2802
- Override UIComponent#processValidators to ensure that the children of this UIForm instance are only processed if #isSubmitted returns true.
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2803
- Set whether the id should be prepended.
- jakarta.faces.component
- UIForm
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2804
- If this UIForm instance (as opposed to other forms in the page) is experiencing a submit during this request processing lifecycle, this method must be called, with true as the argument, during the UIComponent#decode for this UIForm instance. If this UIForm instance is not experiencing a submit, this method must be called, with false as the argument, during the UIComponent#decode for this UIForm instance. The value of a UIForm's submitted property must not be saved as part of its state. This property must be kept as a transient property using the UIComponent#getTransientStateHelper.
- jakarta.faces.component
- UIForm
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2805
- Perform a tree visit starting at this node in the tree. UIComponent.visitTree() implementations do not invoke the VisitCallback directly, but instead call VisitContext#invokeVisitCallback to invoke the callback. This allows VisitContext implementations to provide optimized tree traversals, for example by only calling the VisitCallback for a subset of components. UIComponent.visitTree() implementations must call UIComponent.pushComponentToEL() before performing the visit and UIComponent.popComponentFromEL() after the visit.
- jakarta.faces.component
- UIForm
-
-
- jakarta.faces.component.visit.VisitContext
- jakarta.faces.component.visit.VisitCallback
-
-
-
-
-
- JSF:JAVADOC:2806
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIGraphic
-
-
-
-
- JSF:JAVADOC:2807
- Return the image URL for this UIGraphic. This method is a typesafe alias for getValue().
- jakarta.faces.component
- UIGraphic
-
-
-
-
- JSF:JAVADOC:2808
- Returns the value property of the UIGraphic. This will typically be rendered as an URL.
- jakarta.faces.component
- UIGraphic
-
-
-
-
- JSF:JAVADOC:2809
- Return any ValueExpression set for value if a ValueExpression for url is requested; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2810
- Set the image URL for this UIGraphic. This method is a typesafe alias for setValue().
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2811
- Sets the value property of the UIGraphic. This will typically be rendered as an URL.
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2812
- Store any ValueExpression specified for url under value instead; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UIGraphic
-
-
- java.lang.String
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:2813
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIImportConstants
-
-
-
-
- JSF:JAVADOC:2814
- Returns the fully qualified name of the type to import the constant field values for.
- jakarta.faces.component
- UIImportConstants
-
-
-
-
- JSF:JAVADOC:2815
- Returns name of request scope attribute under which constants will be exposed as a Map.
- jakarta.faces.component
- UIImportConstants
-
-
-
-
- JSF:JAVADOC:2816
- Sets the fully qualified name of the type to import the constant field values for.
- jakarta.faces.component
- UIImportConstants
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2817
- Set the ValueExpression used to calculate the value for the specified attribute or property name, if any. If a ValueExpression is set for the var property, throw an illegal argument exception.
- jakarta.faces.component
- UIImportConstants
-
-
- java.lang.String
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:2818
- Sets name of request scope attribute under which constants will be exposed as a Map.
- jakarta.faces.component
- UIImportConstants
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2819
- Create a new UIImportConstants instance with renderer type set to null.
- jakarta.faces.component
- UIImportConstants
-
-
-
-
- JSF:JAVADOC:2820
- Add a Validator instance to the set associated with this UIInput.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- JSF:JAVADOC:2821
- Add a new ValueChangeListener to the set of listeners interested in being notified when ValueChangeEvents occur.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.ValueChangeListener
-
-
-
-
-
- JSF:JAVADOC:2822
- For each of the attached objects on this instance that implement PartialStateHolder, call PartialStateHolder#clearInitialState on the attached object.
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2823
- Decode any new state of this UIComponent from the request contained in the specified FacesContext, and store this state as needed. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling queueEvent().
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2824
- If there has been a call to #setConverterMessage on this instance, return the message. Otherwise, call #getValueExpression passing the key "converterMessage", get the result of the expression, and return it. Any ELExceptions thrown during the call to getValue() must be wrapped in a FacesException and rethrown.
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2825
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2826
- If there has been a call to #setRequiredMessage on this instance, return the message. Otherwise, call #getValueExpression passing the key "requiredMessage", get the result of the expression, and return it. Any ELExceptions thrown during the call to getValue() must be wrapped in a FacesException and rethrown.
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2827
- Return the submittedValue value of this UIInput component. This method should only be used by the decode() and validate() method of this component, or its corresponding Renderer.
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2828
- If there has been a call to #setValidatorMessage on this instance, return the message. Otherwise, call #getValueExpression passing the key "validatorMessage", get the result of the expression, and return it. Any ELExceptions thrown during the call to getValue() must be wrapped in a FacesException and rethrown.
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2829
- Return the set of registered Validators for this UIInput instance. If there are no registered validators, a zero-length array is returned.
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2830
- If there is a local value, return it, otherwise return the result of calling super.getVaue().
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2831
- Return the set of registered ValueChangeListeners for this UIInput instance. If there are no registered listeners, a zero-length array is returned.
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2832
- Is the value denoting an empty value. If the value is null, return true. If the value is a String and it is the empty string, return true. If the value is an array and the array length is 0, return true. If the value is a List and the List is empty, return true. If the value is a Collection and the Collection is empty, return true. If the value is a Map and the Map is empty, return true. In all other cases, return false.
- jakarta.faces.component
- UIInput
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2833
- Return the "immediate" state for this component.
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2834
- Return the "local value set" state for this component. Calls to setValue() automatically reset this property to true.
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2835
- Return the "required field" state for this component.
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2836
- Return a flag indicating whether the local value of this component is valid (no conversion error has occurred).
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2837
- In addition to the actions taken in UIOutput when PartialStateHolder#markInitialState() is called, check if any of the installed Validators are PartialStateHolders and if so, call jakarta.faces.component.PartialStateHolder#markInitialState() as appropriate.
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2838
- Specialized decode behavior on top of that provided by the superclass. In addition to the standard processDecodes behavior inherited from UIComponentBase, calls validate() if the the immediate property is true; if the component is invalid afterwards or a RuntimeException is thrown, calls FacesContext#renderResponse.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2839
- In addition to the standard processUpdates behavior inherited from UIComponentBase, calls updateModel(). If the component is invalid afterwards, calls FacesContext#renderResponse. If a RuntimeException is thrown during update processing, calls FacesContext#renderResponse and re-throw the exception.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2840
- In addition to the standard processValidators behavior inherited from UIComponentBase, calls validate() if the immediate property is false (which is the default); if the component is invalid afterwards, calls FacesContext#renderResponse. To ensure the PostValidateEvent is published at the proper time, this component must be validated first, followed by the component's children and facets. If a RuntimeException is thrown during validation processing, calls FacesContext#renderResponse and re-throw the exception.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2841
- Remove a Validator instance from the set associated with this UIInput, if it was previously associated. Otherwise, do nothing.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.validator.Validator
-
-
-
-
-
- JSF:JAVADOC:2842
- Remove an existing ValueChangeListener (if any) from the set of listeners interested in being notified when ValueChangeEvents occur.
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.event.ValueChangeListener
-
-
-
-
-
- JSF:JAVADOC:2843
- Convenience method to reset this component's value to the un-initialized state. This method does the following: Call UIOutput#setValue. Call #setSubmittedValue passing null. Clear state for property localValueSet. Clear state for property valid. Upon return from this call if the instance had a ValueBinding associated with it for the "value" property, this binding is evaluated when UIOutput#getValue is called. Otherwise, null is returned from getValue().
- jakarta.faces.component
- UIInput
-
-
-
-
- JSF:JAVADOC:2844
-
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2845
-
- jakarta.faces.component
- UIInput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2846
- Override any ValueExpression set for the "converterMessage" with the literal argument provided to this method. Subsequent calls to #getConverterMessage will return this value;
- jakarta.faces.component
- UIInput
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2847
- Set the "immediate" state for this component. When set to true, the component's value will be converted and validated immediately in the Apply Request Values phase, and ValueChangeEvents will be delivered in that phase as well. The default value for this property must be false.
- jakarta.faces.component
- UIInput
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2848
- Sets the "local value set" state for this component.
- jakarta.faces.component
- UIInput
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2849
- Set the "required field" state for this component.
- jakarta.faces.component
- UIInput
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2850
- Override any ValueExpression set for the "requiredMessage" with the literal argument provided to this method. Subsequent calls to #getRequiredMessage will return this value;
- jakarta.faces.component
- UIInput
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2851
- Set the submittedValue value of this UIInput component. This method should only be used by the decode() and validate() method of this component, or its corresponding Renderer.
- jakarta.faces.component
- UIInput
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2852
- Set a flag indicating whether the local value of this component is valid (no conversion error has occurred).
- jakarta.faces.component
- UIInput
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2853
- Override any ValueExpression set for the "validatorMessage" with the literal argument provided to this method. Subsequent calls to #getValidatorMessage will return this value;
- jakarta.faces.component
- UIInput
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2854
- Set the value of this UIComponent (if any).
- jakarta.faces.component
- UIInput
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2855
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIMessage
-
-
-
-
- JSF:JAVADOC:2856
- Return the Identifier of the component for which to render error messages. If this component is within the same NamingContainer as the target component, this must be the component identifier. Otherwise, it must be an absolute component identifier (starting with ":"). See the UIComponent#findComponent for more information.
- jakarta.faces.component
- UIMessage
-
-
-
-
- JSF:JAVADOC:2857
-
- jakarta.faces.component
- UIMessage
-
-
-
-
- JSF:JAVADOC:2858
- Return the flag indicating whether the detail property of the associated message(s) should be displayed. Defaults to true.
- jakarta.faces.component
- UIMessage
-
-
-
-
- JSF:JAVADOC:2859
- Return the flag indicating whether the summary property of the associated message(s) should be displayed. Defaults to false.
- jakarta.faces.component
- UIMessage
-
-
-
-
- JSF:JAVADOC:2860
- Set the identifier of the component for which this component represents associated message(s) (if any). This property must be set before the message is displayed.
- jakarta.faces.component
- UIMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2861
- Set the flag indicating whether the detail property of the associated message(s) should be displayed.
- jakarta.faces.component
- UIMessage
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2862
- Set the flag indicating whether the detail property of the associated message(s) should be displayed.
- jakarta.faces.component
- UIMessage
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2863
- Set the flag indicating whether the summary property of the associated message(s) should be displayed.
- jakarta.faces.component
- UIMessage
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2864
- Create a new UIMessage instance with default property values.
- jakarta.faces.component
- UIMessage
-
-
-
-
- JSF:JAVADOC:2865
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIMessages
-
-
-
-
- JSF:JAVADOC:2866
- Return the client identifier of the component for which this component represents associated message(s) (if any).
- jakarta.faces.component
- UIMessages
-
-
-
-
- JSF:JAVADOC:2867
- Return the flag indicating whether only global messages (that is, messages with no associated client identifier) should be rendered. Mutually exclusive with the "for" property which takes precedence. Defaults to false.
- jakarta.faces.component
- UIMessages
-
-
-
-
- JSF:JAVADOC:2868
-
- jakarta.faces.component
- UIMessages
-
-
-
-
- JSF:JAVADOC:2869
- Return the flag indicating whether the detail property of the associated message(s) should be displayed. Defaults to false.
- jakarta.faces.component
- UIMessages
-
-
-
-
- JSF:JAVADOC:2870
- Return the flag indicating whether the summary property of the associated message(s) should be displayed. Defaults to true.
- jakarta.faces.component
- UIMessages
-
-
-
-
- JSF:JAVADOC:2871
- Set the client identifier of the component for which this component represents associated message(s) (if any). This property must be set before the message is displayed.
- jakarta.faces.component
- UIMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2872
- Set the flag indicating whether only global messages (that is, messages with no associated client identifier) should be rendered.
- jakarta.faces.component
- UIMessages
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2873
- Set the flag indicating whether the detail property of the associated message(s) should be displayed.
- jakarta.faces.component
- UIMessages
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2874
- Set the flag indicating whether the detail property of the associated message(s) should be displayed.
- jakarta.faces.component
- UIMessages
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2875
- Set the flag indicating whether the summary property of the associated message(s) should be displayed.
- jakarta.faces.component
- UIMessages
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2876
- Create a new UIMessages instance with default property values.
- jakarta.faces.component
- UIMessages
-
-
-
-
- JSF:JAVADOC:2877
- Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed value can be supplied by component creators which should be included in the generated unique id.
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2878
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UINamingContainer
-
-
-
-
- JSF:JAVADOC:2879
- Return the character used to separate segments of a clientId. The implementation must determine if there is a with the value given by the value of the symbolic constant #SEPARATOR_CHAR_PARAM_NAME. If there is a value for this param, the first character of the value must be returned from this method. Otherwise, the value of the symbolic constant NamingContainer#SEPARATOR_CHAR must be returned.
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2880
- Perform a tree visit starting at this node in the tree. UIComponent.visitTree() implementations do not invoke the VisitCallback directly, but instead call VisitContext#invokeVisitCallback to invoke the callback. This allows VisitContext implementations to provide optimized tree traversals, for example by only calling the VisitCallback for a subset of components. UIComponent.visitTree() implementations must call UIComponent.pushComponentToEL() before performing the visit and UIComponent.popComponentFromEL() after the visit.
- jakarta.faces.component
- UINamingContainer
-
-
- jakarta.faces.component.visit.VisitContext
- jakarta.faces.component.visit.VisitCallback
-
-
-
-
-
- JSF:JAVADOC:2881
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIOutcomeTarget
-
-
-
-
- JSF:JAVADOC:2882
- Returns the outcome property of the UIOutcomeTarget. This value is passed to the jakarta.faces.application.NavigationHandler when resolving the target url of this component.
- jakarta.faces.component
- UIOutcomeTarget
-
-
-
-
- JSF:JAVADOC:2883
- Return whether or not the client window should be encoded into the target url.
- jakarta.faces.component
- UIOutcomeTarget
-
-
-
-
- JSF:JAVADOC:2884
- Return whether or not the view parameters should be encoded into the target url.
- jakarta.faces.component
- UIOutcomeTarget
-
-
-
-
- JSF:JAVADOC:2885
- Set whether or not the client window should be encoded into the target url.
- jakarta.faces.component
- UIOutcomeTarget
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2886
- Set whether or not the page parameters should be encoded into the target url.
- jakarta.faces.component
- UIOutcomeTarget
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2887
- Sets the outcome property of the UIOutcomeTarget. This value is passed to the NavigationHandler when resolving the target url of this component.
- jakarta.faces.component
- UIOutcomeTarget
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2888
- Create a new UIOutcomeTarget instance with default property values.
- jakarta.faces.component
- UIOutcomeTarget
-
-
-
-
- JSF:JAVADOC:2889
- For each of the attached objects on this instance that implement PartialStateHolder, call PartialStateHolder#clearInitialState on the attached object.
- jakarta.faces.component
- UIOutput
-
-
-
-
- JSF:JAVADOC:2890
- Return the Converter (if any) that is registered for this UIComponent.
- jakarta.faces.component
- UIOutput
-
-
-
-
- JSF:JAVADOC:2891
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIOutput
-
-
-
-
- JSF:JAVADOC:2892
- Return the local value of this UIComponent (if any), without evaluating any associated ValueExpression.
- jakarta.faces.component
- UIOutput
-
-
-
-
- JSF:JAVADOC:2893
- In addition to the actions taken in UIComponentBase when PartialStateHolder#markInitialState() is called, check if the installed Converter is a PartialStateHolder and if it is, call jakarta.faces.component.PartialStateHolder#markInitialState() on it.
- jakarta.faces.component
- UIOutput
-
-
-
-
- JSF:JAVADOC:2894
- Convenience method to reset this component's value to the un-initialized state.
- jakarta.faces.component
- UIOutput
-
-
-
-
- JSF:JAVADOC:2895
-
- jakarta.faces.component
- UIOutput
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2896
-
- jakarta.faces.component
- UIOutput
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2897
- Set the Converter (if any) that is registered for this UIComponent.
- jakarta.faces.component
- UIOutput
-
-
- jakarta.faces.convert.Converter
-
-
-
-
-
- JSF:JAVADOC:2898
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIPanel
-
-
-
-
- JSF:JAVADOC:2899
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIParameter
-
-
-
-
- JSF:JAVADOC:2900
- Returns the value property of the UIParameter.
- jakarta.faces.component
- UIParameter
-
-
-
-
- JSF:JAVADOC:2901
- Return the value of the disable directive for this component. This directive determines whether the parameter value should be disabled by assigning it a null value. If true, the value set on this component is ignored.
- jakarta.faces.component
- UIParameter
-
-
-
-
- JSF:JAVADOC:2902
- Sets the disable property of the UIParameter.
- jakarta.faces.component
- UIParameter
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2903
- Sets the value property of the\ UIParameter.
- jakarta.faces.component
- UIParameter
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2904
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UISelectBoolean
-
-
-
-
- JSF:JAVADOC:2905
- Return any ValueExpression set for value if a ValueExpression for selected is requested; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UISelectBoolean
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2906
- Store any ValueExpression specified for selected under value instead; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UISelectBoolean
-
-
- java.lang.String
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:2907
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UISelectItem
-
-
-
-
- JSF:JAVADOC:2908
- Return the server value for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
-
-
- JSF:JAVADOC:2909
- Returns the value property of the UISelectItem.
- jakarta.faces.component
- UISelectItem
-
-
-
-
- JSF:JAVADOC:2910
- Return the disabled setting for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
-
-
- JSF:JAVADOC:2911
- Return the escape setting for the label of this selection item.
- jakarta.faces.component
- UISelectItem
-
-
-
-
- JSF:JAVADOC:2912
- Return the value of the noSelectionOption property. If the value of this property is true, the system interprets the option represented by this UISelectItem instance as representing a "no selection" option. See UISelectOne#validateValue and UISelectMany#validateValue for usage.
- jakarta.faces.component
- UISelectItem
-
-
-
-
- JSF:JAVADOC:2913
- Set the disabled value for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2914
- Set the escape value for the label of this selection item.
- jakarta.faces.component
- UISelectItem
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2915
- Set the server value for this selection item.
- jakarta.faces.component
- UISelectItem
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2916
- Set the value of the noSelectionOption property.
- jakarta.faces.component
- UISelectItem
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2917
- Sets the value property of the UISelectItem.
- jakarta.faces.component
- UISelectItem
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2918
- Return a new SelectItemGroup instance containing one or more SelectItem instances represented by any nested UISelectItems or UISelectItem components.
- jakarta.faces.component
- UISelectItemGroup
-
-
-
-
- JSF:JAVADOC:2919
-
- jakarta.faces.component
- UISelectItemGroup
-
-
-
-
- JSF:JAVADOC:2920
- Iterate over the value attribute and wrap each item in a new SelectItemGroup instance whereby the item is exposed as a request attribute under the key specified by the var property. This must allow any nested UISelectItems or UISelectItem component to access the item via their attributes. Finally return these SelectItemGroup instances as an ordered collection.
- jakarta.faces.component
- UISelectItemGroups
-
-
-
-
- JSF:JAVADOC:2921
-
- jakarta.faces.component
- UISelectItemGroups
-
-
-
-
- JSF:JAVADOC:2922
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UISelectItems
-
-
-
-
- JSF:JAVADOC:2923
- Returns the value property of the UISelectItems.
- jakarta.faces.component
- UISelectItems
-
-
-
-
- JSF:JAVADOC:2924
- Sets the value property of the UISelectItems.
- jakarta.faces.component
- UISelectItems
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2925
- Set the ValueExpression used to calculate the value for the specified attribute or property name, if any. In addition, if a ValueExpression is set for the var property, regardless of the value, throw an illegal argument exception.
- jakarta.faces.component
- UISelectItems
-
-
- java.lang.String
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:2926
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UISelectMany
-
-
-
-
- JSF:JAVADOC:2927
- Return any ValueExpression set for value if a ValueExpression for selectedValues is requested; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2928
- Store any ValueExpression specified for selectedValues under value instead; otherwise, perform the default superclass processing for this method.
- jakarta.faces.component
- UISelectMany
-
-
- java.lang.String
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:2929
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UISelectOne
-
-
-
-
- JSF:JAVADOC:2930
- Returns the name of the radio button group. Radio button components having the same group within a UIForm parent will uncheck all others when being checked. If the value attribute is absent then the one from first component of the group will be used. If the UISelectItem child is absent then the one from first component of the group will be used.
- jakarta.faces.component
- UISelectOne
-
-
-
-
- JSF:JAVADOC:2931
- If #getGroup() is set, and #getSubmittedValue() is empty, and at least one other component having the same group within a UIForm parent has a non-empty #getSubmittedValue() or returns true on #isLocalValueSet() or returns false on #isValid(), then skip validation for current component, else perform standard superclass processing by super.processValidators(context).
- jakarta.faces.component
- UISelectOne
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2932
- Sets the name of the radio button group.
- jakarta.faces.component
- UISelectOne
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2933
-
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
-
- JSF:JAVADOC:2934
- Enable the method invocation specified by this component instance to return a value that performs navigation, similar in spirit to UICommand#broadcast. Take no action and return immediately if any of the following conditions are true. The response has already been marked as complete. The current UIViewRoot is different from the event's source's UIViewRoot. Save a local reference to the viewId of the current UIViewRoot. For discussion, let this reference be viewIdBeforeAction. Obtain the ActionListener from the jakarta.faces.application.Application. Wrap the current FacesContext in an implementation of jakarta.faces.context.FacesContextWrapper that overrides the FacesContext#renderResponse method such that it takes no action. Set the current FacesContext to be the FacesContextWrapper instance. Make it so a call to #isProcessingBroadcast on the current FacesContext will return true. This is necessary because the jakarta.faces.application.NavigationHandler will call this method to determine if the navigation is happening as the result of a UIViewAction. Invoke ActionListener#processAction. In a finally block, restore the original FacesContext, make it so a call to #isProcessingBroadcast on the current context will return false and discard the wrapper. If the response has been marked as complete during the invocation of processAction(), take no further action and return. Otherwise, compare viewIdBeforeAction with the viewId of the UIViewRoot on the FacesContext after the invocation of processAction(). If the two viewIds are the same and no more UIViewAction events have been queued by a call to #decode, call FacesContext#renderResponse and return. It is possible to detect the case where no more UIViewAction events have been queued because the number of such events queued has been noted in the specification for #decode. Otherwise, execute the lifecycle on the new UIViewRoot.
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
-
- JSF:JAVADOC:2935
- Signal the Jakarta Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.event.FacesEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:2936
- Override behavior from the superclass to queue an ActionEvent that may result in the invocation of the action or any actionListeners that may be associated with this instance. Take no action if any of the following conditions are true: The current request is a postback and the instance has been configured to not operate on postback. See #isOnPostback. The condition stated in the if property evaluates to false. See #isRendered . Instantiate an ActionEvent, passing this component instance as the source. Set the phaseId property of the ActionEvent as follows. If this component instance has been configured with a specific lifecycle phase with a call to #setPhase use that as the phaseId If the value of the immediate property is true, use PhaseId#APPLY_REQUEST_VALUES. Otherwise, use PhaseId#INVOKE_APPLICATION. Queue the event with a call to #queueEvent. Keep track of the number of events that are queued in this way on this run through the lifecycle. This information is necessary during processing in #broadcast.
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2937
-
- jakarta.faces.component
- UIViewAction
-
-
-
-
- JSF:JAVADOC:2938
-
- jakarta.faces.component
- UIViewAction
-
-
-
-
- JSF:JAVADOC:2939
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIViewAction
-
-
-
-
- JSF:JAVADOC:2940
- Returns the name of the lifecycle phase in which the action is to be queued.
- jakarta.faces.component
- UIViewAction
-
-
-
-
- JSF:JAVADOC:2941
- If the value of the component's immediate attribute is true, the action will be invoked during the Apply Request Values Jakarta Faces lifecycle phase. Otherwise, the action will be invoked during the Invoke Application phase, the default behavior. The phase can be set explicitly in the phase attribute, which takes precedence over the immediate attribute.
- jakarta.faces.component
- UIViewAction
-
-
-
-
- JSF:JAVADOC:2942
- If true this component will operate on postback.
- jakarta.faces.component
- UIViewAction
-
-
-
-
- JSF:JAVADOC:2943
- Returns true if the current request processing lifecycle is in the midst of processing the broadcast of an event queued during a call to #decode. The implementation of #broadcast is responsible for ensuring that calls to this method accurately reflect this fact.
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2944
- Return true if this component should take the actions specified in the #decode method.
- jakarta.faces.component
- UIViewAction
-
-
-
-
- JSF:JAVADOC:2945
-
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.faces.event.ActionListener
-
-
-
-
-
- JSF:JAVADOC:2946
-
- jakarta.faces.component
- UIViewAction
-
-
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:2947
-
- jakarta.faces.component
- UIViewAction
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2948
- Controls whether or not this component operates on postback.
- jakarta.faces.component
- UIViewAction
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2949
- Attempt to set the lifecycle phase in which this instance will queue its ActionEvent. Pass the argument phase to PhaseId#phaseIdValueOf. If the result is not one of the following values, FacesException must be thrown. PhaseId#APPLY_REQUEST_VALUESPhaseId#PROCESS_VALIDATIONSPhaseId#UPDATE_MODEL_VALUESPhaseId#INVOKE_APPLICATION If set, this value takes precedence over the immediate flag.
- jakarta.faces.component
- UIViewAction
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2950
- Sets the if property of this component.
- jakarta.faces.component
- UIViewAction
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2951
- Create a new UIViewAction instance with default property values.
- jakarta.faces.component
- UIViewAction
-
-
-
-
- JSF:JAVADOC:2952
- Override behavior from superclass to pull a value from the incoming request parameter map under the name given by #getName and store it with a call to UIInput#setSubmittedValue.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2953
- Called specially by UIViewRoot#encodeEnd, this method simply sets the submitted value to be the return from #getStringValue.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2954
- when an I/O error occurs.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2955
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIViewParameter
-
-
-
-
- JSF:JAVADOC:2956
- Return the request parameter name from which the value is retrieved.
- jakarta.faces.component
- UIViewParameter
-
-
-
-
- JSF:JAVADOC:2957
- If the value of this parameter comes from a ValueExpression return the value of the expression, otherwise, return the local value.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2958
- Manually perform standard conversion steps to get a string value from the value expression.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2959
-
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.convert.ConverterException
-
-
-
-
- JSF:JAVADOC:2960
- Assume that the submitted value is always a string, but the return type from this method is Object..
- jakarta.faces.component
- UIViewParameter
-
-
-
-
- JSF:JAVADOC:2961
- Return false. The immediate setting is not relevant for view parameters and must be assumed to be false.
- jakarta.faces.component
- UIViewParameter
-
-
-
-
- JSF:JAVADOC:2962
- Specialize superclass behavior to treat null differently. In this class, a null value along with the "required" flag being set to true will cause a validation failure. Otherwise, If the UIInput#EMPTY_STRING_AS_NULL_PARAM_NAME context parameter is true and the value is null, call UIInput#setSubmittedValue passing the empty string as the argument. This will cause the normal validation processing to happen, including bean validation.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2963
- Set the request parameter name from which the value is retrieved.
- jakarta.faces.component
- UIViewParameter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2964
- PENDING (docs) Interesting that submitted value isn't saved by the parent
- jakarta.faces.component
- UIViewParameter
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:2965
- Create a new UIViewParameter instance with default property values.
- jakarta.faces.component
- UIViewParameter
-
-
-
-
- JSF:JAVADOC:2966
- Call through to superclass UIInput#updateModel then take the additional action of pushing the value into request scope if and only if the value is not a value expression, is valid, and the local value was set on this lifecycle execution.
- jakarta.faces.component
- UIViewParameter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2967
- Return the UIViewParameter to which this instance refers. If the current viewId is the same as the viewId passed to our constructor, use the index passed to the constructor to find the actual UIViewParameter instance and return it. Otherwise, call StateHolder#restoreState on the saved state and return the result.
- jakarta.faces.component
- UIViewParameter.Reference
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2968
- Construct a reference to a UIViewParameter. This constructor cause the StateHolder#saveState method to be called on argument UIViewParameter.
- jakarta.faces.component
- UIViewParameter.Reference
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewParameter
- int
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2969
- Add argument component, which is assumed to represent a resource instance, as a resource to this view. A resource instance is rendered by a resource Renderer, as described in the Standard HTML RenderKit. The default implementation must call through to #addComponentResource(jakarta.faces.context.FacesContext, jakarta.faces.component.UIComponent, java.lang.String).
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:2970
- Add argument component, which is assumed to represent a resource instance, as a resource to this view. A resource instance is rendered by a resource Renderer, as described in the Standard HTML RenderKit. The component must be added using the following algorithm: If the target argument is null, look for a target attribute on the component. If there is no target attribute, set target to be the default value head Call #getComponentResources to obtain the child list for the given target. If the component ID of componentResource matches the the ID of a resource that has allready been added, remove the old resource. Add the component resource to the list. The resource Renderer must ensure of the following: Do not render when ResourceHandler#isResourceRendered(FacesContext, String, String) returns true. After rendering, call ResourceHandler#markResourceRendered(FacesContext, String, String).
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2971
- Add the argument newPhaseListener to the list of PhaseListeners on this UIViewRoot.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.event.PhaseListener
-
-
-
-
-
- JSF:JAVADOC:2972
- Broadcast any events that have been queued. First broadcast events that have been queued for PhaseId#ANY_PHASE. Then broadcast ane events that have been queued for the current phase. In both cases, UIComponent#pushComponentToEL must be called before the event is broadcast, and UIComponent#popComponentFromEL must be called after the return from the broadcast, even in the case of an exception.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.event.PhaseId
-
-
-
-
-
- JSF:JAVADOC:2973
- Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within the non-NamingContainer child sub-trees of this UIViewRoot.
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:2974
- Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this UIViewRoot. Optionally, a unique seed value can be supplied by component creators which should be included in the generated unique id.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2975
- Override the default UIComponentBase#encodeBegin behavior. If #getBeforePhaseListener returns non-null, invoke it, passing a PhaseEvent for the PhaseId#RENDER_RESPONSE phase. If the internal list populated by calls to #addPhaseListener is non-empty, any listeners in that list must have their PhaseListener#beforePhase method called, passing the PhaseEvent. Any Exceptions that occur during invocation of any of the beforePhase listeners must be logged and swallowed, unless the #VIEWROOT_PHASE_LISTENER_QUEUES_EXCEPTIONS_PARAM_NAME parameter is set. In that case, the Exception must be passed to the jakarta.faces.context.ExceptionHandler as well.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2976
-
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2977
- If jakarta.faces.context.PartialViewContext#isAjaxRequest returns true, perform partial rendering by calling jakarta.faces.context.PartialViewContext#processPartial with PhaseId#RENDER_RESPONSE. If jakarta.faces.context.PartialViewContext#isAjaxRequest returns false, delegate to the parent jakarta.faces.component.UIComponentBase#encodeChildren method. If this UIViewRoot is an instance of NamingContainer, then the Jakarta Faces implementation must ensure that all encoded POST request parameter names are prefixed with UIViewRoot#getContainerClientId(FacesContext) as per rules of UIComponent#getClientId(FacesContext). This also covers all predefined POST request parameters which are listed below: ResponseStateManager#VIEW_STATE_PARAMResponseStateManager#CLIENT_WINDOW_PARAMResponseStateManager#RENDER_KIT_ID_PARAMClientBehaviorContext#BEHAVIOR_SOURCE_PARAM_NAMEClientBehaviorContext#BEHAVIOR_EVENT_PARAM_NAMEPartialViewContext#PARTIAL_EVENT_PARAM_NAMEPartialViewContext#PARTIAL_EXECUTE_PARAM_NAMEPartialViewContext#PARTIAL_RENDER_PARAM_NAMEPartialViewContext#RESET_VALUES_PARAM_NAME
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2978
-
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2979
- If #getAfterPhaseListener returns non-null, invoke it, passing a PhaseEvent for the PhaseId#RENDER_RESPONSE phase. Any Exceptions that occur during invocation of the afterPhase listener must be logged and swallowed, unless the #VIEWROOT_PHASE_LISTENER_QUEUES_EXCEPTIONS_PARAM_NAME parameter is set. In that case, the Exception must be passed to the jakarta.faces.context.ExceptionHandler as well.. If the current view has view parameters, as indicated by a non-empty and non-UnsupportedOperationException throwing return from jakarta.faces.view.ViewDeclarationLanguage#getViewMetadata(jakarta.faces.context.FacesContext, String), call UIViewParameter#encodeAll on each parameter. If calling getViewParameters() causes UnsupportedOperationException to be thrown, the exception must be silently swallowed.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2980
-
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:2981
- Return the MethodExpression that will be invoked after this view is rendered.
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:2982
- Return the MethodExpression that will be invoked before this view is rendered.
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:2983
- Return an unmodifiable List of UIComponents for the provided target agrument. Each component in the List is assumed to represent a resource instance. The default implementation must use an algorithm equivalent to the the following. Locate the facet for the component by calling getFacet() using target as the argument. If the facet is not found, create the facet by calling context.getApplication().createComponent(). The argument to this method must refer to a component that extends UIPanel and overrides the encodeAll() method to take no action. This is necessary to prevent component resources from being inadvertently rendered. Set the id of the facet to be a string created by prepending the literal string #8220;jakarta_faces_location_ #8221; (without the quotes) to the value of the target argument Add the facet to the facets Map using target as the key return the children of the facet
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:2984
- Return an unmodifiable ordered List of all UIComponent resources of all supported targets. Each component in the List is assumed to represent a resource instance. The ordering is the same as the resources would appear in the component tree.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2985
- Return the doctype of this view.
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:2986
- Return the identifier of the component family to which this component belongs. This identifier, in conjunction with the value of the rendererType property, may be used to select the appropriate Renderer for this component instance. Note this method should NOT return null
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:2987
- Return the Locale to be used in localizing the response being created for this view. Algorithm: If we have a locale ivar, return it. If we have a value expression for "locale", get its value. If the value is null, return the result of calling jakarta.faces.application.ViewHandler#calculateLocale. If the value is an instance of java.util.Locale return it. If the value is a String, convert it to a java.util.Locale and return it. If there is no value expression for "locale", return the result of calling jakarta.faces.application.ViewHandler#calculateLocale.
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:2988
- Return an unmodifiable list of the PhaseListener instances attached to this UIViewRoot instance.
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:2989
- Return the render kit identifier of the jakarta.faces.render.RenderKit associated with this view. Unless explicitly set, as in jakarta.faces.application.ViewHandler#createView, the returned value will be null.
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:2990
- Call UIComponentBase#getRendersChildren If jakarta.faces.context.PartialViewContext#isAjaxRequest returns true this method must return true.
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:2991
- Return the view identifier for this view.
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:2992
- Return the SystemEventListener instances registered on this UIComponent instance that are interested in events of type eventClass.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:2993
- This implementation simply calls through to #getViewMap(boolean), passing true as the argument, and returns the result.
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:2994
- Returns a Map that acts as the interface to the data store that is the "view scope", or, if this instance does not have such a Map and the create argument is true, creates one and returns it. This map must be instantiated lazily and cached for return from subsequent calls to this method on this UIViewRoot instance. jakarta.faces.application.Application#publishEvent must be called, passing the current FacesContext as the first argument, PostConstructViewMapEvent.class as the second argument, UIViewRoot.class as the third argument and this UIViewRoot instance as the fourth argument. It is necessary to pass the UIViewRoot.class argument to account for cases when the UIViewRoot has been extended with a custom class. The returned Map must be implemented such that calling clear() on the Map causes jakarta.faces.application.Application#publishEvent to be called, passing PreDestroyViewMapEvent.class as the first argument and this UIViewRoot instance as the second argument. Depending upon application configuration, objects stored in the view map may need to be Serializable. In general, it is a good idea to ensure that any objects stored in the view map are Serializable. For reasons made clear in jakarta.faces.view.ViewScoped, this map must ultimately be stored in the session. For this reason, a true value for the create argument will force the session to be created with a call to jakarta.faces.context.ExternalContext#getSession(boolean). See FacesContext#setViewRoot for the specification of when the clear() method must be called.
- jakarta.faces.component
- UIViewRoot
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:2995
- Override superclass method to always return true because a UIViewRoot is defined to always be in a view.
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:2996
- Broadcast any events that have been queued for the Invoke Application phase of the request processing lifecycle and to clear out any events for later phases if the event processing for this phase caused FacesContext#renderResponse or FacesContext#responseComplete to be called.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2997
- Perform partial processing by calling jakarta.faces.context.PartialViewContext#processPartial with PhaseId#APPLY_REQUEST_VALUES if: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we don't have a request to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns false) Perform full processing by calling UIComponentBase#processDecodes if one of the following conditions are met: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we have a request to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns true) jakarta.faces.context.PartialViewContext#isPartialRequest returns false Override the default UIComponentBase#processDecodes behavior to broadcast any queued events after the default processing or partial processing has been completed and to clear out any events for later phases if the event processing for this phase caused FacesContext#renderResponse or FacesContext#responseComplete to be called.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:2998
- If the argument event is an instance of PostRestoreStateEvent and PartialViewContext#isPartialRequest() returns true, then loop over all component resources and call ResourceHandler#markResourceRendered(FacesContext, String, String) for each of them. Finally, delegate to super.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.event.ComponentSystemEvent
-
-
-
-
-
- JSF:JAVADOC:2999
-
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.event.ComponentSystemEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:3000
- The default implementation must call UIComponentBase#processRestoreState from within a try block. The try block must have a finally block that ensures that no FacesEvents remain in the event queue.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:3001
- Perform partial processing by calling jakarta.faces.context.PartialViewContext#processPartial with PhaseId#UPDATE_MODEL_VALUES if: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we don't have a request to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns false) Perform full processing by calling UIComponentBase#processUpdates if one of the following conditions are met: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we have a request to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns true) jakarta.faces.context.PartialViewContext#isPartialRequest returns false Override the default UIComponentBase behavior to broadcast any queued events after the default processing or partial processing has been completed and to clear out any events for later phases if the event processing for this phase caused FacesContext#renderResponse or FacesContext#responseComplete to be called.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:3002
- Perform partial processing by calling jakarta.faces.context.PartialViewContext#processPartial with PhaseId#PROCESS_VALIDATIONS if: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we don't have a request to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns false) Perform full processing by calling UIComponentBase#processValidators if one of the following conditions are met: jakarta.faces.context.PartialViewContext#isPartialRequest returns true and we have a request to process all components in the view (jakarta.faces.context.PartialViewContext#isExecuteAll returns true) jakarta.faces.context.PartialViewContext#isPartialRequest returns false Override the default UIComponentBase#processValidators behavior to broadcast any queued events after the default processing or partial processing has been completed and to clear out any events for later phases if the event processing for this phase caused FacesContext#renderResponse or FacesContext#responseComplete to be called.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:3003
- Override the default UIComponentBase#queueEvent behavior to accumulate the queued events for later broadcasting.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.event.FacesEvent
-
-
-
-
-
- JSF:JAVADOC:3004
- Remove argument component, which is assumed to represent a resource instance, as a resource to this view.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:3005
- Remove argument component, which is assumed to represent a resource instance, as a resource to this view. A resource instance is rendered by a resource Renderer, as described in the Standard HTML RenderKit. The component must be removed using the following algorithm: If the target argument is null, look for a target attribute on the component. If there is no target attribute, set target to be the default value head Call #getComponentResources to obtain the child list for the given target. Remove the component resource from the child list.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3006
- If the argument toRemove is in the list of PhaseListeners for this instance, it must be removed.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.event.PhaseListener
-
-
-
-
-
- JSF:JAVADOC:3007
- Visit the clientIds and, if the component is an instance of EditableValueHolder, call its EditableValueHolder#resetValue method. Use #visitTree to do the visiting.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.util.Collection
-
-
-
-
-
- JSF:JAVADOC:3008
-
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:3009
- Restore ViewScope state. This is needed to allow the use of view scoped beans for EL-expressions in the template from which the component tree is built. For example: .
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:3010
-
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:3011
- Allow an arbitrary method to be called for the "afterPhase" event as the UIViewRoot runs through its lifecycle. This method will be called for all phases including PhaseId#RESTORE_VIEW. Unlike a true PhaseListener, this approach doesn't allow for only receiving PhaseEvents for a given phase. The method must conform to the signature of PhaseListener#afterPhase.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:3012
- Allow an arbitrary method to be called for the "beforePhase" event as the UIViewRoot runs through its lifecycle. This method will be called for all phases except PhaseId#RESTORE_VIEW. Unlike a true PhaseListener, this approach doesn't allow for only receiving PhaseEvents for a given phase. The method must conform to the signature of PhaseListener#beforePhase.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:3013
- Set the doctype of this view.
- jakarta.faces.component
- UIViewRoot
-
-
- jakarta.faces.component.Doctype
-
-
-
-
-
- JSF:JAVADOC:3014
- Overridden to take no action.
- jakarta.faces.component
- UIViewRoot
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3015
- Set the Locale to be used in localizing the response being created for this view.
- jakarta.faces.component
- UIViewRoot
-
-
- java.util.Locale
-
-
-
-
-
- JSF:JAVADOC:3016
- Set the render kit identifier of the jakarta.faces.render.RenderKit associated with this view. This method may be called at any time between the end of Apply Request Values phase of the request processing lifecycle (i.e. when events are being broadcast) and the beginning of the Render Response phase.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3017
- Set the view identifier for this view.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3018
- Install the listener instance referenced by argument listener into the UIViewRoot as a listener for events of type systemEventClass. Note that installed listeners are not maintained as part of the UIViewRoot's state.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
-
- JSF:JAVADOC:3019
- Create a new UIViewRoot instance with default property values.
- jakarta.faces.component
- UIViewRoot
-
-
-
-
- JSF:JAVADOC:3020
- Remove the listener instance referenced by argument listener from the UIViewRoot as a listener for events of type systemEventClass.
- jakarta.faces.component
- UIViewRoot
-
-
- java.lang.Class
- jakarta.faces.event.SystemEventListener
-
-
-
-
-
- JSF:JAVADOC:3021
- Returns the name of the websocket channel.
- jakarta.faces.component
- UIWebsocket
-
-
-
-
- JSF:JAVADOC:3022
- Returns a non-null, empty, unmodifiable Collection which returns true on any Collection#contains() invocation, indicating that all client behavior event names are acceptable.
- jakarta.faces.component
- UIWebsocket
-
-
-
-
- JSF:JAVADOC:3023
- Returns UIWebsocket#COMPONENT_FAMILY.
- jakarta.faces.component
- UIWebsocket
-
-
-
-
- JSF:JAVADOC:3024
- Returns the JavaScript event handler function that is invoked when the websocket is closed and will not anymore attempt to reconnect.
- jakarta.faces.component
- UIWebsocket
-
-
-
-
- JSF:JAVADOC:3025
- Returns the JavaScript event handler function that is invoked when a connection error has occurred and the websocket will attempt to reconnect.
- jakarta.faces.component
- UIWebsocket
-
-
-
-
- JSF:JAVADOC:3026
- Returns the JavaScript event handler function that is invoked when a push message is received from the server.
- jakarta.faces.component
- UIWebsocket
-
-
-
-
- JSF:JAVADOC:3027
- Returns the JavaScript event handler function that is invoked when the websocket is opened.
- jakarta.faces.component
- UIWebsocket
-
-
-
-
- JSF:JAVADOC:3028
- Returns the scope of the websocket channel.
- jakarta.faces.component
- UIWebsocket
-
-
-
-
- JSF:JAVADOC:3029
- Returns the user identifier of the websocket channel.
- jakarta.faces.component
- UIWebsocket
-
-
-
-
- JSF:JAVADOC:3030
- Returns whether to (auto)connect the websocket or not.
- jakarta.faces.component
- UIWebsocket
-
-
-
-
- JSF:JAVADOC:3031
- Sets the name of the websocket channel. It may not be an Jakarta Expression Language expression and it may only contain alphanumeric characters, hyphens, underscores and periods. All open websockets on the same channel will receive the same push message from the server.
- jakarta.faces.component
- UIWebsocket
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3032
- Sets whether to (auto)connect the websocket or not. Defaults to true. It's interpreted as a JavaScript instruction whether to open or close the websocket push connection. Note that this attribute is re-evaluated on every ajax request. You can also explicitly set it to false and then manually control in JavaScript by faces.push.open("channelName") and faces.push.close("channelName").
- jakarta.faces.component
- UIWebsocket
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3033
- Sets the JavaScript event handler function that is invoked when the websocket is closed and will not anymore attempt to reconnect. The function will be invoked with three arguments: the close reason code, the channel name and the raw CloseEvent itself. Note that this will also be invoked when the close is caused by an error and that you can inspect the close reason code if an actual connection error occurred and which one (i.e. when the code is not 1000 or 1008). See also RFC 6455 section 7.4.1 and CloseCodes API for an elaborate list of all close codes.
- jakarta.faces.component
- UIWebsocket
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3034
- Sets the JavaScript event handler function that is invoked when a connection error has occurred and the websocket will attempt to reconnect. The function will be invoked with three arguments: the error reason code, the channel name and the raw CloseEvent itself. Note that this will not be invoked on final close of the websocket, even when the final close is caused by an error. See also RFC 6455 section 7.4.1 and CloseCodes API for an elaborate list of all close codes.
- jakarta.faces.component
- UIWebsocket
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3035
- Sets the JavaScript event handler function that is invoked when a push message is received from the server. The function will be invoked with three arguments: the push message, the channel name and the raw MessageEvent itself.
- jakarta.faces.component
- UIWebsocket
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3036
- Sets the JavaScript event handler function that is invoked when the websocket is opened. The function will be invoked with one argument: the channel name.
- jakarta.faces.component
- UIWebsocket
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3037
- Sets the scope of the websocket channel. It may not be an Jakarta Expression Language expression and allowed values are application, session and view, case insensitive. When the value is application, then all channels with the same name throughout the application will receive the same push message. When the value is session, then only the channels with the same name in the current user session will receive the same push message. When the value is view, then only the channel in the current view will receive the push message. The default scope is application. When the user attribute is specified, then the default scope is session.
- jakarta.faces.component
- UIWebsocket
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3038
- Sets the user identifier of the websocket channel, so that user-targeted push messages can be sent. All open websockets on the same channel and user will receive the same push message from the server. It must implement Serializable and preferably have low memory footprint. Suggestion: use #{request.remoteUser} or #{someLoggedInUser.id}.
- jakarta.faces.component
- UIWebsocket
-
-
- java.io.Serializable
-
-
-
-
-
- JSF:JAVADOC:3039
- Set the ValueExpression used to calculate the value for the specified attribute or property name, if any. If a ValueExpression is set for the channel or scope property, regardless of the value, throw an illegal argument exception. If a ValueExpression is set for the user property, and the non-null value is not an instance of Serializable, throw an illegal argument exception.
- jakarta.faces.component
- UIWebsocket
-
-
- java.lang.String
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:3040
- Create a new UIWebsocket instance with default property values.
- jakarta.faces.component
- UIWebsocket
-
-
-
-
- JSF:JAVADOC:3041
- Generate an identifier for a component. The identifier will be prefixed with UNIQUE_ID_PREFIX, and will be unique within this component-container. Optionally, a unique seed value can be supplied by component creators which should be included in the generated unique id.
- jakarta.faces.component
- UniqueIdVendor
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3042
- Return the FacesMessage passed to the constructor.
- jakarta.faces.component
- UpdateModelException
-
-
-
-
- JSF:JAVADOC:3043
- Store the argument facesMessage so it may be returned from #getFacesMessage and pass the argument cause to the super constructor.
- jakarta.faces.component
- UpdateModelException
-
-
- jakarta.faces.application.FacesMessage
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:3044
- Return the Converter (if any) that is registered for this UIComponent.
- jakarta.faces.component
- ValueHolder
-
-
-
-
- JSF:JAVADOC:3045
- Return the local value of this UIComponent (if any), without evaluating any associated ValueExpression.
- jakarta.faces.component
- ValueHolder
-
-
-
-
- JSF:JAVADOC:3046
- Gets the value of this UIComponent. If validation failed, as indicated by jakarta.faces.context.FacesContext#isValidationFailed returning true, always return the local value. Otherwise, first, consult the local value property of this component. If non-null return it. If null, see if we have a ValueExpression for the value property. If so, return the result of evaluating the property, otherwise return null.
- jakarta.faces.component
- ValueHolder
-
-
-
-
- JSF:JAVADOC:3047
- Set the Converter (if any) that is registered for this UIComponent.
- jakarta.faces.component
- ValueHolder
-
-
- jakarta.faces.convert.Converter
-
-
-
-
-
- JSF:JAVADOC:3048
- Set the value of this UIComponent (if any).
- jakarta.faces.component
- ValueHolder
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:3049
- Add the specified AjaxBehaviorListener to the set of listeners registered to receive event notifications from this AjaxBehavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- jakarta.faces.event.AjaxBehaviorListener
-
-
-
-
-
- JSF:JAVADOC:3050
- Default constructor that just creates this instance.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3051
- Returns the delay value, or null if no value was set.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3052
- Return a non-empty Collection of component identifiers that will be used to identify components that should be processed during the execute phase of the request processing lifecycle. Note that the returned collection may be unmodifiable. Modifications should be performed by calling #setExecute.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3053
- This method returns an unmodifiable Set containing the ClientBehaviorHint SUBMITTING.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3054
- Return the String of JavaScript function name that will be used to identify the client callback function that should be run in the event of an error.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3055
- Return the String of JavaScript function name that will be used to identify the client callback function that should be run on the occurance of a client-side event.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3056
- Return a non-empty Collection of component identifiers that will be used to identify components that should be processed during the render phase of the request processing lifecycle. Note that the returned collection may be unmodifiable. Modifications should be performed by calling #setRender.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3057
- Returns the renderer type of the ClientBehaviorRenderer to use for the behavior. The default implementation returns null. Subclasses should either override this method to return a string that identifies the type of ClientBehaviorRenderer to use, or should override #getScript and perform script rendering locally in the ClientBehavior implementation.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3058
- Returns the ValueExpression used to calculate the value for the specified property name, if any.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3059
- Return the disabled status of this behavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3060
- Return the immediate status of this behavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3061
- Tests whether the immediate attribute is specified. Returns true if the immediate attribute is specified, either as a locally set property or as a value expression. This information allows an associated client behavior renderer to fall back on the parent component's immediate status when immediate is not explicitly specified on the AjaxBehavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3062
- Return the resetValues status of this behavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3063
- Tests whether the resetValues attribute is specified. Returns true if the resetValues attribute is specified, either as a locally set property or as a value expression.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
-
-
- JSF:JAVADOC:3064
- Remove the specified AjaxBehaviorListener from the set of listeners registered to receive event notifications from this AjaxBehavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- jakarta.faces.event.AjaxBehaviorListener
-
-
-
-
-
- JSF:JAVADOC:3065
- Implementation of jakarta.faces.component.StateHolder#restoreState.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:3066
- Implementation of jakarta.faces.component.StateHolder#saveState.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:3067
- If less than delay milliseconds elapses between calls to request() only the most recent one is sent and all other requests are discarded. The default value of this option is 300. If the value of delay is the literal string 'none' without the quotes, no delay is used.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3068
- Sets the disabled status of this behavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3069
- Sets the component identifiers that will be used to identify components that should be processed during the execute phase of the request processing lifecycle.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.util.Collection
-
-
-
-
-
- JSF:JAVADOC:3070
- Sets the immediate status of this behavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3071
- Sets the JavaScript function name that will be used to identify the client callback function that should be run in the event of an error.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3072
- Sets the JavaScript function name that will be used to identify the client callback function that should be run in response to event activity.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3073
- Sets the component identifiers that will be used to identify components that should be processed during the render phase of the request processing lifecycle.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.util.Collection
-
-
-
-
-
- JSF:JAVADOC:3074
- Set the resetValues status of this behavior.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3075
- Sets the ValueExpression used to calculate the value for the specified property name.
- jakarta.faces.component.behavior
- AjaxBehavior
-
-
- java.lang.String
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:3076
- Broadcast the specified BehaviorEvent to all registered event listeners who have expressed an interest in events of this type. Listeners are called in the order in which they were added.
- jakarta.faces.component.behavior
- Behavior
-
-
- jakarta.faces.event.BehaviorEvent
-
-
-
-
-
- JSF:JAVADOC:3077
-
- jakarta.faces.component.behavior
- BehaviorBase
-
-
-
-
- JSF:JAVADOC:3078
- Default implementation of Behavior#broadcast. Delivers the specified BehaviorEvent to all registered BehaviorListener event listeners who have expressed an interest in events of this type. Listeners are called in the order in which they were registered (added).
- jakarta.faces.component.behavior
- BehaviorBase
-
-
- jakarta.faces.event.BehaviorEvent
-
-
-
-
-
- JSF:JAVADOC:3079
- Signal the Jakarta Faces implementation that no further processing on the current event should be performed
- jakarta.faces.component.behavior
- BehaviorBase
-
-
- jakarta.faces.event.BehaviorEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:3080
- Clears the initial state flag, causing the behavior to revert from partial to full state saving.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
-
-
- JSF:JAVADOC:3081
- Implementation of jakarta.faces.component.PartialStateHolder#initialStateMarked.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
-
-
- JSF:JAVADOC:3082
- Implementation of jakarta.faces.component.StateHolder#isTransient.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
-
-
- JSF:JAVADOC:3083
- Implementation of jakarta.faces.component.PartialStateHolder#markInitialState.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
-
-
- JSF:JAVADOC:3084
- Implementation of jakarta.faces.component.StateHolder#restoreState.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:3085
- Implementation of jakarta.faces.component.StateHolder#saveState.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:3086
- Implementation of jakarta.faces.component.StateHolder#setTransient.
- jakarta.faces.component.behavior
- BehaviorBase
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3087
- Decode any new state of this ClientBehavior from the request contained in the specified FacesContext. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling queueEvent(). Default implementation delegates decoding to jakarta.faces.render.ClientBehaviorRenderer#decode(FacesContext, UIComponent, ClientBehavior)
- jakarta.faces.component.behavior
- ClientBehavior
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:3088
- Returns hints that describe the behavior of the ClientBehavior implementation. The hints may impact how Renderers behave in the presence of Behaviors. For example, when a Behavior that specifies ClientBehaviorHint.SUBMITTING is present, the Renderer may choose to alternate the scripts that it generates itself.
- jakarta.faces.component.behavior
- ClientBehavior
-
-
-
-
- JSF:JAVADOC:3089
- Return the script that implements this ClientBehavior's client-side logic. ClientBehavior.getScript() implementations are allowed to return null to indicate that no script is required for this particular getScript() call. For example, a ClientBehavior implementation may return null if the Behavior is disabled.
- jakarta.faces.component.behavior
- ClientBehavior
-
-
- jakarta.faces.component.behavior.ClientBehaviorContext
-
-
-
-
-
- JSF:JAVADOC:3090
-
- jakarta.faces.component.behavior
- ClientBehaviorBase
-
-
-
-
- JSF:JAVADOC:3091
- Default implementation of of ClientBehavior#decode. If a ClientBehaviorRenderer is available for the specified behavior renderer type, this method delegates to the ClientBehaviorRenderer's decode() method. Otherwise, no decoding is performed.
- jakarta.faces.component.behavior
- ClientBehaviorBase
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:3092
- Default implementation of ClientBehavior#getHints(). By default, no hints are specified, and this method returns an empty, umodifiable set.
- jakarta.faces.component.behavior
- ClientBehaviorBase
-
-
-
-
- JSF:JAVADOC:3093
- Returns the renderer type of the ClientBehaviorRenderer to use for the behavior. The default implementation returns null. Subclasses should either override this method to return a string that identifies the type of ClientBehaviorRenderer to use, or should override #getScript and perform script rendering locally in the ClientBehavior implementation.
- jakarta.faces.component.behavior
- ClientBehaviorBase
-
-
-
-
- JSF:JAVADOC:3094
- Default implementation of of ClientBehavior#getScript. If a ClientBehaviorRenderer is available for the specified behavior renderer type, this method delegates to the ClientBehaviorRenderer#getScript method. Otherwise, this method returns null.
- jakarta.faces.component.behavior
- ClientBehaviorBase
-
-
- jakarta.faces.component.behavior.ClientBehaviorContext
-
-
-
-
-
- JSF:JAVADOC:3095
-
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
-
-
- JSF:JAVADOC:3096
- Creates a ClientBehaviorContext instance.
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
- java.lang.String
- java.util.Collection
-
-
-
-
-
- JSF:JAVADOC:3097
- Returns the UIComponent that is requesting the ClientBehavior script.
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
-
-
- JSF:JAVADOC:3098
- Returns the name of the behavior event for which the ClientBehavior script is being requested.
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
-
-
- JSF:JAVADOC:3099
- Returns the FacesContext for the current request.
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
-
-
- JSF:JAVADOC:3100
- Returns parameters that "submitting" ClientBehavior implementations should include when posting back data into the Faces lifecycle. If no parameters are specified, this method returns an empty (non-null) collection.
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
-
-
- JSF:JAVADOC:3101
- Returns an id for use as the ClientBehavior source. ClientBehavior implementations that submit back to the Faces lifecycle are required to identify which component triggered the ClientBehavior-initiated request via the jakarta.faces.source request parameter. In most cases, th source id can be trivially derived from the element to which the behavior's client-side script is attached - ie. the source id is typically the id of this element. However, in components which produce more complex content, the behavior script may not be able to determine the correct id to use for the jakarta.faces.source value. The ClientBehaviorContext#getSourceId method allows the component to pass this information into the ClientBehavior#getScript implementation.
- jakarta.faces.component.behavior
- ClientBehaviorContext
-
-
-
-
- JSF:JAVADOC:3102
- Creates a Parameter instance.
- jakarta.faces.component.behavior
- ClientBehaviorContext.Parameter
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:3103
- Returns the Parameter's name.
- jakarta.faces.component.behavior
- ClientBehaviorContext.Parameter
-
-
-
-
- JSF:JAVADOC:3104
- Returns the Parameter's value.
- jakarta.faces.component.behavior
- ClientBehaviorContext.Parameter
-
-
-
-
- JSF:JAVADOC:3105
-
- jakarta.faces.component.behavior
- ClientBehaviorHint
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3106
-
- jakarta.faces.component.behavior
- ClientBehaviorHint
-
-
-
-
- JSF:JAVADOC:3107
- Attaches a ClientBehavior to the component implementing this interface for the specified event. Valid event names for a UIComponent implementation are defined by ClientBehaviorHolder.getEventNames().
- jakarta.faces.component.behavior
- ClientBehaviorHolder
-
-
- java.lang.String
- jakarta.faces.component.behavior.ClientBehavior
-
-
-
-
-
- JSF:JAVADOC:3108
- Returns a non-null, unmodifiable Map that contains the the ClientBehaviors that have been attached to the component implementing this interface. The keys in this Map are event names defined by #getEventNames.
- jakarta.faces.component.behavior
- ClientBehaviorHolder
-
-
-
-
- JSF:JAVADOC:3109
- Returns the default event name for this ClientBehaviorHolder implementation. This must be one of the event names returned by #getEventNames or null if the component does not have a default event.
- jakarta.faces.component.behavior
- ClientBehaviorHolder
-
-
-
-
- JSF:JAVADOC:3110
- Returns a non-null, unmodifiable Collection containing the names of the logical events supported by the component implementing this interface.
- jakarta.faces.component.behavior
- ClientBehaviorHolder
-
-
-
-
- JSF:JAVADOC:3111
- The value of this annotation attribute is taken to be an indicator that flags whether or not the given converter is a CDI managed converter.
- jakarta.faces.component.behavior
- FacesBehavior
-
-
-
-
- JSF:JAVADOC:3112
- The value of this annotation attribute is taken to be the behavior-id with which instances of this class of behavior can be instantiated.
- jakarta.faces.component.behavior
- FacesBehavior
-
-
-
-
- JSF:JAVADOC:3113
- The value of this annotation attribute is taken to be an indicator that flags whether or not the given converter is a CDI managed converter.
- jakarta.faces.component.behavior
- FacesBehavior.Literal
-
-
-
-
- JSF:JAVADOC:3114
-
- jakarta.faces.component.behavior
- FacesBehavior.Literal
-
-
- java.lang.String
- boolean
-
-
-
-
-
- JSF:JAVADOC:3115
- The value of this annotation attribute is taken to be the behavior-id with which instances of this class of behavior can be instantiated.
- jakarta.faces.component.behavior
- FacesBehavior.Literal
-
-
-
-
- JSF:JAVADOC:3116
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3117
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3118
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3119
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3120
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3121
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3122
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3123
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3124
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3125
- Return the value of the onload property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3126
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3127
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3128
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3129
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3130
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3131
- Return the value of the onunload property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3132
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3133
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3134
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3135
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3136
- Return the value of the xmlns property.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3137
- Default constructor setting the renderer type.
- jakarta.faces.component.html
- HtmlBody
-
-
-
-
- JSF:JAVADOC:3138
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3139
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3140
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3141
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3142
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3143
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3144
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3145
- Set the value of the onload property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3146
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3147
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3148
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3149
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3150
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3151
- Set the value of the onunload property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3152
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3153
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3154
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3155
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3156
- Set the value of the xmlns property.
- jakarta.faces.component.html
- HtmlBody
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3157
-
- jakarta.faces.component.html
- HtmlBody.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3158
-
- jakarta.faces.component.html
- HtmlBody.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3159
-
- jakarta.faces.component.html
- HtmlBody.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3160
- Return the value of the footerClass property.
- jakarta.faces.component.html
- HtmlColumn
-
-
-
-
- JSF:JAVADOC:3161
- Return the value of the headerClass property.
- jakarta.faces.component.html
- HtmlColumn
-
-
-
-
- JSF:JAVADOC:3162
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlColumn
-
-
-
-
- JSF:JAVADOC:3163
-
- jakarta.faces.component.html
- HtmlColumn
-
-
-
-
- JSF:JAVADOC:3164
- Return the value of the rowHeader property.
- jakarta.faces.component.html
- HtmlColumn
-
-
-
-
- JSF:JAVADOC:3165
- Set the value of the footerClass property.
- jakarta.faces.component.html
- HtmlColumn
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3166
- Set the value of the headerClass property.
- jakarta.faces.component.html
- HtmlColumn
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3167
- Set the value of the rowHeader property.
- jakarta.faces.component.html
- HtmlColumn
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3168
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlColumn
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3169
-
- jakarta.faces.component.html
- HtmlColumn.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3170
-
- jakarta.faces.component.html
- HtmlColumn.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3171
-
- jakarta.faces.component.html
- HtmlColumn.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3172
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3173
- Return the value of the alt property. This attribute is ignored when the image attribute is not specified.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3174
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3175
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3176
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3177
- Return the value of the image property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3178
- Return the value of the label property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3179
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3180
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3181
- Return the value of the onchange property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3182
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3183
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3184
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3185
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3186
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3187
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3188
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3189
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3190
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3191
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3192
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3193
- Return the value of the onselect property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3194
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3195
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3196
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3197
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3198
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3199
- Return the value of the type property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3200
-
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3201
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3202
- Return the value of the readonly property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
-
-
- JSF:JAVADOC:3203
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3204
- Set the value of the alt property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3205
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3206
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3207
- Set the value of the image property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3208
- Set the value of the label property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3209
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3210
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3211
- Set the value of the onchange property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3212
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3213
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3214
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3215
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3216
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3217
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3218
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3219
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3220
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3221
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3222
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3223
- Set the value of the onselect property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3224
- Set the value of the readonly property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3225
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3226
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3227
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3228
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3229
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3230
- Set the value of the type property.
- jakarta.faces.component.html
- HtmlCommandButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3231
-
- jakarta.faces.component.html
- HtmlCommandButton.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3232
-
- jakarta.faces.component.html
- HtmlCommandButton.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3233
-
- jakarta.faces.component.html
- HtmlCommandButton.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3234
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3235
- Return the value of the charset property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3236
- Return the value of the coords property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3237
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3238
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3239
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3240
- Return the value of the hreflang property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3241
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3242
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3243
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3244
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3245
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3246
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3247
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3248
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3249
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3250
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3251
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3252
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3253
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3254
- Return the value of the rel property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3255
- Return the value of the rev property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3256
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3257
- Return the value of the shape property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3258
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3259
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3260
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3261
- Return the value of the target property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3262
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3263
- Return the value of the type property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3264
-
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3265
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
-
-
- JSF:JAVADOC:3266
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3267
- Set the value of the charset property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3268
- Set the value of the coords property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3269
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3270
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3271
- Set the value of the hreflang property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3272
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3273
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3274
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3275
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3276
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3277
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3278
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3279
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3280
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3281
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3282
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3283
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3284
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3285
- Set the value of the rel property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3286
- Set the value of the rev property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3287
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3288
- Set the value of the shape property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3289
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3290
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3291
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3292
- Set the value of the target property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3293
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3294
- Set the value of the type property.
- jakarta.faces.component.html
- HtmlCommandLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3295
-
- jakarta.faces.component.html
- HtmlCommandLink.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3296
-
- jakarta.faces.component.html
- HtmlCommandLink.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3297
-
- jakarta.faces.component.html
- HtmlCommandLink.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3298
- Return the value of the execute property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
-
-
- JSF:JAVADOC:3299
- Return the value of the name property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
-
-
- JSF:JAVADOC:3300
- Return the value of the onerror property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
-
-
- JSF:JAVADOC:3301
- Return the value of the onevent property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
-
-
- JSF:JAVADOC:3302
- Return the value of the render property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
-
-
- JSF:JAVADOC:3303
- Return the value of the resetValues property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
-
-
- JSF:JAVADOC:3304
-
- jakarta.faces.component.html
- HtmlCommandScript
-
-
-
-
- JSF:JAVADOC:3305
- Return the value of the autorun property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
-
-
- JSF:JAVADOC:3306
- Set the value of the autorun property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3307
- Set the value of the execute property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3308
- Set the value of the name property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3309
- Set the value of the onerror property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3310
- Set the value of the onevent property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3311
- Set the value of the render property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3312
- Set the value of the resetValues property.
- jakarta.faces.component.html
- HtmlCommandScript
-
-
- java.lang.Boolean
-
-
-
-
-
- JSF:JAVADOC:3313
-
- jakarta.faces.component.html
- HtmlCommandScript.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3314
-
- jakarta.faces.component.html
- HtmlCommandScript.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3315
-
- jakarta.faces.component.html
- HtmlCommandScript.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3316
- Return the value of the bgcolor property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3317
- Return the value of the bodyrows property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3318
- Return the value of the border property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3319
- Return the value of the captionClass property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3320
- Return the value of the captionStyle property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3321
- Return the value of the cellpadding property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3322
- Return the value of the cellspacing property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3323
- Return the value of the columnClasses property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3324
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3325
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3326
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3327
- Return the value of the footerClass property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3328
- Return the value of the frame property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3329
- Return the value of the headerClass property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3330
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3331
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3332
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3333
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3334
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3335
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3336
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3337
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3338
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3339
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3340
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3341
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3342
- Return the value of the rowClass property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3343
- Return the value of the rowClasses property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3344
- Return the value of the rules property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3345
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3346
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3347
- Return the value of the summary property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3348
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3349
- Return the value of the width property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3350
-
- jakarta.faces.component.html
- HtmlDataTable
-
-
-
-
- JSF:JAVADOC:3351
- Set the value of the bgcolor property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3352
- Set the value of the bodyrows property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3353
- Set the value of the border property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:3354
- Set the value of the captionClass property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3355
- Set the value of the captionStyle property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3356
- Set the value of the cellpadding property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3357
- Set the value of the cellspacing property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3358
- Set the value of the columnClasses property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3359
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3360
- Set the value of the footerClass property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3361
- Set the value of the frame property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3362
- Set the value of the headerClass property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3363
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3364
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3365
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3366
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3367
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3368
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3369
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3370
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3371
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3372
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3373
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3374
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3375
- Set the value of the rowClass property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3376
- Set the value of the rowClasses property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3377
- Set the value of the rules property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3378
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3379
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3380
- Set the value of the summary property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3381
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3382
- Set the value of the width property.
- jakarta.faces.component.html
- HtmlDataTable
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3383
-
- jakarta.faces.component.html
- HtmlDataTable.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3384
-
- jakarta.faces.component.html
- HtmlDataTable.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3385
-
- jakarta.faces.component.html
- HtmlDataTable.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3386
- Return the value of the public property.
- jakarta.faces.component.html
- HtmlDoctype
-
-
-
-
- JSF:JAVADOC:3387
- Return the value of the rootElement property.
- jakarta.faces.component.html
- HtmlDoctype
-
-
-
-
- JSF:JAVADOC:3388
- Return the value of the system property.
- jakarta.faces.component.html
- HtmlDoctype
-
-
-
-
- JSF:JAVADOC:3389
-
- jakarta.faces.component.html
- HtmlDoctype
-
-
-
-
- JSF:JAVADOC:3390
- Set the value of the public property.
- jakarta.faces.component.html
- HtmlDoctype
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3391
- Set the value of the rootElement property.
- jakarta.faces.component.html
- HtmlDoctype
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3392
- Set the value of the system property.
- jakarta.faces.component.html
- HtmlDoctype
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3393
-
- jakarta.faces.component.html
- HtmlDoctype.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3394
-
- jakarta.faces.component.html
- HtmlDoctype.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3395
-
- jakarta.faces.component.html
- HtmlDoctype.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3396
- Return the value of the accept property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3397
- Return the value of the acceptcharset property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3398
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3399
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3400
- Return the value of the enctype property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3401
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3402
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3403
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3404
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3405
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3406
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3407
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3408
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3409
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3410
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3411
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3412
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3413
- Return the value of the onreset property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3414
- Return the value of the onsubmit property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3415
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3416
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3417
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3418
- Return the value of the target property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3419
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3420
-
- jakarta.faces.component.html
- HtmlForm
-
-
-
-
- JSF:JAVADOC:3421
- Set the value of the accept property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3422
- Set the value of the acceptcharset property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3423
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3424
- Set the value of the enctype property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3425
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3426
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3427
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3428
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3429
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3430
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3431
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3432
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3433
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3434
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3435
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3436
- Set the value of the onreset property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3437
- Set the value of the onsubmit property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3438
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3439
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3440
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3441
- Set the value of the target property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3442
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlForm
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3443
-
- jakarta.faces.component.html
- HtmlForm.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3444
-
- jakarta.faces.component.html
- HtmlForm.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3445
-
- jakarta.faces.component.html
- HtmlForm.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3446
- Return the value of the alt property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3447
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3448
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3449
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3450
- Return the value of the height property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3451
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3452
- Return the value of the longdesc property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3453
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3454
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3455
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3456
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3457
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3458
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3459
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3460
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3461
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3462
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3463
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3464
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3465
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3466
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3467
- Return the value of the usemap property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3468
- Return the value of the width property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3469
-
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3470
- Return the value of the ismap property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
-
-
- JSF:JAVADOC:3471
- Set the value of the alt property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3472
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3473
- Set the value of the height property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3474
- Set the value of the ismap property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3475
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3476
- Set the value of the longdesc property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3477
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3478
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3479
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3480
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3481
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3482
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3483
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3484
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3485
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3486
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3487
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3488
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3489
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3490
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3491
- Set the value of the usemap property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3492
- Set the value of the width property.
- jakarta.faces.component.html
- HtmlGraphicImage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3493
-
- jakarta.faces.component.html
- HtmlGraphicImage.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3494
-
- jakarta.faces.component.html
- HtmlGraphicImage.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3495
-
- jakarta.faces.component.html
- HtmlGraphicImage.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3496
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlHead
-
-
-
-
- JSF:JAVADOC:3497
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlHead
-
-
-
-
- JSF:JAVADOC:3498
- Return the value of the xmlns property.
- jakarta.faces.component.html
- HtmlHead
-
-
-
-
- JSF:JAVADOC:3499
-
- jakarta.faces.component.html
- HtmlHead
-
-
-
-
- JSF:JAVADOC:3500
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlHead
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3501
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlHead
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3502
- Set the value of the xmlns property.
- jakarta.faces.component.html
- HtmlHead
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3503
-
- jakarta.faces.component.html
- HtmlHead.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3504
-
- jakarta.faces.component.html
- HtmlHead.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3505
-
- jakarta.faces.component.html
- HtmlHead.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3506
- Return the value of the accept property. Contents: Comma separated string of mime types of files to filter in client side file browse dialog. Note: This is not validated in server side.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3507
- Return the value of the accesskey property. Contents: Access key that, when pressed, transfers focus to this element.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3508
- Return the value of the alt property. Contents: Alternate textual description of the element rendered by this component.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3509
- Return the value of the autocomplete property. Contents: If the value of this attribute is "off", render "off" as the value of the attribute. This indicates that the browser should disable its autocomplete feature for this component. This is useful for components that perform autocompletion and do not want the browser interfering. If this attribute is not set or the value is "on", render nothing.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3510
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3511
- Return the value of the dir property. Contents: Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). These attributes are case sensitive when rendering to XHTML, so care must be taken to have the correct case.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3512
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3513
- Return the value of the label property. Contents: A localized user presentable name for this component.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3514
- Return the value of the lang property. Contents: Code describing the language used in the generated markup for this component.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3515
- Return the value of the maxlength property. Contents: The maximum number of characters that may be entered in this field.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3516
- Return the value of the onblur property. Contents: JavaScript code executed when this element loses focus.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3517
- Return the value of the onchange property. Contents: JavaScript code executed when this element loses focus and its value has been modified since gaining focus.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3518
- Return the value of the onclick property. Contents: JavaScript code executed when a pointer button is clicked over this element.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3519
- Return the value of the ondblclick property. Contents: JavaScript code executed when a pointer button is double clicked over this element.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3520
- Return the value of the onfocus property. Contents: JavaScript code executed when this element receives focus.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3521
- Return the value of the onkeydown property. Contents: JavaScript code executed when a key is pressed down over this element.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3522
- Return the value of the onkeypress property. Contents: JavaScript code executed when a key is pressed and released over this element.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3523
- Return the value of the onkeyup property. Contents: JavaScript code executed when a key is released over this element.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3524
- Return the value of the onmousedown property. Contents: JavaScript code executed when a pointer button is pressed down over this element.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3525
- Return the value of the onmousemove property. Contents: JavaScript code executed when a pointer button is moved within this element.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3526
- Return the value of the onmouseout property. Contents: JavaScript code executed when a pointer button is moved away from this element.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3527
- Return the value of the onmouseover property. Contents: JavaScript code executed when a pointer button is moved onto this element.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3528
- Return the value of the onmouseup property. Contents: JavaScript code executed when a pointer button is released over this element.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3529
- Return the value of the onselect property. Contents: JavaScript code executed when text within this element is selected by the user.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3530
- Return the value of the role property. Contents: Per the WAI-ARIA spec and its relationship to HTML5 (Section title ARIA Role Attriubute), every HTML element may have a "role" attribute whose value must be passed through unmodified on the element on which it is declared in the final rendered markup. The attribute, if specified, must have a value that is a string literal that is, or a Jakarta Expression Language Expression that evaluates to, a set of space-separated tokens representing the various WAI-ARIA roles that the element belongs to. It is the page author's responsibility to ensure that the user agent is capable of correctly interpreting the value of this attribute.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3531
- Return the value of the size property. Contents: The number of characters used to determine the width of this field.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3532
- Return the value of the style property. Contents: CSS style(s) to be applied when this component is rendered.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3533
- Return the value of the styleClass property. Contents: Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3534
- Return the value of the tabindex property. Contents: Position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3535
- Return the value of the title property. Contents: Advisory title information about markup elements generated for this component.
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3536
-
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3537
- Return the value of the disabled property. Contents: Flag indicating that this element must never receive focus or be included in a subsequent submit. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as disabled="disabled".
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3538
- Return the value of the multiple property. Contents: Flag indicating that this element must allow multiple file selection. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as multiple="multiple".
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3539
- Return the value of the readonly property. Contents: Flag indicating that this component will prohibit changes by the user. The element may receive focus unless it has also been disabled. A value of false causes no attribute to be rendered, while a value of true causes the attribute to be rendered as readonly="readonly".
- jakarta.faces.component.html
- HtmlInputFile
-
-
-
-
- JSF:JAVADOC:3540
-
- jakarta.faces.component.html
- HtmlInputFile
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:3541
- Set the value of the accept property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3542
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3543
- Set the value of the alt property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3544
- Set the value of the autocomplete property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3545
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3546
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3547
- Set the value of the label property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3548
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3549
- Set the value of the maxlength property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:3550
- Set the value of the multiple property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3551
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3552
- Set the value of the onchange property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3553
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3554
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3555
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3556
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3557
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3558
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3559
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3560
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3561
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3562
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3563
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3564
- Set the value of the onselect property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3565
- Set the value of the readonly property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3566
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3567
- Set the value of the size property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:3568
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3569
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3570
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3571
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlInputFile
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3572
-
- jakarta.faces.component.html
- HtmlInputFile.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3573
-
- jakarta.faces.component.html
- HtmlInputFile.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3574
-
- jakarta.faces.component.html
- HtmlInputFile.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3575
-
- jakarta.faces.component.html
- HtmlInputHidden
-
-
-
-
- JSF:JAVADOC:3576
-
- jakarta.faces.component.html
- HtmlInputHidden.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3577
-
- jakarta.faces.component.html
- HtmlInputHidden.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3578
-
- jakarta.faces.component.html
- HtmlInputHidden.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3579
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3580
- Return the value of the alt property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3581
- Return the value of the autocomplete property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3582
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3583
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3584
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3585
- Return the value of the label property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3586
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3587
- Return the value of the maxlength property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3588
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3589
- Return the value of the onchange property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3590
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3591
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3592
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3593
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3594
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3595
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3596
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3597
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3598
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3599
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3600
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3601
- Return the value of the onselect property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3602
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3603
- Return the value of the size property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3604
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3605
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3606
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3607
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3608
-
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3609
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3610
- Return the value of the readonly property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3611
- Return the value of the redisplay property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
-
-
- JSF:JAVADOC:3612
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3613
- Set the value of the alt property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3614
- Set the value of the autocomplete property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3615
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3616
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3617
- Set the value of the label property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3618
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3619
- Set the value of the maxlength property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:3620
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3621
- Set the value of the onchange property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3622
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3623
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3624
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3625
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3626
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3627
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3628
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3629
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3630
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3631
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3632
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3633
- Set the value of the onselect property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3634
- Set the value of the readonly property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3635
- Set the value of the redisplay property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3636
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3637
- Set the value of the size property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:3638
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3639
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3640
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3641
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlInputSecret
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3642
-
- jakarta.faces.component.html
- HtmlInputSecret.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3643
-
- jakarta.faces.component.html
- HtmlInputSecret.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3644
-
- jakarta.faces.component.html
- HtmlInputSecret.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3645
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3646
- Return the value of the alt property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3647
- Return the value of the autocomplete property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3648
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3649
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3650
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3651
- Return the value of the label property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3652
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3653
- Return the value of the maxlength property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3654
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3655
- Return the value of the onchange property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3656
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3657
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3658
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3659
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3660
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3661
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3662
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3663
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3664
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3665
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3666
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3667
- Return the value of the onselect property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3668
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3669
- Return the value of the size property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3670
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3671
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3672
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3673
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3674
- Return the value of the type property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3675
-
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3676
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3677
- Return the value of the readonly property.
- jakarta.faces.component.html
- HtmlInputText
-
-
-
-
- JSF:JAVADOC:3678
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3679
- Set the value of the alt property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3680
- Set the value of the autocomplete property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3681
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3682
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3683
- Set the value of the label property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3684
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3685
- Set the value of the maxlength property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:3686
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3687
- Set the value of the onchange property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3688
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3689
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3690
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3691
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3692
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3693
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3694
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3695
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3696
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3697
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3698
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3699
- Set the value of the onselect property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3700
- Set the value of the readonly property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3701
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3702
- Set the value of the size property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:3703
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3704
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3705
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3706
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3707
- Set the value of the type property.
- jakarta.faces.component.html
- HtmlInputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3708
-
- jakarta.faces.component.html
- HtmlInputText.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3709
-
- jakarta.faces.component.html
- HtmlInputText.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3710
-
- jakarta.faces.component.html
- HtmlInputText.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3711
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3712
- Return the value of the cols property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3713
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3714
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3715
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3716
- Return the value of the label property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3717
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3718
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3719
- Return the value of the onchange property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3720
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3721
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3722
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3723
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3724
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3725
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3726
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3727
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3728
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3729
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3730
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3731
- Return the value of the onselect property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3732
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3733
- Return the value of the rows property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3734
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3735
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3736
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3737
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3738
-
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3739
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3740
- Return the value of the readonly property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
-
-
- JSF:JAVADOC:3741
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3742
- Set the value of the cols property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:3743
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3744
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3745
- Set the value of the label property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3746
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3747
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3748
- Set the value of the onchange property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3749
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3750
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3751
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3752
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3753
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3754
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3755
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3756
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3757
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3758
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3759
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3760
- Set the value of the onselect property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3761
- Set the value of the readonly property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3762
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3763
- Set the value of the rows property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:3764
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3765
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3766
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3767
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlInputTextarea
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3768
-
- jakarta.faces.component.html
- HtmlInputTextarea.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3769
-
- jakarta.faces.component.html
- HtmlInputTextarea.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3770
-
- jakarta.faces.component.html
- HtmlInputTextarea.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3771
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3772
- Return the value of the errorClass property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3773
- Return the value of the errorStyle property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3774
- Return the value of the fatalClass property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3775
- Return the value of the fatalStyle property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3776
- Return the value of the infoClass property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3777
- Return the value of the infoStyle property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3778
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3779
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3780
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3781
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3782
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3783
- Return the value of the warnClass property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3784
- Return the value of the warnStyle property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3785
-
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3786
- Return the value of the tooltip property.
- jakarta.faces.component.html
- HtmlMessage
-
-
-
-
- JSF:JAVADOC:3787
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3788
- Set the value of the errorClass property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3789
- Set the value of the errorStyle property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3790
- Set the value of the fatalClass property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3791
- Set the value of the fatalStyle property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3792
- Set the value of the infoClass property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3793
- Set the value of the infoStyle property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3794
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3795
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3796
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3797
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3798
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3799
- Set the value of the tooltip property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3800
- Set the value of the warnClass property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3801
- Set the value of the warnStyle property.
- jakarta.faces.component.html
- HtmlMessage
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3802
-
- jakarta.faces.component.html
- HtmlMessage.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3803
-
- jakarta.faces.component.html
- HtmlMessage.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3804
-
- jakarta.faces.component.html
- HtmlMessage.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3805
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3806
- Return the value of the errorClass property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3807
- Return the value of the errorStyle property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3808
- Return the value of the fatalClass property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3809
- Return the value of the fatalStyle property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3810
- Return the value of the infoClass property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3811
- Return the value of the infoStyle property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3812
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3813
- Return the value of the layout property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3814
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3815
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3816
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3817
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3818
- Return the value of the warnClass property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3819
- Return the value of the warnStyle property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3820
-
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3821
- Return the value of the tooltip property.
- jakarta.faces.component.html
- HtmlMessages
-
-
-
-
- JSF:JAVADOC:3822
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3823
- Set the value of the errorClass property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3824
- Set the value of the errorStyle property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3825
- Set the value of the fatalClass property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3826
- Set the value of the fatalStyle property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3827
- Set the value of the infoClass property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3828
- Set the value of the infoStyle property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3829
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3830
- Set the value of the layout property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3831
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3832
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3833
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3834
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3835
- Set the value of the tooltip property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3836
- Set the value of the warnClass property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3837
- Set the value of the warnStyle property.
- jakarta.faces.component.html
- HtmlMessages
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3838
-
- jakarta.faces.component.html
- HtmlMessages.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3839
-
- jakarta.faces.component.html
- HtmlMessages.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3840
-
- jakarta.faces.component.html
- HtmlMessages.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3841
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3842
- Return the value of the alt property. This attribute is ignored when the image attribute is not specified.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3843
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3844
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3845
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3846
- Return the value of the image property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3847
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3848
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3849
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3850
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3851
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3852
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3853
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3854
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3855
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3856
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3857
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3858
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3859
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3860
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3861
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3862
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3863
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3864
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3865
-
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3866
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
-
-
- JSF:JAVADOC:3867
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3868
- Set the value of the alt property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3869
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3870
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3871
- Set the value of the image property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3872
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3873
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3874
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3875
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3876
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3877
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3878
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3879
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3880
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3881
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3882
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3883
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3884
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3885
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3886
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3887
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3888
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3889
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlOutcomeTargetButton
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3890
-
- jakarta.faces.component.html
- HtmlOutcomeTargetButton.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3891
-
- jakarta.faces.component.html
- HtmlOutcomeTargetButton.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3892
-
- jakarta.faces.component.html
- HtmlOutcomeTargetButton.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3893
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3894
- Return the value of the charset property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3895
- Return the value of the coords property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3896
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3897
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3898
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3899
- Return the value of the hreflang property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3900
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3901
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3902
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3903
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3904
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3905
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3906
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3907
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3908
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3909
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3910
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3911
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3912
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3913
- Return the value of the rel property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3914
- Return the value of the rev property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3915
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3916
- Return the value of the shape property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3917
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3918
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3919
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3920
- Return the value of the target property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3921
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3922
- Return the value of the type property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3923
-
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3924
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
-
-
- JSF:JAVADOC:3925
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3926
- Set the value of the charset property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3927
- Set the value of the coords property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3928
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3929
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3930
- Set the value of the hreflang property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3931
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3932
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3933
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3934
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3935
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3936
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3937
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3938
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3939
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3940
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3941
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3942
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3943
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3944
- Set the value of the rel property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3945
- Set the value of the rev property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3946
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3947
- Set the value of the shape property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3948
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3949
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3950
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3951
- Set the value of the target property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3952
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3953
- Set the value of the type property.
- jakarta.faces.component.html
- HtmlOutcomeTargetLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3954
-
- jakarta.faces.component.html
- HtmlOutcomeTargetLink.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3955
-
- jakarta.faces.component.html
- HtmlOutcomeTargetLink.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3956
-
- jakarta.faces.component.html
- HtmlOutcomeTargetLink.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3957
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
-
-
- JSF:JAVADOC:3958
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
-
-
- JSF:JAVADOC:3959
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
-
-
- JSF:JAVADOC:3960
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
-
-
- JSF:JAVADOC:3961
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
-
-
- JSF:JAVADOC:3962
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
-
-
- JSF:JAVADOC:3963
-
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
-
-
- JSF:JAVADOC:3964
- Return the value of the escape property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
-
-
- JSF:JAVADOC:3965
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3966
- Set the value of the escape property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:3967
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3968
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3969
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3970
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3971
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlOutputFormat
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3972
-
- jakarta.faces.component.html
- HtmlOutputFormat.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3973
-
- jakarta.faces.component.html
- HtmlOutputFormat.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:3974
-
- jakarta.faces.component.html
- HtmlOutputFormat.PropertyKeys
-
-
-
-
- JSF:JAVADOC:3975
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3976
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3977
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3978
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3979
- Return the value of the for property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3980
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3981
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3982
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3983
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3984
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3985
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3986
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3987
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3988
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3989
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3990
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3991
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3992
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3993
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3994
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3995
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3996
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3997
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3998
-
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:3999
- Return the value of the escape property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
-
-
- JSF:JAVADOC:4000
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4001
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4002
- Set the value of the escape property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4003
- Set the value of the for property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4004
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4005
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4006
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4007
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4008
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4009
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4010
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4011
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4012
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4013
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4014
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4015
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4016
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4017
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4018
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4019
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4020
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4021
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlOutputLabel
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4022
-
- jakarta.faces.component.html
- HtmlOutputLabel.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4023
-
- jakarta.faces.component.html
- HtmlOutputLabel.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4024
-
- jakarta.faces.component.html
- HtmlOutputLabel.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4025
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4026
- Return the value of the charset property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4027
- Return the value of the coords property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4028
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4029
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4030
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4031
- Return the value of the fragment property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4032
- Return the value of the hreflang property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4033
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4034
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4035
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4036
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4037
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4038
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4039
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4040
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4041
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4042
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4043
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4044
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4045
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4046
- Return the value of the rel property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4047
- Return the value of the rev property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4048
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4049
- Return the value of the shape property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4050
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4051
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4052
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4053
- Return the value of the target property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4054
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4055
- Return the value of the type property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4056
-
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4057
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
-
-
- JSF:JAVADOC:4058
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4059
- Set the value of the charset property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4060
- Set the value of the coords property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4061
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4062
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4063
- Set the value of the fragment property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4064
- Set the value of the hreflang property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4065
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4066
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4067
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4068
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4069
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4070
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4071
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4072
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4073
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4074
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4075
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4076
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4077
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4078
- Set the value of the rel property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4079
- Set the value of the rev property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4080
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4081
- Set the value of the shape property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4082
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4083
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4084
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4085
- Set the value of the target property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4086
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4087
- Set the value of the type property.
- jakarta.faces.component.html
- HtmlOutputLink
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4088
-
- jakarta.faces.component.html
- HtmlOutputLink.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4089
-
- jakarta.faces.component.html
- HtmlOutputLink.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4090
-
- jakarta.faces.component.html
- HtmlOutputLink.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4091
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
-
-
- JSF:JAVADOC:4092
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
-
-
- JSF:JAVADOC:4093
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
-
-
- JSF:JAVADOC:4094
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
-
-
- JSF:JAVADOC:4095
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
-
-
- JSF:JAVADOC:4096
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
-
-
- JSF:JAVADOC:4097
-
- jakarta.faces.component.html
- HtmlOutputText
-
-
-
-
- JSF:JAVADOC:4098
- Return the value of the escape property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
-
-
- JSF:JAVADOC:4099
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4100
- Set the value of the escape property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4101
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4102
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4103
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4104
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4105
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlOutputText
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4106
-
- jakarta.faces.component.html
- HtmlOutputText.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4107
-
- jakarta.faces.component.html
- HtmlOutputText.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4108
-
- jakarta.faces.component.html
- HtmlOutputText.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4109
- Return the value of the bgcolor property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4110
- Return the value of the bodyrows property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4111
- Return the value of the border property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4112
- Return the value of the captionClass property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4113
- Return the value of the captionStyle property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4114
- Return the value of the cellpadding property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4115
- Return the value of the cellspacing property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4116
- Return the value of the columnClasses property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4117
- Return the value of the columns property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4118
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4119
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4120
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4121
- Return the value of the footerClass property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4122
- Return the value of the frame property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4123
- Return the value of the headerClass property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4124
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4125
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4126
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4127
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4128
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4129
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4130
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4131
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4132
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4133
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4134
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4135
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4136
- Return the value of the rowClass property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4137
- Return the value of the rowClasses property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4138
- Return the value of the rules property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4139
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4140
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4141
- Return the value of the summary property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4142
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4143
- Return the value of the width property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4144
-
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
-
-
- JSF:JAVADOC:4145
- Set the value of the bgcolor property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4146
- Set the value of the bodyrows property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4147
- Set the value of the border property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4148
- Set the value of the captionClass property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4149
- Set the value of the captionStyle property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4150
- Set the value of the cellpadding property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4151
- Set the value of the cellspacing property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4152
- Set the value of the columnClasses property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4153
- Set the value of the columns property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4154
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4155
- Set the value of the footerClass property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4156
- Set the value of the frame property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4157
- Set the value of the headerClass property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4158
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4159
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4160
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4161
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4162
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4163
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4164
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4165
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4166
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4167
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4168
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4169
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4170
- Set the value of the rowClass property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4171
- Set the value of the rowClasses property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4172
- Set the value of the rules property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4173
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4174
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4175
- Set the value of the summary property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4176
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4177
- Set the value of the width property.
- jakarta.faces.component.html
- HtmlPanelGrid
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4178
-
- jakarta.faces.component.html
- HtmlPanelGrid.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4179
-
- jakarta.faces.component.html
- HtmlPanelGrid.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4180
-
- jakarta.faces.component.html
- HtmlPanelGrid.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4181
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4182
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4183
- Return the value of the layout property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4184
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4185
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4186
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4187
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4188
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4189
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4190
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4191
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4192
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4193
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4194
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4195
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4196
-
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
-
-
- JSF:JAVADOC:4197
- Set the value of the layout property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4198
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4199
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4200
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4201
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4202
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4203
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4204
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4205
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4206
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4207
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4208
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4209
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlPanelGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4210
-
- jakarta.faces.component.html
- HtmlPanelGroup.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4211
-
- jakarta.faces.component.html
- HtmlPanelGroup.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4212
-
- jakarta.faces.component.html
- HtmlPanelGroup.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4213
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4214
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4215
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4216
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4217
- Return the value of the label property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4218
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4219
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4220
- Return the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4221
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4222
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4223
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4224
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4225
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4226
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4227
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4228
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4229
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4230
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4231
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4232
- Return the value of the onselect property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4233
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4234
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4235
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4236
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4237
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4238
-
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4239
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4240
- Return the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
-
-
- JSF:JAVADOC:4241
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4242
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4243
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4244
- Set the value of the label property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4245
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4246
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4247
- Set the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4248
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4249
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4250
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4251
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4252
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4253
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4254
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4255
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4256
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4257
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4258
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4259
- Set the value of the onselect property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4260
- Set the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4261
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4262
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4263
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4264
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4265
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4266
-
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4267
-
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4268
-
- jakarta.faces.component.html
- HtmlSelectBooleanCheckbox.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4269
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4270
- Return the value of the border property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4271
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4272
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4273
- Return the value of the disabledClass property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4274
- Return the value of the enabledClass property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4275
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4276
- Return the value of the label property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4277
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4278
- Return the value of the layout property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4279
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4280
- Return the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4281
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4282
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4283
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4284
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4285
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4286
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4287
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4288
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4289
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4290
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4291
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4292
- Return the value of the onselect property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4293
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4294
- Return the value of the selectedClass property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4295
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4296
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4297
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4298
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4299
- Return the value of the unselectedClass property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4300
-
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4301
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4302
- Return the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
-
-
- JSF:JAVADOC:4303
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4304
- Set the value of the border property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4305
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4306
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4307
- Set the value of the disabledClass property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4308
- Set the value of the enabledClass property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4309
- Set the value of the label property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4310
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4311
- Set the value of the layout property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4312
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4313
- Set the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4314
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4315
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4316
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4317
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4318
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4319
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4320
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4321
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4322
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4323
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4324
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4325
- Set the value of the onselect property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4326
- Set the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4327
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4328
- Set the value of the selectedClass property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4329
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4330
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4331
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4332
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4333
- Set the value of the unselectedClass property.
- jakarta.faces.component.html
- HtmlSelectManyCheckbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4334
-
- jakarta.faces.component.html
- HtmlSelectManyCheckbox.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4335
-
- jakarta.faces.component.html
- HtmlSelectManyCheckbox.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4336
-
- jakarta.faces.component.html
- HtmlSelectManyCheckbox.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4337
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4338
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4339
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4340
- Return the value of the disabledClass property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4341
- Return the value of the enabledClass property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4342
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4343
- Return the value of the label property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4344
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4345
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4346
- Return the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4347
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4348
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4349
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4350
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4351
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4352
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4353
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4354
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4355
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4356
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4357
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4358
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4359
- Return the value of the size property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4360
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4361
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4362
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4363
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4364
-
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4365
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4366
- Return the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
-
-
- JSF:JAVADOC:4367
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4368
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4369
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4370
- Set the value of the disabledClass property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4371
- Set the value of the enabledClass property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4372
- Set the value of the label property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4373
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4374
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4375
- Set the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4376
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4377
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4378
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4379
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4380
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4381
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4382
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4383
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4384
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4385
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4386
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4387
- Set the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4388
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4389
- Set the value of the size property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4390
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4391
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4392
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4393
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlSelectManyListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4394
-
- jakarta.faces.component.html
- HtmlSelectManyListbox.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4395
-
- jakarta.faces.component.html
- HtmlSelectManyListbox.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4396
-
- jakarta.faces.component.html
- HtmlSelectManyListbox.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4397
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4398
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4399
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4400
- Return the value of the disabledClass property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4401
- Return the value of the enabledClass property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4402
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4403
- Return the value of the label property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4404
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4405
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4406
- Return the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4407
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4408
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4409
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4410
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4411
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4412
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4413
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4414
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4415
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4416
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4417
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4418
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4419
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4420
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4421
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4422
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4423
-
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4424
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4425
- Return the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
-
-
- JSF:JAVADOC:4426
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4427
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4428
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4429
- Set the value of the disabledClass property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4430
- Set the value of the enabledClass property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4431
- Set the value of the label property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4432
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4433
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4434
- Set the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4435
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4436
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4437
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4438
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4439
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4440
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4441
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4442
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4443
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4444
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4445
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4446
- Set the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4447
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4448
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4449
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4450
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4451
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlSelectManyMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4452
-
- jakarta.faces.component.html
- HtmlSelectManyMenu.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4453
-
- jakarta.faces.component.html
- HtmlSelectManyMenu.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4454
-
- jakarta.faces.component.html
- HtmlSelectManyMenu.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4455
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4456
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4457
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4458
- Return the value of the disabledClass property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4459
- Return the value of the enabledClass property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4460
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4461
- Return the value of the label property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4462
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4463
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4464
- Return the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4465
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4466
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4467
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4468
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4469
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4470
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4471
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4472
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4473
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4474
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4475
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4476
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4477
- Return the value of the size property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4478
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4479
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4480
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4481
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4482
-
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4483
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4484
- Return the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
-
-
- JSF:JAVADOC:4485
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4486
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4487
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4488
- Set the value of the disabledClass property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4489
- Set the value of the enabledClass property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4490
- Set the value of the label property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4491
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4492
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4493
- Set the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4494
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4495
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4496
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4497
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4498
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4499
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4500
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4501
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4502
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4503
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4504
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4505
- Set the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4506
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4507
- Set the value of the size property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4508
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4509
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4510
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4511
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlSelectOneListbox
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4512
-
- jakarta.faces.component.html
- HtmlSelectOneListbox.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4513
-
- jakarta.faces.component.html
- HtmlSelectOneListbox.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4514
-
- jakarta.faces.component.html
- HtmlSelectOneListbox.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4515
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4516
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4517
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4518
- Return the value of the disabledClass property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4519
- Return the value of the enabledClass property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4520
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4521
- Return the value of the label property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4522
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4523
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4524
- Return the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4525
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4526
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4527
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4528
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4529
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4530
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4531
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4532
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4533
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4534
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4535
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4536
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4537
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4538
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4539
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4540
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4541
-
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4542
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4543
- Return the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
-
-
- JSF:JAVADOC:4544
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4545
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4546
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4547
- Set the value of the disabledClass property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4548
- Set the value of the enabledClass property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4549
- Set the value of the label property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4550
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4551
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4552
- Set the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4553
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4554
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4555
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4556
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4557
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4558
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4559
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4560
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4561
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4562
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4563
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4564
- Set the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4565
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4566
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4567
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4568
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4569
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlSelectOneMenu
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4570
-
- jakarta.faces.component.html
- HtmlSelectOneMenu.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4571
-
- jakarta.faces.component.html
- HtmlSelectOneMenu.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4572
-
- jakarta.faces.component.html
- HtmlSelectOneMenu.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4573
- Return the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4574
- Return the value of the border property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4575
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getDefaultEventName. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must provide an implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4576
- Return the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4577
- Return the value of the disabledClass property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4578
- Return the value of the enabledClass property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4579
- This is a default implementation of jakarta.faces.component.behavior.ClientBehaviorHolder#getEventNames. UIComponent does not implement the jakarta.faces.component.behavior.ClientBehaviorHolder interface, but provides default implementations for the methods defined by jakarta.faces.component.behavior.ClientBehaviorHolder to simplify subclass implementations. Subclasses that wish to support the jakarta.faces.component.behavior.ClientBehaviorHolder contract must declare that the subclass implements jakarta.faces.component.behavior.ClientBehaviorHolder, and must override this method to return a non-Empty Collection of the client event names that the component supports.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4580
- Return the value of the group property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4581
- Return the value of the label property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4582
- Return the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4583
- Return the value of the layout property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4584
- Return the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4585
- Return the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4586
- Return the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4587
- Return the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4588
- Return the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4589
- Return the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4590
- Return the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4591
- Return the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4592
- Return the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4593
- Return the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4594
- Return the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4595
- Return the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4596
- Return the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4597
- Return the value of the onselect property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4598
- Return the value of the role property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4599
- Return the value of the style property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4600
- Return the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4601
- Return the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4602
- Return the value of the title property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4603
-
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4604
- Return the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4605
- Return the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
-
-
- JSF:JAVADOC:4606
- Set the value of the accesskey property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4607
- Set the value of the border property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4608
- Set the value of the dir property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4609
- Set the value of the disabled property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4610
- Set the value of the disabledClass property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4611
- Set the value of the enabledClass property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4612
- Set the value of the group property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4613
- Set the value of the label property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4614
- Set the value of the lang property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4615
- Set the value of the layout property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4616
- Set the value of the onblur property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4617
- Set the value of the onchange property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4618
- Set the value of the onclick property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4619
- Set the value of the ondblclick property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4620
- Set the value of the onfocus property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4621
- Set the value of the onkeydown property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4622
- Set the value of the onkeypress property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4623
- Set the value of the onkeyup property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4624
- Set the value of the onmousedown property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4625
- Set the value of the onmousemove property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4626
- Set the value of the onmouseout property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4627
- Set the value of the onmouseover property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4628
- Set the value of the onmouseup property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4629
- Set the value of the onselect property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4630
- Set the value of the readonly property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4631
- Set the value of the role property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4632
- Set the value of the style property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4633
- Set the value of the styleClass property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4634
- Set the value of the tabindex property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4635
- Set the value of the title property.
- jakarta.faces.component.html
- HtmlSelectOneRadio
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4636
-
- jakarta.faces.component.html
- HtmlSelectOneRadio.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4637
-
- jakarta.faces.component.html
- HtmlSelectOneRadio.PropertyKeys
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4638
-
- jakarta.faces.component.html
- HtmlSelectOneRadio.PropertyKeys
-
-
-
-
- JSF:JAVADOC:4639
- Construct a new exception with no detail message or root cause.
- jakarta.faces.component.search
- ComponentNotFoundException
-
-
-
-
- JSF:JAVADOC:4640
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.component.search
- ComponentNotFoundException
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4641
- Construct a new exception with the specified root cause. The detail message will be set to (cause == null ? null : cause.toString()
- jakarta.faces.component.search
- ComponentNotFoundException
-
-
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:4642
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.component.search
- ComponentNotFoundException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:4643
- Creates a SearchExpressionContext instance for use with the SearchExpressionHandler. This method can be used to obtain a SearchExpressionContext instance without any VisitHint or SearchExpressionHint.
- jakarta.faces.component.search
- SearchExpressionContext
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:4644
- Creates a SearchExpressionContext instance for use with the SearchExpressionHandler.
- jakarta.faces.component.search
- SearchExpressionContext
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.util.Set
- java.util.Set
-
-
-
-
-
- JSF:JAVADOC:4645
- Returns hints that influence the behavior of resolving the expression.
- jakarta.faces.component.search
- SearchExpressionContext
-
-
-
-
- JSF:JAVADOC:4646
- Returns the FacesContext for the current request.
- jakarta.faces.component.search
- SearchExpressionContext
-
-
-
-
- JSF:JAVADOC:4647
- Returns the source / base component from which we will start to perform our search.
- jakarta.faces.component.search
- SearchExpressionContext
-
-
-
-
- JSF:JAVADOC:4648
- Returns hints that influence the behavior of the tree visit, if it's used by an SearchKeywordResolver implementation.
- jakarta.faces.component.search
- SearchExpressionContext
-
-
-
-
- JSF:JAVADOC:4649
-
- jakarta.faces.component.search
- SearchExpressionContext
-
-
-
-
- JSF:JAVADOC:4650
- Creates a SearchExpressionContext instance for use with the SearchExpressionHandler.
- jakarta.faces.component.search
- SearchExpressionContextFactory
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.util.Set
- java.util.Set
-
-
-
-
-
- JSF:JAVADOC:4651
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.component.search
- SearchExpressionContextFactory
-
-
-
-
- JSF:JAVADOC:4652
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.component.search
- SearchExpressionContextFactory
-
-
- jakarta.faces.component.search.SearchExpressionContextFactory
-
-
-
-
-
- JSF:JAVADOC:4653
- Return the characters used to separate expressions in a series of expressions. The default implementation returns SearchExpressionHandler#EXPRESSION_SEPARATOR_CHARS.
- jakarta.faces.component.search
- SearchExpressionHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:4654
- Resolves multiple UIComponents for the given expression. For each resolved component, the ContextCallback will be invoked. This method is the most essential method in the API. It implements the algorithm which handles the recursion of the keywords and id's.
- jakarta.faces.component.search
- SearchExpressionHandler
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
-
- JSF:JAVADOC:4655
- Resolves multiple UIComponents for the given expression. For each resolved component, the ContextCallback will be invoked. This method is the most essential method in the API. It implements the algorithm which handles the recursion of the keywords and id's.
- jakarta.faces.component.search
- SearchExpressionHandler
-
-
- jakarta.faces.component.search.SearchExpressionContext
- jakarta.faces.component.UIComponent
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
-
- JSF:JAVADOC:4656
- Checks if the given expression is a "passtrough expression". A passthrough expression must only be a keyword. This keyword will not be resolved by the SearchKeywordResolver and will be returned untouched. The client is responsible to resolve it later.
- jakarta.faces.component.search
- SearchExpressionHandler
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4657
- Checks if the given expression is a valid expression. A expression is invalid if: No SearchKeywordResolver matches the requested keyword A keyword or id is placed after a leaf keyword (@none:@form)
- jakarta.faces.component.search
- SearchExpressionHandler
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4658
- Resolves to a single clientId or passthrough expression for the given expression.
- jakarta.faces.component.search
- SearchExpressionHandler
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4659
- Resolves to a List with clientIds or passthrough expressions for the given expressions. The expressions will be splitted by #splitExpressions(jakarta.faces.context.FacesContext, java.lang.String) and resolved one by one.
- jakarta.faces.component.search
- SearchExpressionHandler
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4660
- Resolves a single UIComponents for the given expression. If the component is resolved, the ContextCallback will be invoked.
- jakarta.faces.component.search
- SearchExpressionHandler
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
-
- JSF:JAVADOC:4661
- Resolves multiple UIComponents for the given expression(s). The expressions will be splitted by #splitExpressions(jakarta.faces.context.FacesContext, java.lang.String) and resolved one by one. For each resolved component, the ContextCallback will be invoked.
- jakarta.faces.component.search
- SearchExpressionHandler
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
-
- JSF:JAVADOC:4662
-
- jakarta.faces.component.search
- SearchExpressionHandler
-
-
-
-
- JSF:JAVADOC:4663
- Splits an string, based on #getExpressionSeperatorChars(jakarta.faces.context.FacesContext) with possible multiple expressions into an array.
- jakarta.faces.component.search
- SearchExpressionHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4664
- Return the characters used to separate expressions in a series of expressions. The default implementation returns SearchExpressionHandler#EXPRESSION_SEPARATOR_CHARS.
- jakarta.faces.component.search
- SearchExpressionHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:4665
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.component.search
- SearchExpressionHandlerWrapper
-
-
-
-
- JSF:JAVADOC:4666
- Resolves multiple UIComponents for the given expression. For each resolved component, the ContextCallback will be invoked. This method is the most essential method in the API. It implements the algorithm which handles the recursion of the keywords and id's.
- jakarta.faces.component.search
- SearchExpressionHandlerWrapper
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
-
- JSF:JAVADOC:4667
- Resolves multiple UIComponents for the given expression. For each resolved component, the ContextCallback will be invoked. This method is the most essential method in the API. It implements the algorithm which handles the recursion of the keywords and id's.
- jakarta.faces.component.search
- SearchExpressionHandlerWrapper
-
-
- jakarta.faces.component.search.SearchExpressionContext
- jakarta.faces.component.UIComponent
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
-
- JSF:JAVADOC:4668
- Checks if the given expression is a "passtrough expression". A passthrough expression must only be a keyword. This keyword will not be resolved by the SearchKeywordResolver and will be returned untouched. The client is responsible to resolve it later.
- jakarta.faces.component.search
- SearchExpressionHandlerWrapper
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4669
- Checks if the given expression is a valid expression. A expression is invalid if: No SearchKeywordResolver matches the requested keyword A keyword or id is placed after a leaf keyword (@none:@form)
- jakarta.faces.component.search
- SearchExpressionHandlerWrapper
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4670
- Resolves to a single clientId or passthrough expression for the given expression.
- jakarta.faces.component.search
- SearchExpressionHandlerWrapper
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4671
- Resolves to a List with clientIds or passthrough expressions for the given expressions. The expressions will be splitted by #splitExpressions(jakarta.faces.context.FacesContext, java.lang.String) and resolved one by one.
- jakarta.faces.component.search
- SearchExpressionHandlerWrapper
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4672
- Resolves a single UIComponents for the given expression. If the component is resolved, the ContextCallback will be invoked.
- jakarta.faces.component.search
- SearchExpressionHandlerWrapper
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
-
- JSF:JAVADOC:4673
- Resolves multiple UIComponents for the given expression(s). The expressions will be splitted by #splitExpressions(jakarta.faces.context.FacesContext, java.lang.String) and resolved one by one. For each resolved component, the ContextCallback will be invoked.
- jakarta.faces.component.search
- SearchExpressionHandlerWrapper
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
- jakarta.faces.component.ContextCallback
-
-
-
-
-
- JSF:JAVADOC:4674
- If this search expression handler has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.component.search
- SearchExpressionHandlerWrapper
-
-
- jakarta.faces.component.search.SearchExpressionHandler
-
-
-
-
-
- JSF:JAVADOC:4675
- Splits an string, based on #getExpressionSeperatorChars(jakarta.faces.context.FacesContext) with possible multiple expressions into an array.
- jakarta.faces.component.search
- SearchExpressionHandlerWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4676
-
- jakarta.faces.component.search
- SearchExpressionHint
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4677
-
- jakarta.faces.component.search
- SearchExpressionHint
-
-
-
-
- JSF:JAVADOC:4678
- Returns the ContextCallback for the current request.
- jakarta.faces.component.search
- SearchKeywordContext
-
-
-
-
- JSF:JAVADOC:4679
- Returns the remaining expression for the current request.
- jakarta.faces.component.search
- SearchKeywordContext
-
-
-
-
- JSF:JAVADOC:4680
- Returns the SearchExpressionContext for the current request.
- jakarta.faces.component.search
- SearchKeywordContext
-
-
-
-
- JSF:JAVADOC:4681
- This method will be called by an implementation of SearchKeywordResolver#resolve with the resolved component for the keyword.
- jakarta.faces.component.search
- SearchKeywordContext
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:4682
- Returns if the keyword was resolved.
- jakarta.faces.component.search
- SearchKeywordContext
-
-
-
-
- JSF:JAVADOC:4683
- Construct a new context with the given arguments.
- jakarta.faces.component.search
- SearchKeywordContext
-
-
- jakarta.faces.component.search.SearchExpressionContext
- jakarta.faces.component.ContextCallback
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4684
- Sets if the keyword was resolved.
- jakarta.faces.component.search
- SearchKeywordContext
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4685
- A leaf keyword is a keyword that does not allow to be combined with keywords or id chains to the right. For example: @none:@parent.
- jakarta.faces.component.search
- SearchKeywordResolver
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4686
- A passthrough keyword is a keyword, that according to the context, does not require to be resolved on the server, and can be passed "unresolved" to the client.
- jakarta.faces.component.search
- SearchKeywordResolver
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4687
- Checks if the current instance of the SearchKeywordResolver is responsible for resolving the keyword.
- jakarta.faces.component.search
- SearchKeywordResolver
-
-
- jakarta.faces.component.search.SearchExpressionContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4688
- Try to resolve one or multiple UIComponents based on the keyword and calls SearchKeywordContext#invokeContextCallback(jakarta.faces.component.UIComponent) for each resolved component.
- jakarta.faces.component.search
- SearchKeywordResolver
-
-
- jakarta.faces.component.search.SearchKeywordContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4689
-
- jakarta.faces.component.search
- SearchKeywordResolver
-
-
-
-
- JSF:JAVADOC:4690
- This method is called during component tree visits by VisitContext#invokeVisitCallback VisitContext.invokeVisitCallback() to visit the specified component. At the point in time when this method is called, the argument target is guaranteed to be in the proper state with respect to its ancestors in the View.
- jakarta.faces.component.visit
- VisitCallback
-
-
- jakarta.faces.component.visit.VisitContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:4691
- Returns a VisitContext instance that is initialized with the specified ids and hintsfor use with UIComponent#visitTree.
- jakarta.faces.component.visit
- VisitContext
-
-
- jakarta.faces.context.FacesContext
- java.util.Collection
- java.util.Set
-
-
-
-
-
- JSF:JAVADOC:4692
- Creates a VisitContext instance for use with UIComponent#visitTree UIComponent.visitTree(). This method can be used to obtain a VisitContext instance when all components should be visited with the default visit hints.
- jakarta.faces.component.visit
- VisitContext
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:4693
- Returns the FacesContext for the current request.
- jakarta.faces.component.visit
- VisitContext
-
-
-
-
- JSF:JAVADOC:4694
- Returns hints that influence the behavior of the tree visit. Interested parties, such as UIComponent#visitTree UIComponent.visitTree() implementations, may check to see whether a particular hint is present by calling VisitContext.getHints().contains(), passing in one of the hints defined by VisitHint.
- jakarta.faces.component.visit
- VisitContext
-
-
-
-
- JSF:JAVADOC:4695
- Returns the ids of the components to visit. In the case of a full tree visit, this method returns the ALL_IDS collection. Otherwise, if a partial visit is beign performed, returns a modifiable collection containing the client ids of the components that should be visited.
- jakarta.faces.component.visit
- VisitContext
-
-
-
-
- JSF:JAVADOC:4696
- Given a jakarta.faces.component.NamingContainer component, returns the client ids of any components underneath the NamingContainer that should be visited. This method is called by NamingContainer visitTree() implementations to determine whether the NamingContainer contains components to be visited. In the case where no such components exist, the NamingContainer can short-circuit the tree visit and avoid descending into child subtrees. In addition, iterating components such as UIData may be able to use the returned ids to determine which iterated states (ie. rows) need to be visited. This allows the visit traversal to be contstrained such only those rows that contain visit targets need to be traversed.
- jakarta.faces.component.visit
- VisitContext
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:4697
- Called by UIComponent#visitTree UIComponent.visitTree() to visit a single component.
- jakarta.faces.component.visit
- VisitContext
-
-
- jakarta.faces.component.UIComponent
- jakarta.faces.component.visit.VisitCallback
-
-
-
-
-
- JSF:JAVADOC:4698
-
- jakarta.faces.component.visit
- VisitContext
-
-
-
-
- JSF:JAVADOC:4699
- Return a new VisitContext instance.
- jakarta.faces.component.visit
- VisitContextFactory
-
-
- jakarta.faces.context.FacesContext
- java.util.Collection
- java.util.Set
-
-
-
-
-
- JSF:JAVADOC:4700
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.component.visit
- VisitContextFactory
-
-
-
-
- JSF:JAVADOC:4701
-
- jakarta.faces.component.visit
- VisitContextFactory
-
-
-
-
- JSF:JAVADOC:4702
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.component.visit
- VisitContextFactory
-
-
- jakarta.faces.component.visit.VisitContextFactory
-
-
-
-
-
- JSF:JAVADOC:4703
- Returns the FacesContext for the current request.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
-
-
- JSF:JAVADOC:4704
- Returns hints that influence the behavior of the tree visit. Interested parties, such as UIComponent#visitTree UIComponent.visitTree() implementations, may check to see whether a particular hint is present by calling VisitContext.getHints().contains(), passing in one of the hints defined by VisitHint.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
-
-
- JSF:JAVADOC:4705
- Returns the ids of the components to visit. In the case of a full tree visit, this method returns the ALL_IDS collection. Otherwise, if a partial visit is beign performed, returns a modifiable collection containing the client ids of the components that should be visited.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
-
-
- JSF:JAVADOC:4706
- Given a jakarta.faces.component.NamingContainer component, returns the client ids of any components underneath the NamingContainer that should be visited. This method is called by NamingContainer visitTree() implementations to determine whether the NamingContainer contains components to be visited. In the case where no such components exist, the NamingContainer can short-circuit the tree visit and avoid descending into child subtrees. In addition, iterating components such as UIData may be able to use the returned ids to determine which iterated states (ie. rows) need to be visited. This allows the visit traversal to be contstrained such only those rows that contain visit targets need to be traversed.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:4707
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
-
-
- JSF:JAVADOC:4708
- Called by UIComponent#visitTree UIComponent.visitTree() to visit a single component.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
- jakarta.faces.component.UIComponent
- jakarta.faces.component.visit.VisitCallback
-
-
-
-
-
- JSF:JAVADOC:4709
-
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
-
-
- JSF:JAVADOC:4710
- If this visit context has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.component.visit
- VisitContextWrapper
-
-
- jakarta.faces.component.visit.VisitContext
-
-
-
-
-
- JSF:JAVADOC:4711
-
- jakarta.faces.component.visit
- VisitHint
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4712
-
- jakarta.faces.component.visit
- VisitHint
-
-
-
-
- JSF:JAVADOC:4713
-
- jakarta.faces.component.visit
- VisitResult
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4714
-
- jakarta.faces.component.visit
- VisitResult
-
-
-
-
- JSF:JAVADOC:4715
-
- jakarta.faces.context
- ExceptionHandler
-
-
-
-
- JSF:JAVADOC:4716
- Return the first ExceptionQueuedEvent handled by this handler.
- jakarta.faces.context
- ExceptionHandler
-
-
-
-
- JSF:JAVADOC:4717
- The default implementation must return an Iterable over all ExceptionQueuedEvents that have been handled by the #handle method.
- jakarta.faces.context
- ExceptionHandler
-
-
-
-
- JSF:JAVADOC:4718
- Unwrap the argument t until the unwrapping encounters an Object whose getClass() is not equal to FacesException.class or jakarta.el.ELException.class. If there is no root cause, null is returned.
- jakarta.faces.context
- ExceptionHandler
-
-
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:4719
- Return an Iterable over all ExceptionQueuedEvents that have not yet been handled by the #handle method.
- jakarta.faces.context
- ExceptionHandler
-
-
-
-
- JSF:JAVADOC:4720
- Take action to handle the Exception instances residing inside the ExceptionQueuedEvent instances that have been queued by calls to Application().publishEvent(ExceptionQueuedEvent.class, eventContext). The requirements of the default implementation are detailed in section 6.2.1 "Default ExceptionHandler implementation" of the Jakarta Faces Specification Document.
- jakarta.faces.context
- ExceptionHandler
-
-
-
-
- JSF:JAVADOC:4721
- if and only if a problem occurs while performing the algorithm to handle the Exception, not as a means of conveying a handled Exception itself.
- jakarta.faces.context
- ExceptionHandler
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:4722
-
- jakarta.faces.context
- ExceptionHandler
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:4723
-
- jakarta.faces.context
- ExceptionHandler
-
-
- jakarta.faces.event.SystemEvent
-
-
-
-
-
- JSF:JAVADOC:4724
-
- jakarta.faces.context
- ExceptionHandler
-
-
- jakarta.faces.event.SystemEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:4725
-
- jakarta.faces.context
- ExceptionHandlerFactory
-
-
-
-
- JSF:JAVADOC:4726
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.context
- ExceptionHandlerFactory
-
-
- jakarta.faces.context.ExceptionHandlerFactory
-
-
-
-
-
- JSF:JAVADOC:4727
- Create and return a A new ExceptionHandler instance. The implementation must return an ExceptionHandler instance suitable for the environment. For example, in some cases it may be desirable for an ExceptionHandler to write error information to the response instead of throwing exceptions as in the case of Ajax applications.
- jakarta.faces.context
- ExceptionHandlerFactory
-
-
-
-
- JSF:JAVADOC:4728
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.context
- ExceptionHandlerFactory
-
-
-
-
- JSF:JAVADOC:4729
-
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
-
-
- JSF:JAVADOC:4730
- If this exception handler has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
- jakarta.faces.context.ExceptionHandler
-
-
-
-
-
- JSF:JAVADOC:4731
- The default behavior of this method is to call ExceptionHandler#getHandledExceptionQueuedEvent() on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
-
-
- JSF:JAVADOC:4732
- The default behavior of this method is to call ExceptionHandler#getHandledExceptionQueuedEvents() on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
-
-
- JSF:JAVADOC:4733
- The default behavior of this method is to call jakarta.faces.context.ExceptionHandler#getRootCause(Throwable) on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:4734
- The default behavior of this method is to call ExceptionHandler#getUnhandledExceptionQueuedEvents() on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
-
-
- JSF:JAVADOC:4735
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
-
-
- JSF:JAVADOC:4736
- The default behavior of this method is to call jakarta.faces.context.ExceptionHandler#handle() on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
-
-
- JSF:JAVADOC:4737
-
- jakarta.faces.context
- ExceptionHandlerWrapper
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:4738
- The default behavior of this method is to call jakarta.faces.context.ExceptionHandler#isListenerForSource(Object) on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:4739
- The default behavior of this method is to call jakarta.faces.context.ExceptionHandler#processEvent(jakarta.faces.event.SystemEvent) on the wrapped ExceptionHandler object.
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
- jakarta.faces.event.SystemEvent
-
-
-
-
-
- JSF:JAVADOC:4740
-
- jakarta.faces.context
- ExceptionHandlerWrapper
-
-
- jakarta.faces.event.SystemEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:4741
- Adds the cookie represented by the arguments to the response. Jakarta Servlet: This must be accomplished by calling the jakarta.servlet.http.HttpServletResponse method addCookie(). The Cookie argument must be constructed by passing the name and value parameters. If the properties arugument is non-null and not empty, the Cookie instance must be initialized as described below. Cookie handling table Key in "values" Map (case sensitive) Expected type of value. Name of setter method on Cookie instance to be set with the value from the Map. comment String setComment domain String setDomain maxAge Integer setMaxAge secure Boolean setSecure path String setPath httpOnly Boolean setHttpOnly any other attribute (e.g. SameSite) String setAttribute The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.lang.String
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:4742
- Add the given name and value to the response header. Jakarta Servlet:This must be performed by calling the jakarta.servlet.http.HttpServletResponse addHeader method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4743
- Dispatch a request to the specified resource to create output for this response. Jakarta Servlet: This must be accomplished by calling the jakarta.servlet.ServletContext method getRequestDispatcher(path), and calling the forward() method on the resulting object. If the call to getRequestDisatcher(path) returns null, send aServletResponse SC_NOT_FOUND error code.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4744
- if an input/output error occurs
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:4745
- Return the input URL, after performing any rewriting needed to ensure that it will correctly identify an addressable action in the current application. Encoding the jakarta.faces.lifecycle.ClientWindow Call jakarta.faces.lifecycle.ClientWindow#isClientWindowRenderModeEnabled(jakarta.faces.context.FacesContext) . If the result is false take no further action and return the rewritten URL. If the result is true, call #getClientWindow(). If the result is non-null, call jakarta.faces.lifecycle.ClientWindow#getId() and append the id to the query string of the URL, making the necessary allowances for a pre-existing query string or no query-string. Call jakarta.faces.lifecycle.ClientWindow#getQueryURLParameters. If the result is non-null, for each parameter in the map, unconditionally add that parameter to the URL. The name of the query string parameter is given by the value of the constant jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_URL_PARAM. Jakarta Servlet: This must be the value returned by the jakarta.servlet.http.HttpServletResponse method encodeURL(url).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4746
- The purpose of this method is to generate a query string from the collection of Parameter objects provided by the parameters argument and append that query string to the baseUrl. This method must be able to encode the parameters to a baseUrl that may or may not have existing query parameters. The parameter values should be encoded appropriately for the environment so that the resulting URL can be used as the target of a link (e.g., in an href attribute) in a Jakarta Faces response. It's possible for an ExternalContext implementation to override this method in any way that would make the URL bookmarkable in that environment. See #encodeActionURL(java.lang.String) for the required specification of how to encode the jakarta.faces.lifecycle.ClientWindow. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:4747
- Return the specified name, after prefixing it with a namespace that ensures that it will be unique within the context of a particular page. Jakarta Servlet: The input value must be returned unchanged.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4748
- Return the input URL, after performing any rewriting needed to ensure that it can be used in a partial page submission (ajax request) to correctly identify an addressable action in the current application. See #encodeActionURL(java.lang.String) for the required specification of how to encode the jakarta.faces.lifecycle.ClientWindow. Jakarta Servlet:Returns the same encoded URL as the #encodeActionURL(String url) method. Portlet:Returns an encoded URL that, upon HTTP POST, will invoke the RESOURCE_PHASE of the portlet lifecycle.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4749
- The purpose of this method is to generate a query string from the collection of Parameter objects provided by the parameters argument and append that query string to the baseUrl. This method must be able to encode the parameters to a baseUrl that may or may not have existing query parameters. The parameter values should be encoded appropriately for the environment so that the resulting URL can be used as the target of a redirect. It's possible for an ExternalContext implementation to override this method to accomodate the definition of redirect for that environment. See #encodeActionURL(java.lang.String) for the required specification of how to encode the jakarta.faces.lifecycle.ClientWindow.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:4750
- Return the input URL, after performing any rewriting needed to ensure that it will correctly identify an addressable resource in the current application. Jakarta Servlet: This must be the value returned by the jakarta.servlet.http.HttpServletResponse method encodeURL(url).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4751
- Return the websocket URL, after performing any rewriting needed to ensure that it will correctly identify an addressable websocket in the current application. Jakarta Servlet: This must ensure that the input URL is prefixed with the correct websocket scheme, domain and port and then encoded by #encodeResourceURL(String).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4752
-
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4753
- Return the name of the container context for this application. Jakarta Servlet: Return the result of calling getContextPath() on the ServletContext instance for this application. It is valid to call this method during application startup or shutdown. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4754
- Return a mutable Map representing the application scope attributes for the current application. The returned Map must implement the entire contract for a modifiable map as described in the JavaDocs for java.util.Map. Modifications made in the Map must cause the corresponding changes in the set of application scope attributes. Particularly the clear(), remove(), put(), putAll(), and get() operations must take the appropriate action on the underlying data structure. It is valid to call this method during application startup or shutdown. If called at startup or shutdown time, this method returns a Map that is backed by the same container context instance (ServletContext or PortletContext) as the one returned by calling getApplicationMap() on the ExternalContext returned by the FacesContext during an actual request. Jakarta Servlet: This must be the set of attributes available via the jakarta.servlet.ServletContext methods getAttribute(), getAttributeNames(), removeAttribute(), and setAttribute().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4755
- Return the name of the authentication scheme used to authenticate the current user, if any; otherwise, return null. For standard authentication schemes, the returned value will match one of the following constants: BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, or FORM_AUTH. Jakarta Servlet: This must be the value returned by the jakarta.servlet.http.HttpServletRequest method getAuthType().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4756
- Return the ClientWindow set in a preceding call to #setClientWindow, or null if no such call has been made.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4757
- Return the application environment object instance for the current appication. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this returns the same container context instance (ServletContext or PortletContext) as the one returned when calling getContext() on the ExternalContext returned by the FacesContext during an actual request. Jakarta Servlet: This must be the current application's jakarta.servlet.ServletContext instance.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4758
- Return the name of the container context for this application. Return the result of calling getServletContextName() on the ServletContext instance for this application. It is valid to call this method during application startup or shutdown. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4759
- Return the threadsafe Flash for this application. The default implementation will throw UnsupportedOperationException. Compliant Jakarta Faces runtimes must provide an implementation of this method.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4760
- Return the value of the specified application initialization parameter (if any). Jakarta Servlet: This must be the result of the jakarta.servlet.ServletContext method getInitParameter(name). It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method calls through to the actual container context to return the init parameter value.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4761
- Return an immutable Map whose keys are the set of application initialization parameter names configured for this application, and whose values are the corresponding parameter values. The returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs for java.util.Map. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method returns a Map that is backed by the same container context instance (ServletContext or PortletContext) as the one returned by calling getInitParameterMap() on the ExternalContext returned by the FacesContext during an actual request. Jakarta Servlet: This result must be as if it were synthesized by calling the jakarta.servlet.ServletContext method getInitParameterNames, and putting each configured parameter name/value pair into the result.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4762
- Returns the MIME type of the specified file or null if the MIME type is not known. The MIME type is determined by the container. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method calls through to the getMimeType() method on the same container context instance (ServletContext or PortletContext) as the one used when calling getMimeType() on the ExternalContext returned by the FacesContext during an actual request. Jakarta Servlet: This must be the value returned by the jakarta.servlet.ServletContext method getMimeType().
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4763
- Returns a String containing the real path for a given virtual path. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method calls through to the getRealPath() method on the same container context instance (ServletContext or PortletContext) as the one used when calling getRealPath() on the ExternalContext returned by the FacesContext during an actual request. Jakarta Servlet: This must be the value returned by the jakarta.servlet.ServletContext method getRealPath(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4764
- Return the login name of the user making the current request if any; otherwise, return null. Jakarta Servlet: This must be the value returned by the jakarta.servlet.http.HttpServletRequest method getRemoteUser().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4765
- Return the environment-specific object instance for the current request. Jakarta Servlet: This must be the current request's jakarta.servlet.http.HttpServletRequest instance.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4766
- Return the character encoding currently being used to interpret this request. Jakarta Servlet: This must return the value returned by the jakarta.servlet.ServletRequest method getCharacterEncoding(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4767
- Return the result of calling getContentLenth() on the ServletRequest instance for this request. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4768
- Return the MIME Content-Type for this request. If not available, return null. Jakarta Servlet: This must return the value returned by the jakarta.servlet.ServletRequest method getContentType(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4769
- Return the portion of the request URI that identifies the web application context for this request. Jakarta Servlet: This must be the value returned by the jakarta.servlet.http.HttpServletRequest method getContextPath().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4770
- Return an immutable Map whose keys are the set of cookie names included in the current request, and whose values (of type jakarta.servlet.http.Cookie) are the first (or only) cookie for each cookie name returned by the underlying request. The returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs for java.util.Map. Jakarta Servlet: This must be the value returned by the jakarta.servlet.http.HttpServletRequest method getCookies(), unless null was returned, in which case this must be a zero-length array.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4771
- Return an immutable Map whose keys are the set of request header names included in the current request, and whose values (of type String) are the first (or only) value for each header name returned by the underlying request. The returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs for java.util.Map. In addition, key comparisons must be performed in a case insensitive manner. Jakarta Servlet: This must be the set of headers available via the jakarta.servlet.http.HttpServletRequest methods getHeader() and getHeaderNames().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4772
- Return an immutable Map whose keys are the set of request header names included in the current request, and whose values (of type String[]) are all of the value for each header name returned by the underlying request. The returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs for java.util.Map. In addition, key comparisons must be performed in a case insensitive manner. Jakarta Servlet: This must be the set of headers available via the jakarta.servlet.http.HttpServletRequest methods getHeaders() and getHeaderNames().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4773
- Return the preferred Locale in which the client will accept content. Jakarta Servlet: This must be the value returned by the jakarta.servlet.ServletRequest method getLocale().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4774
- Return an Iterator over the preferred Locales specified in the request, in decreasing order of preference. Jakarta Servlet: This must be an Iterator over the values returned by the jakarta.servlet.ServletRequest method getLocales().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4775
- Return a mutable Map representing the request scope attributes for the current application. The returned Map must implement the entire contract for a modifiable map as described in the JavaDocs for java.util.Map. Modifications made in the Map must cause the corresponding changes in the set of request scope attributes. Particularly the clear(), remove(), put(), putAll(), and get() operations must take the appropriate action on the underlying data structure. Jakarta Servlet: This must be the set of attributes available via the jakarta.servlet.ServletRequest methods getAttribute(), getAttributeNames(), removeAttribute(), and setAttribute().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4776
- Return an immutable Map whose keys are the set of request parameters names included in the current request, and whose values (of type String) are the first (or only) value for each parameter name returned by the underlying request. The returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs for java.util.Map. Jakarta Servlet: This must be the set of parameters available via the jakarta.servlet.ServletRequest methods getParameter() and getParameterNames().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4777
- Return an Iterator over the names of all request parameters included in the current request. Jakarta Servlet: This must be an Iterator over the values returned by the jakarta.servlet.ServletRequest method getParameterNames().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4778
- Return an immutable Map whose keys are the set of request parameters names included in the current request, and whose values (of type String[]) are all of the values for each parameter name returned by the underlying request. The returned Map must implement the entire contract for an unmodifiable map as described in the JavaDocs for java.util.Map. Jakarta Servlet: This must be the set of parameters available via the jakarta.servlet.ServletRequest methods getParameterValues() and getParameterNames().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4779
- Return the extra path information (if any) included in the request URI; otherwise, return null. Jakarta Servlet: This must be the value returned by the jakarta.servlet.http.HttpServletRequest method getPathInfo().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4780
- Returns the name of the scheme used to make this request, for example, http, https, or ftp. Jakarta Servlet: This must be the value returned by the jakarta.servlet.ServletRequest method getScheme(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4781
- Returns the host name of the server to which the request was sent. Jakarta Servlet: This must be the value returned by the jakarta.servlet.ServletRequest method getServerName(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4782
- Returns the port number to which the request was sent. Jakarta Servlet: This must be the value returned by the jakarta.servlet.ServletRequest method getServerPort(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4783
- Return the Jakarta Servlet path information (if any) included in the request URI; otherwise, return null. Jakarta Servlet: This must be the value returned by the jakarta.servlet.http.HttpServletRequest method getServletPath().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4784
- Return a URL for the application resource mapped to the specified path, if it exists; otherwise, return null. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method calls through to the getResource() method on the same container context instance (ServletContext or PortletContext) as the one used when calling getResource() on the ExternalContext returned by the FacesContext during an actual request. Jakarta Servlet: This must be the value returned by the jakarta.servlet.ServletContext method getResource(path).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4785
- if the specified path is not in the correct form
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.net.MalformedURLException
-
-
-
-
- JSF:JAVADOC:4786
- Return an InputStream for an application resource mapped to the specified path, if it exists; otherwise, return null. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method calls through to the getResourceAsStream() method on the same container context instance (ServletContext or PortletContext) as the one used when calling getResourceAsStream() on the ExternalContext returned by the FacesContext during an actual request. Jakarta Servlet: This must be the value returned by the jakarta.servlet.ServletContext method getResourceAsStream(path).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4787
- Return the Set of resource paths for all application resources whose resource path starts with the specified argument. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method calls through to the getResourcePaths() method on the same container context instance (ServletContext or PortletContext) as the one used when calling getResourcePaths() on the ExternalContext returned by the FacesContext during an actual request. Jakarta Servlet: This must be the value returned by the jakarta.servlet.ServletContext method getResourcePaths(path).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4788
- Return the environment-specific object instance for the current response. Jakarta Servlet: This is the current request's jakarta.servlet.http.HttpServletResponse instance.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4789
- Return the buffer size for the current response. Jakarta Servlet: This must be performed by calling the jakarta.servlet.http.HttpServletResponse getBufferSize method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4790
- Returns the name of the character encoding (MIME charset) used for the body sent in this response. Jakarta Servlet: This must return the value returned by the jakarta.servlet.ServletResponse method getCharacterEncoding(). Portlet: if this method is called during a lifecycle phase other than RENDER_RESPONSE, this must return null. If called during RENDER_RESPONSE, return the response encoding of the portlet response. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4791
- Return the MIME Content-Type for this response. If not available, return null. Jakarta Servlet: This must return the value returned by the jakarta.servlet.ServletResponse method getContentType(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4792
- Returns an OutputStream suitable for writing binary data to the user-agent. Jakarta Servlet: This must return the value returned by the jakarta.servlet.ServletResponse method getOutputStream(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4793
- any IO related exception.
- jakarta.faces.context
- ExternalContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:4794
- Returns a Writer suitable for writing character data to the user-agent. Jakarta Servlet: This must return the value returned by the jakarta.servlet.ServletResponse#getWriter. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4795
- any IO related exception.
- jakarta.faces.context
- ExternalContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:4796
- If the create parameter is true, create (if necessary) and return a session instance associated with the current request. If the create parameter is false return any existing session instance associated with the current request, or return null if there is no such session. Jakarta Servlet: This must return the result of calling getSession(create) on the underlying jakarta.servlet.http.HttpServletRequest instance.
- jakarta.faces.context
- ExternalContext
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4797
- Return the id of the current session or the empty string if no session has been created and the create parameter is false. Jakarta Servlet: If create is true, obtain a reference to the HttpSession for the current request (creating the session if necessary) and return its id. If create is false, obtain a reference to the current session, if one exists, and return its id. If no session exists, return the empty string.
- jakarta.faces.context
- ExternalContext
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4798
- Return a mutable Map representing the session scope attributes for the current application. The returned Map must implement the entire contract for a modifiable map as described in the JavaDocs for java.util.Map. Modifications made in the Map must cause the corresponding changes in the set of session scope attributes. Particularly the clear(), remove(), put(), and get() operations must take the appropriate action on the underlying data structure. Accessing attributes via this Map must cause the creation of a session associated with the current request, if such a session does not already exist. Jakarta Servlet: This must be the set of attributes available via the jakarta.servlet.http.HttpSession methods getAttribute(), getAttributeNames(), removeAttribute(), and setAttribute().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4799
- Returns the maximum time interval, in seconds, that the Jakarta Servlet container will keep this session open between client accesses. After this interval, the Jakarta Servlet container will invalidate the session. The maximum time interval can be set with the #setSessionMaxInactiveInterval method. A return value of zero or less indicates that the session will never timeout. Jakarta Servlet: This must return the result of calling getMaxInactiveInterval on the underlying jakarta.servlet.http.HttpSession instance. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4800
- Return the Principal object containing the name of the current authenticated user, if any; otherwise, return null. Jakarta Servlet: This must be the value returned by the jakarta.servlet.http.HttpServletRequest method getUserPrincipal().
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4801
- Invalidates this session then unbinds any objects bound to it. Jakarta Servlet: This must be the value returned by the jakarta.servlet.http.HttpSession method invalidate(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4802
- Check if the current response has been committed. Jakarta Servlet: This must be performed by calling the jakarta.servlet.http.HttpServletResponse isCommitted method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4803
- Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS. Jakarta Servlet: This must return the result of calling isSecure on the underlying jakarta.servlet.http.HttpServletRequest instance. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4804
- Return true if the currently authenticated user is included in the specified role. Otherwise, return false. Jakarta Servlet: This must be the value returned by the jakarta.servlet.http.HttpServletRequest method isUserInRole(role).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4805
- Log the specified message to the application object. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this calls the log() method on the same container context instance (ServletContext or PortletContext) as the one used during a call to log() on the ExternalContext returned by the FacesContext during an actual request. Jakarta Servlet: This must be performed by calling the jakarta.servlet.ServletContext method log(String).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4806
- Log the specified message and exception to the application object. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this calls the log() method on the same container context instance (ServletContext or PortletContext) as the one used when calling log() on the ExternalContext returned by the FacesContext during an actual request. Jakarta Servlet: This must be performed by calling the jakarta.servlet.ServletContext method log(String,Throwable).
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:4807
- Redirect a request to the specified URL, and cause the responseComplete() method to be called on the FacesContext instance for the current request. The implementation must determine if the request is an Ajax request by obtaining a PartialViewContext instance from the FacesContext and calling PartialViewContext#isAjaxRequest(). Jakarta Servlet: For non Ajax requests, this must be accomplished by calling the jakarta.servlet.http.HttpServletResponse method sendRedirect(). For Ajax requests, the implementation must: Get a PartialResponseWriter instance from the FacesContext. Call #setResponseContentType with text/xml Call #setResponseCharacterEncoding with UTF-8 Call #addResponseHeader with Cache-Control, no-cache Call PartialResponseWriter#startDocument Call PartialResponseWriter#redirect with the url argument. Call PartialResponseWriter#endDocument
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4808
- if an input/output error occurs
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:4809
- Release any resources associated with this ExternalContext instance. This method is called during during destruction of the associated FacesContext.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4810
- Flushes the buffered response content to the client. Jakarta Servlet: This must be performed by calling the jakarta.servlet.http.HttpServletResponse flushBuffer method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4811
- any IO related exception.
- jakarta.faces.context
- ExternalContext
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:4812
- Resets the current response. Jakarta Servlet: This must be performed by calling the jakarta.servlet.http.HttpServletResponse reset method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
-
-
- JSF:JAVADOC:4813
- Sends an HTTP status code with message. Jakarta Servlet: This must be performed by calling the jakarta.servlet.http.HttpServletResponse sendError method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- int
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4814
- any IO related exceptions.
- jakarta.faces.context
- ExternalContext
-
-
- int
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:4815
- Associate this instance with a ClientWindow.
- jakarta.faces.context
- ExternalContext
-
-
- jakarta.faces.lifecycle.ClientWindow
-
-
-
-
-
- JSF:JAVADOC:4816
- Set the environment-specific request to be returned by subsequent calls to #getRequest. This may be used to install a wrapper for the request. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:4817
- Overrides the name of the character encoding used in the body of this request. Calling this method after the request has been accessed will have no no effect, unless a Reader or Stream has been obtained from the request, in which case an IllegalStateException is thrown. Jakarta Servlet: This must call through to the jakarta.servlet.ServletRequest method setCharacterEncoding(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4818
- if this is not a valid encoding
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
- java.io.UnsupportedEncodingException
-
-
-
-
- JSF:JAVADOC:4819
- Set the environment-specific response to be returned by subsequent calls to #getResponse. This may be used to install a wrapper for the response. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:4820
- Set the buffer size for the current response. Jakarta Servlet: This must be performed by calling the jakarta.servlet.http.HttpServletResponse setBufferSize method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4821
- Sets the character encoding (MIME charset) of the response being sent to the client, for example, to UTF-8. Jakarta Servlet: This must call through to the jakarta.servlet.ServletResponse method setCharacterEncoding(). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4822
- Set the content length of the response. Jakarta Servlet: This must be performed by calling the jakarta.servlet.http.HttpServletResponse setContentLength method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4823
- Sets the content type of the response being sent to the client, if the response has not been committed yet. Jakarta Servlet: This must call setContentType() on the underlying jakarta.servlet.ServletResponse instance. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4824
- Set the response header with the given name and value. Jakarta Servlet:This must be performed by calling the jakarta.servlet.http.HttpServletResponse setHeader method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4825
- Sets the HTTP status code for the response. Jakarta Servlet: This must be performed by calling the jakarta.servlet.http.HttpServletResponse setStatus method. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4826
- Specifies the time, in seconds, between client requests before the Jakarta Servlet container will invalidate this session. An interval value of zero or less indicates that the session should never timeout. Jakarta Servlet: This must call setMaxInactiveInterval on the underlying jakarta.servlet.http.HttpServletRequest instance. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- ExternalContext
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4827
-
- jakarta.faces.context
- ExternalContextFactory
-
-
-
-
- JSF:JAVADOC:4828
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.context
- ExternalContextFactory
-
-
- jakarta.faces.context.ExternalContextFactory
-
-
-
-
-
- JSF:JAVADOC:4829
- Create (if needed) and return an ExternalContext instance that is initialized for the processing of the specified request and response objects, for this web application.
- jakarta.faces.context
- ExternalContextFactory
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:4830
- if a ExternalContext cannot be constructed for the specified parameters
- jakarta.faces.context
- ExternalContextFactory
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:4831
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.context
- ExternalContextFactory
-
-
-
-
- JSF:JAVADOC:4832
- The default behavior of this method is to call ExternalContext#addResponseCookie(String, String, Map) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
- java.lang.String
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:4833
- The default behavior of this method is to call ExternalContext#addResponseHeader(String,String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4834
- The default behavior of this method is to call ExternalContext#dispatch(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4835
-
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:4836
- The default behavior of this method is to call ExternalContext#encodeActionURL(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4837
- The default behavior of this method is to call jakarta.faces.context.ExternalContext#encodeBookmarkableURL(String, java.util.Map) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:4838
- The default behavior of this method is to call ExternalContext#encodeNamespace(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4839
- The default behavior of this method is to call ExternalContext#encodePartialActionURL(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4840
- The default behavior of this method is to call jakarta.faces.context.ExternalContext#encodeRedirectURL(String, java.util.Map) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:4841
- The default behavior of this method is to call ExternalContext#encodeResourceURL(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4842
- The default behavior of this method is to call ExternalContext#encodeWebsocketURL(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4843
-
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4844
- If this external context has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- jakarta.faces.context.ExternalContext
-
-
-
-
-
- JSF:JAVADOC:4845
- The default behavior of this method is to call ExternalContext#getApplicationContextPath on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4846
- The default behavior of this method is to call ExternalContext#getApplicationMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4847
- The default behavior of this method is to call ExternalContext#getAuthType on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4848
- The default behavior of this method is to call ExternalContext#getClientWindow on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4849
- The default behavior of this method is to call ExternalContext#getContext on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4850
- The default behavior of this method is to call ExternalContext#getContextName on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4851
- The default behavior of this method is to call ExternalContext#getFlash() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4852
- The default behavior of this method is to call ExternalContext#getInitParameter(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4853
- The default behavior of this method is to call ExternalContext#getInitParameterMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4854
- The default behavior of this method is to call ExternalContext#getMimeType(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4855
- The default behavior of this method is to call ExternalContext#getRealPath(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4856
- The default behavior of this method is to call ExternalContext#getRemoteUser on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4857
- The default behavior of this method is to call ExternalContext#getRequest on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4858
- The default behavior of this method is to call ExternalContext#getRequestCharacterEncoding on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4859
- The default behavior of this method is to call ExternalContext#getRequestContentLength on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4860
- The default behavior of this method is to call ExternalContext#getRequestContentType on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4861
- The default behavior of this method is to call ExternalContext#getRequestContextPath on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4862
- The default behavior of this method is to call ExternalContext#getRequestCookieMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4863
- The default behavior of this method is to call ExternalContext#getRequestHeaderMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4864
- The default behavior of this method is to call ExternalContext#getRequestHeaderValuesMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4865
- The default behavior of this method is to call ExternalContext#getRequestLocale on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4866
- The default behavior of this method is to call ExternalContext#getRequestLocales on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4867
- The default behavior of this method is to call ExternalContext#getRequestMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4868
- The default behavior of this method is to call ExternalContext#getRequestParameterMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4869
- The default behavior of this method is to call ExternalContext#getRequestParameterNames on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4870
- The default behavior of this method is to call ExternalContext#getRequestParameterValuesMap on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4871
- The default behavior of this method is to call ExternalContext#getRequestPathInfo on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4872
- The default behavior of this method is to call ExternalContext#getRequestScheme on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4873
- The default behavior of this method is to call ExternalContext#getRequestServerName on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4874
- The default behavior of this method is to call ExternalContext#getRequestServerPort on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4875
- The default behavior of this method is to call ExternalContext#getRequestServletPath on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4876
- The default behavior of this method is to call ExternalContext#getResource(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4877
-
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
- java.net.MalformedURLException
-
-
-
-
- JSF:JAVADOC:4878
- The default behavior of this method is to call ExternalContext#getResourceAsStream(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4879
- The default behavior of this method is to call ExternalContext#getResourcePaths(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4880
- The default behavior of this method is to call ExternalContext#getResponse on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4881
- The default behavior of this method is to call ExternalContext#getResponseBufferSize() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4882
- The default behavior of this method is to call ExternalContext#getResponseCharacterEncoding on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4883
- The default behavior of this method is to call ExternalContext#getResponseContentType on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4884
- The default behavior of this method is to call ExternalContext#getResponseOutputStream on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4885
-
- jakarta.faces.context
- ExternalContextWrapper
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:4886
- The default behavior of this method is to call ExternalContext#getResponseOutputWriter on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4887
-
- jakarta.faces.context
- ExternalContextWrapper
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:4888
- The default behavior of this method is to call ExternalContext#getSession(boolean) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4889
- The default behavior of this method is to call ExternalContext#getSessionId(boolean) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4890
- The default behavior of this method is to call ExternalContext#getSessionMap() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4891
- The default behavior of this method is to call ExternalContext#getSessionMaxInactiveInterval() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4892
- The default behavior of this method is to call ExternalContext#getUserPrincipal on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4893
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4894
- The default behavior of this method is to call ExternalContext#invalidateSession on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4895
- The default behavior of this method is to call ExternalContext#isResponseCommitted() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4896
- The default behavior of this method is to call ExternalContext#isSecure on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4897
- The default behavior of this method is to call ExternalContext#isUserInRole(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4898
- The default behavior of this method is to call ExternalContext#log(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4899
- The default behavior of this method is to call ExternalContext#log(String, Throwable) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:4900
- The default behavior of this method is to call ExternalContext#redirect(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4901
-
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:4902
- The default behavior of this method is to call ExternalContext#release() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4903
- The default behavior of this method is to call jakarta.faces.context.ExternalContext#responseFlushBuffer() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4904
-
- jakarta.faces.context
- ExternalContextWrapper
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:4905
- The default behavior of this method is to call ExternalContext#responseReset() on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
-
-
- JSF:JAVADOC:4906
- The default behavior of this method is to call ExternalContext#responseSendError(int,String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- int
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4907
-
- jakarta.faces.context
- ExternalContextWrapper
-
-
- int
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:4908
- The default behavior of this method is to call ExternalContext#setClientWindow on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- jakarta.faces.lifecycle.ClientWindow
-
-
-
-
-
- JSF:JAVADOC:4909
- The default behavior of this method is to call ExternalContext#setRequest(Object) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:4910
- The default behavior of this method is to call ExternalContext#setRequestCharacterEncoding(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4911
-
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
- java.io.UnsupportedEncodingException
-
-
-
-
- JSF:JAVADOC:4912
- The default behavior of this method is to call ExternalContext#setResponse(Object) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:4913
- The default behavior of this method is to call ExternalContext#setResponseBufferSize(int) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4914
- The default behavior of this method is to call ExternalContext#getResponseCharacterEncoding on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4915
- The default behavior of this method is to call jakarta.faces.context.ExternalContext#setResponseContentLength(int) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4916
- The default behavior of this method is to call ExternalContext#setResponseContentType(String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4917
- The default behavior of this method is to call ExternalContext#setResponseHeader(String,String) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4918
- The default behavior of this method is to call ExternalContext#setResponseStatus(int) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4919
- The default behavior of this method is to call ExternalContext#setSessionMaxInactiveInterval(int) on the wrapped ExternalContext object.
- jakarta.faces.context
- ExternalContextWrapper
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:4920
- Append a jakarta.faces.application.FacesMessage to the set of messages associated with the specified client identifier, if clientId is not null. If clientId is null, this jakarta.faces.application.FacesMessage is assumed to not be associated with any specific component instance.
- jakarta.faces.context
- FacesContext
-
-
- java.lang.String
- jakarta.faces.application.FacesMessage
-
-
-
-
-
- JSF:JAVADOC:4921
- Return the Application instance associated with this web application. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, returns the correct current jakarta.faces.application.Application instance.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4922
- Return a mutable Map representing the attributes associated wth this FacesContext instance. This Map is useful to store attributes that you want to go out of scope when the Faces lifecycle for the current request ends, which is not always the same as the request ending, especially in the case of Jakarta Servlet filters that are invoked after the Faces lifecycle for this request completes. Accessing this Map does not cause any events to fire, as is the case with the other maps: for request, session, and application scope. When #release() is invoked, the attributes must be cleared. The Map returned by this method is not associated with the request. If you would like to get or set request attributes, see ExternalContext#getRequestMap. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4923
- Return an Iterator over the client identifiers for which at least one jakarta.faces.application.FacesMessage has been queued. If there are no such client identifiers, an empty Iterator is returned. If any messages have been queued that were not associated with any specific client identifier, a null value will be included in the iterated values. The elements in the Iterator must be returned in the order in which they were added with #addMessage.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4924
- Return the value last set on this FacesContext instance when #setCurrentPhaseId was called.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4925
- Return the ELContext instance for this FacesContext instance. This ELContext instance has the same lifetime and scope as the FacesContext instance with which it is associated, and may be created lazily the first time this method is called for a given FacesContext instance. Upon creation of the ELContext instance, the implementation must take the following action: Call the ELContext#putContext method on the instance, passing in FacesContext.class and the this reference for the FacesContext instance itself. If the Collection returned by jakarta.faces.application.Application#getELContextListeners is non-empty, create an instance of jakarta.el.ELContextEvent and pass it to each jakarta.el.ELContextListener instance in the Collection by calling the jakarta.el.ELContextListener#contextCreated method.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4926
- Return the ExceptionHandler for this request.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4927
- Return the ExternalContext instance for this FacesContext instance. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method returns an ExternalContext instance with the special behaviors indicated in the javadoc for that class. Methods document as being valid to call during application startup or shutdown must be supported.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4928
- Return the Lifecycle instance for this FacesContext instance.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4929
- Return the maximum severity level recorded on any jakarta.faces.application.FacesMessages that has been queued, whether or not they are associated with any specific jakarta.faces.component.UIComponent. If no such messages have been queued, return null.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4930
- Like #getMessages, but returns a List, enabling use from Jakarta Expression Language expressions. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4931
- Like #getMessages(java.lang.String), but returns a List of messages for the component with client id matching argument clientId. The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- FacesContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4932
- Return an Iterator over the jakarta.faces.application.FacesMessages that have been queued that are associated with the specified client identifier (if clientId is not null), or over the jakarta.faces.application.FacesMessages that have been queued that are not associated with any specific client identifier (if clientId is null). If no such messages have been queued, return an empty Iterator. The elements of the Iterator must be returned in the order in which they were added with calls to #addMessage.
- jakarta.faces.context
- FacesContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4933
- Return the result of calling UINamingContainer#getSeparatorChar, passing this as the argument. Note that this enables accessing the value of this property from the Jakarta Expression Language expression #{facesContext.namingContainerSeparatorChar}.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4934
- Return the PartialViewContext for this request. The PartialViewContext is used to control the processing of specified components during the execute portion of the request processing lifecycle (known as partial processing) and the rendering of specified components (known as partial rendering). This method must return a new PartialViewContext if one does not already exist.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4935
- Return the RenderKit instance for the render kit identifier specified on our UIViewRoot, if there is one. If there is no current UIViewRoot, if the UIViewRoot does not have a specified renderKitId, or if there is no RenderKit for the specified identifier, return null instead.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4936
- Return true if the renderResponse() method has been called for the current request.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4937
- Return the list of resource library contracts that have been calculated to be appropriate for use with this view, or an empty list if there are no such resource library contracts. The list returned by this method must be immutable. For backward compatibility with implementations of the specification prior to when this method was introduced, an implementation is provided that returns an empty list. Implementations compliant with the version in which this method was introduced must implement this method as specified.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4938
- Return true if the responseComplete() method has been called for the current request.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4939
- Return the root component that is associated with the this request. It is valid to call this method during application startup or shutdown. If called during application startup or shutdown, this method returns a new UIViewRoot with its locale set to Locale.getDefault().
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4940
- This utility method simply returns the result of jakarta.faces.render.ResponseStateManager#isPostback(FacesContext). The default implementation throws UnsupportedOperationException and is provided for the sole purpose of not breaking existing applications that extend this class.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4941
- Returns a flag indicating whether or not the runtime should publish events when asked to do so.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4942
- Return true if the current ProjectStage as returned by the Application instance is equal to stage, otherwise return false
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.application.ProjectStage
-
-
-
-
-
- JSF:JAVADOC:4943
- Return a flag indicating if the resources associated with this FacesContext instance have been released.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4944
- Return true if the validationFailed() method has been called for the current request.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4945
- The implementation must call this method at the earliest possble point in time after entering into a new phase in the request processing lifecycle.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.event.PhaseId
-
-
-
-
-
- JSF:JAVADOC:4946
- Set the ExceptionHandler for this request.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.context.ExceptionHandler
-
-
-
-
-
- JSF:JAVADOC:4947
- Allows control of wheter or not the runtime will publish events when Application#publishEvent(FacesContext, Class, Object) or Application#publishEvent(FacesContext, Class, Class, Object) is called.
- jakarta.faces.context
- FacesContext
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4948
- Set the resource library contracts calculated as valid to use with this view. The implementation must copy the contents of the incoming List into an immutable List for return from #getResourceLibraryContracts. If the argument is null or empty, the action taken is the same as if the argument is null: a subsequent call to getResourceLibraryContracts returns null. This method may only be called during the processing of jakarta.faces.view.ViewDeclarationLanguage#createView and during the VDL tag handler for the tag corresponding to an instance of UIViewRoot. For backward compatibility with implementations of the specification prior to when this method was introduced, an implementation is provided that takes no action. Implementations compliant with the version in which this method was introduced must implement this method as specified.
- jakarta.faces.context
- FacesContext
-
-
- java.util.List
-
-
-
-
-
- JSF:JAVADOC:4949
- Set the root component that is associated with this request. This method can be called by the application handler (or a class that the handler calls), during the Invoke Application phase of the request processing lifecycle and during the Restore View phase of the request processing lifecycle (especially when a new root component is created). In the present version of the specification, implementations are not required to enforce this restriction, though a future version of the specification may require enforcement. If the current UIViewRoot is non-null, and calling equals() on the argument root, passing the current UIViewRoot returns false, the clear method must be called on the Map returned from UIViewRoot#getViewMap.
- jakarta.faces.context
- FacesContext
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:4950
- Sets a flag which indicates that a conversion or validation error occurred while processing the inputs. Inputs consist of either page parameters or form bindings. This flag can be read using #isValidationFailed.
- jakarta.faces.context
- FacesContext
-
-
-
-
- JSF:JAVADOC:4951
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.context
- FacesContextFactory
-
-
- jakarta.faces.context.FacesContextFactory
-
-
-
-
-
- JSF:JAVADOC:4952
- Create (if needed) and return a FacesContext instance that is initialized for the processing of the specified request and response objects, utilizing the specified Lifecycle instance, for this web application. The implementation of this method must ensure that calls to the getCurrentInstance() method of FacesContext, from the same thread that called this method, will return the same FacesContext instance until the release() method is called on that instance. The implementation must call ExternalContextFactory#getExternalContext to produce the ExternalContext for the FacesContext instance. The default implementation must call ExceptionHandlerFactory#getExceptionHandler and make it so the return from that method is what gets returned from a call to FacesContext#getExceptionHandler on the returned FacesContext instance. The default implementation must call jakarta.faces.lifecycle.ClientWindowFactory#getClientWindow and make it so the return from that method is what gets returned from a call to ExternalContext#getClientWindow() on the returned ExternalContext instance.
- jakarta.faces.context
- FacesContextFactory
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
- jakarta.faces.lifecycle.Lifecycle
-
-
-
-
-
- JSF:JAVADOC:4953
- if a FacesContext cannot be constructed for the specified parameters
- jakarta.faces.context
- FacesContextFactory
-
-
- java.lang.Object
- java.lang.Object
- java.lang.Object
- jakarta.faces.lifecycle.Lifecycle
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:4954
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.context
- FacesContextFactory
-
-
-
-
- JSF:JAVADOC:4955
- The default behavior of this method is to call FacesContext#addMessage(String, FacesMessage) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- java.lang.String
- jakarta.faces.application.FacesMessage
-
-
-
-
-
- JSF:JAVADOC:4956
-
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4957
- If this faces context has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:4958
- The default behavior of this method is to call FacesContext#getApplication() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4959
- The default behavior of this method is to call FacesContext#getAttributes() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4960
- The default behavior of this method is to call jakarta.faces.context.FacesContext#getClientIdsWithMessages() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4961
- The default behavior of this method is to call FacesContext#getCurrentPhaseId() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4962
- The default behavior of this method is to call FacesContext#getELContext() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4963
- The default behavior of this method is to call FacesContext#getExceptionHandler() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4964
- The default behavior of this method is to call FacesContext#getExternalContext() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4965
- The default behavior of this method is to call FacesContext#getLifecycle() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4966
- The default behavior of this method is to call FacesContext#getMaximumSeverity() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4967
- The default behavior of this method is to call FacesContext#getMessageList() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4968
- The default behavior of this method is to call FacesContext#getMessageList(String) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4969
- The default behavior of this method is to call FacesContext#getMessages() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4970
- The default behavior of this method is to call FacesContext#getMessages(String) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:4971
- The default behavior of this method is to call FacesContext#getNamingContainerSeparatorChar() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4972
- The default behavior of this method is to call FacesContext#getPartialViewContext() ()} on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4973
- The default behavior of this method is to call FacesContext#getRenderKit() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4974
- The default behavior of this method is to call FacesContext#getRenderResponse() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4975
- The default behavior of this method is to call FacesContext#getResourceLibraryContracts on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4976
- The default behavior of this method is to call FacesContext#getResponseComplete() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4977
- The default behavior of this method is to call FacesContext#getResponseStream() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4978
- The default behavior of this method is to call FacesContext#getResponseWriter() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4979
- The default behavior of this method is to call FacesContext#getViewRoot() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4980
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4981
- The default behavior of this method is to call FacesContext#isPostback() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4982
- The default behavior of this method is to call jakarta.faces.context.FacesContext#isProcessingEvents() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4983
- The default behavior of this method is to call jakarta.faces.context.FacesContext#isProjectStage(jakarta.faces.application.ProjectStage) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.application.ProjectStage
-
-
-
-
-
- JSF:JAVADOC:4984
- The default behavior of this method is to call FacesContext#isReleased on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4985
- The default behavior of this method is to call jakarta.faces.context.FacesContext#isValidationFailed on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4986
- The default behavior of this method is to call FacesContext#release() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4987
- The default behavior of this method is to call FacesContext#renderResponse() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4988
- The default behavior of this method is to call FacesContext#responseComplete() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4989
- The default behavior of this method is to call FacesContext#setCurrentPhaseId(PhaseId) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.event.PhaseId
-
-
-
-
-
- JSF:JAVADOC:4990
- The default behavior of this method is to call FacesContext#setExceptionHandler(ExceptionHandler) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.context.ExceptionHandler
-
-
-
-
-
- JSF:JAVADOC:4991
- The default behavior of this method is to call FacesContext#setProcessingEvents(boolean) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:4992
- The default behavior of this method is to call FacesContext#setResourceLibraryContracts on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- java.util.List
-
-
-
-
-
- JSF:JAVADOC:4993
- The default behavior of this method is to call FacesContext#setResponseStream(ResponseStream) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.context.ResponseStream
-
-
-
-
-
- JSF:JAVADOC:4994
- The default behavior of this method is to call FacesContext#setResponseWriter(ResponseWriter) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.context.ResponseWriter
-
-
-
-
-
- JSF:JAVADOC:4995
- The default behavior of this method is to call FacesContext#setViewRoot(UIViewRoot) on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:4996
- The default behavior of this method is to call jakarta.faces.context.FacesContext#validationFailed() on the wrapped FacesContext object.
- jakarta.faces.context
- FacesContextWrapper
-
-
-
-
- JSF:JAVADOC:4997
- Called after the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle.
- jakarta.faces.context
- Flash
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:4998
- Called before the execution of every lifecycle phase, this method allows implementations to take the necessary actions to provide the Flash scope contract as it applies to the request procesing lifecycle.
- jakarta.faces.context
- Flash
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:4999
-
- jakarta.faces.context
- Flash
-
-
-
-
- JSF:JAVADOC:5000
- Return the value of this JavaBeans property for the flash for this session. This value determines whether or not any jakarta.faces.application.FacesMessage instances queued in the current jakarta.faces.context.FacesContext must be preserved so they are accessible on the next traversal of the lifecycle on this session, regardless of the request being a redirect after post, or a normal postback. Map accesses for the special key #8220;keepMessages #8221; must return the value of this JavaBeans property. Jakarta Expression Language Usage Example First page Next page Any messages present on the first page must be displayed on this page.
- jakarta.faces.context
- Flash
-
-
-
-
- JSF:JAVADOC:5001
- Return the value of this property for the flash for this session. This must be false unless: #setRedirect was called for the current lifecycle traversal with true as the argument. The current lifecycle traversal for this session is in the #8220;execute #8221; phase and the previous traversal had #setRedirect called with true as the argument.
- jakarta.faces.context
- Flash
-
-
-
-
- JSF:JAVADOC:5002
- Causes a value stored with a previous call to #putNow, its Jakarta Expression Language equivalent, or to the request Map, to be promoted to the flash so that is available on the next traversal through the lifecycle on this session.
- jakarta.faces.context
- Flash
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5003
- Puts a value in the flash so that it can be accessed on this traversal of the lifecycle, rather than on the next traversal. This is simply an alias for putting a value in the request map. Jakarta Expression Language Usage Example Value of \#{flash.now.bar}, should be barValue.
- jakarta.faces.context
- Flash
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5004
- Setter for keepMessages JavaBeans property. See #isKeepMessages.
- jakarta.faces.context
- Flash
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5005
- Setting this property to true indicates that the next request on this session will be a redirect. Recall that on a redirect, the server sends a special response to the client instructing it to issue a new request to a specific URI. The implementation must insure that reading the value of this property on that request will return true. Jakarta Expression Language Usage Example
- jakarta.faces.context
- Flash
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5006
-
- jakarta.faces.context
- FlashFactory
-
-
-
-
- JSF:JAVADOC:5007
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.context
- FlashFactory
-
-
- jakarta.faces.context.FlashFactory
-
-
-
-
-
- JSF:JAVADOC:5008
- Create (if needed) and return a Flash instance for this web application.
- jakarta.faces.context
- FlashFactory
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5009
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.context
- FlashFactory
-
-
-
-
- JSF:JAVADOC:5010
- The default behavior of this method is to call Flash#clear() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
-
- JSF:JAVADOC:5011
- The default behavior of this method is to call Flash#containsKey(Object) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5012
- The default behavior of this method is to call Flash#containsValue(Object) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5013
- The default behavior of this method is to call Flash#doPostPhaseActions(FacesContext) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5014
- The default behavior of this method is to call Flash#doPrePhaseActions(FacesContext) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5015
- The default behavior of this method is to call Flash#entrySet() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
-
- JSF:JAVADOC:5016
-
- jakarta.faces.context
- FlashWrapper
-
-
-
-
- JSF:JAVADOC:5017
- If this flash has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.context
- FlashWrapper
-
-
- jakarta.faces.context.Flash
-
-
-
-
-
- JSF:JAVADOC:5018
- The default behavior of this method is to call Flash#get(Object) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5019
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.context
- FlashWrapper
-
-
-
-
- JSF:JAVADOC:5020
- The default behavior of this method is to call Flash#isEmpty() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
-
- JSF:JAVADOC:5021
- The default behavior of this method is to call Flash#isKeepMessages() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
-
- JSF:JAVADOC:5022
- The default behavior of this method is to call Flash#isRedirect() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
-
- JSF:JAVADOC:5023
- The default behavior of this method is to call Flash#keep(String) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5024
- The default behavior of this method is to call Flash#keySet() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
-
- JSF:JAVADOC:5025
- The default behavior of this method is to call Flash#put on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5026
- The default behavior of this method is to call Flash#putAll(Map) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:5027
- The default behavior of this method is to call Flash#putNow(String, Object) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5028
- The default behavior of this method is to call Flash#remove(Object) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5029
- The default behavior of this method is to call Flash#setKeepMessages(boolean) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5030
- The default behavior of this method is to call Flash#setRedirect(boolean) on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5031
- The default behavior of this method is to call Flash#size() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
-
- JSF:JAVADOC:5032
- The default behavior of this method is to call Flash#values() on the wrapped Flash object.
- jakarta.faces.context
- FlashWrapper
-
-
-
-
- JSF:JAVADOC:5033
- Write a delete operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5034
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5035
- Write the end of a partial response.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
-
- JSF:JAVADOC:5036
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5037
- Write the end of an error.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
-
- JSF:JAVADOC:5038
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5039
- Write the end of an eval operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
-
- JSF:JAVADOC:5040
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5041
- Write the end of an extension operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
-
- JSF:JAVADOC:5042
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5043
- Write the end of an insert operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
-
- JSF:JAVADOC:5044
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5045
- Write the end of an update operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
-
- JSF:JAVADOC:5046
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5047
- Create a PartialResponseWriter.
- jakarta.faces.context
- PartialResponseWriter
-
-
- jakarta.faces.context.ResponseWriter
-
-
-
-
-
- JSF:JAVADOC:5048
- Write a redirect operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5049
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5050
- Write the start of a partial response. If UIViewRoot is an instance of NamingContainer, then write UIViewRoot#getContainerClientId(FacesContext) as value of the id attribute of the root element.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
-
- JSF:JAVADOC:5051
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5052
- Write the start of an error.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5053
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5054
- Write the start of an eval operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
-
-
- JSF:JAVADOC:5055
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5056
- Write the start of an extension operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:5057
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.util.Map
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5058
- Write the start of an insert operation where the contents will be inserted after the specified target node.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5059
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5060
- Write the start of an insert operation where the contents will be inserted before the specified target node.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5061
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5062
- Write the start of an update operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5063
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5064
- Write an attribute update operation.
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:5065
- if an input/output error occurs
- jakarta.faces.context
- PartialResponseWriter
-
-
- java.lang.String
- java.util.Map
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5066
- Returns a mutable List of scripts to be evaluated in client side on complete of ajax request.
- jakarta.faces.context
- PartialViewContext
-
-
-
-
- JSF:JAVADOC:5067
- Return a Collection of client identifiers from the current request with the request parameter name #PARTIAL_EXECUTE_PARAM_NAME. If there is no such request parameter, return an empty Collection. These client identifiers are used to identify components that will be processed during the execute phase of the request processing lifecycle. The returned Collection is mutable.
- jakarta.faces.context
- PartialViewContext
-
-
-
-
- JSF:JAVADOC:5068
- Return the ResponseWriter to which components should direct their output for partial view rendering. Within a given response, components can use either the ResponseStream or the ResponseWriter, but not both.
- jakarta.faces.context
- PartialViewContext
-
-
-
-
- JSF:JAVADOC:5069
- Return a Collection of client identifiers from the current request with the request parameter name #PARTIAL_RENDER_PARAM_NAME. If there is no such request parameter, return an empty Collection. These client identifiers are used to identify components that will be processed during the render phase of the request processing lifecycle. The returned Collection is mutable.
- jakarta.faces.context
- PartialViewContext
-
-
-
-
- JSF:JAVADOC:5070
- Return true if the request header Faces-Request is present with the value partial/ajax. Otherwise, return false.
- jakarta.faces.context
- PartialViewContext
-
-
-
-
- JSF:JAVADOC:5071
- Return true if #isAjaxRequest returns true and #PARTIAL_EXECUTE_PARAM_NAME is present in the current request with the value #ALL_PARTIAL_PHASE_CLIENT_IDS. Otherwise, return false.
- jakarta.faces.context
- PartialViewContext
-
-
-
-
- JSF:JAVADOC:5072
- Return true #isAjaxRequest returns true or if the request header Faces-Request is present with the value partial/process. Otherwise, return false.
- jakarta.faces.context
- PartialViewContext
-
-
-
-
- JSF:JAVADOC:5073
- Return true if #isAjaxRequest returns true and #PARTIAL_RENDER_PARAM_NAME is present in the current request with the value #ALL_PARTIAL_PHASE_CLIENT_IDS. Otherwise, return false.
- jakarta.faces.context
- PartialViewContext
-
-
-
-
- JSF:JAVADOC:5074
- Return true if the incoming request has a parameter named by the value of #RESET_VALUES_PARAM_NAME and that value is true. To preserve backward compatibility with custom implementations that may have extended from an earlier version of this class, an implementation is provided that returns false. A compliant implementation must override this method to take the specified action.
- jakarta.faces.context
- PartialViewContext
-
-
-
-
- JSF:JAVADOC:5075
-
- jakarta.faces.context
- PartialViewContext
-
-
-
-
- JSF:JAVADOC:5076
- Perform lifecycle processing on components during the indicated phaseId. Only those components with identifiers existing in the Collection returned from #getExecuteIds and #getRenderIds will be processed. When the indicated phaseId equals PhaseId#RENDER_RESPONSE, then perform the following tasks in sequence: If #isResetValues() returns true, then call UIViewRoot#resetValues(FacesContext, Collection), passing #getRenderIds(). If #isRenderAll() returns false, then render any component resource of UIViewRoot whose ResourceHandler#getRendererTypeForResourceName(String) does not return null, and whose UIComponent#getChildCount() is zero, and whose ResourceHandler#isResourceRendered(FacesContext, String, String) returns false, in an update element with an identifier of jakarta.faces.Resource. Process the components. Obtain the state by calling StateManager#getViewState and write it out as an update element with an identifier of jakarta.faces.ViewState where is the return from UIViewRoot#getContainerClientId(FacesContext) on the view from whence this state originated, and is the currently configured UINamingContainer#getSeparatorChar(FacesContext). If #isRenderAll() returns false, then write out each script of #getEvalScripts() as an eval element.
- jakarta.faces.context
- PartialViewContext
-
-
- jakarta.faces.event.PhaseId
-
-
-
-
-
- JSF:JAVADOC:5077
- Release any resources associated with this PartialViewContext instance.
- jakarta.faces.context
- PartialViewContext
-
-
-
-
- JSF:JAVADOC:5078
- Dynamically indicate that this is a partial request.
- jakarta.faces.context
- PartialViewContext
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5079
- Indicate the entire view must be rendered if renderAll is true.
- jakarta.faces.context
- PartialViewContext
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5080
- Create (if needed) and return a PartialViewContext instance that is initialized using the current FacesContext instance.
- jakarta.faces.context
- PartialViewContextFactory
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5081
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.context
- PartialViewContextFactory
-
-
-
-
- JSF:JAVADOC:5082
-
- jakarta.faces.context
- PartialViewContextFactory
-
-
-
-
- JSF:JAVADOC:5083
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.context
- PartialViewContextFactory
-
-
- jakarta.faces.context.PartialViewContextFactory
-
-
-
-
-
- JSF:JAVADOC:5084
- The default behavior of this method is to call PartialViewContext#getRenderIds() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
-
- JSF:JAVADOC:5085
- The default behavior of this method is to call PartialViewContext#getExecuteIds() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
-
- JSF:JAVADOC:5086
- The default behavior of this method is to call PartialViewContext#getPartialResponseWriter() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
-
- JSF:JAVADOC:5087
- The default behavior of this method is to call PartialViewContext#getRenderIds() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
-
- JSF:JAVADOC:5088
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
-
- JSF:JAVADOC:5089
- The default behavior of this method is to call PartialViewContext#isAjaxRequest() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
-
- JSF:JAVADOC:5090
- The default behavior of this method is to call PartialViewContext#isExecuteAll() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
-
- JSF:JAVADOC:5091
- The default behavior of this method is to call PartialViewContext#isPartialRequest() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
-
- JSF:JAVADOC:5092
- The default behavior of this method is to call PartialViewContext#isRenderAll() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
-
- JSF:JAVADOC:5093
- The default behavior of this method is to call PartialViewContext#isResetValues() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
-
- JSF:JAVADOC:5094
-
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
-
- JSF:JAVADOC:5095
- If this partial view context has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
- jakarta.faces.context.PartialViewContext
-
-
-
-
-
- JSF:JAVADOC:5096
- The default behavior of this method is to call PartialViewContext#processPartial(PhaseId) on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
- jakarta.faces.event.PhaseId
-
-
-
-
-
- JSF:JAVADOC:5097
- The default behavior of this method is to call PartialViewContext#release() on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
-
-
- JSF:JAVADOC:5098
- The default behavior of this method is to call PartialViewContext#setPartialRequest(boolean) on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5099
- The default behavior of this method is to call PartialViewContext#setRenderAll(boolean) on the wrapped PartialViewContext object.
- jakarta.faces.context
- PartialViewContextWrapper
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5100
- Create and return a new instance of this ResponseWriter, using the specified Writer as the output destination.
- jakarta.faces.context
- ResponseWriter
-
-
- java.io.Writer
-
-
-
-
-
- JSF:JAVADOC:5101
- Close an XML CDATA block. The default implementation of this method takes no action when invoked.
- jakarta.faces.context
- ResponseWriter
-
-
-
-
- JSF:JAVADOC:5102
- if input/output error occures
- jakarta.faces.context
- ResponseWriter
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5103
- Flush any ouput buffered by the output method to the underlying Writer or OutputStream. This method will not flush the underlying Writer or OutputStream; it simply clears any values buffered by this ResponseWriter.
- jakarta.faces.context
- ResponseWriter
-
-
-
-
- JSF:JAVADOC:5104
-
- jakarta.faces.context
- ResponseWriter
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5105
- Return the character encoding (such as "ISO-8859-1") for this ResponseWriter. Please see the IANA for a list of character encodings.
- jakarta.faces.context
- ResponseWriter
-
-
-
-
- JSF:JAVADOC:5106
- Return the content type (such as "text/html") for this ResponseWriter. Note: this must not include the "charset=" suffix.
- jakarta.faces.context
- ResponseWriter
-
-
-
-
- JSF:JAVADOC:5107
- Open an XML CDATA block. Note that XML does not allow nested CDATA blocks, though this method does not enforce that constraint. The default implementation of this method takes no action when invoked.
- jakarta.faces.context
- ResponseWriter
-
-
-
-
- JSF:JAVADOC:5108
- if input/output error occures
- jakarta.faces.context
- ResponseWriter
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5109
- Write the start of an element, up to and including the element name. Once this method has been called, clients can call the writeAttribute() or writeURIAttribute() methods to add attributes and corresponding values. The starting element will be closed (that is, the trailing ' gt;' character added) on any subsequent call to startElement(), writeComment(), writeText(), endElement(), endDocument(), close(), flush(), or write(). If the argument component's pass through attributes includes an attribute of the name given by the value of the symbolic constant jakarta.faces.render.Renderer#PASSTHROUGH_RENDERER_LOCALNAME_KEY, use that as the element name, instead of the value passed as the first parameter to this method. Care must be taken so that this value is not also rendered when any other pass through attributes on this component are rendered.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5110
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5111
- Write an attribute name and corresponding value, after converting that text to a String (if necessary), and after performing any escaping appropriate for the markup language being rendered. This method may only be called after a call to startElement(), and before the opened element has been closed.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5112
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5113
- Write a string containing the markup specific doctype. No escaping is performed. The default implementation simply calls through to #write(java.lang.String) . The implementation makes no checks if this is the correct place in the response to have a doctype, nor does it prevent the doctype from being written more than once.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5114
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5115
- Write a string containing the markup specific preamble. No escaping is performed. The default implementation simply calls through to #write(java.lang.String) . The implementation makes no checks if this is the correct place in the response to have a preamble, nor does it prevent the preamble from being written more than once.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5116
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5117
- Write an object, after converting it to a String (if necessary), and after performing any escaping appropriate for the markup language being rendered. If there is an open element that has been created by a call to startElement(), that element will be closed first.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5118
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5119
- Write an object, after converting it to a String (if necessary), and after performing any escaping appropriate for the markup language being rendered. This method is equivalent to #writeText(java.lang.Object,java.lang.String) but adds a component property to allow custom ResponseWriter implementations to associate a component with an arbitrary portion of text. The default implementation simply ignores the component argument and calls through to #writeText(java.lang.Object,java.lang.String)
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5120
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.Object
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5121
- Write a URI attribute name and corresponding value, after converting that text to a String (if necessary), and after performing any encoding or escaping appropriate to the markup language being rendered. When rendering in a WWW environment, the escaping conventions established in the W3C URI spec document must be followed. In particular, spaces ' ' must be encoded as %20 and not the plus character '+'. This method may only be called after a call to startElement(), and before the opened element has been closed.
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5122
- if an input/output error occurs
- jakarta.faces.context
- ResponseWriter
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5123
- The default behavior of this method is to call ResponseWriter#cloneWithWriter(java.io.Writer) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.io.Writer
-
-
-
-
-
- JSF:JAVADOC:5124
- The default behavior of this method is to call ResponseWriter#close() on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
-
- JSF:JAVADOC:5125
-
- jakarta.faces.context
- ResponseWriterWrapper
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5126
- The default behavior of this method is to call ResponseWriter#endCDATA on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
-
- JSF:JAVADOC:5127
- on any read/write error
- jakarta.faces.context
- ResponseWriterWrapper
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5128
- The default behavior of this method is to call ResponseWriter#endDocument() on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
-
- JSF:JAVADOC:5129
-
- jakarta.faces.context
- ResponseWriterWrapper
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5130
- The default behavior of this method is to call ResponseWriter#endElement(String) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5131
- on any read/write error
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5132
- The default behavior of this method is to call ResponseWriter#flush() on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
-
- JSF:JAVADOC:5133
-
- jakarta.faces.context
- ResponseWriterWrapper
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5134
- The default behavior of this method is to call ResponseWriter#getCharacterEncoding() on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
-
- JSF:JAVADOC:5135
- The default behavior of this method is to call ResponseWriter#getContentType() on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
-
- JSF:JAVADOC:5136
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
-
- JSF:JAVADOC:5137
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
-
- JSF:JAVADOC:5138
- If this response writer has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- jakarta.faces.context.ResponseWriter
-
-
-
-
-
- JSF:JAVADOC:5139
- The default behavior of this method is to call ResponseWriter#startCDATA on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
-
- JSF:JAVADOC:5140
- on any read/write error
- jakarta.faces.context
- ResponseWriterWrapper
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5141
- The default behavior of this method is to call ResponseWriter#startDocument() on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
-
-
- JSF:JAVADOC:5142
-
- jakarta.faces.context
- ResponseWriterWrapper
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5143
- The default behavior of this method is to call ResponseWriter#startElement(String, jakarta.faces.component.UIComponent) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5144
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5145
- The default behavior of this method is to call ResponseWriter#write(char[], int, int) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- char[]
- int
- int
-
-
-
-
-
- JSF:JAVADOC:5146
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- char[]
- int
- int
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5147
- The default behavior of this method is to call ResponseWriter#writeAttribute(String, Object, String) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5148
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5149
- The default behavior of this method is to call ResponseWriter#writeComment(Object) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5150
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5151
- The default behavior of this method is to call ResponseWriter#writeDoctype on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5152
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5153
- The default behavior of this method is to call ResponseWriter#writePreamble on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5154
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5155
- The default behavior of this method is to call ResponseWriter#writeText(Object, String) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.Object
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5156
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.Object
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5157
- The default behavior of this method is to call ResponseWriter#writeText(Object, UIComponent, String) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.Object
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5158
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.Object
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5159
- The default behavior of this method is to call ResponseWriter#writeText(char[], int, int) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- char[]
- int
- int
-
-
-
-
-
- JSF:JAVADOC:5160
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- char[]
- int
- int
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5161
- The default behavior of this method is to call ResponseWriter#writeURIAttribute(String, Object, String) on the wrapped ResponseWriter object.
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5162
-
- jakarta.faces.context
- ResponseWriterWrapper
-
-
- java.lang.String
- java.lang.Object
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5163
-
- jakarta.faces.convert
- BigDecimalConverter
-
-
-
-
- JSF:JAVADOC:5164
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- BigDecimalConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5165
-
- jakarta.faces.convert
- BigDecimalConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5166
-
- jakarta.faces.convert
- BigIntegerConverter
-
-
-
-
- JSF:JAVADOC:5167
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- BigIntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5168
-
- jakarta.faces.convert
- BigIntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5169
-
- jakarta.faces.convert
- BooleanConverter
-
-
-
-
- JSF:JAVADOC:5170
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- BooleanConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5171
-
- jakarta.faces.convert
- BooleanConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5172
-
- jakarta.faces.convert
- ByteConverter
-
-
-
-
- JSF:JAVADOC:5173
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- ByteConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5174
-
- jakarta.faces.convert
- ByteConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5175
-
- jakarta.faces.convert
- CharacterConverter
-
-
-
-
- JSF:JAVADOC:5176
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- CharacterConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5177
-
- jakarta.faces.convert
- CharacterConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5178
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.convert
- ConverterException
-
-
- jakarta.faces.application.FacesMessage
-
-
-
-
-
- JSF:JAVADOC:5179
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.convert
- ConverterException
-
-
- jakarta.faces.application.FacesMessage
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:5180
- Returns the FacesMessage associated with this exception; this will only be available if the converter that thew this exception instance placed it there.
- jakarta.faces.convert
- ConverterException
-
-
-
-
- JSF:JAVADOC:5181
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
-
- JSF:JAVADOC:5182
-
- jakarta.faces.convert
- DateTimeConverter
-
-
-
-
- JSF:JAVADOC:5183
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- DateTimeConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5184
-
- jakarta.faces.convert
- DateTimeConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5185
- Return the style to be used to format or parse dates. If not set, the default value, default, is returned.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
-
- JSF:JAVADOC:5186
- Return the Locale to be used when parsing or formatting dates and times. If not explicitly set, the Locale stored in the jakarta.faces.component.UIViewRoot for the current request is returned.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
-
- JSF:JAVADOC:5187
- Return the format pattern to be used when formatting and parsing dates and times.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
-
- JSF:JAVADOC:5188
- Return the style to be used to format or parse times. If not set, the default value, default, is returned.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
-
- JSF:JAVADOC:5189
- Return the TimeZone used to interpret a time value. If not explicitly set, the default time zone of GMT returned.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
-
- JSF:JAVADOC:5190
- Return the type of value to be formatted or parsed. If not explicitly set, the default type, date is returned.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
-
- JSF:JAVADOC:5191
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.convert
- DateTimeConverter
-
-
-
-
- JSF:JAVADOC:5192
-
- jakarta.faces.convert
- DateTimeConverter
-
-
-
-
- JSF:JAVADOC:5193
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.convert
- DateTimeConverter
-
-
-
-
- JSF:JAVADOC:5194
-
- jakarta.faces.convert
- DateTimeConverter
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5195
-
- jakarta.faces.convert
- DateTimeConverter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5196
- Set the style to be used to format or parse dates. Valid values are default, short, medium, long, and full. An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.
- jakarta.faces.convert
- DateTimeConverter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5197
- Set the Locale to be used when parsing or formatting dates and times. If set to null, the Locale stored in the jakarta.faces.component.UIViewRoot for the current request will be utilized.
- jakarta.faces.convert
- DateTimeConverter
-
-
- java.util.Locale
-
-
-
-
-
- JSF:JAVADOC:5198
- Set the format pattern to be used when formatting and parsing dates and times. Valid values are those supported by java.text.SimpleDateFormat. An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.
- jakarta.faces.convert
- DateTimeConverter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5199
- Set the style to be used to format or parse times. Valid values are default, short, medium, long, and full. An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.
- jakarta.faces.convert
- DateTimeConverter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5200
- Set the TimeZone used to interpret a time value.
- jakarta.faces.convert
- DateTimeConverter
-
-
- java.util.TimeZone
-
-
-
-
-
- JSF:JAVADOC:5201
-
- jakarta.faces.convert
- DateTimeConverter
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5202
- Set the type of value to be formatted or parsed. Valid values are both, date, time localDate, localDateTime, localTime, offsetTime, offsetDateTime, or zonedDateTime. The values starting with "local", "offset" and "zoned" correspond to Java SE 8 Date Time API classes in package java.time with the name derived by upper casing the first letter. For example, java.time.LocalDate for the value "localDate". An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.
- jakarta.faces.convert
- DateTimeConverter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5203
-
- jakarta.faces.convert
- DoubleConverter
-
-
-
-
- JSF:JAVADOC:5204
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- DoubleConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5205
-
- jakarta.faces.convert
- DoubleConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5206
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.convert
- EnumConverter
-
-
-
-
- JSF:JAVADOC:5207
- For StateHolder
- jakarta.faces.convert
- EnumConverter
-
-
-
-
- JSF:JAVADOC:5208
- Instantiates an enum converter with a class where enum constants are taken from.
- jakarta.faces.convert
- EnumConverter
-
-
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:5209
- Convert the value argument to one of the enum constants of the class provided in our constructor. If no target class argument has been provided to the constructor of this instance, throw a ConverterException containing the #ENUM_NO_CLASS_ID message with proper parameters. If the value argument is null or it has a length of zero, return null. Otherwise, perform the equivalent of Enum.valueOf using target class and value and return the Object. If the conversion fails, throw a ConverterException containing the #ENUM_ID message with proper parameters.
- jakarta.faces.convert
- EnumConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5210
- Convert the enum constant given by the value argument into a String. If no target class argument has been provided to the constructor of this instance, throw a ConverterException containing the #ENUM_NO_CLASS_ID message with proper parameters. If the value argument is null, return the empty String. If the value is an instance of the provided target class, return its string value by casting it to a java.lang.Enum and returning the result of calling the name() method. Otherwise, throw a ConverterException containing the #ENUM_ID message with proper parameters.
- jakarta.faces.convert
- EnumConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5211
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.convert
- EnumConverter
-
-
-
-
- JSF:JAVADOC:5212
-
- jakarta.faces.convert
- EnumConverter
-
-
-
-
- JSF:JAVADOC:5213
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.convert
- EnumConverter
-
-
-
-
- JSF:JAVADOC:5214
-
- jakarta.faces.convert
- EnumConverter
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5215
-
- jakarta.faces.convert
- EnumConverter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5216
-
- jakarta.faces.convert
- EnumConverter
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5217
- The value of this annotation attribute is taken to be the converter-for-class with which instances of this class of converter can be instantiated by calling jakarta.faces.application.Application#createConverter(java.lang.Class).
- jakarta.faces.convert
- FacesConverter
-
-
-
-
- JSF:JAVADOC:5218
- The value of this annotation attribute is taken to be an indicator that flags whether or not the given converter is a CDI managed converter.
- jakarta.faces.convert
- FacesConverter
-
-
-
-
- JSF:JAVADOC:5219
- The value of this annotation attribute is taken to be the converter-id with which instances of this class of converter can be instantiated by calling jakarta.faces.application.Application#createConverter(java.lang.String).
- jakarta.faces.convert
- FacesConverter
-
-
-
-
- JSF:JAVADOC:5220
- The value of this annotation attribute is taken to be the converter-for-class with which instances of this class of converter can be instantiated by calling jakarta.faces.application.Application#createConverter(java.lang.Class).
- jakarta.faces.convert
- FacesConverter.Literal
-
-
-
-
- JSF:JAVADOC:5221
- The value of this annotation attribute is taken to be an indicator that flags whether or not the given converter is a CDI managed converter.
- jakarta.faces.convert
- FacesConverter.Literal
-
-
-
-
- JSF:JAVADOC:5222
-
- jakarta.faces.convert
- FacesConverter.Literal
-
-
- java.lang.String
- java.lang.Class
- boolean
-
-
-
-
-
- JSF:JAVADOC:5223
- The value of this annotation attribute is taken to be the converter-id with which instances of this class of converter can be instantiated by calling jakarta.faces.application.Application#createConverter(java.lang.String).
- jakarta.faces.convert
- FacesConverter.Literal
-
-
-
-
- JSF:JAVADOC:5224
-
- jakarta.faces.convert
- FloatConverter
-
-
-
-
- JSF:JAVADOC:5225
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- FloatConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5226
-
- jakarta.faces.convert
- FloatConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5227
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- IntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5228
-
- jakarta.faces.convert
- IntegerConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5229
-
- jakarta.faces.convert
- IntegerConverter
-
-
-
-
- JSF:JAVADOC:5230
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- LongConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5231
-
- jakarta.faces.convert
- LongConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5232
-
- jakarta.faces.convert
- LongConverter
-
-
-
-
- JSF:JAVADOC:5233
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5234
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- NumberConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5235
-
- jakarta.faces.convert
- NumberConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5236
- Return the ISO 4217 currency code used by getAsString() with a type of currency. If not set, the value used will be based on the formatting Locale.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5237
- Return the currency symbol used by getAsString() with a type of currency. If not set, the value used will be based on the formatting Locale.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5238
- Return the Locale to be used when parsing numbers. If this value is null, the Locale stored in the jakarta.faces.component.UIViewRoot for the current request will be utilized.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5239
- Return the maximum number of digits getAsString() should render in the fraction portion of the result.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5240
- Return the maximum number of digits getAsString() should render in the integer portion of the result.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5241
- Return the minimum number of digits getAsString() should render in the fraction portion of the result.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5242
- Return the minimum number of digits getAsString() should render in the integer portion of the result.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5243
- Return the format pattern to be used when formatting and parsing numbers.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5244
- Return the number type to be used when formatting and parsing numbers. If not modified, the default type is number.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5245
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5246
- Return true if getAsString should include grouping separators if necessary. If not modified, the default value is true.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5247
- Return true if only the integer portion of the given value should be returned from getAsObject(). If not modified, the default value is false.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5248
-
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5249
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5250
-
- jakarta.faces.convert
- NumberConverter
-
-
-
-
- JSF:JAVADOC:5251
-
- jakarta.faces.convert
- NumberConverter
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5252
-
- jakarta.faces.convert
- NumberConverter
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5253
- Set the ISO 4217 currency code used by getAsString() with a type of currency.
- jakarta.faces.convert
- NumberConverter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5254
- Set the currency symbol used by getAsString() with a type of currency.
- jakarta.faces.convert
- NumberConverter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5255
- Set the flag indicating whether getAsString() should include grouping separators if necessary.
- jakarta.faces.convert
- NumberConverter
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5256
- Set to true if only the integer portion of the given value should be returned from getAsObject().
- jakarta.faces.convert
- NumberConverter
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5257
- Set the Locale to be used when parsing numbers. If set to null, the Locale stored in the jakarta.faces.component.UIViewRoot for the current request will be utilized.
- jakarta.faces.convert
- NumberConverter
-
-
- java.util.Locale
-
-
-
-
-
- JSF:JAVADOC:5258
- Set the maximum number of digits getAsString() should render in the fraction portion of the result. If not set, the number of digits depends on the value being converted.
- jakarta.faces.convert
- NumberConverter
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:5259
- Set the maximum number of digits getAsString() should render in the integer portion of the result. If not set, the number of digits depends on the value being converted.
- jakarta.faces.convert
- NumberConverter
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:5260
- Set the minimum number of digits getAsString() should render in the fraction portion of the result. If not set, the number of digits depends on the value being converted.
- jakarta.faces.convert
- NumberConverter
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:5261
- Set the minimum number of digits getAsString() should render in the integer portion of the result. If not set, the number of digits depends on the value being converted.
- jakarta.faces.convert
- NumberConverter
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:5262
- Set the format pattern to be used when formatting and parsing numbers. Valid values are those supported by java.text.DecimalFormat. An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.
- jakarta.faces.convert
- NumberConverter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5263
-
- jakarta.faces.convert
- NumberConverter
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5264
- Set the number type to be used when formatting and parsing numbers. Valid values are currency, number, or percent. An invalid value will cause a ConverterException when getAsObject() or getAsString() is called.
- jakarta.faces.convert
- NumberConverter
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5265
- Convert the specified string value, which is associated with the specified UIComponent, into a model data object that is appropriate for being stored during the Process Validations phase of the request processing lifecycle.
- jakarta.faces.convert
- ShortConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5266
-
- jakarta.faces.convert
- ShortConverter
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5267
-
- jakarta.faces.convert
- ShortConverter
-
-
-
-
- JSF:JAVADOC:5268
-
- jakarta.faces.el
- CompositeComponentExpressionHolder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5269
- Construct a new exception with the specified detail message and no root cause.
- jakarta.faces.event
- AbortProcessingException
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5270
- Construct a new exception with the specified root cause.
- jakarta.faces.event
- AbortProcessingException
-
-
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:5271
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.event
- AbortProcessingException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:5272
- Construct a new event object from the specified source component and action command.
- jakarta.faces.event
- ActionEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5273
- Construct a new event object from the Faces context, specified source component and action command.
- jakarta.faces.event
- ActionEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5274
- Return true if this FacesListener is an instance of a listener class that this event supports. Typically, this will be accomplished by an "instanceof" check on the listener class.
- jakarta.faces.event
- ActionEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5275
- Broadcast this FacesEvent to the specified FacesListener, by whatever mechanism is appropriate. Typically, this will be accomplished by calling an event processing method, and passing this FacesEvent as a paramter.
- jakarta.faces.event
- ActionEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5276
-
- jakarta.faces.event
- ActionListenerWrapper
-
-
-
-
- JSF:JAVADOC:5277
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.event
- ActionListenerWrapper
-
-
-
-
- JSF:JAVADOC:5278
- Invoked when the action described by the specified ActionEvent occurs.
- jakarta.faces.event
- ActionListenerWrapper
-
-
- jakarta.faces.event.ActionEvent
-
-
-
-
-
- JSF:JAVADOC:5279
- Signal the Jakarta Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- ActionListenerWrapper
-
-
- jakarta.faces.event.ActionEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:5280
- Construct a new event object from the specified source component and Ajax behavior.
- jakarta.faces.event
- AjaxBehaviorEvent
-
-
- jakarta.faces.component.UIComponent
- jakarta.faces.component.behavior.Behavior
-
-
-
-
-
- JSF:JAVADOC:5281
- Construct a new event object from the Faces context, specified source component and Ajax behavior.
- jakarta.faces.event
- AjaxBehaviorEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- jakarta.faces.component.behavior.Behavior
-
-
-
-
-
- JSF:JAVADOC:5282
- Return true if this FacesListener is an instance of a the appropriate listener class that this event supports.
- jakarta.faces.event
- AjaxBehaviorEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5283
- Broadcast this event instance to the specified FacesListener, by whatever mechanism is appropriate. Typically, this will be accomplished by calling an event processing method, and passing this instance as a parameter.
- jakarta.faces.event
- AjaxBehaviorEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5284
- Process the Ajax behavior event.
- jakarta.faces.event
- AjaxBehaviorListener
-
-
- jakarta.faces.event.AjaxBehaviorEvent
-
-
-
-
-
- JSF:JAVADOC:5285
- if lifecycle processing should cease for this request.
- jakarta.faces.event
- AjaxBehaviorListener
-
-
- jakarta.faces.event.AjaxBehaviorEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:5286
- Construct a new event object from the specified source component and behavior.
- jakarta.faces.event
- BehaviorEvent
-
-
- jakarta.faces.component.UIComponent
- jakarta.faces.component.behavior.Behavior
-
-
-
-
-
- JSF:JAVADOC:5287
- Construct a new event object from the Faces context, specified source component and behavior.
- jakarta.faces.event
- BehaviorEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- jakarta.faces.component.behavior.Behavior
-
-
-
-
-
- JSF:JAVADOC:5288
- Return the source Behavior that sent this event.
- jakarta.faces.event
- BehaviorEvent
-
-
-
-
- JSF:JAVADOC:5289
- Pass the argument component to the superclass constructor.
- jakarta.faces.event
- ComponentSystemEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5290
- Pass the argument component to the superclass constructor.
- jakarta.faces.event
- ComponentSystemEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5291
- the source UIComponent that sent this event.
- jakarta.faces.event
- ComponentSystemEvent
-
-
-
-
- JSF:JAVADOC:5292
- Return true if the argument FacesListener is an instance of the appropriate listener class that this event supports. The default implementation returns true if the listener is a ComponentSystemEventListener or if super.isAppropriateListener() returns true.
- jakarta.faces.event
- ComponentSystemEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5293
- Broadcast this event instance to the specified FacesListener by calling the superclass's processListener() implementation.
- jakarta.faces.event
- ComponentSystemEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5294
- When called, the listener can assume that any guarantees given in the javadoc for the specific SystemEvent subclass are true.
- jakarta.faces.event
- ComponentSystemEventListener
-
-
- jakarta.faces.event.ComponentSystemEvent
-
-
-
-
-
- JSF:JAVADOC:5295
- if lifecycle processing should cease for this request.
- jakarta.faces.event
- ComponentSystemEventListener
-
-
- jakarta.faces.event.ComponentSystemEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:5296
- Instantiate a new ExceptionQueuedEvent that indicates the argument ExceptionQueuedEventContext occurred.
- jakarta.faces.event
- ExceptionQueuedEvent
-
-
- jakarta.faces.event.ExceptionQueuedEventContext
-
-
-
-
-
- JSF:JAVADOC:5297
- Instantiate a new ExceptionQueuedEvent that indicates the argument ExceptionQueuedEventContext occurred.
- jakarta.faces.event
- ExceptionQueuedEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.event.ExceptionQueuedEventContext
-
-
-
-
-
- JSF:JAVADOC:5298
- Return the ExceptionQueuedEventContext for this event instance.
- jakarta.faces.event
- ExceptionQueuedEvent
-
-
-
-
- JSF:JAVADOC:5299
- Instantiate a new ExceptionQueuedEventContext that indicates the argument Throwable just occurred.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
- jakarta.faces.context.FacesContext
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:5300
- Instantiate a new ExceptionQueuedEventContext that indicates the argument Throwable just occurred, relevant to the argument component.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
- jakarta.faces.context.FacesContext
- java.lang.Throwable
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5301
- Instantiate a new ExceptionQueuedEventContext that indicates the argument Throwable just occurred, relevant to the argument component, during the lifecycle phase phaseId.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
- jakarta.faces.context.FacesContext
- java.lang.Throwable
- jakarta.faces.component.UIComponent
- jakarta.faces.event.PhaseId
-
-
-
-
-
- JSF:JAVADOC:5302
- A Map of attributes relevant to the context of this ExceptionQueuedEvent.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
-
- JSF:JAVADOC:5303
- Return the UIComponent which was being processed when the exception was thrown. If none or not available, this will be null.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
-
- JSF:JAVADOC:5304
- The FacesContext for this request.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
-
- JSF:JAVADOC:5305
- Return the exception property.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
-
- JSF:JAVADOC:5306
- Return a List that contains a single entry, the jakarta.faces.context.ExceptionHandler for the current request.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:5307
- Return the PhaseId which was being processed when the exception was thrown. If none or not available, this will be null.
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
-
- JSF:JAVADOC:5308
-
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
-
- JSF:JAVADOC:5309
-
- jakarta.faces.event
- ExceptionQueuedEventContext
-
-
-
-
- JSF:JAVADOC:5310
- Construct a new event object from the Faces context and specified source component.
- jakarta.faces.event
- FacesEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5311
- Get the Faces context. If the constructor was passed a FacesContext we return it, otherwise we call FacesContext.getCurrentInstance() and return it.
- jakarta.faces.event
- FacesEvent
-
-
-
-
- JSF:JAVADOC:5312
- Return the identifier of the request processing phase during which this event should be delivered. Legal values are the singleton instances defined by the PhaseId class, including PhaseId.ANY_PHASE, which is the default value.
- jakarta.faces.event
- FacesEvent
-
-
-
-
- JSF:JAVADOC:5313
- Return true if this FacesListener is an instance of a listener class that this event supports. Typically, this will be accomplished by an "instanceof" check on the listener class.
- jakarta.faces.event
- FacesEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5314
- Broadcast this FacesEvent to the specified FacesListener, by whatever mechanism is appropriate. Typically, this will be accomplished by calling an event processing method, and passing this FacesEvent as a paramter.
- jakarta.faces.event
- FacesEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5315
- Convenience method to queue this event for broadcast at the end of the current request processing lifecycle phase.
- jakarta.faces.event
- FacesEvent
-
-
-
-
- JSF:JAVADOC:5316
- Set the PhaseId during which this event will be delivered.
- jakarta.faces.event
- FacesEvent
-
-
- jakarta.faces.event.PhaseId
-
-
-
-
-
- JSF:JAVADOC:5317
- The kind of object that emits events of the type given by the value of the #systemEventClass attribute. It is valid to have Jakarta Expression Language Expressions in the value of this attribute, as long as the expression resolves to an instance of the expected type.
- jakarta.faces.event
- ListenerFor
-
-
-
-
- JSF:JAVADOC:5318
- The kind of system event for which this class will be installed as a listener. The implementation only supports exact matches on the Class and must not honor subclass relationships. It is valid to have EL Expressions in the value of this attribute, as long as the expression resolves to an instance of the expected type.
- jakarta.faces.event
- ListenerFor
-
-
-
-
- JSF:JAVADOC:5319
-
- jakarta.faces.event
- ListenersFor
-
-
-
-
- JSF:JAVADOC:5320
- If true, the Object implementing this interface must not participate in state saving or restoring.
- jakarta.faces.event
- MethodExpressionActionListener
-
-
-
-
- JSF:JAVADOC:5321
-
- jakarta.faces.event
- MethodExpressionActionListener
-
-
-
-
- JSF:JAVADOC:5322
- Construct a ValueChangeListener that contains a MethodExpression. To accomodate method expression targets that take no arguments instead of taking an ActionEvent argument, the implementation of this class must take the argument methodExpressionOneArg, extract its expression string, and create another MethodExpression whose expected param types match those of a zero argument method. The usage requirements for both of these MethodExpression instances are described in #processAction.
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:5323
-
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- jakarta.el.MethodExpression
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:5324
- Call through to the MethodExpression passed in our constructor. First, try to invoke the MethodExpression passed to the constructor of this instance, passing the argument ActionEvent as the argument. If a MethodNotFoundException is thrown, call to the zero argument MethodExpression derived from the MethodExpression passed to the constructor of this instance. If that fails for any reason, throw an AbortProcessingException, including the cause of the failure.
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- jakarta.faces.event.ActionEvent
-
-
-
-
-
- JSF:JAVADOC:5325
- {@inheritDoc}
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- jakarta.faces.event.ActionEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:5326
- Both MethodExpression instances described in the constructor must be restored.
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5327
- Both MethodExpression instances described in the constructor must be saved.
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5328
- Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
- jakarta.faces.event
- MethodExpressionActionListener
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5329
- If true, the Object implementing this interface must not participate in state saving or restoring.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
-
-
- JSF:JAVADOC:5330
-
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
-
-
- JSF:JAVADOC:5331
- Construct a ValueChangeListener that contains a MethodExpression.To accommodate method expression targets that take no arguments instead of taking a ValueChangeEvent argument, the implementation of this class must take the argument methodExpressionOneArg, extract its expression string, and create another MethodExpression whose expected param types match those of a zero argument method. The usage requirements for both of these MethodExpression instances are described in #processValueChange.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:5332
- Construct a ValueChangeListener that contains a MethodExpression.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- jakarta.el.MethodExpression
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:5333
- Call through to the MethodExpression passed in our constructor. First, try to invoke the MethodExpression passed to the constructor of this instance, passing the argument ValueChangeEvent as the argument. If a MethodNotFoundException is thrown, call to the zero argument MethodExpression derived from the MethodExpression passed to the constructor of this instance. If that fails for any reason, throw an AbortProcessingException, including the cause of the failure.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- jakarta.faces.event.ValueChangeEvent
-
-
-
-
-
- JSF:JAVADOC:5334
- {@inheritDoc}
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- jakarta.faces.event.ValueChangeEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:5335
- Both MethodExpression instances described in the constructor must be restored.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5336
- Both MethodExpression instances described in the constructor must be saved.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5337
- Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
- jakarta.faces.event
- MethodExpressionValueChangeListener
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5338
- The value of this annotation attribute is taken to be the short name for the jakarta.faces.event.ComponentSystemEvent. If the value of this attribute is ommitted, the following algorithm must be used by the code that processes this annotation to determine its value. Get the unqualified class name (e.g., UserLoginEvent) Strip off the trailing "Event", if present (e.g., UserLogin) Convert the first character to lower-case (e.g., userLogin) Prepend the package name to the lower-cased name.
- jakarta.faces.event
- NamedEvent
-
-
-
-
- JSF:JAVADOC:5339
- Return the FacesContext for the request being processed.
- jakarta.faces.event
- PhaseEvent
-
-
-
-
- JSF:JAVADOC:5340
- Return the PhaseId representing the current request processing lifecycle phase.
- jakarta.faces.event
- PhaseEvent
-
-
-
-
- JSF:JAVADOC:5341
- Construct a new event object from the specified parameters. The specified Lifecycle will be the source of this event.
- jakarta.faces.event
- PhaseEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.event.PhaseId
- jakarta.faces.lifecycle.Lifecycle
-
-
-
-
-
- JSF:JAVADOC:5342
- Return the name of this phase.
- jakarta.faces.event
- PhaseId
-
-
-
-
- JSF:JAVADOC:5343
- Return a PhaseId representation of the arcument phase.
- jakarta.faces.event
- PhaseId
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5344
- Handle a notification that the processing for a particular phase has just been completed.
- jakarta.faces.event
- PhaseListener
-
-
- jakarta.faces.event.PhaseEvent
-
-
-
-
-
- JSF:JAVADOC:5345
- Handle a notification that the processing for a particular phase of the request processing lifecycle is about to begin.
- jakarta.faces.event
- PhaseListener
-
-
- jakarta.faces.event.PhaseEvent
-
-
-
-
-
- JSF:JAVADOC:5346
- Return the identifier of the request processing phase during which this listener is interested in processing PhaseEvent events. Legal values are the singleton instances defined by the PhaseId class, including PhaseId.ANY_PHASE to indicate an interest in being notified for all standard phases.
- jakarta.faces.event
- PhaseListener
-
-
-
-
- JSF:JAVADOC:5347
- Returns true if and only if the argument listener is an instance of SystemEventListener.
- jakarta.faces.event
- PostAddToViewEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5348
- Instantiate a new PostAddToViewEvent that indicates the argument component was just added to the view.
- jakarta.faces.event
- PostAddToViewEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5349
- Instantiate a new PostAddToViewEvent that indicates the argument component was just added to the view.
- jakarta.faces.event
- PostAddToViewEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5350
- The source Application that sent this event.
- jakarta.faces.event
- PostConstructApplicationEvent
-
-
-
-
- JSF:JAVADOC:5351
- Constructs a new PostConstructApplicationEvent for this application.
- jakarta.faces.event
- PostConstructApplicationEvent
-
-
- jakarta.faces.application.Application
-
-
-
-
-
- JSF:JAVADOC:5352
- Constructs a new PostConstructApplicationEvent for this application.
- jakarta.faces.event
- PostConstructApplicationEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Application
-
-
-
-
-
- JSF:JAVADOC:5353
- Return the ScopeContext for this event.
- jakarta.faces.event
- PostConstructCustomScopeEvent
-
-
-
-
- JSF:JAVADOC:5354
- An instance of this event indicates that the custom scope enclosed within the argument scopeContext was just created.
- jakarta.faces.event
- PostConstructCustomScopeEvent
-
-
- jakarta.faces.event.ScopeContext
-
-
-
-
-
- JSF:JAVADOC:5355
- An instance of this event indicates that the custom scope enclosed within the argument scopeContext was just created.
- jakarta.faces.event
- PostConstructCustomScopeEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.event.ScopeContext
-
-
-
-
-
- JSF:JAVADOC:5356
- Instantiate a new PostConstructViewMapEvent that indicates the argument root was just associated with its view map.
- jakarta.faces.event
- PostConstructViewMapEvent
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5357
- Instantiate a new PostConstructViewMapEvent that indicates the argument root was just associated with its view map.
- jakarta.faces.event
- PostConstructViewMapEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5358
-
- jakarta.faces.event
- PostKeepFlashValueEvent
-
-
-
-
- JSF:JAVADOC:5359
- Instantiate a new PostKeepFlashValueEvent that indicates the argument key was just kept in the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass constructor.
- jakarta.faces.event
- PostKeepFlashValueEvent
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5360
- Instantiate a new PostKeepFlashValueEvent that indicates the argument key was just kept in the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass constructor.
- jakarta.faces.event
- PostKeepFlashValueEvent
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5361
-
- jakarta.faces.event
- PostPutFlashValueEvent
-
-
-
-
- JSF:JAVADOC:5362
- Instantiate a new PostPutFlashValueEvent that indicates the argument key was just put to the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass constructor.
- jakarta.faces.event
- PostPutFlashValueEvent
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5363
- Instantiate a new PostPutFlashValueEvent that indicates the argument key was just put to the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass constructor.
- jakarta.faces.event
- PostPutFlashValueEvent
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5364
- Instantiate a new PostRenderViewEvent that indicates the argument root has just been rendered.
- jakarta.faces.event
- PostRenderViewEvent
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5365
- Instantiate a new PostRenderViewEvent that indicates the argument root has just been rendered.
- jakarta.faces.event
- PostRenderViewEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5366
- Instantiate a new PostRestoreStateEvent that indicates the argument component just had its state restored.
- jakarta.faces.event
- PostRestoreStateEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5367
- Instantiate a new PostRestoreStateEvent that indicates the argument component just had its state restored.
- jakarta.faces.event
- PostRestoreStateEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5368
-
- jakarta.faces.event
- PostRestoreStateEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5369
- Constructor
- jakarta.faces.event
- PostValidateEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5370
- Constructor
- jakarta.faces.event
- PostValidateEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5371
- Instantiate a new PreClearFlashEvent that indicates the argument key was just put to the flash.
- jakarta.faces.event
- PreClearFlashEvent
-
-
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:5372
- Instantiate a new PreClearFlashEvent that indicates the argument key was just put to the flash.
- jakarta.faces.event
- PreClearFlashEvent
-
-
- jakarta.faces.context.FacesContext
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:5373
- The source Application that sent this event.
- jakarta.faces.event
- PreDestroyApplicationEvent
-
-
-
-
- JSF:JAVADOC:5374
- Constructs a new PreDestroyApplicationEvent for this application.
- jakarta.faces.event
- PreDestroyApplicationEvent
-
-
- jakarta.faces.application.Application
-
-
-
-
-
- JSF:JAVADOC:5375
- Constructs a new PreDestroyApplicationEvent for this application.
- jakarta.faces.event
- PreDestroyApplicationEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Application
-
-
-
-
-
- JSF:JAVADOC:5376
- Return the ScopeContext for this event.
- jakarta.faces.event
- PreDestroyCustomScopeEvent
-
-
-
-
- JSF:JAVADOC:5377
- An instance of this event indicates that the custom scope enclosed within the argument scopeContext is about to end.
- jakarta.faces.event
- PreDestroyCustomScopeEvent
-
-
- jakarta.faces.event.ScopeContext
-
-
-
-
-
- JSF:JAVADOC:5378
- An instance of this event indicates that the custom scope enclosed within the argument scopeContext is about to end.
- jakarta.faces.event
- PreDestroyCustomScopeEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.event.ScopeContext
-
-
-
-
-
- JSF:JAVADOC:5379
- Instantiate a new ViewMapDestroydEvent that indicates the argument root just had its associated view map destroyed.
- jakarta.faces.event
- PreDestroyViewMapEvent
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5380
- Instantiate a new ViewMapDestroydEvent that indicates the argument root just had its associated view map destroyed.
- jakarta.faces.event
- PreDestroyViewMapEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5381
-
- jakarta.faces.event
- PreRemoveFlashValueEvent
-
-
-
-
- JSF:JAVADOC:5382
- Instantiate a new PreRemoveFlashValueEvent that indicates the argument key will be removed from the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass constructor.
- jakarta.faces.event
- PreRemoveFlashValueEvent
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5383
- Instantiate a new PreRemoveFlashValueEvent that indicates the argument key will be removed from the flash. If the argument is null, the literal Flash#NULL_VALUE must be passed to the superclass constructor.
- jakarta.faces.event
- PreRemoveFlashValueEvent
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5384
- Returns true if and only if the argument listener is an instance of SystemEventListener.
- jakarta.faces.event
- PreRemoveFromViewEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5385
- Instantiate a new BeforeRemoveFromView that indicates the argument component is about to be removed from the view.
- jakarta.faces.event
- PreRemoveFromViewEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5386
- Instantiate a new BeforeRemoveFromView that indicates the argument component is about to be removed from the view.
- jakarta.faces.event
- PreRemoveFromViewEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5387
- Instantiate a new PreRenderComponentEvent that indicates the argument component is about to be rendered.
- jakarta.faces.event
- PreRenderComponentEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5388
- Instantiate a new PreRenderComponentEvent that indicates the argument component is about to be rendered.
- jakarta.faces.event
- PreRenderComponentEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5389
- Instantiate a new PreRenderViewEvent that indicates the argument root is about to be rendered.
- jakarta.faces.event
- PreRenderViewEvent
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5390
- Instantiate a new PreRenderViewEvent that indicates the argument root is about to be rendered.
- jakarta.faces.event
- PreRenderViewEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5391
- Constructor
- jakarta.faces.event
- PreValidateEvent
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5392
- Constructor
- jakarta.faces.event
- PreValidateEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5393
- Return the scope itself, exposed as a Map.
- jakarta.faces.event
- ScopeContext
-
-
-
-
- JSF:JAVADOC:5394
- Return the name of this custom scope.
- jakarta.faces.event
- ScopeContext
-
-
-
-
- JSF:JAVADOC:5395
- Construct this structure with the supplied arguments.
- jakarta.faces.event
- ScopeContext
-
-
- java.lang.String
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:5396
- Get the Faces context. If the constructor was passed a FacesContext we return it, otherwise we call FacesContext.getCurrentInstance() and return it.
- jakarta.faces.event
- SystemEvent
-
-
-
-
- JSF:JAVADOC:5397
- Return true if this FacesListener is an instance of a the appropriate listener class that this event supports. The default implementation returns true if the listener is a ComponentSystemEventListener.
- jakarta.faces.event
- SystemEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5398
- Broadcast this event instance to the specified FacesListener, by whatever mechanism is appropriate. Typically, this will be accomplished by calling an event processing method, and passing this instance as a parameter.
- jakarta.faces.event
- SystemEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5399
- Pass the argument source to the superclass constructor.
- jakarta.faces.event
- SystemEvent
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5400
- Pass the argument source to the superclass constructor.
- jakarta.faces.event
- SystemEvent
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5401
- This method must return true if and only if this listener instance is interested in receiving events from the instance referenced by the source parameter.
- jakarta.faces.event
- SystemEventListener
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5402
- When called, the listener can assume that any guarantees given in the javadoc for the specific SystemEvent subclass are true.
- jakarta.faces.event
- SystemEventListener
-
-
- jakarta.faces.event.SystemEvent
-
-
-
-
-
- JSF:JAVADOC:5403
- if lifecycle processing should cease for this request.
- jakarta.faces.event
- SystemEventListener
-
-
- jakarta.faces.event.SystemEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:5404
- Return a List of SystemEventListener instances that have been installed into the class implementing this interface.
- jakarta.faces.event
- SystemEventListenerHolder
-
-
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:5405
- Return the current local value of the source UIComponent.
- jakarta.faces.event
- ValueChangeEvent
-
-
-
-
- JSF:JAVADOC:5406
- Return the previous local value of the source UIComponent.
- jakarta.faces.event
- ValueChangeEvent
-
-
-
-
- JSF:JAVADOC:5407
- Return true if this FacesListener is an instance of a listener class that this event supports. Typically, this will be accomplished by an "instanceof" check on the listener class.
- jakarta.faces.event
- ValueChangeEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5408
- Broadcast this FacesEvent to the specified FacesListener, by whatever mechanism is appropriate. Typically, this will be accomplished by calling an event processing method, and passing this FacesEvent as a paramter.
- jakarta.faces.event
- ValueChangeEvent
-
-
- jakarta.faces.event.FacesListener
-
-
-
-
-
- JSF:JAVADOC:5409
- Construct a new event object from the specified source component, old value, and new value. The default PhaseId for this event is PhaseId#ANY_PHASE.
- jakarta.faces.event
- ValueChangeEvent
-
-
- jakarta.faces.component.UIComponent
- java.lang.Object
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5410
- Construct a new event object from the Faces context, specified source component, old value and new value. The default PhaseId for this event is PhaseId#ANY_PHASE.
- jakarta.faces.event
- ValueChangeEvent
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5411
- Invoked when the value change described by the specified ValueChangeEvent occurs.
- jakarta.faces.event
- ValueChangeListener
-
-
- jakarta.faces.event.ValueChangeEvent
-
-
-
-
-
- JSF:JAVADOC:5412
- Signal the Jakarta Faces implementation that no further processing on the current event should be performed
- jakarta.faces.event
- ValueChangeListener
-
-
- jakarta.faces.event.ValueChangeEvent
-
- jakarta.faces.event.AbortProcessingException
-
-
-
-
- JSF:JAVADOC:5413
-
- jakarta.faces.event
- WebsocketEvent
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5414
- Returns the .
- jakarta.faces.event
- WebsocketEvent
-
-
-
-
- JSF:JAVADOC:5415
- Returns the close code. If this returns null, then it was Opened. If this returns non-null, then it was Closed.
- jakarta.faces.event
- WebsocketEvent
-
-
-
-
- JSF:JAVADOC:5416
- Returns the , if any.
- jakarta.faces.event
- WebsocketEvent
-
-
-
-
- JSF:JAVADOC:5417
-
- jakarta.faces.event
- WebsocketEvent
-
-
-
-
- JSF:JAVADOC:5418
-
- jakarta.faces.event
- WebsocketEvent
-
-
-
-
- JSF:JAVADOC:5419
-
- jakarta.faces.event
- WebsocketEvent
-
-
- java.lang.String
- java.io.Serializable
- jakarta.websocket.CloseReason.CloseReason.CloseCode
-
-
-
-
-
- JSF:JAVADOC:5420
-
- jakarta.faces.event
- WebsocketEvent.Closed.Literal
-
-
-
-
- JSF:JAVADOC:5421
-
- jakarta.faces.event
- WebsocketEvent.Opened.Literal
-
-
-
-
- JSF:JAVADOC:5422
-
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5423
- Get the ClientWindow's id and append "_" and the return from #getId. Return the result.
- jakarta.faces.flow
- Flow
-
-
- jakarta.faces.lifecycle.ClientWindow
-
-
-
-
-
- JSF:JAVADOC:5424
- Return the immutable application unique identifier for the document in which the argument flow is defined.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5425
- Return the MethodExpression that must be called by the runtime as the last thing that happens before exiting this flow. Any FlowScoped beans declared for this flow must remain in scope until after control returns from the method referenced by this MethodExpression.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5426
- Return the FlowCallNode that represents calling the targetFlow from this flow, or null if targetFlow cannot be reached from this flow.
- jakarta.faces.flow
- Flow
-
-
- jakarta.faces.flow.Flow
-
-
-
-
-
- JSF:JAVADOC:5427
- Return an immutable data structure containing all the flow call nodes declared for this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5428
- Return the immutable id for this Flow. This must be unique within the defining document (such as an Application Configuration Resources file), but need not be unique within the entire application.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5429
- Return an immutable data structure containing the inbound parameters that have been declared for this flow. See FlowHandler#transition for the specification of how these parameters are used. Inbound parameters are associated with a specific flow instance, while outbound parameters are associated with a FlowCallNode that causes the transition to a new flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5430
- Return the MethodExpression that must be called by the runtime immediately after activating any FlowScoped beans declared for this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5431
- Return an immutable data structure containing all the method call nodes declared for this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5432
- Return an unmodifiable view of the navigation cases within this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5433
- Return the generic FlowNode by id, or null if not found.
- jakarta.faces.flow
- Flow
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5434
- Return an immutable data structure containing all of the return nodes declared for this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5435
- Return the immutable id for the default node that should be activated when this flow is entered.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5436
- Return an immutable data structure containing all of the switch nodes declared for this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5437
- Return an immutable data structure containing all of the view nodes declared for this flow.
- jakarta.faces.flow
- Flow
-
-
-
-
- JSF:JAVADOC:5438
-
- jakarta.faces.flow
- FlowCallNode
-
-
-
-
- JSF:JAVADOC:5439
-
- jakarta.faces.flow
- FlowCallNode
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5440
-
- jakarta.faces.flow
- FlowCallNode
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5441
-
- jakarta.faces.flow
- FlowCallNode
-
-
-
-
- JSF:JAVADOC:5442
- Add the argument Flow to the collection of Flows known to the current application. The implementation must be thread safe.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
-
-
-
-
-
- JSF:JAVADOC:5443
- Allow for flow transitions in the case of components rendered by the renderers from component-family jakarta.faces.OutcomeTarget. These transitions must happen at the front of the request processing lifecycle due to the HTTP GET based nature of such components. Therefore, this method is called from the restore view phase of the lifecycle. Let flowId be the value in the request parameter map for the parameter whose name is given by the value of #FLOW_ID_REQUEST_PARAM_NAME. Let toFlowDocumentId be the value in the request parameter map for the paramater whose name is given by the value of #TO_FLOW_DOCUMENT_ID_REQUEST_PARAM_NAME. If toFlowDocumentId is null, take no action and return. Otherwise, let sourceFlow be the return from #getCurrentFlow(jakarta.faces.context.FacesContext). A null value indicates there is no current flow, which will be the case if this navigation is trying to enter a flow. If flowId is not null and toFlowDocumentId is not equal to the value of #NULL_FLOW, let targetFlow be the result of calling #getFlow(jakarta.faces.context.FacesContext, java.lang.String, java.lang.String), passing toFlowDocumentId and flowId as the last two arguments, respectively. If the result is non-null, let flowCallNode be the return from calling Flow#getFlowCall on the sourceFlow, passing targetFlow as the argument. Otherwise, targetFlow and flowCallNode must remain null, indicating that this is a flow return. Call FacesContext#getViewRoot() and let toViewId be the the return from calling jakarta.faces.component.UIViewRoot#getViewId on it. Call, #transition, passing the arguments gathered in the preceding algorithm.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5444
-
- jakarta.faces.flow
- FlowHandler
-
-
-
-
- JSF:JAVADOC:5445
- Return the currently active Flow for the argument FacesContext, or null if no flow is active. A Flow must always be associated with exactly one jakarta.faces.lifecycle.ClientWindow, but a ClientWindow may have multiple Flows. If #pushReturnMode had been called with true as the argument before invoking this method, return the preceding flow on the stack instead of the actual current flow, or null if there is no preceding flow. Otherwise, return the current flow.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5446
- Convenience overload that calls FacesContext#getCurrentInstance() and then calls through to #getCurrentFlow(jakarta.faces.context.FacesContext).
- jakarta.faces.flow
- FlowHandler
-
-
-
-
- JSF:JAVADOC:5447
- Return the Map that backs the #{flowScope} Jakarta Expression Language implicit object or null if no flow is currently active.
- jakarta.faces.flow
- FlowHandler
-
-
-
-
- JSF:JAVADOC:5448
- Return the Flow whose id is equivalent to the argument id, within the scope of the argument definingDocument.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5449
- Return the last displayed viewId for the current flow, as returned by #getCurrentFlow(jakarta.faces.context.FacesContext), or null if there is no current flow.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5450
- Return true if and only if the flow referenced by the argument definingDocument and id is currently active.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5451
- Enable the correct handling of navigation when processing a return node. The default jakarta.faces.application.NavigationHandler specification requires calling this method from a finally block, immediately attempting to process the navigation rules in the context of a flow return.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5452
- Enable the correct handling of navigation when processing a return node. The default jakarta.faces.application.NavigationHandler specification requires calling this method before processing the navigation rules for the flow return, and calling #popReturnMode, from a finally block, immediately afterward.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5453
- Perform a transition in the flow graph for the current user's jakarta.faces.lifecycle.ClientWindow. Obtain references to the Flow instances corresponding to the origin and destination arguments. If the origin Flow is equal to the destination Flow, take no action and return null. Otherwise, if the outboundCallNode argument is non-null save aside the outbound parameters. For discussion evaluatedParams is a data structure that stores the evaluated values of any outbound parameters. It is necessary to evaluate these values before popping any flow scopes because the values may refer to scoped instances that need to be passed to the target flow, but will not be available once the new scope is activated. Save aside the outbound parameters using the following algorithm. If the outboundParameters property of outboundCallNode is non-null and not empty, and the inboundParameters property of the target flow is non-null and not empty, for each entry in the outbound parameters whose name matches an entry in the inbound parameters, evaluate the value of the parameter, and put the evaluated value into evaluatedParams under the corresponding name. Otherwise, consider evaluatedParams to be empty. If the destination Flow is a sub-flow of the origin Flow push the destination Flow onto the flow data structure and return the destination Flow. Otherwise, pop the current Flow from the flow data structure. If the destination Flow is non-null, make the destination Flow the current flow, pushing it onto the data structure. If evaluatedParams is not empty, for each entry, find the corresponding parameter in the target flow's inbound parameters and call its setValue method, passing the value from evaluatedParams.
- jakarta.faces.flow
- FlowHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.flow.Flow
- jakarta.faces.flow.Flow
- jakarta.faces.flow.FlowCallNode
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5454
- Create the singleton instance of FlowHandler.
- jakarta.faces.flow
- FlowHandlerFactory
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5455
-
- jakarta.faces.flow
- FlowHandlerFactory
-
-
-
-
- JSF:JAVADOC:5456
- Create the singleton instance of FlowHandler.
- jakarta.faces.flow
- FlowHandlerFactoryWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5457
-
- jakarta.faces.flow
- FlowHandlerFactoryWrapper
-
-
-
-
- JSF:JAVADOC:5458
- If this flow handler factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.flow
- FlowHandlerFactoryWrapper
-
-
- jakarta.faces.flow.FlowHandlerFactory
-
-
-
-
-
- JSF:JAVADOC:5459
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.flow
- FlowHandlerFactoryWrapper
-
-
-
-
- JSF:JAVADOC:5460
-
- jakarta.faces.flow
- FlowNode
-
-
-
-
- JSF:JAVADOC:5461
-
- jakarta.faces.flow
- FlowNode
-
-
-
-
- JSF:JAVADOC:5462
- If not empty, declare the defining document id within which the Flow referenced by #value is unique. If empty the, the runtime assumes that all flow ids are unique within the scope of the application.
- jakarta.faces.flow
- FlowScoped
-
-
-
-
- JSF:JAVADOC:5463
- Must be equivalent to the Flow#getId of a defined flow for this application.
- jakarta.faces.flow
- FlowScoped
-
-
-
-
- JSF:JAVADOC:5464
- Return the MethodExpression to be invoked to when control passes to this node.
- jakarta.faces.flow
- MethodCallNode
-
-
-
-
- JSF:JAVADOC:5465
- Return the outcome to be used in the event of a null return from the method.
- jakarta.faces.flow
- MethodCallNode
-
-
-
-
- JSF:JAVADOC:5466
- Return the parameters to be passed to the method.
- jakarta.faces.flow
- MethodCallNode
-
-
-
-
- JSF:JAVADOC:5467
-
- jakarta.faces.flow
- MethodCallNode
-
-
-
-
- JSF:JAVADOC:5468
- Return the name of the parameter
- jakarta.faces.flow
- Parameter
-
-
-
-
- JSF:JAVADOC:5469
- Return a ValueExpression for the value of the parameter. Depending on the context, this expression may only ever be evaluated in a "get" operation.
- jakarta.faces.flow
- Parameter
-
-
-
-
- JSF:JAVADOC:5470
-
- jakarta.faces.flow
- Parameter
-
-
-
-
- JSF:JAVADOC:5471
- Return the fromOutcome to be used when control passes to this return node.
- jakarta.faces.flow
- ReturnNode
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5472
-
- jakarta.faces.flow
- ReturnNode
-
-
-
-
- JSF:JAVADOC:5473
- Return true if this case should be taken, false otherwise.
- jakarta.faces.flow
- SwitchCase
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5474
- Return the outcome to be used if #getCondition return true.
- jakarta.faces.flow
- SwitchCase
-
-
-
-
- JSF:JAVADOC:5475
-
- jakarta.faces.flow
- SwitchCase
-
-
-
-
- JSF:JAVADOC:5476
- Return the cases in this switch.
- jakarta.faces.flow
- SwitchNode
-
-
-
-
- JSF:JAVADOC:5477
- Return the default outcome in this switch.
- jakarta.faces.flow
- SwitchNode
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5478
-
- jakarta.faces.flow
- SwitchNode
-
-
-
-
- JSF:JAVADOC:5479
- Return the immutable VDL document id for this view node. This is normally the path to the VDL page that defines this view node. This must be unique within the flow.
- jakarta.faces.flow
- ViewNode
-
-
-
-
- JSF:JAVADOC:5480
-
- jakarta.faces.flow
- ViewNode
-
-
-
-
- JSF:JAVADOC:5481
- A MethodExpression that will be invoked when the flow is exited.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:5482
- A MethodExpression that will be invoked when the flow is exited.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5483
-
- jakarta.faces.flow.builder
- FlowBuilder
-
-
-
-
- JSF:JAVADOC:5484
- Define a flow call node. This node will cause the specified flow to be called, passing parameters if necessary.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5485
- Called as the last step in flow definition, this method must perform any implementation specific initialization and return the built Flow. If called more than one time during a given flow building process, the second and subsequent invocations must take no action and return the built flow.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
-
-
- JSF:JAVADOC:5486
- Set the defining document id and flow id of this flow.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5487
- A parameter that will be populated with the value from a correspondingly named outbound parameter from another flow when this flow is entered from that flow.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:5488
- A parameter that will be populated with the value from a correspondingly named outbound parameter from another flow when this flow is entered from that flow.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5489
- A MethodExpression that will be invoked when the flow is entered.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:5490
- A MethodExpression that will be invoked when the flow is entered.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5491
- Define a method call node. This node will cause the specified method to be invoked, passing parameters if necessary. The return from the method is used as the outcome for where to go next in the flow. If the method is a void method, the default outcome is used.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5492
- Define a particular combination of conditions that must match for this case to be executed, and the view id of the component tree that should be selected next.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
-
-
- JSF:JAVADOC:5493
- Define a return node. This node will cause the specified outcome to be returned to the calling flow.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5494
- Define a particular list of cases that will be inspected in the order they are defined to determine where to go next in the flow graph. If none of the cases match, the outcome from the default case is chosen.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5495
- Define a view node in a flow graph.
- jakarta.faces.flow.builder
- FlowBuilder
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5496
-
- jakarta.faces.flow.builder
- FlowBuilderParameter.Literal
-
-
-
-
- JSF:JAVADOC:5497
-
- jakarta.faces.flow.builder
- FlowCallBuilder
-
-
-
-
- JSF:JAVADOC:5498
- Define the flow reference of the called flow.
- jakarta.faces.flow.builder
- FlowCallBuilder
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5499
- Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- jakarta.faces.flow.builder
- FlowCallBuilder
-
-
-
-
- JSF:JAVADOC:5500
- Define an outbound parameter for the flow call.
- jakarta.faces.flow.builder
- FlowCallBuilder
-
-
- java.lang.String
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:5501
- Define an outbound parameter for the flow call.
- jakarta.faces.flow.builder
- FlowCallBuilder
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5502
-
- jakarta.faces.flow.builder
- FlowDefinition.Literal
-
-
-
-
- JSF:JAVADOC:5503
- If the method is a void method, or the method returns null, this can be used to specify what value should be passed to runtime when the method returns.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5504
- If the method is a void method, or the method returns null, this can be used to specify what value should be passed to runtime when the method returns.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:5505
- Set the method expression of this method call node. The method signature of the argument methodExpression must match the number and type of the parameters passed in the #parameters method.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:5506
- Set the method expression of this method call node. The method signature of the argument methodExpression must match the number and type of the parameters passed in the #parameters method.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5507
- Set the method expression of this method call node. The method signature of the argument methodExpression must match the number and type of the parameters passed in the #parameters method.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- java.lang.String
- java.lang.Class[]
-
-
-
-
-
- JSF:JAVADOC:5508
- Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
-
-
- JSF:JAVADOC:5509
-
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
-
-
- JSF:JAVADOC:5510
- Set the parameters of the method call node.
- jakarta.faces.flow.builder
- MethodCallBuilder
-
-
- java.util.List
-
-
-
-
-
- JSF:JAVADOC:5511
- Set the if of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5512
- Set the if of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:5513
- Set the from-action of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5514
- Set the from-outcome of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5515
- Set the from-view-id of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5516
-
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
-
-
- JSF:JAVADOC:5517
- Create a redirect within this navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
-
-
- JSF:JAVADOC:5518
- Set the to-flow-document-id of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5519
- Set the to-view-id of the current navigation case.
- jakarta.faces.flow.builder
- NavigationCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5520
- Indicates the current redirect should include view parameters.
- jakarta.faces.flow.builder
- NavigationCaseBuilder.RedirectBuilder
-
-
-
-
- JSF:JAVADOC:5521
-
- jakarta.faces.flow.builder
- NavigationCaseBuilder.RedirectBuilder
-
-
-
-
- JSF:JAVADOC:5522
- Add a parameter to the redirect.
- jakarta.faces.flow.builder
- NavigationCaseBuilder.RedirectBuilder
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5523
- Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- jakarta.faces.flow.builder
- NodeBuilder
-
-
-
-
- JSF:JAVADOC:5524
- Set the outcome of the current return node.
- jakarta.faces.flow.builder
- ReturnBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5525
- Set the outcome of the current return node.
- jakarta.faces.flow.builder
- ReturnBuilder
-
-
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:5526
- Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- jakarta.faces.flow.builder
- ReturnBuilder
-
-
-
-
- JSF:JAVADOC:5527
-
- jakarta.faces.flow.builder
- ReturnBuilder
-
-
-
-
- JSF:JAVADOC:5528
- Set the default outcome of the current switch.
- jakarta.faces.flow.builder
- SwitchBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5529
- Set the default outcome of the current switch.
- jakarta.faces.flow.builder
- SwitchBuilder
-
-
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:5530
- Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- jakarta.faces.flow.builder
- SwitchBuilder
-
-
-
-
- JSF:JAVADOC:5531
-
- jakarta.faces.flow.builder
- SwitchBuilder
-
-
-
-
- JSF:JAVADOC:5532
- Create a switch case in the current switch.
- jakarta.faces.flow.builder
- SwitchBuilder
-
-
-
-
- JSF:JAVADOC:5533
- Set the if in the previously created switch case.
- jakarta.faces.flow.builder
- SwitchCaseBuilder
-
-
- jakarta.el.ValueExpression
-
-
-
-
-
- JSF:JAVADOC:5534
- Set the if in the previously created switch case.
- jakarta.faces.flow.builder
- SwitchCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5535
- Set the outcome in the previously created switch case.
- jakarta.faces.flow.builder
- SwitchCaseBuilder
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5536
- Create a new case in the current switch.
- jakarta.faces.flow.builder
- SwitchCaseBuilder
-
-
-
-
- JSF:JAVADOC:5537
-
- jakarta.faces.flow.builder
- SwitchCaseBuilder
-
-
-
-
- JSF:JAVADOC:5538
- Mark this node as the start node in the flow. Any other node that had been marked as the start node will no longer be the start node.
- jakarta.faces.flow.builder
- ViewBuilder
-
-
-
-
- JSF:JAVADOC:5539
-
- jakarta.faces.flow.builder
- ViewBuilder
-
-
-
-
- JSF:JAVADOC:5540
-
- jakarta.faces.lifecycle
- ClientWindow
-
-
-
-
- JSF:JAVADOC:5541
- The implementation is responsible for examining the incoming request and extracting the value that must be returned from the #getId method. If #CLIENT_WINDOW_MODE_PARAM_NAME is "none" this method must not be invoked. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" the implementation must first look for a request parameter under the name given by the value of jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_PARAM. If no value is found, look for a request parameter under the name given by the value of jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_URL_PARAM. If no value is found, fabricate an id that uniquely identifies this ClientWindow within the scope of the current session. This value must be made available to return from the #getId method. The value must be suitable for inclusion as a hidden field or query parameter. If a value is found, decrypt it using the key from the session and make it available for return from #getId.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5542
- Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first before rendering those URLs. The caller must call #enableClientWindowRenderMode(jakarta.faces.context.FacesContext) from a finally block after rendering the URL. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual ClientWindow instance.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5543
- Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first after rendering those URLs. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual ClientWindow instance.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5544
- Return a String value that uniquely identifies this ClientWindow within the scope of the current session. See #decode for the specification of how to derive this value.
- jakarta.faces.lifecycle
- ClientWindow
-
-
-
-
- JSF:JAVADOC:5545
- This method will be called whenever a URL is generated by the runtime where client window related parameters need to be inserted into the URL. This guarantees custom ClientWindow implementations that they will have the opportunity to insert any additional client window specific information in any case where a URL is generated, such as the rendering of hyperlinks. The returned map must be immutable. The default implementation of this method returns the empty map.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5546
- Methods that append the ClientWindow to generated URLs must call this method to see if they are permitted to do so. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual ClientWindow instance.
- jakarta.faces.lifecycle
- ClientWindow
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5547
-
- jakarta.faces.lifecycle
- ClientWindowFactory
-
-
-
-
- JSF:JAVADOC:5548
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.lifecycle
- ClientWindowFactory
-
-
- jakarta.faces.lifecycle.ClientWindowFactory
-
-
-
-
-
- JSF:JAVADOC:5549
- The implementation is responsible for creating the ClientWindow instance for this request. If ClientWindow#CLIENT_WINDOW_MODE_PARAM_NAME is "none" or unspecified, this method must return null. If ClientWindow#CLIENT_WINDOW_MODE_PARAM_NAME is "url" the implementation must return a ClientWindow instance that implements the url-mode semantics described in ClientWindow.
- jakarta.faces.lifecycle
- ClientWindowFactory
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5550
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.lifecycle
- ClientWindowFactory
-
-
-
-
- JSF:JAVADOC:5551
-
- jakarta.faces.lifecycle
- ClientWindowWrapper
-
-
-
-
- JSF:JAVADOC:5552
- If this client window has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.lifecycle
- ClientWindowWrapper
-
-
- jakarta.faces.lifecycle.ClientWindow
-
-
-
-
-
- JSF:JAVADOC:5553
- The implementation is responsible for examining the incoming request and extracting the value that must be returned from the #getId method. If #CLIENT_WINDOW_MODE_PARAM_NAME is "none" this method must not be invoked. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" the implementation must first look for a request parameter under the name given by the value of jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_PARAM. If no value is found, look for a request parameter under the name given by the value of jakarta.faces.render.ResponseStateManager#CLIENT_WINDOW_URL_PARAM. If no value is found, fabricate an id that uniquely identifies this ClientWindow within the scope of the current session. This value must be made available to return from the #getId method. The value must be suitable for inclusion as a hidden field or query parameter. If a value is found, decrypt it using the key from the session and make it available for return from #getId.
- jakarta.faces.lifecycle
- ClientWindowWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5554
- Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first before rendering those URLs. The caller must call #enableClientWindowRenderMode(jakarta.faces.context.FacesContext) from a finally block after rendering the URL. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual ClientWindow instance.
- jakarta.faces.lifecycle
- ClientWindowWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5555
- Components that permit per-use disabling of the appending of the ClientWindow in generated URLs must call this method first after rendering those URLs. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual ClientWindow instance.
- jakarta.faces.lifecycle
- ClientWindowWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5556
- Return a String value that uniquely identifies this ClientWindow within the scope of the current session. See #decode for the specification of how to derive this value.
- jakarta.faces.lifecycle
- ClientWindowWrapper
-
-
-
-
- JSF:JAVADOC:5557
- This method will be called whenever a URL is generated by the runtime where client window related parameters need to be inserted into the URL. This guarantees custom ClientWindow implementations that they will have the opportunity to insert any additional client window specific information in any case where a URL is generated, such as the rendering of hyperlinks. The returned map must be immutable. The default implementation of this method returns the empty map.
- jakarta.faces.lifecycle
- ClientWindowWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5558
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.lifecycle
- ClientWindowWrapper
-
-
-
-
- JSF:JAVADOC:5559
- Methods that append the ClientWindow to generated URLs must call this method to see if they are permitted to do so. If #CLIENT_WINDOW_MODE_PARAM_NAME is "url" without the quotes, all generated URLs that cause a GET request must append the ClientWindow by default. This is specified as a static method because callsites need to access it without having access to an actual ClientWindow instance.
- jakarta.faces.lifecycle
- ClientWindowWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5560
- Register a new PhaseListener instance that is interested in being notified before and after the processing for standard phases of the request processing lifecycle.
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.event.PhaseListener
-
-
-
-
-
- JSF:JAVADOC:5561
- Create or restore the ClientWindow to be used to display the jakarta.faces.component.UIViewRoot for this run through the lifecycle. See the class documentation for ClientWindow for an overview of the feature. If jakarta.faces.context.ExternalContext#getClientWindow() returns null, create a new instance of ClientWindow using the ClientWindowFactory. If the result is non-null, call ClientWindow#decode(jakarta.faces.context.FacesContext) on it. Store the new ClientWindow by calling jakarta.faces.context.ExternalContext#setClientWindow(jakarta.faces.lifecycle.ClientWindow).
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5562
- Return the set of registered PhaseListeners for this Lifecycle instance. If there are no registered listeners, a zero-length array is returned.
- jakarta.faces.lifecycle
- Lifecycle
-
-
-
-
- JSF:JAVADOC:5563
- Deregister an existing PhaseListener instance that is no longer interested in being notified before and after the processing for standard phases of the request processing lifecycle. If no such listener instance has been registered, no action is taken.
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.event.PhaseListener
-
-
-
-
-
- JSF:JAVADOC:5564
- Execute the Render Response phase of the request processing lifecycle, unless the responseComplete() method has been called on the FacesContext instance associated with the current request.
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5565
- if an exception is thrown during the execution of the request processing lifecycle
- jakarta.faces.lifecycle
- Lifecycle
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:5566
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
-
-
- JSF:JAVADOC:5567
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.lifecycle
- LifecycleFactory
-
-
- jakarta.faces.lifecycle.LifecycleFactory
-
-
-
-
-
- JSF:JAVADOC:5568
- Register a new PhaseListener instance that is interested in being notified before and after the processing for standard phases of the request processing lifecycle.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.event.PhaseListener
-
-
-
-
-
- JSF:JAVADOC:5569
- Create or restore the ClientWindow to be used to display the jakarta.faces.component.UIViewRoot for this run through the lifecycle. See the class documentation for ClientWindow for an overview of the feature. If jakarta.faces.context.ExternalContext#getClientWindow() returns null, create a new instance of ClientWindow using the ClientWindowFactory. If the result is non-null, call ClientWindow#decode(jakarta.faces.context.FacesContext) on it. Store the new ClientWindow by calling jakarta.faces.context.ExternalContext#setClientWindow(jakarta.faces.lifecycle.ClientWindow).
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5570
- Execute all of the phases of the request processing lifecycle, up to but not including the Render Response phase, as described in section 2 "Request Processing Lifecycle" of the Jakarta Faces Specification Document, in the specified order. The processing flow can be affected (by the application, by components, or by event listeners) by calls to the renderResponse() or responseComplete() methods of the FacesContext instance associated with the current request.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5571
- if thrown during the execution of the request processing lifecycle
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:5572
- Return the set of registered PhaseListeners for this Lifecycle instance. If there are no registered listeners, a zero-length array is returned.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
-
-
- JSF:JAVADOC:5573
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
-
-
- JSF:JAVADOC:5574
-
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
-
-
- JSF:JAVADOC:5575
- If this lifecycle has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.lifecycle.Lifecycle
-
-
-
-
-
- JSF:JAVADOC:5576
- Deregister an existing PhaseListener instance that is no longer interested in being notified before and after the processing for standard phases of the request processing lifecycle. If no such listener instance has been registered, no action is taken.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.event.PhaseListener
-
-
-
-
-
- JSF:JAVADOC:5577
- Execute the Render Response phase of the request processing lifecycle, unless the responseComplete() method has been called on the FacesContext instance associated with the current request.
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5578
- if an exception is thrown during the execution of the request processing lifecycle
- jakarta.faces.lifecycle
- LifecycleWrapper
-
-
- jakarta.faces.context.FacesContext
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:5579
- Construct a new ArrayDataModel with no specified wrapped data.
- jakarta.faces.model
- ArrayDataModel
-
-
-
-
- JSF:JAVADOC:5580
- Construct a new ArrayDataModel wrapping the specified array.
- jakarta.faces.model
- ArrayDataModel
-
-
- java.lang.Object[]
-
-
-
-
-
- JSF:JAVADOC:5581
- If there is wrappedData available, return the length of the array. If no wrappedData is available, return -1.
- jakarta.faces.model
- ArrayDataModel
-
-
-
-
- JSF:JAVADOC:5582
- If row data is available, return the array element at the index specified by rowIndex. If no wrapped data is available, return null.
- jakarta.faces.model
- ArrayDataModel
-
-
-
-
- JSF:JAVADOC:5583
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- ArrayDataModel
-
-
-
-
- JSF:JAVADOC:5584
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- ArrayDataModel
-
-
-
-
- JSF:JAVADOC:5585
- Return true if there is wrappedData available, and the current value of rowIndex is greater than or equal to zero, and less than the length of the array. Otherwise, return false.
- jakarta.faces.model
- ArrayDataModel
-
-
-
-
- JSF:JAVADOC:5586
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- ArrayDataModel
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:5587
- Set the object representing the data collection wrapped by this DataModel. If the specified data is null, detach this DataModel from any previously wrapped data collection instead. If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is now selected.
- jakarta.faces.model
- ArrayDataModel
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5588
- Construct a new CollectionDataModel with no specified wrapped data.
- jakarta.faces.model
- CollectionDataModel
-
-
-
-
- JSF:JAVADOC:5589
- Construct a new CollectionDataModel wrapping the specified list.
- jakarta.faces.model
- CollectionDataModel
-
-
- java.util.Collection
-
-
-
-
-
- JSF:JAVADOC:5590
- If there is wrappedData available, return the length of the list. If no wrappedData is available, return -1.
- jakarta.faces.model
- CollectionDataModel
-
-
-
-
- JSF:JAVADOC:5591
- If row data is available, return the array element at the index specified by rowIndex. If no wrapped data is available, return null.
- jakarta.faces.model
- CollectionDataModel
-
-
-
-
- JSF:JAVADOC:5592
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- CollectionDataModel
-
-
-
-
- JSF:JAVADOC:5593
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- CollectionDataModel
-
-
-
-
- JSF:JAVADOC:5594
- Return true if there is wrappedData available, and the current value of rowIndex is greater than or equal to zero, and less than the size of the list. Otherwise, return false.
- jakarta.faces.model
- CollectionDataModel
-
-
-
-
- JSF:JAVADOC:5595
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- CollectionDataModel
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:5596
- Set the wrapped data.
- jakarta.faces.model
- CollectionDataModel
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5597
- Add a new DataModelListener to the set interested in notifications from this DataModel.
- jakarta.faces.model
- DataModel
-
-
- jakarta.faces.model.DataModelListener
-
-
-
-
-
- JSF:JAVADOC:5598
-
- jakarta.faces.model
- DataModel
-
-
-
-
- JSF:JAVADOC:5599
- Return the set of DataModelListeners interested in notifications from this DataModel. If there are no such listeners, an empty array is returned.
- jakarta.faces.model
- DataModel
-
-
-
-
- JSF:JAVADOC:5600
- Return the number of rows of data objects represented by this DataModel. If the number of rows is unknown, or no wrappedData is available, return -1.
- jakarta.faces.model
- DataModel
-
-
-
-
- JSF:JAVADOC:5601
- Return an object representing the data for the currently selected row index. If no wrappedData is available, return null.
- jakarta.faces.model
- DataModel
-
-
-
-
- JSF:JAVADOC:5602
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- DataModel
-
-
-
-
- JSF:JAVADOC:5603
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- DataModel
-
-
-
-
- JSF:JAVADOC:5604
- Return a flag indicating whether there is rowData available at the current rowIndex. If no wrappedData is available, return false.
- jakarta.faces.model
- DataModel
-
-
-
-
- JSF:JAVADOC:5605
- Return a read-only Iterator over the row data for this model.
- jakarta.faces.model
- DataModel
-
-
-
-
- JSF:JAVADOC:5606
- Remove an existing DataModelListener from the set interested in notifications from this DataModel.
- jakarta.faces.model
- DataModel
-
-
- jakarta.faces.model.DataModelListener
-
-
-
-
-
- JSF:JAVADOC:5607
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- DataModel
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:5608
- Set the object representing the data collection wrapped by this DataModel. If the specified data is null, detach this DataModel from any previously wrapped data collection instead. If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is now selected.
- jakarta.faces.model
- DataModel
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5609
- Construct an event object that is associated with the specified row index and associated data.
- jakarta.faces.model
- DataModelEvent
-
-
- jakarta.faces.model.DataModel
- int
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5610
- Return the DataModel that fired this event.
- jakarta.faces.model
- DataModelEvent
-
-
-
-
- JSF:JAVADOC:5611
- Return the object representing the data for the specified row index, or null for no associated row data.
- jakarta.faces.model
- DataModelEvent
-
-
-
-
- JSF:JAVADOC:5612
- Return the row index for this event, or -1 for no specific row.
- jakarta.faces.model
- DataModelEvent
-
-
-
-
- JSF:JAVADOC:5613
- Notification that a particular row index, with the associated row data, has been selected for processing.
- jakarta.faces.model
- DataModelListener
-
-
- jakarta.faces.model.DataModelEvent
-
-
-
-
-
- JSF:JAVADOC:5614
- The value of this annotation attribute is taken to be the type that the DataModel that is annotated with this annotation is able to wrap.
- jakarta.faces.model
- FacesDataModel
-
-
-
-
- JSF:JAVADOC:5615
- The value of this annotation attribute is taken to be the type that the DataModel that is annotated with this annotation is able to wrap.
- jakarta.faces.model
- FacesDataModel.Literal
-
-
-
-
- JSF:JAVADOC:5616
-
- jakarta.faces.model
- FacesDataModel.Literal
-
-
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:5617
- Return the number of rows of data objects represented by this DataModel. If the number of rows is unknown, or no wrappedData is available, return -1.
- jakarta.faces.model
- IterableDataModel
-
-
-
-
- JSF:JAVADOC:5618
- Return an object representing the data for the currenty selected row index. If no wrappedData is available, return null.
- jakarta.faces.model
- IterableDataModel
-
-
-
-
- JSF:JAVADOC:5619
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- IterableDataModel
-
-
-
-
- JSF:JAVADOC:5620
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- IterableDataModel
-
-
-
-
- JSF:JAVADOC:5621
- Return a flag indicating whether there is rowData available at the current rowIndex. If no wrappedData is available, return false.
- jakarta.faces.model
- IterableDataModel
-
-
-
-
- JSF:JAVADOC:5622
- Construct a new IterableDataModel with no specified wrapped data.
- jakarta.faces.model
- IterableDataModel
-
-
-
-
- JSF:JAVADOC:5623
- Construct a new IterableDataModel wrapping the specified iterable.
- jakarta.faces.model
- IterableDataModel
-
-
- java.lang.Iterable
-
-
-
-
-
- JSF:JAVADOC:5624
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- IterableDataModel
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:5625
- Set the object representing the data collection wrapped by this DataModel. If the specified data is null, detach this DataModel from any previously wrapped data collection instead. If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is now selected.
- jakarta.faces.model
- IterableDataModel
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5626
- If there is wrappedData available, return the length of the list. If no wrappedData is available, return -1.
- jakarta.faces.model
- ListDataModel
-
-
-
-
- JSF:JAVADOC:5627
- If row data is available, return the array element at the index specified by rowIndex. If no wrapped data is available, return null.
- jakarta.faces.model
- ListDataModel
-
-
-
-
- JSF:JAVADOC:5628
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- ListDataModel
-
-
-
-
- JSF:JAVADOC:5629
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- ListDataModel
-
-
-
-
- JSF:JAVADOC:5630
- Return true if there is wrappedData available, and the current value of rowIndex is greater than or equal to zero, and less than the size of the list. Otherwise, return false.
- jakarta.faces.model
- ListDataModel
-
-
-
-
- JSF:JAVADOC:5631
- Construct a new ListDataModel with no specified wrapped data.
- jakarta.faces.model
- ListDataModel
-
-
-
-
- JSF:JAVADOC:5632
- Construct a new ListDataModel wrapping the specified list.
- jakarta.faces.model
- ListDataModel
-
-
- java.util.List
-
-
-
-
-
- JSF:JAVADOC:5633
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- ListDataModel
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:5634
- Set the object representing the data collection wrapped by this DataModel. If the specified data is null, detach this DataModel from any previously wrapped data collection instead. If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is now selected.
- jakarta.faces.model
- ListDataModel
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5635
- Return -1, since ResultSet does not provide a standard way to determine the number of available rows without scrolling through the entire ResultSet, and this can be very expensive if the number of rows is large.
- jakarta.faces.model
- ResultSetDataModel
-
-
-
-
- JSF:JAVADOC:5636
- If row data is available, return a Map representing the values of the columns for the row specified by rowIndex, keyed by the corresponding column names. If no wrapped data is available, return null. If a non-null Map is returned, its behavior must correspond to the contract for a mutable Map as described in the JavaDocs for AbstractMap, with the following exceptions and specialized behavior: The Map, and any supporting objects it returns, must perform all column name comparisons in a case-insensitive manner. This case-insensitivity must be implemented using a case-insensitive Comparator, such as String.CASE_INSENSITIVE_ORDER. The following methods must throw UnsupportedOperationException: clear(), remove(). The entrySet() method must return a Set that has the following behavior: Throw UnsupportedOperationException for any attempt to add or remove entries from the Set, either directly or indirectly through an Iterator returned by the Set. Updates to the value of an entry in this set must write through to the corresponding column value in the underlying ResultSet. The keySet() method must return a Set that throws UnsupportedOperationException on any attempt to add or remove keys, either directly or through an Iterator returned by the Set. The put() method must throw IllegalArgumentException if a key value for which containsKey() returns false is specified. However, if a key already present in the Map is specified, the specified value must write through to the corresponding column value in the underlying ResultSet. The values() method must return a Collection that throws UnsupportedOperationException on any attempt to add or remove values, either directly or through an Iterator returned by the Collection.
- jakarta.faces.model
- ResultSetDataModel
-
-
-
-
- JSF:JAVADOC:5637
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- ResultSetDataModel
-
-
-
-
- JSF:JAVADOC:5638
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- ResultSetDataModel
-
-
-
-
- JSF:JAVADOC:5639
- Return true if there is wrappedData available, and the result of calling absolute() on the underlying ResultSet, passing the current value of rowIndex plus one (to account for the fact that ResultSet uses one-relative indexing), returns true. Otherwise, return false.
- jakarta.faces.model
- ResultSetDataModel
-
-
-
-
- JSF:JAVADOC:5640
- Construct a new ResultSetDataModel with no specified wrapped data.
- jakarta.faces.model
- ResultSetDataModel
-
-
-
-
- JSF:JAVADOC:5641
- Construct a new ResultSetDataModel wrapping the specified ResultSet.
- jakarta.faces.model
- ResultSetDataModel
-
-
- java.sql.ResultSet
-
-
-
-
-
- JSF:JAVADOC:5642
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- ResultSetDataModel
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:5643
- Set the object representing the data collection wrapped by this DataModel. If the specified data is null, detach this DataModel from any previously wrapped data collection instead. If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is now selected.
- jakarta.faces.model
- ResultSetDataModel
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5644
- If there is wrappedData available, return 1. If no wrappedData is available, return -1.
- jakarta.faces.model
- ScalarDataModel
-
-
-
-
- JSF:JAVADOC:5645
- If wrapped data is available, return the wrapped data instance. Otherwise, return null.
- jakarta.faces.model
- ScalarDataModel
-
-
-
-
- JSF:JAVADOC:5646
- Return the zero-relative index of the currently selected row. If we are not currently positioned on a row, or no wrappedData is available, return -1.
- jakarta.faces.model
- ScalarDataModel
-
-
-
-
- JSF:JAVADOC:5647
- Return the object representing the data wrapped by this DataModel, if any.
- jakarta.faces.model
- ScalarDataModel
-
-
-
-
- JSF:JAVADOC:5648
- Return true if there is wrappedData available, and the current value of rowIndex is zero. Otherwise, return false.
- jakarta.faces.model
- ScalarDataModel
-
-
-
-
- JSF:JAVADOC:5649
- Construct a new ScalarDataModel with no specified wrapped data.
- jakarta.faces.model
- ScalarDataModel
-
-
-
-
- JSF:JAVADOC:5650
- Construct a new ScalarDataModel wrapping the specified scalar object.
- jakarta.faces.model
- ScalarDataModel
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5651
- Set the zero-relative index of the currently selected row, or -1 to indicate that we are not positioned on a row. It is possible to set the row index at a value for which the underlying data collection does not contain any row data. Therefore, callers may use the isRowAvailable() method to detect whether row data will be available for use by the getRowData() method. If there is no wrappedData available when this method is called, the specified rowIndex is stored (and may be retrieved by a subsequent call to getRowData()), but no event is sent. Otherwise, if the currently selected row index is changed by this call, a DataModelEvent will be sent to the rowSelected() method of all registered DataModelListeners.
- jakarta.faces.model
- ScalarDataModel
-
-
- int
-
-
-
-
-
- JSF:JAVADOC:5652
- Set the object representing the data collection wrapped by this DataModel. If the specified data is null, detach this DataModel from any previously wrapped data collection instead. If data is non-null, the currently selected row index must be set to zero, and a DataModelEvent must be sent to the rowSelected() method of all registered DataModelListeners indicating that this row is now selected.
- jakarta.faces.model
- ScalarDataModel
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5653
- Return a description of this item, for use in development tools.
- jakarta.faces.model
- SelectItem
-
-
-
-
- JSF:JAVADOC:5654
- Return the label of this item, to be rendered visibly for the user.
- jakarta.faces.model
- SelectItem
-
-
-
-
- JSF:JAVADOC:5655
- Return the value of this item, to be delivered to the model if this item is selected by the user.
- jakarta.faces.model
- SelectItem
-
-
-
-
- JSF:JAVADOC:5656
- Return the disabled flag for this item, which should modify the rendered output to make this item unavailable for selection by the user if set to true.
- jakarta.faces.model
- SelectItem
-
-
-
-
- JSF:JAVADOC:5657
- If and only if this returns true, the code that renders this select item must escape the label using escaping syntax appropriate to the content type being rendered.
- jakarta.faces.model
- SelectItem
-
-
-
-
- JSF:JAVADOC:5658
- Return the value of the noSelectionOption property. If the value of this property is true, the system interprets the option represented by this SelectItem instance as representing a "no selection" option. See UISelectOne#validateValue and UISelectMany#validateValue for usage.
- jakarta.faces.model
- SelectItem
-
-
-
-
- JSF:JAVADOC:5659
- Construct a SelectItem with no initialized property values.
- jakarta.faces.model
- SelectItem
-
-
-
-
- JSF:JAVADOC:5660
- Construct a SelectItem with the specified value. The label property will be set to the value (converted to a String, if necessary), the description property will be set to null, the disabled property will be set to false, and the escape property will be set to ( true.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5661
- Construct a SelectItem with the specified value and label. The description property will be set to null, the disabled property will be set to false, and the escape property will be set to true.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5662
- Construct a SelectItem instance with the specified value, label and description. This disabled property will be set to false, and the escape property will be set to true.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5663
- Construct a SelectItem instance with the specified property values. The escape property will be set to true.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
- java.lang.String
- java.lang.String
- boolean
-
-
-
-
-
- JSF:JAVADOC:5664
- Construct a SelectItem instance with the specified property values.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
- java.lang.String
- java.lang.String
- boolean
- boolean
-
-
-
-
-
- JSF:JAVADOC:5665
- Construct a SelectItem instance with the specified property values.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
- java.lang.String
- java.lang.String
- boolean
- boolean
- boolean
-
-
-
-
-
- JSF:JAVADOC:5666
- Set the description of this item, for use in development tools.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5667
- Set the disabled flag for this item, which should modify the rendered output to make this item unavailable for selection by the user if set to true.
- jakarta.faces.model
- SelectItem
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5668
- Set the value of the escape property. See #isEscape.
- jakarta.faces.model
- SelectItem
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5669
- Set the label of this item, to be rendered visibly for the user.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5670
- Set the value of the noSelectionOption property.
- jakarta.faces.model
- SelectItem
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5671
- Set the value of this item, to be delivered to the model if this item is selected by this user.
- jakarta.faces.model
- SelectItem
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5672
- Return the set of subordinate SelectItems for this group.
- jakarta.faces.model
- SelectItemGroup
-
-
-
-
- JSF:JAVADOC:5673
- Construct a SelectItemGroup with no initialized property values.
- jakarta.faces.model
- SelectItemGroup
-
-
-
-
- JSF:JAVADOC:5674
- Construct a SelectItemGroup with the specified label and no associated selectItems. The value property will be set to a zero-length String, the description property will be set to null, and the disabled property will be set to false.
- jakarta.faces.model
- SelectItemGroup
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5675
- Construct a SelectItemGroup with the specified properties. The value property will be set to a zero-length String.
- jakarta.faces.model
- SelectItemGroup
-
-
- java.lang.String
- java.lang.String
- boolean
- jakarta.faces.model.SelectItem[]
-
-
-
-
-
- JSF:JAVADOC:5676
- Construct a SelectItemGroup with the specified properties. The value property will be set to a zero-length String.
- jakarta.faces.model
- SelectItemGroup
-
-
- java.lang.String
- java.lang.String
- boolean
- java.util.Collection
-
-
-
-
-
- JSF:JAVADOC:5677
- Set the set of subordinate SelectItems for this group as a variable array.
- jakarta.faces.model
- SelectItemGroup
-
-
- jakarta.faces.model.SelectItem[]
-
-
-
-
-
- JSF:JAVADOC:5678
- Set the set of subordinate SelectItems for this group as a collection.
- jakarta.faces.model
- SelectItemGroup
-
-
- java.util.Collection
-
-
-
-
-
- JSF:JAVADOC:5679
- (Optional) The name of the push channel. If not specified the name of the injection target field will be used.
- jakarta.faces.push
- Push
-
-
-
-
- JSF:JAVADOC:5680
- (Optional) The name of the push channel. If not specified the name of the injection target field will be used.
- jakarta.faces.push
- Push.Literal
-
-
-
-
- JSF:JAVADOC:5681
-
- jakarta.faces.push
- Push.Literal
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5682
- Send given message object to the push socket channel as identified by #64;Push. The message object will be encoded as JSON and be available as first argument of the JavaScript listener function declared in .
- jakarta.faces.push
- PushContext
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5683
- Send given message object to the push socket channel as identified by #64;Push, targeted to the given user as identified by . The message object will be encoded as JSON and be available as first argument of the JavaScript listener function declared in .
- jakarta.faces.push
- PushContext
-
-
- java.lang.Object
- java.io.Serializable
-
-
-
-
-
- JSF:JAVADOC:5684
- Send given message object to the push socket channel as identified by #64;Push, targeted to the given users as identified by . The message object will be encoded as JSON and be available as first argument of the JavaScript listener function declared in .
- jakarta.faces.push
- PushContext
-
-
- java.lang.Object
- java.util.Collection
-
-
-
-
-
- JSF:JAVADOC:5685
-
- jakarta.faces.render
- ClientBehaviorRenderer
-
-
-
-
- JSF:JAVADOC:5686
- Decode any new state of this ClientBehavior from the request contained in the specified FacesContext. During decoding, events may be enqueued for later processing (by event listeners who have registered an interest), by calling queueEvent().
- jakarta.faces.render
- ClientBehaviorRenderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- jakarta.faces.component.behavior.ClientBehavior
-
-
-
-
-
- JSF:JAVADOC:5687
- Return the script that implements this ClientBehavior's client-side logic. The default implementation returns null. ClientBehaviorRenderer.getScript() implementations are allowed to return null to indicate that no script is required for this particular getScript() call. For example, a ClientBehaviorRenderer implementation may return null if the associated ClientBehavior is disabled.
- jakarta.faces.render
- ClientBehaviorRenderer
-
-
- jakarta.faces.component.behavior.ClientBehaviorContext
- jakarta.faces.component.behavior.ClientBehavior
-
-
-
-
-
- JSF:JAVADOC:5688
- Within the RenderKit, the value of this annotation attribute is taken to be the renderer-type
- jakarta.faces.render
- FacesBehaviorRenderer
-
-
-
-
- JSF:JAVADOC:5689
- The value of this annotation attribute is taken to be the render-kit-id in which an instance of this class of Renderer must be installed.
- jakarta.faces.render
- FacesBehaviorRenderer
-
-
-
-
- JSF:JAVADOC:5690
- The value of this annotation attribute is taken to be the component-family which, in combination with #rendererType can be used to obtain a reference to an instance of this Renderer by calling jakarta.faces.render.RenderKit#getRenderer(java.lang.String, java.lang.String).
- jakarta.faces.render
- FacesRenderer
-
-
-
-
- JSF:JAVADOC:5691
- The value of this annotation attribute is taken to be the renderer-type which, in combination with #componentFamily can be used to obtain a reference to an instance of this Renderer by calling jakarta.faces.render.RenderKit#getRenderer(java.lang.String, java.lang.String).
- jakarta.faces.render
- FacesRenderer
-
-
-
-
- JSF:JAVADOC:5692
- The value of this annotation attribute is taken to be the render-kit-id in which an instance of this class of Renderer must be installed.
- jakarta.faces.render
- FacesRenderer
-
-
-
-
- JSF:JAVADOC:5693
- Convert the component generated client id to a form suitable for transmission to the client. The default implementation returns the argument clientId unchanged.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5694
- Attempt to convert previously stored state information into an object of the type required for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one). If conversion is successful, the new value should be returned from this method; if not, a ConverterException should be thrown.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5695
- if the submitted value cannot be converted successfully.
- jakarta.faces.render
- Renderer
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
-
- JSF:JAVADOC:5696
- Return a flag indicating whether this Renderer is responsible for rendering the children the component it is asked to render. The default implementation returns false.
- jakarta.faces.render
- Renderer
-
-
-
-
- JSF:JAVADOC:5697
- Convert the component generated client id to a form suitable for transmission to the client. The default implementation returns the argument clientId unchanged.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5698
- Decode any new state of the specified UIComponent from the request contained in the specified FacesContext, and store that state on the UIComponent. During decoding, events may be enqueued for later processing (by event listeners that have registered an interest), by calling queueEvent() on the associated UIComponent.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5699
- Render the beginning specified UIComponent to the output stream or writer associated with the response we are creating. If the conversion attempted in a previous call to getConvertedValue() for this component failed, the state information saved during execution of decode() should be used to reproduce the incorrect input.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5700
- if an input/output error occurs while rendering
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5701
- Render the child components of this UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered. This method will only be called if the rendersChildren property of this component is true.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5702
- if an input/output error occurs while rendering
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5703
- Render the ending of the current state of the specified UIComponent, following the rules described for encodeBegin() to acquire the appropriate value to be rendered.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5704
- if an input/output error occurs while rendering
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5705
- Attempt to convert previously stored state information into an object of the type required for this component (optionally using the registered jakarta.faces.convert.Converter for this component, if there is one). If conversion is successful, the new value should be returned from this method; if not, a ConverterException should be thrown.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5706
- if the submitted value cannot be converted successfully.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.convert.ConverterException
-
-
-
-
- JSF:JAVADOC:5707
- Return a flag indicating whether this Renderer is responsible for rendering the children the component it is asked to render. The default implementation returns false.
- jakarta.faces.render
- RendererWrapper
-
-
-
-
- JSF:JAVADOC:5708
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.render
- RendererWrapper
-
-
-
-
- JSF:JAVADOC:5709
-
- jakarta.faces.render
- RendererWrapper
-
-
-
-
- JSF:JAVADOC:5710
- If this renderer has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.render
- RendererWrapper
-
-
- jakarta.faces.render.Renderer
-
-
-
-
-
- JSF:JAVADOC:5711
- Register the specified ClientBehaviorRenderer instance, associated with the specified component type, to the set of ClientBehaviorRenderers registered with this RenderKit, replacing any previously registered ClientBehaviorRenderer for this type.
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
- jakarta.faces.render.ClientBehaviorRenderer
-
-
-
-
-
- JSF:JAVADOC:5712
- Register the specified Renderer instance, associated with the specified component family and rendererType, to the set of Renderers registered with this RenderKit, replacing any previously registered Renderer for this combination of identifiers.
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
- java.lang.String
- jakarta.faces.render.Renderer
-
-
-
-
-
- JSF:JAVADOC:5713
- Use the provided OutputStream to create a new ResponseStream instance.
- jakarta.faces.render
- RenderKit
-
-
- java.io.OutputStream
-
-
-
-
-
- JSF:JAVADOC:5714
- Use the provided Writer to create a new ResponseWriter instance for the specified (optional) content type, and character encoding. Implementors are advised to consult the getCharacterEncoding() method of class jakarta.servlet.ServletResponse to get the required value for the characterEncoding for this method. Since the Writer for this response will already have been obtained (due to it ultimately being passed to this method), we know that the character encoding cannot change during the rendering of the response.
- jakarta.faces.render
- RenderKit
-
-
- java.io.Writer
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5715
- Return the ClientBehaviorRenderer instance most recently registered for the specified type, if any; otherwise, return null.
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5716
- Return an Iterator over the ClientBehaviorRenderer types.
- jakarta.faces.render
- RenderKit
-
-
-
-
- JSF:JAVADOC:5717
- Return an Iterator over the component-family entries supported by this RenderKit instance. The default implementation of this method returns an empty Iterator
- jakarta.faces.render
- RenderKit
-
-
-
-
- JSF:JAVADOC:5718
- Return the Renderer instance most recently registered for the specified component family and rendererType, if any; otherwise, return null.
- jakarta.faces.render
- RenderKit
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5719
- Return an instance of ResponseStateManager to handle rendering technology specific state management decisions.
- jakarta.faces.render
- RenderKit
-
-
-
-
- JSF:JAVADOC:5720
- Return a RenderKit instance for the specified render kit identifier, possibly customized based on dynamic characteristics of the specified FacesContext, if non-null. If there is no registered RenderKit for the specified identifier, return null. The set of available render kit identifiers is available via the getRenderKitIds() method.
- jakarta.faces.render
- RenderKitFactory
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5721
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.render
- RenderKitFactory
-
-
-
-
- JSF:JAVADOC:5722
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.render
- RenderKitFactory
-
-
- jakarta.faces.render.RenderKitFactory
-
-
-
-
-
- JSF:JAVADOC:5723
- The default behavior of this method is to call RenderKit#addClientBehaviorRenderer(String, ClientBehaviorRenderer) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.lang.String
- jakarta.faces.render.ClientBehaviorRenderer
-
-
-
-
-
- JSF:JAVADOC:5724
- The default behavior of this method is to call RenderKit#addRenderer(String, String, Renderer) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.lang.String
- java.lang.String
- jakarta.faces.render.Renderer
-
-
-
-
-
- JSF:JAVADOC:5725
- The default behavior of this method is to call RenderKit#createResponseStream(java.io.OutputStream) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.io.OutputStream
-
-
-
-
-
- JSF:JAVADOC:5726
- The default behavior of this method is to call RenderKit#createResponseWriter(java.io.Writer, String, String) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.io.Writer
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5727
- The default behavior of this method is to call RenderKit#getClientBehaviorRenderer(String) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5728
- The default behavior of this method is to call jakarta.faces.render.RenderKit#getClientBehaviorRendererTypes() on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
-
-
- JSF:JAVADOC:5729
- The default behavior of this method is to call jakarta.faces.render.RenderKit#getComponentFamilies() on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
-
-
- JSF:JAVADOC:5730
- The default behavior of this method is to call RenderKit#getRenderer(String, String) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5731
- The default behavior of this method is to call RenderKit#getRendererTypes(String) on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5732
- The default behavior of this method is to call jakarta.faces.render.RenderKit#getResponseStateManager() on the wrapped RenderKit object.
- jakarta.faces.render
- RenderKitWrapper
-
-
-
-
- JSF:JAVADOC:5733
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.render
- RenderKitWrapper
-
-
-
-
- JSF:JAVADOC:5734
-
- jakarta.faces.render
- RenderKitWrapper
-
-
-
-
- JSF:JAVADOC:5735
- If this render kit has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.render
- RenderKitWrapper
-
-
- jakarta.faces.render.RenderKit
-
-
-
-
-
- JSF:JAVADOC:5736
- Compliant implementations must return a cryptographically strong token for use to protect views in this application. For backwards compatibility with earlier revisions, a default implementation is provided that simply returns null.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5737
- The implementation must inspect the current request and return an Object representing the tree structure and component state passed in to a previous invocation of #writeState(jakarta.faces.context.FacesContext,java.lang.Object). If the state saving method for this application is jakarta.faces.application.StateManager#STATE_SAVING_METHOD_CLIENT, writeState() will have encrypted the state in a tamper evident manner. If the state fails to decrypt, or decrypts but indicates evidence of tampering, a jakarta.faces.application.ProtectedViewException must be thrown.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5738
- Return the specified state as a String without any markup related to the rendering technology supported by this ResponseStateManager.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5739
- Return true if the current request is a postback. This method is leveraged from the Restore View Phase to determine if jakarta.faces.application.ViewHandler#restoreView or jakarta.faces.application.ViewHandler#createView should be called. The default implementation must return true if this ResponseStateManager instance wrote out state on a previous request to which this request is a postback, false otherwise. The implementation of this method for the Standard HTML RenderKit must consult the jakarta.faces.context.ExternalContext's requestParameterMap and return true if and only if there is a key equal to the value of the symbolic constant #VIEW_STATE_PARAM. For backwards compatibility with implementations of ResponseStateManager prior to Jakarta Faces 1.2, a default implementation is provided that consults the jakarta.faces.context.ExternalContext's requestParameterMap and return true if its size is greater than 0.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5740
- If the preceding call to #writeState(jakarta.faces.context.FacesContext, java.lang.Object) was stateless, return true. If the preceding call to writeState() was stateful, return false. Otherwise throw IllegalStateException. To preserve backward compatibility with custom implementations that may have extended from an earlier version of this class, an implementation is provided that returns false. A compliant implementation must override this method to take the specified action.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5741
-
- jakarta.faces.render
- ResponseStateManager
-
-
-
-
- JSF:JAVADOC:5742
- Take the argument state and write it into the output using the current ResponseWriter, which must be correctly positioned already. Call FacesContext#getViewRoot(). If jakarta.faces.component.UIComponent#isTransient() returns true, take implementation specific action so that the following call to #isStateless returns true and return. Otherwise, proceed as follows. If the state is to be written out to hidden fields, the implementation must take care to make all necessary character replacements to make the Strings suitable for inclusion as an HTTP request paramater. If the state saving method for this application is jakarta.faces.application.StateManager#STATE_SAVING_METHOD_CLIENT, the implementation must encrypt the state to be saved to the client in a tamper evident manner. If the state saving method for this application is jakarta.faces.application.StateManager#STATE_SAVING_METHOD_SERVER, and the current request is an Ajax request jakarta.faces.context.PartialViewContext#isAjaxRequest returns true), use the current view state identifier if it is available (do not generate a new identifier). Write out the render kit identifier associated with this ResponseStateManager implementation with the name as the value of the String constant ResponseStateManager.RENDER_KIT_ID_PARAM. The render kit identifier must not be written if: it is the default render kit identifier as returned by jakarta.faces.application.Application#getDefaultRenderKitId() or the render kit identfier is the value of jakarta.faces.render.RenderKitFactory.HTML_BASIC_RENDER_KIT and jakarta.faces.application.Application#getDefaultRenderKitId() returns null. The jakarta.faces.lifecycle.ClientWindow must be written using these steps. Call jakarta.faces.context.ExternalContext#getClientWindow. If the result is null, take no further action regarding the ClientWindow. If the result is non-null, write a hidden field whose name is #CLIENT_WINDOW_PARAM and whose id is jakarta.faces.ClientWindow where is the currently configured UINamingContainer.getSeparatorChar(). is the return from UIViewRoot.getContainerClientId() on the view from whence this state originated. is a number that must be unique within this view, but must not be included in the view state. The value of the field is implementation dependent but must uniquely identify this window within the user's session.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5743
- if the state argument is not an array of length 2.
- jakarta.faces.render
- ResponseStateManager
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5744
-
- jakarta.faces.validator
- BeanValidator
-
-
-
-
- JSF:JAVADOC:5745
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.validator
- BeanValidator
-
-
-
-
- JSF:JAVADOC:5746
- Return the validation groups passed to the Validation API when checking constraints. If the validationGroupsArray attribute is omitted or empty, the validation groups will be inherited from the branch defaults, or if there are no branch defaults, the jakarta.validation.groups.Default group will be used.
- jakarta.faces.validator
- BeanValidator
-
-
-
-
- JSF:JAVADOC:5747
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.validator
- BeanValidator
-
-
-
-
- JSF:JAVADOC:5748
-
- jakarta.faces.validator
- BeanValidator
-
-
-
-
- JSF:JAVADOC:5749
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.validator
- BeanValidator
-
-
-
-
- JSF:JAVADOC:5750
-
- jakarta.faces.validator
- BeanValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5751
-
- jakarta.faces.validator
- BeanValidator
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5752
-
- jakarta.faces.validator
- BeanValidator
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5753
- A comma-separated list of validation groups which are used to filter which validations get checked by this validator. If the validationGroupsArray attribute is omitted or is empty, the validation groups will be inherited from the branch defaults or, if there are no branch defaults, the jakarta.validation.groups.Default group will be used.
- jakarta.faces.validator
- BeanValidator
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5754
- Verify that the value is valid according to the Bean Validation constraints. Obtain a ValidatorFactory instance by calling jakarta.validation.Validation#buildDefaultValidatorFactory. Let validationGroupsArray be a Class [] representing validator groups set on the component by the tag handler for this validator. The first search component terminates the search for the validation groups value. If no such value is found use the class name of jakarta.validation.groups.Default as the value of the validation groups. Let valueExpression be the return from calling UIComponent#getValueExpression on the argument component, passing the literal string #8220;value #8221; (without the quotes) as an argument. If this application is running in an environment with Jakarta Expression Language, obtain the ValueReference from valueExpression and let valueBaseClase be the return from calling ValueReference.getBase() and valueProperty be the return from calling ValueReference.getProperty(). If an earlier version of Jakarta Expression Language is present, use the appropriate methods to inspect valueExpression and derive values for valueBaseClass and valueProperty. If no ValueReference can be obtained, take no action and return. If ValueReference.getBase() return null, take no action and return. Obtain the ValidatorContext from the ValidatorFactory. Decorate the MessageInterpolator returned from ValidatorFactory#getMessageInterpolator with one that leverages the Locale returned from jakarta.faces.component.UIViewRoot#getLocale, and store it in the ValidatorContext using ValidatorContext#messageInterpolator. Obtain the jakarta.validation.Validator instance from the validatorContext. Obtain a jakarta.validation.BeanDescriptor from the jakarta.validation.Validator. If hasConstraints() on the BeanDescriptor returns false, take no action and return. Otherwise proceed. Call jakarta.validation.Validator#validateValue, passing valueBaseClass, valueProperty, the value argument, and validatorGroupsArray as arguments. If the returned Set lt;ConstraintViolation gt; is non-empty, for each element in the Set, create a FacesMessage where the summary and detail are the return from calling ConstraintViolation#getMessage. Capture all such FacesMessage instances into a Collection and pass them to ValidatorException#ValidatorException(java.util.Collection). If the #ENABLE_VALIDATE_WHOLE_BEAN_PARAM_NAME application parameter is enabled and this Validator instance has validation groups other than or in addition to the Default group, record the fact that this field failed validation so that any component later in the tree is able to skip class-level validation for the bean for which this particular field is a property. Regardless of whether or not #ENABLE_VALIDATE_WHOLE_BEAN_PARAM_NAME is set, throw the new exception. If the returned Set is empty, the #ENABLE_VALIDATE_WHOLE_BEAN_PARAM_NAME application parameter is enabled and this Validator instance has validation groups other than or in addition to the Default group, record the fact that this field passed validation so that any component later in the tree is able to allow class-level validation for the bean for which this particular field is a property.
- jakarta.faces.validator
- BeanValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5755
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
-
- JSF:JAVADOC:5756
- Overrides the default equals method to take the minimum and maximum into account when comparing DoubleRangeValidator instances.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5757
- Overrides the default hash code method to take the minimum and maximum into account when generating the hash code.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
-
- JSF:JAVADOC:5758
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
-
- JSF:JAVADOC:5759
-
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
-
- JSF:JAVADOC:5760
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.validator
- DoubleRangeValidator
-
-
-
-
- JSF:JAVADOC:5761
-
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5762
-
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5763
-
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5764
-
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5765
- {@inheritDoc}
- jakarta.faces.validator
- DoubleRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
-
- JSF:JAVADOC:5766
- If true, the validator id for this annotation is added to the list of default validators by a call to jakarta.faces.application.Application#addDefaultValidatorId.
- jakarta.faces.validator
- FacesValidator
-
-
-
-
- JSF:JAVADOC:5767
- The value of this annotation attribute is taken to be an indicator that flags whether or not the given converter is a CDI managed converter.
- jakarta.faces.validator
- FacesValidator
-
-
-
-
- JSF:JAVADOC:5768
- The value of this annotation attribute is taken to be the validator-id with which instances of this class of component can be instantiated by calling jakarta.faces.application.Application#createValidator(java.lang.String). If no value is specified, or the value is null, the value is taken to be the return of calling getSimpleName on the class to which this annotation is attached and lowercasing the first character. If more than one validator with this derived name is found, the results are undefined.
- jakarta.faces.validator
- FacesValidator
-
-
-
-
- JSF:JAVADOC:5769
- If true, the validator id for this annotation is added to the list of default validators by a call to jakarta.faces.application.Application#addDefaultValidatorId.
- jakarta.faces.validator
- FacesValidator.Literal
-
-
-
-
- JSF:JAVADOC:5770
- The value of this annotation attribute is taken to be an indicator that flags whether or not the given converter is a CDI managed converter.
- jakarta.faces.validator
- FacesValidator.Literal
-
-
-
-
- JSF:JAVADOC:5771
-
- jakarta.faces.validator
- FacesValidator.Literal
-
-
- java.lang.String
- boolean
- boolean
-
-
-
-
-
- JSF:JAVADOC:5772
- The value of this annotation attribute is taken to be the validator-id with which instances of this class of component can be instantiated by calling jakarta.faces.application.Application#createValidator(java.lang.String). If no value is specified, or the value is null, the value is taken to be the return of calling getSimpleName on the class to which this annotation is attached and lowercasing the first character. If more than one validator with this derived name is found, the results are undefined.
- jakarta.faces.validator
- FacesValidator.Literal
-
-
-
-
- JSF:JAVADOC:5773
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.validator
- LengthValidator
-
-
-
-
- JSF:JAVADOC:5774
-
- jakarta.faces.validator
- LengthValidator
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5775
-
- jakarta.faces.validator
- LengthValidator
-
-
-
-
- JSF:JAVADOC:5776
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.validator
- LengthValidator
-
-
-
-
- JSF:JAVADOC:5777
-
- jakarta.faces.validator
- LengthValidator
-
-
-
-
- JSF:JAVADOC:5778
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.validator
- LengthValidator
-
-
-
-
- JSF:JAVADOC:5779
-
- jakarta.faces.validator
- LengthValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5780
-
- jakarta.faces.validator
- LengthValidator
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5781
-
- jakarta.faces.validator
- LengthValidator
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5782
-
- jakarta.faces.validator
- LengthValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5783
- {@inheritDoc}
- jakarta.faces.validator
- LengthValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
-
- JSF:JAVADOC:5784
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
-
- JSF:JAVADOC:5785
-
- jakarta.faces.validator
- LongRangeValidator
-
-
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5786
-
- jakarta.faces.validator
- LongRangeValidator
-
-
-
-
- JSF:JAVADOC:5787
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.validator
- LongRangeValidator
-
-
-
-
- JSF:JAVADOC:5788
-
- jakarta.faces.validator
- LongRangeValidator
-
-
-
-
- JSF:JAVADOC:5789
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.validator
- LongRangeValidator
-
-
-
-
- JSF:JAVADOC:5790
-
- jakarta.faces.validator
- LongRangeValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5791
-
- jakarta.faces.validator
- LongRangeValidator
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5792
-
- jakarta.faces.validator
- LongRangeValidator
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5793
-
- jakarta.faces.validator
- LongRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5794
- {@inheritDoc}
- jakarta.faces.validator
- LongRangeValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
-
- JSF:JAVADOC:5795
- If true, the Object implementing this interface must not participate in state saving or restoring.
- jakarta.faces.validator
- MethodExpressionValidator
-
-
-
-
- JSF:JAVADOC:5796
-
- jakarta.faces.validator
- MethodExpressionValidator
-
-
-
-
- JSF:JAVADOC:5797
- Construct a Validator that contains a MethodExpression.
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- jakarta.el.MethodExpression
-
-
-
-
-
- JSF:JAVADOC:5798
- Perform any processing required to restore the state from the entries in the state Object. If the class that implements this interface has references to instances that also implement StateHolder (such as a UIComponent with event handlers, validators, etc.) this method must call the #restoreState method on all those instances as well. If the state argument is null, take no action and return.
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5799
- Gets the state of the instance as a Serializable Object. If the class that implements this interface has references to instances that implement StateHolder (such as a UIComponent with event handlers, validators, etc.) this method must call the #saveState method on all those instances as well. This method must not save the state of children and facets. That is done via the jakarta.faces.application.StateManager This method must not alter the state of the implementing object. In other words, after executing this code: Object state = component.saveState(facesContext); component should be the same as before executing it. The return from this method must be Serializable
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5800
- Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5801
-
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5802
- {@inheritDoc}
- jakarta.faces.validator
- MethodExpressionValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
-
- JSF:JAVADOC:5803
- Reset the PartialStateHolder to a non-delta tracking state.
- jakarta.faces.validator
- RegexValidator
-
-
-
-
- JSF:JAVADOC:5804
- Return the ValueExpression that yields the regular expression pattern when evaluated.
- jakarta.faces.validator
- RegexValidator
-
-
-
-
- JSF:JAVADOC:5805
- Return true if delta state changes are being tracked, otherwise false
- jakarta.faces.validator
- RegexValidator
-
-
-
-
- JSF:JAVADOC:5806
-
- jakarta.faces.validator
- RegexValidator
-
-
-
-
- JSF:JAVADOC:5807
- The runtime must ensure that the #markInitialState method is called on each instance of this interface in the view at the appropriate time to indicate the component is in its initial state. The implementor of the interface must ensure that #initialStateMarked returns true from the time markInitialState() is called until #clearInitialState is called, after which time initialStateMarked() must return false. Also, during the time that the instance returns true from initialStateMarked(), the implementation must return only the state that has changed in its implementation of StateHolder#saveState.
- jakarta.faces.validator
- RegexValidator
-
-
-
-
- JSF:JAVADOC:5808
-
- jakarta.faces.validator
- RegexValidator
-
-
-
-
- JSF:JAVADOC:5809
-
- jakarta.faces.validator
- RegexValidator
-
-
- jakarta.faces.context.FacesContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5810
-
- jakarta.faces.validator
- RegexValidator
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5811
- The Regular Expression property to validate against.
- jakarta.faces.validator
- RegexValidator
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5812
-
- jakarta.faces.validator
- RegexValidator
-
-
- boolean
-
-
-
-
-
- JSF:JAVADOC:5813
- Validate a String against a regular expression pattern. The full regex pattern must be matched in order to pass the validation.
- jakarta.faces.validator
- RegexValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5814
- Verify that the converted object value is not null.
- jakarta.faces.validator
- RequiredValidator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5815
- Perform the correctness checks implemented by this Validator against the specified UIComponent. If any violations are found, a ValidatorException will be thrown containing the jakarta.faces.application.FacesMessage describing the failure. For a validator to be fully compliant with Version 2 and later of the specification, it must not fail validation on null or empty values unless it is specifically intended to address null or empty values. An application-wide is provided to allow validators designed for Jakarta Faces 1.2 to work with Jakarta Faces 2 and later. The jakarta.faces.VALIDATE_EMPTY_FIELDS must be set to false to enable this backwards compatibility behavior.
- jakarta.faces.validator
- Validator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5816
- if validation fails
- jakarta.faces.validator
- Validator
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.lang.Object
-
- jakarta.faces.validator.ValidatorException
-
-
-
-
- JSF:JAVADOC:5817
- Returns the FacesMessage associated with the exception. If this instance was created with a constructor that takes Collection, this method returns the first message in the Collection
- jakarta.faces.validator
- ValidatorException
-
-
-
-
- JSF:JAVADOC:5818
- If this instance was created with a constructor that takes Collection, this method returns the passed collection, otherwise this method returns null.
- jakarta.faces.validator
- ValidatorException
-
-
-
-
- JSF:JAVADOC:5819
- Construct a new exception with the specified message and no root cause.
- jakarta.faces.validator
- ValidatorException
-
-
- jakarta.faces.application.FacesMessage
-
-
-
-
-
- JSF:JAVADOC:5820
- Allow this one exception to contain multiple messages.
- jakarta.faces.validator
- ValidatorException
-
-
- java.util.Collection
-
-
-
-
-
- JSF:JAVADOC:5821
- Construct a new exception with the specified detail message and root cause.
- jakarta.faces.validator
- ValidatorException
-
-
- jakarta.faces.application.FacesMessage
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:5822
- Allow this one exception to contain multiple messages, while passing on the root cause to the superclass
- jakarta.faces.validator
- ValidatorException
-
-
- java.util.Collection
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:5823
- Take the argument parent and apply this attached object to it. The action taken varies with class that implements one of the subinterfaces of this interface.
- jakarta.faces.view
- AttachedObjectHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5824
- Return the value of the "for" attribute specified by the page author on the tag for this AttachedObjectHandler.
- jakarta.faces.view
- AttachedObjectHandler
-
-
-
-
- JSF:JAVADOC:5825
- Returns the name by which this attached object target is exposed to the page author.
- jakarta.faces.view
- AttachedObjectTarget
-
-
-
-
- JSF:JAVADOC:5826
- Returns the List that this AttachedObjectTarget exposes. Each attached object exposed by the composite component author may point at multiple UIComponent instances within the composite component. This method is used by the jakarta.faces.view.ViewDeclarationLanguage#retargetAttachedObjects method to take the appropriate action on the attached object.
- jakarta.faces.view
- AttachedObjectTarget
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5827
- Return the client event name to which this behavior applies.
- jakarta.faces.view
- BehaviorHolderAttachedObjectHandler
-
-
-
-
- JSF:JAVADOC:5828
- Returns whether the event set on this target is the default event, e.g. as set by a tag via the "default" attribute.
- jakarta.faces.view
- BehaviorHolderAttachedObjectTarget
-
-
-
-
- JSF:JAVADOC:5829
- Return the estimated character column.
- jakarta.faces.view
- Location
-
-
-
-
- JSF:JAVADOC:5830
- Return the line number in the page for this location.
- jakarta.faces.view
- Location
-
-
-
-
- JSF:JAVADOC:5831
- Return the file path to the page represented by this location.
- jakarta.faces.view
- Location
-
-
-
-
- JSF:JAVADOC:5832
-
- jakarta.faces.view
- Location
-
-
- java.lang.String
- int
- int
-
-
-
-
-
- JSF:JAVADOC:5833
-
- jakarta.faces.view
- Location
-
-
-
-
- JSF:JAVADOC:5834
- Restore the state of the view with information in the request. The default implementation must perform the following algorithm or its semantic equivalent. As in the case of restore view on an initial request, the view metadata must be restored and properly handled as well. Obtain the ViewMetadata for the current viewId, and from that call ViewMetadata#createMetadataView. Store the resultant UIViewRoot in the FacesContext. Obtain the state of the UIViewRoot from the state Object returned from jakarta.faces.render.ResponseStateManager#getState and pass that to UIViewRoot#restoreViewScopeState. Build the view from the markup. For all components in the view that do not have an explicitly assigned id in the markup, the values of those ids must be the same as on an initial request for this view. This view will not contain any components programmatically added during the previous lifecycle run, and it will contain components that were programmatically deleted on the previous lifecycle run. Both of these cases must be handled. Call jakarta.faces.render.ResponseStateManager#getState to obtain the data structure returned from the previous call to #saveView. Visit the tree using jakarta.faces.component.UIComponent#visitTree. For each node, call jakarta.faces.component.UIComponent#restoreState, passing the state saved corresponding to the current client id. Ensure that any programmatically deleted components are removed. Ensure any programmatically added components are added. The implementation must ensure that the jakarta.faces.component.UIComponent#restoreState method is called for each node in the tree, except for those that were programmatically deleted on the previous run through the lifecycle.
- jakarta.faces.view
- StateManagementStrategy
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5835
- Return the state of the current view in an Object that implements Serializable and can be passed to java.io.ObjectOutputStream.writeObject() without causing a java.io.NotSerializableException to be thrown. The default implementation must perform the following algorithm or its semantic equivalent, explicitly performing all the steps listed here. If the UIViewRoot of the current view is marked transient, return null immediately. Traverse the view and verify that each of the client ids are unique. Throw IllegalStateException if more than one client id are the same. Visit the tree using jakarta.faces.component.UIComponent#visitTree. For each node, call jakarta.faces.component.UIComponent#saveState, saving the returned Object in a way such that it can be restored given only its client id. Special care must be taken to handle the case of components that were added or deleted programmatically during this lifecycle traversal, rather than by the VDL. The implementation must ensure that the jakarta.faces.component.UIComponent#saveState method is called for each node in the tree. The data structure used to save the state obtained by executing the above algorithm must be Serializable, and all of the elements within the data structure must also be Serializable.
- jakarta.faces.view
- StateManagementStrategy
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5836
-
- jakarta.faces.view
- StateManagementStrategy
-
-
-
-
- JSF:JAVADOC:5837
- Take any actions specific to this VDL implementation to cause the argument UIViewRoot which must have been created via a call to #createView, to be populated with children. The Facelets implementation must insure that markup comprising the view must be executed, with the jakarta.faces.component.UIComponent instances in the view being encountered in the same depth-first order as in other lifecycle methods defined on UIComponent, and added to the view (but not rendered) during the traversal. The runtime must guarantee that the view must be fully populated before any of the following happen. The jakarta.faces.event.PhaseListener#afterPhase method of any PhaseListeners attached to the application is called The jakarta.faces.component.UIViewRoot phase listener installed via jakarta.faces.component.UIViewRoot#setAfterPhaseListener or jakarta.faces.component.UIViewRoot#addPhaseListener are called. If the root is already populated with children, the view must still be re-built, but care must be taken to ensure that the existing components are correctly paired up with their VDL counterparts in the VDL page. Also, any system events that would normally be generated during the adding or removing of components from the view must be temporarily disabled during the creation of the view and then re-enabled when the view has been built.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5838
- if view cannot be built for any reason
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5839
- Return the list of resource library contracts that will be made available for use in the view specified by the argument viewId. If no match is found, return an empty list. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation. For backward compatibility with prior implementations, an implementation is provided that returns null, but any implementation compliant with the version of the specification in which this method was introduced must implement it as specified in section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5840
- Create a component given a ViewDeclarationLanguage specific tag library URI and tag name. The runtime must support this method operating for the Facelets VDL. Other kinds of ViewDeclarationLanguage may be supported but are not required to be supported. For backward compatibility with decorated ViewDeclrationLanguage implementations that do not override this method, a default implementation is provided that returns null. However, any implementation that is compliant with the version of the specification in which this method was introduced must implement this method.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:5841
- Create a UIViewRoot from the VDL contained in the artifact referenced by the argument viewId. See section 7.7.2"Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5842
- Return a reference to the component metadata for the composite component represented by the argument componentResource, or null if the metadata cannot be found. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation. Jakarta Server Pages implementations must throw UnsupportedOperationException.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
-
-
-
-
- JSF:JAVADOC:5843
- Returns a non-null String that can be used to identify this view declaration language. The default implementation returns the fully qualified class name of the view declaration language implementation. Subclasses may override to provide a more meaningful id.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
-
-
- JSF:JAVADOC:5844
- Take implementation specific action to discover a Resource given the argument componentResource. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation. Jakarta Server Pages implementations must throw UnsupportedOperationException.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
-
-
-
-
- JSF:JAVADOC:5845
- For implementations that want to control the implementation of state saving and restoring, the StateManagementStrategy allows them to do so. Returning null indicates that the implementation wishes the runtime to handle the state saving and restoring. Implementations that provide the VDL for Facelets for Jakarta Faces 2.0 and later must return non-null from this method.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5846
- Return a reference to the view metadata for the view represented by the argument viewId, or null if the metadata cannot be found. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation. Facelets implementation must return non-null.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5847
- Return a Stream possibly lazily populated by walking the view tree rooted at a given initial path. The view tree is traversed breadth-first, the elements in the stream are logical view ids. This method works as if invoking it were equivalent to evaluating the expression: getViewResources(facesContext, start, Integer.MAX_VALUE, options) Put differently, it visits all levels of the resource tree.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.application.ViewVisitOption[]
-
-
-
-
-
- JSF:JAVADOC:5848
- Return a Stream possibly lazily populated by walking the view tree rooted at a given initial path. The view tree is traversed breadth-first, the elements in the stream are logical view ids. The maxDepth parameter is the maximum depth of directory levels to visit beyond the initial path, which is always visited. The value is relative to the root (/), not to the given initial path. E.g. given maxDepth = 3 and initial path /foo/, visiting will proceed up to /foo/bar/, where / counts as depth 1, /foo/ as depth 2 and /foo/bar/ as depth 3. A value lower or equal to the depth of the initial path means that only the initial path is visited. A value of Integer#MAX_VALUE MAX_VALUE may be used to indicate that all levels should be visited.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- int
- jakarta.faces.application.ViewVisitOption[]
-
-
-
-
-
- JSF:JAVADOC:5849
- Render a view rooted at argumentview. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5850
- if the view cannot be rendered for any reason
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5851
- Restore a UIViewRoot from a previously created view. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5852
- Assuming the component metadata for argument topLevelComponent has been made available by an earlier call to ViewDeclarationLanguage#getComponentMetadata, leverage the component metadata for the purpose of re-targeting attached objects from the top level composite component to the individual AttachedObjectTarget instances inside the composite component. This method must be called by the ViewDeclarationLanguage implementation when creating the UIComponent tree when a composite component usage is encountered. An algorithm semantically equivalent to the following must be implemented. Obtain the metadata for the composite component. Currently this entails getting the value of the UIComponent#BEANINFO_KEY component attribute, which will be an instance of BeanInfo. If the metadata cannot be found, log an error message and return. Get the BeanDescriptor from the BeanInfo. Get the value of the AttachedObjectTarget#ATTACHED_OBJECT_TARGETS_KEY from the BeanDescriptor's getValue() method. This will be a List lt;AttachedObjectTarget gt;. Let this be targetList. For each curHandler entry in the argument handlers Let forAttributeValue be the return from AttachedObjectHandler#getFor. For each curTarget entry in targetList, the first of the following items that causes a match will take this action: For each UIComponent in the list returned from curTarget.getTargets(), call curHandler.applyAttachedObject(), passing the FacesContext and the UIComponent. and cause this inner loop to terminate. If curHandler is an instance of ActionSource2AttachedObjectHandler and curTarget is an instance of ActionSource2AttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a match. If curHandler is an instance of EditableValueHolderAttachedObjectHandler and curTarget is an instance of EditableValueHolderAttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a match. If curHandler is an instance of ValueHolderAttachedObjectHandler and curTarget is an instance of ValueHolderAttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a match. If curHandler is an instance of BehaviorHolderAttachedObjectHandler and curTarget is an instance of BehaviorHolderAttachedObjectTarget, and either of the following conditions are true, curHandler.getEventName() is not null and is equal to curTargetName. curHandler.getEventName() is null and curTarget.isDefaultEvent() is true. consider it a match. The implementation must support retargeting attached objects from the top level compsite component to targets that are composite and non-composite components. An implementation is provided that will throw UnsupportedOperationException. A Faces implementation compliant with version 2.0 and beyond of the specification must override this method.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.util.List
-
-
-
-
-
- JSF:JAVADOC:5853
- Assuming the component metadata for argument topLevelComponent has been made available by an earlier call to ViewDeclarationLanguage#getComponentMetadata, leverage the component metadata for the purpose of re-targeting any method expressions from the top level component to the appropriate inner component. For each attribute that is a MethodExpression (as indicated by the presence of a "method-signature" attribute and the absence of a "type" attribute), the following action must be taken: Get the value of the targets attribute. If the value is a ValueExpression evaluate it. If there is no targets attribute, let the name of the metadata element be the evaluated value of the targets attribute. Interpret targets as a space (not tab) separated list of ids. For each entry in the list: Find the inner component of the topLevelComponent with the id equal to the current list entry. For discussion, this component is called target. If not found, log and error and continue to the next attribute. For discussion the declared name of the attribute is called name. In the attributes map of the topLevelComponent, look up the entry under the key name. Assume the result is a ValueExpression. For discussion, this is attributeValueExpression. If not found, log an error and continue to the next attribute. If name is equal to the string "action", or "actionListener" without the quotes, assume target is an jakarta.faces.component.ActionSource2. If name is equal to the string "validator", or "valueChangeListener" without the quotes, assume target is an jakarta.faces.component.EditableValueHolder. Call getExpressionString() on the attributeValueExpression and use that string to create a MethodExpression of the appropriate signature for name. If name is not equal to any of the previously listed strings, call getExpressionString() on the attributeValueExpression and use that string to create a MethodExpression where the signature is created based on the value of the "method-signature" attribute of the tag. Let the resultant MethodExpression be called attributeMethodExpression for discussion. If name is equal to the string "action" without the quotes, call jakarta.faces.component.ActionSource2#setActionExpression on target, passing attributeMethodExpression. If name is equal to the string "actionListener" without the quotes, call jakarta.faces.component.ActionSource#addActionListener on target, passing attributeMethodExpression wrapped in a jakarta.faces.event.MethodExpressionActionListener. If name is equal to the string "validator" without the quotes, call jakarta.faces.component.EditableValueHolder#addValidator on target, passing attributeMethodExpression wrapped in a jakarta.faces.validator.MethodExpressionValidator. If name is equal to the string "valueChangeListener" without the quotes, call jakarta.faces.component.EditableValueHolder#addValueChangeListener on target, passing attributeMethodExpression wrapped in a jakarta.faces.event.MethodExpressionValueChangeListener. Otherwise, assume that the MethodExpression should be placed in the components attribute set. The runtme must create the MethodExpression instance based on the value of the "method-signature" attribute. An implementation is provided that will throw UnsupportedOperationException. A Faces implementation compliant with version 2.0 and beyond of the specification must override this method.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5854
-
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
-
-
- JSF:JAVADOC:5855
- Tests whether a physical resource corresponding to the specified viewId exists. The default implementation uses jakarta.faces.application.ResourceHandler#createViewResource to locate the physical resource.
- jakarta.faces.view
- ViewDeclarationLanguage
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5856
- Gets the list of all view declaration languages supported by this runtime.
- jakarta.faces.view
- ViewDeclarationLanguageFactory
-
-
-
-
- JSF:JAVADOC:5857
- Return the ViewDeclarationLanguage instance suitable for handling the VDL contained in the page referenced by the argument viewId. The default implementation must return a valid ViewDeclarationLanguage instance for views written in either Jakarta Server Pages, Faces XML Views, or Facelets for Jakarta Faces 2.
- jakarta.faces.view
- ViewDeclarationLanguageFactory
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5858
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.view
- ViewDeclarationLanguageFactory
-
-
-
-
- JSF:JAVADOC:5859
-
- jakarta.faces.view
- ViewDeclarationLanguageFactory
-
-
-
-
- JSF:JAVADOC:5860
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.view
- ViewDeclarationLanguageFactory
-
-
- jakarta.faces.view.ViewDeclarationLanguageFactory
-
-
-
-
-
- JSF:JAVADOC:5861
- Take any actions specific to this VDL implementation to cause the argument UIViewRoot which must have been created via a call to #createView, to be populated with children. The Facelets implementation must insure that markup comprising the view must be executed, with the jakarta.faces.component.UIComponent instances in the view being encountered in the same depth-first order as in other lifecycle methods defined on UIComponent, and added to the view (but not rendered) during the traversal. The runtime must guarantee that the view must be fully populated before any of the following happen. The jakarta.faces.event.PhaseListener#afterPhase method of any PhaseListeners attached to the application is called The jakarta.faces.component.UIViewRoot phase listener installed via jakarta.faces.component.UIViewRoot#setAfterPhaseListener or jakarta.faces.component.UIViewRoot#addPhaseListener are called. If the root is already populated with children, the view must still be re-built, but care must be taken to ensure that the existing components are correctly paired up with their VDL counterparts in the VDL page. Also, any system events that would normally be generated during the adding or removing of components from the view must be temporarily disabled during the creation of the view and then re-enabled when the view has been built.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5862
- if view cannot be built for any reason
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5863
- Return the list of resource library contracts that will be made available for use in the view specified by the argument viewId. If no match is found, return an empty list. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation. For backward compatibility with prior implementations, an implementation is provided that returns null, but any implementation compliant with the version of the specification in which this method was introduced must implement it as specified in section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5864
- Create a component given a ViewDeclarationLanguage specific tag library URI and tag name. The runtime must support this method operating for the Facelets VDL. Other kinds of ViewDeclarationLanguage may be supported but are not required to be supported. For backward compatibility with decorated ViewDeclrationLanguage implementations that do not override this method, a default implementation is provided that returns null. However, any implementation that is compliant with the version of the specification in which this method was introduced must implement this method.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- java.lang.String
- java.util.Map
-
-
-
-
-
- JSF:JAVADOC:5865
- Create a UIViewRoot from the VDL contained in the artifact referenced by the argument viewId. See section 7.7.2"Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5866
- Return a reference to the component metadata for the composite component represented by the argument componentResource, or null if the metadata cannot be found. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation. Jakarta Server Pages implementations must throw UnsupportedOperationException.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
-
-
-
-
- JSF:JAVADOC:5867
- Returns a non-null String that can be used to identify this view declaration language. The default implementation returns the fully qualified class name of the view declaration language implementation. Subclasses may override to provide a more meaningful id.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
-
-
- JSF:JAVADOC:5868
- Take implementation specific action to discover a Resource given the argument componentResource. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation. Jakarta Server Pages implementations must throw UnsupportedOperationException.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.application.Resource
-
-
-
-
-
- JSF:JAVADOC:5869
- For implementations that want to control the implementation of state saving and restoring, the StateManagementStrategy allows them to do so. Returning null indicates that the implementation wishes the runtime to handle the state saving and restoring. Implementations that provide the VDL for Facelets for Jakarta Faces 2.0 and later must return non-null from this method.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5870
- Return a reference to the view metadata for the view represented by the argument viewId, or null if the metadata cannot be found. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation. Facelets implementation must return non-null.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5871
- Return a Stream possibly lazily populated by walking the view tree rooted at a given initial path. The view tree is traversed breadth-first, the elements in the stream are logical view ids. This method works as if invoking it were equivalent to evaluating the expression: getViewResources(facesContext, start, Integer.MAX_VALUE, options) Put differently, it visits all levels of the resource tree.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- jakarta.faces.application.ViewVisitOption[]
-
-
-
-
-
- JSF:JAVADOC:5872
- Return a Stream possibly lazily populated by walking the view tree rooted at a given initial path. The view tree is traversed breadth-first, the elements in the stream are logical view ids. The maxDepth parameter is the maximum depth of directory levels to visit beyond the initial path, which is always visited. The value is relative to the root (/), not to the given initial path. E.g. given maxDepth = 3 and initial path /foo/, visiting will proceed up to /foo/bar/, where / counts as depth 1, /foo/ as depth 2 and /foo/bar/ as depth 3. A value lower or equal to the depth of the initial path means that only the initial path is visited. A value of Integer#MAX_VALUE MAX_VALUE may be used to indicate that all levels should be visited.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
- int
- jakarta.faces.application.ViewVisitOption[]
-
-
-
-
-
- JSF:JAVADOC:5873
- A class that implements this interface uses this method to return an instance of the class being wrapped.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
-
-
- JSF:JAVADOC:5874
- Render a view rooted at argumentview. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5875
- if the view cannot be rendered for any reason
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIViewRoot
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5876
- Restore a UIViewRoot from a previously created view. See section 7.7.2 "Default ViewDeclarationLanguage Implementation" of the Jakarta Faces Specification Document for the specification of the default implementation.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5877
- Assuming the component metadata for argument topLevelComponent has been made available by an earlier call to ViewDeclarationLanguage#getComponentMetadata, leverage the component metadata for the purpose of re-targeting attached objects from the top level composite component to the individual AttachedObjectTarget instances inside the composite component. This method must be called by the ViewDeclarationLanguage implementation when creating the UIComponent tree when a composite component usage is encountered. An algorithm semantically equivalent to the following must be implemented. Obtain the metadata for the composite component. Currently this entails getting the value of the UIComponent#BEANINFO_KEY component attribute, which will be an instance of BeanInfo. If the metadata cannot be found, log an error message and return. Get the BeanDescriptor from the BeanInfo. Get the value of the AttachedObjectTarget#ATTACHED_OBJECT_TARGETS_KEY from the BeanDescriptor's getValue() method. This will be a List lt;AttachedObjectTarget gt;. Let this be targetList. For each curHandler entry in the argument handlers Let forAttributeValue be the return from AttachedObjectHandler#getFor. For each curTarget entry in targetList, the first of the following items that causes a match will take this action: For each UIComponent in the list returned from curTarget.getTargets(), call curHandler.applyAttachedObject(), passing the FacesContext and the UIComponent. and cause this inner loop to terminate. If curHandler is an instance of ActionSource2AttachedObjectHandler and curTarget is an instance of ActionSource2AttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a match. If curHandler is an instance of EditableValueHolderAttachedObjectHandler and curTarget is an instance of EditableValueHolderAttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a match. If curHandler is an instance of ValueHolderAttachedObjectHandler and curTarget is an instance of ValueHolderAttachedObjectTarget, and curTarget.getName() is equal to curTargetName, consider it a match. If curHandler is an instance of BehaviorHolderAttachedObjectHandler and curTarget is an instance of BehaviorHolderAttachedObjectTarget, and either of the following conditions are true, curHandler.getEventName() is not null and is equal to curTargetName. curHandler.getEventName() is null and curTarget.isDefaultEvent() is true. consider it a match. The implementation must support retargeting attached objects from the top level compsite component to targets that are composite and non-composite components. An implementation is provided that will throw UnsupportedOperationException. A Faces implementation compliant with version 2.0 and beyond of the specification must override this method.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
- java.util.List
-
-
-
-
-
- JSF:JAVADOC:5878
- Assuming the component metadata for argument topLevelComponent has been made available by an earlier call to ViewDeclarationLanguage#getComponentMetadata, leverage the component metadata for the purpose of re-targeting any method expressions from the top level component to the appropriate inner component. For each attribute that is a MethodExpression (as indicated by the presence of a "method-signature" attribute and the absence of a "type" attribute), the following action must be taken: Get the value of the targets attribute. If the value is a ValueExpression evaluate it. If there is no targets attribute, let the name of the metadata element be the evaluated value of the targets attribute. Interpret targets as a space (not tab) separated list of ids. For each entry in the list: Find the inner component of the topLevelComponent with the id equal to the current list entry. For discussion, this component is called target. If not found, log and error and continue to the next attribute. For discussion the declared name of the attribute is called name. In the attributes map of the topLevelComponent, look up the entry under the key name. Assume the result is a ValueExpression. For discussion, this is attributeValueExpression. If not found, log an error and continue to the next attribute. If name is equal to the string "action", or "actionListener" without the quotes, assume target is an jakarta.faces.component.ActionSource2. If name is equal to the string "validator", or "valueChangeListener" without the quotes, assume target is an jakarta.faces.component.EditableValueHolder. Call getExpressionString() on the attributeValueExpression and use that string to create a MethodExpression of the appropriate signature for name. If name is not equal to any of the previously listed strings, call getExpressionString() on the attributeValueExpression and use that string to create a MethodExpression where the signature is created based on the value of the "method-signature" attribute of the tag. Let the resultant MethodExpression be called attributeMethodExpression for discussion. If name is equal to the string "action" without the quotes, call jakarta.faces.component.ActionSource2#setActionExpression on target, passing attributeMethodExpression. If name is equal to the string "actionListener" without the quotes, call jakarta.faces.component.ActionSource#addActionListener on target, passing attributeMethodExpression wrapped in a jakarta.faces.event.MethodExpressionActionListener. If name is equal to the string "validator" without the quotes, call jakarta.faces.component.EditableValueHolder#addValidator on target, passing attributeMethodExpression wrapped in a jakarta.faces.validator.MethodExpressionValidator. If name is equal to the string "valueChangeListener" without the quotes, call jakarta.faces.component.EditableValueHolder#addValueChangeListener on target, passing attributeMethodExpression wrapped in a jakarta.faces.event.MethodExpressionValueChangeListener. Otherwise, assume that the MethodExpression should be placed in the components attribute set. The runtme must create the MethodExpression instance based on the value of the "method-signature" attribute. An implementation is provided that will throw UnsupportedOperationException. A Faces implementation compliant with version 2.0 and beyond of the specification must override this method.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5879
-
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
-
-
- JSF:JAVADOC:5880
- If this view declaration language has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.view.ViewDeclarationLanguage
-
-
-
-
-
- JSF:JAVADOC:5881
- Tests whether a physical resource corresponding to the specified viewId exists. The default implementation uses jakarta.faces.application.ResourceHandler#createViewResource to locate the physical resource.
- jakarta.faces.view
- ViewDeclarationLanguageWrapper
-
-
- jakarta.faces.context.FacesContext
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5882
- Creates a new UIViewRoot containing only view parameter metadata. The processing of building this UIViewRoot with metadata should not cause any events to be published to the application. The implementation must call FacesContext#setProcessingEvents passing false as the argument, at the beginning of the method, and pass true to the same method at the end. The implementation must ensure that this happens regardless of ant exceptions that may be thrown. Take note a compliant implementation has to ensure that: the new UIViewRoot must be set as the FacesContext's viewRoot before applying the tag handlers, restoring the old FacesContext in a finally block. The contents of the current UIViewRoot's ViewMap must be copied to the ViewMap of the new UIViewRoot before applying the tag handlers. The UIImportConstants must be processed after applying the tag handlers.
- jakarta.faces.view
- ViewMetadata
-
-
- jakarta.faces.context.FacesContext
-
-
-
-
-
- JSF:JAVADOC:5883
- Utility method to extract view metadata from the provided UIViewRoot.
- jakarta.faces.view
- ViewMetadata
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5884
- Utility method to extract view metadata from the provided UIViewRoot.
- jakarta.faces.view
- ViewMetadata
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5885
- Get the view id
- jakarta.faces.view
- ViewMetadata
-
-
-
-
- JSF:JAVADOC:5886
- Utility method to extract view metadata from the provided UIViewRoot.
- jakarta.faces.view
- ViewMetadata
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5887
- Utility method to determine if the the provided UIViewRoot has metadata. The default implementation will return true if the provided UIViewRoot has a facet named UIViewRoot#METADATA_FACET_NAME and that facet has children. It will return false otherwise.
- jakarta.faces.view
- ViewMetadata
-
-
- jakarta.faces.component.UIViewRoot
-
-
-
-
-
- JSF:JAVADOC:5888
-
- jakarta.faces.view
- ViewMetadata
-
-
-
-
- JSF:JAVADOC:5889
- Returns the resolved literal String value of the attribute name after evaluating EL.
- jakarta.faces.view.facelets
- AttributeHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
-
- JSF:JAVADOC:5890
- Return the value of the behavior-id.
- jakarta.faces.view.facelets
- BehaviorConfig
-
-
-
-
- JSF:JAVADOC:5891
- Constructs the handler using the Id from the config.
- jakarta.faces.view.facelets
- BehaviorHandler
-
-
- jakarta.faces.view.facelets.BehaviorConfig
-
-
-
-
-
- JSF:JAVADOC:5892
- Returns the behavior Id obtained from the passed-in config.
- jakarta.faces.view.facelets
- BehaviorHandler
-
-
-
-
- JSF:JAVADOC:5893
- Returns the event that is set as the "event" attribute on the behavior tag.
- jakarta.faces.view.facelets
- BehaviorHandler
-
-
-
-
- JSF:JAVADOC:5894
- Return the client event name to which this behavior applies.
- jakarta.faces.view.facelets
- BehaviorHandler
-
-
-
-
- JSF:JAVADOC:5895
- ComponentType to pass to the Application. Cannot be null.
- jakarta.faces.view.facelets
- ComponentConfig
-
-
-
-
- JSF:JAVADOC:5896
- RendererType to set on created UIComponent instances.
- jakarta.faces.view.facelets
- ComponentConfig
-
-
-
-
- JSF:JAVADOC:5897
- Leverage the TagHandlerDelegateFactory provided by the implementation to create an instance of TagHandlerDelegate designed for use with ComponentHandler.
- jakarta.faces.view.facelets
- ComponentHandler
-
-
- jakarta.faces.view.facelets.ComponentConfig
-
-
-
-
-
- JSF:JAVADOC:5898
- Subclasses that wish to take over the task of instantiating the UIComponent instance corresponding to this tag handler my override this method to do so. A null return from this method will cause the TagHandlerDelegate for instance to create the component instead.
- jakarta.faces.view.facelets
- ComponentHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
-
- JSF:JAVADOC:5899
- Returns the component configuration, a component-type/renderer-type pair.
- jakarta.faces.view.facelets
- ComponentHandler
-
-
-
-
- JSF:JAVADOC:5900
- Determine if the passed component is not null and if it's new to the tree. This operation can be used for determining if attributes should be wired to the component.
- jakarta.faces.view.facelets
- ComponentHandler
-
-
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5901
- This method is guaranteed to be called after the component has been created but before it has been populated with children.
- jakarta.faces.view.facelets
- ComponentHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5902
- This method is guaranteed to be called after the component has been populated with children.
- jakarta.faces.view.facelets
- ComponentHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5903
- Calls apply on any child handlers.
- jakarta.faces.view.facelets
- CompositeFaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5904
-
- jakarta.faces.view.facelets
- CompositeFaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5905
- Creates a new FaceletHandler out of the given inner FaceletHandlers.
- jakarta.faces.view.facelets
- CompositeFaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletHandler[]
-
-
-
-
-
- JSF:JAVADOC:5906
- Returns the array of child handlers contained by this handler.
- jakarta.faces.view.facelets
- CompositeFaceletHandler
-
-
-
-
- JSF:JAVADOC:5907
- Return the converter id to be used in instantiating this converter
- jakarta.faces.view.facelets
- ConverterConfig
-
-
-
-
- JSF:JAVADOC:5908
- Creates a new ConverterHandler using the given config.
- jakarta.faces.view.facelets
- ConverterHandler
-
-
- jakarta.faces.view.facelets.ConverterConfig
-
-
-
-
-
- JSF:JAVADOC:5909
- Returns the converter Id. The converter Id is taken from the attribute "converterId"
- jakarta.faces.view.facelets
- ConverterHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
-
- JSF:JAVADOC:5910
- The default implementation simply calls through to TagHandlerDelegate#apply.
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5911
-
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5912
- Invoke the apply() method on this instance's TagHandler#nextHandler.
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5913
- if thrown by the next FaceletHandler
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5914
- if thrown by the next FaceletHandler
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- jakarta.faces.FacesException
-
-
-
-
- JSF:JAVADOC:5915
- if thrown by the next FaceletHandler
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- jakarta.el.ELException
-
-
-
-
- JSF:JAVADOC:5916
- Instantiates this handler with the given config.
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.TagConfig
-
-
-
-
-
- JSF:JAVADOC:5917
- Return the "binding" attribute.
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
-
-
- JSF:JAVADOC:5918
- Return a reference to the Tag instance corresponding to this TagHandler instance.
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
-
-
- JSF:JAVADOC:5919
- Return the named attribute from the tag attributes.
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5920
- Return the tag id from the TagConfig used to instantiate this handler.
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
-
-
- JSF:JAVADOC:5921
- Returns the value of the "disabled" attribute.
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
-
- JSF:JAVADOC:5922
- Invoking/extending this method will cause the results of the created MetaRuleset to auto-wire state to the passed instance.
- jakarta.faces.view.facelets
- DelegatingMetaTagHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5923
- The passed UIComponent parent will be populated/restored in accordance with the section 10.2.1 "Specification of the ViewDeclarationLanguage Implementation for Facelets for Jakarta Faces" in the Jakarta Faces Specification Document.
- jakarta.faces.view.facelets
- Facelet
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5924
- if unable to load a file necessary to apply this Facelet
- jakarta.faces.view.facelets
- Facelet
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5925
- The passed UIComponent parent will be populated/restored in accordance with the section 10.2.1 "Specification of the ViewDeclarationLanguage Implementation for Facelets for Jakarta Faces" in the Jakarta Faces Specification Document with only the meta data as per the f:metadata tag.
- jakarta.faces.view.facelets
- Facelet
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5926
- if unable to load a file necessary to apply this Facelet
- jakarta.faces.view.facelets
- Facelet
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5927
-
- jakarta.faces.view.facelets
- Facelet
-
-
-
-
- JSF:JAVADOC:5928
-
- jakarta.faces.view.facelets
- FaceletCache
-
-
-
-
- JSF:JAVADOC:5929
- Returns a cached Facelet instance. If no instance is available, it will be created using the Facelet MemberFactory and stored in the cache.
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
-
-
-
-
- JSF:JAVADOC:5930
- if unable to load a file necessary to respond to service this method.
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5931
- Returns a cached View Metadata Facelet instance. If no instance is available, it will be created using the View Metadata Facelet MemberFactory and stored in the cache.
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
-
-
-
-
- JSF:JAVADOC:5932
- if unable to load a file necessary to respond to service this method.
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5933
- Determines whether a cached Facelet instance exists for this URL. Returns true if a cached instance exists, false otherwise
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
-
-
-
-
- JSF:JAVADOC:5934
- Determines whether a cached View Metadata Facelet instance exists for this URL. Returns true if a cached instance exists, false otherwise
- jakarta.faces.view.facelets
- FaceletCache
-
-
- java.net.URL
-
-
-
-
-
- JSF:JAVADOC:5935
- This must be called by the runtime at startup time, before any requests are serviced, and allows for the FaceletCache implementation to provide the MemberFactory instances that will be used to create instances of Facelets and View Metadata Facelets.
- jakarta.faces.view.facelets
- FaceletCache
-
-
- jakarta.faces.view.facelets.FaceletCache.FaceletCache.MemberFactory
- jakarta.faces.view.facelets.FaceletCache.FaceletCache.MemberFactory
-
-
-
-
-
- JSF:JAVADOC:5936
- Create a Facelet or View Metadata Facelet (depending on the type of factory this is) for the argument URL.
- jakarta.faces.view.facelets
- FaceletCache.MemberFactory
-
-
- java.net.URL
-
-
-
-
-
- JSF:JAVADOC:5937
- if unable to load a file necessary to respond to service this method.
- jakarta.faces.view.facelets
- FaceletCache.MemberFactory
-
-
- java.net.URL
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5938
-
- jakarta.faces.view.facelets
- FaceletCacheFactory
-
-
-
-
- JSF:JAVADOC:5939
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.view.facelets
- FaceletCacheFactory
-
-
- jakarta.faces.view.facelets.FaceletCacheFactory
-
-
-
-
-
- JSF:JAVADOC:5940
- Returns the facility by which the Facelets jakarta.faces.view.ViewDeclarationLanguage creates and caches instances of Facelets.
- jakarta.faces.view.facelets
- FaceletCacheFactory
-
-
-
-
- JSF:JAVADOC:5941
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.view.facelets
- FaceletCacheFactory
-
-
-
-
- JSF:JAVADOC:5942
-
- jakarta.faces.view.facelets
- FaceletContext
-
-
-
-
- JSF:JAVADOC:5943
- Generate a unique ID for the passed String
- jakarta.faces.view.facelets
- FaceletContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5944
- Return an attribute set by a previous call to #setAttribute. Support method which is backed by the current VariableMapper
- jakarta.faces.view.facelets
- FaceletContext
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5945
- The ExpressionFactory to use within the Facelet this context is executing upon. Must not be null.
- jakarta.faces.view.facelets
- FaceletContext
-
-
-
-
- JSF:JAVADOC:5946
- The current FacesContext bound to this "request". Must not be null.
- jakarta.faces.view.facelets
- FaceletContext
-
-
-
-
- JSF:JAVADOC:5947
- Include another Facelet defined at some path, relative to the executing context, not the current Facelet (same as include directive in Jakarta Server Pages)
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5948
- if unable to load relativePath
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.lang.String
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5949
- Include another Facelet defined at some path, absolute to this ClassLoader/OS
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.net.URL
-
-
-
-
-
- JSF:JAVADOC:5950
- if unable to load relativePath
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.faces.component.UIComponent
- java.net.URL
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5951
- Support method which is backed by the current VariableMapper.
- jakarta.faces.view.facelets
- FaceletContext
-
-
- java.lang.String
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5952
- Set the FunctionMapper to use in EL evaluation/creation.
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.el.FunctionMapper
-
-
-
-
-
- JSF:JAVADOC:5953
- Set the VariableMapper to use in EL evaluation/creation.
- jakarta.faces.view.facelets
- FaceletContext
-
-
- jakarta.el.VariableMapper
-
-
-
-
-
- JSF:JAVADOC:5954
- Create an empty FaceletException.
- jakarta.faces.view.facelets
- FaceletException
-
-
-
-
- JSF:JAVADOC:5955
- Create a FaceletException with argument message as the message.
- jakarta.faces.view.facelets
- FaceletException
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5956
- Wrap argument cause within this FaceletException instance.
- jakarta.faces.view.facelets
- FaceletException
-
-
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:5957
- Wrap argument cause in a FaceletException instance, with a message given by the argument message.
- jakarta.faces.view.facelets
- FaceletException
-
-
- java.lang.String
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:5958
- Process changes on a particular UIComponent
- jakarta.faces.view.facelets
- FaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5959
- if unable to load relativePath
- jakarta.faces.view.facelets
- FaceletHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:5960
- Take the necessary actions to apply the attached object represented by the tag for the concrete subclass of this class to the argument parent.
- jakarta.faces.view.facelets
- FaceletsAttachedObjectHandler
-
-
- jakarta.faces.context.FacesContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:5961
- Call through to super
- jakarta.faces.view.facelets
- FaceletsAttachedObjectHandler
-
-
- jakarta.faces.view.facelets.TagConfig
-
-
-
-
-
- JSF:JAVADOC:5962
- Return the value of the "for" attribute. This enables the runtime to know to which inner component this attached object should be retargeted.
- jakarta.faces.view.facelets
- FaceletsAttachedObjectHandler
-
-
-
-
- JSF:JAVADOC:5963
- Returns the resolved literal String value of the facet name after evaluating EL.
- jakarta.faces.view.facelets
- FacetHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
-
- JSF:JAVADOC:5964
- Take the action prescribed in the Jakarta Faces Specification for this particular VDL element attribute.
- jakarta.faces.view.facelets
- Metadata
-
-
- jakarta.faces.view.facelets.FaceletContext
- java.lang.Object
-
-
-
-
-
- JSF:JAVADOC:5965
-
- jakarta.faces.view.facelets
- Metadata
-
-
-
-
- JSF:JAVADOC:5966
- Return a beans PropertyDescriptor for the property with name given by argument name.
- jakarta.faces.view.facelets
- MetadataTarget
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5967
- Return a Class for the property with name given by argument name.
- jakarta.faces.view.facelets
- MetadataTarget
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5968
- Return a Method for the getter of the property with name given by argument name.
- jakarta.faces.view.facelets
- MetadataTarget
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5969
- Return the Class of the metadata target.
- jakarta.faces.view.facelets
- MetadataTarget
-
-
-
-
- JSF:JAVADOC:5970
- Return a Method for the setter of the property with name given by argument name.
- jakarta.faces.view.facelets
- MetadataTarget
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5971
- Return true if the target for this metadata element is an instance of the argument type.
- jakarta.faces.view.facelets
- MetadataTarget
-
-
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:5972
-
- jakarta.faces.view.facelets
- MetadataTarget
-
-
-
-
- JSF:JAVADOC:5973
- Return an abstraction that takes appropriate action given the kind of rule represented by the argument name, in the context of this particular concrete subclass of MetaRule. The abstraction must encapsulate the value from the argument attribute.
- jakarta.faces.view.facelets
- MetaRule
-
-
- java.lang.String
- jakarta.faces.view.facelets.TagAttribute
- jakarta.faces.view.facelets.MetadataTarget
-
-
-
-
-
- JSF:JAVADOC:5974
-
- jakarta.faces.view.facelets
- MetaRule
-
-
-
-
- JSF:JAVADOC:5975
- Add another Metadata to this ruleset, returning this.
- jakarta.faces.view.facelets
- MetaRuleset
-
-
- jakarta.faces.view.facelets.Metadata
-
-
-
-
-
- JSF:JAVADOC:5976
- Add another MetaRule to this ruleset, returning this.
- jakarta.faces.view.facelets
- MetaRuleset
-
-
- jakarta.faces.view.facelets.MetaRule
-
-
-
-
-
- JSF:JAVADOC:5977
- Customize this MetaRuleset by removing the attribute named by argument attribute and re-adding it under the name given by the argument property, returning this.
- jakarta.faces.view.facelets
- MetaRuleset
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5978
- Take actions to apply the rule.
- jakarta.faces.view.facelets
- MetaRuleset
-
-
-
-
- JSF:JAVADOC:5979
- Customize this MetaRuleset instance to advise it to ignore the attribute named by the attribute argument, returning this.
- jakarta.faces.view.facelets
- MetaRuleset
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:5980
- Customize this MetaRuleset instance to advise it to ignore all attributes, returning this.
- jakarta.faces.view.facelets
- MetaRuleset
-
-
-
-
- JSF:JAVADOC:5981
-
- jakarta.faces.view.facelets
- MetaRuleset
-
-
-
-
- JSF:JAVADOC:5982
- Constructor.
- jakarta.faces.view.facelets
- MetaTagHandler
-
-
- jakarta.faces.view.facelets.TagConfig
-
-
-
-
-
- JSF:JAVADOC:5983
- Return an object encapsulating the TagAttributes specified on this element in the view.
- jakarta.faces.view.facelets
- Tag
-
-
-
-
- JSF:JAVADOC:5984
- Return the XML local name of the tag. For example, would be "tag".
- jakarta.faces.view.facelets
- Tag
-
-
-
-
- JSF:JAVADOC:5985
- Return the Location of this Tag instance in the Facelet view.
- jakarta.faces.view.facelets
- Tag
-
-
-
-
- JSF:JAVADOC:5986
- Return the resolved XML Namespace for this tag in the Facelets view.
- jakarta.faces.view.facelets
- Tag
-
-
-
-
- JSF:JAVADOC:5987
- Return the XML qualified name for this tag. For example, would be "my:tag".
- jakarta.faces.view.facelets
- Tag
-
-
-
-
- JSF:JAVADOC:5988
- Constructor.
- jakarta.faces.view.facelets
- Tag
-
-
- jakarta.faces.view.Location
- java.lang.String
- java.lang.String
- java.lang.String
- jakarta.faces.view.facelets.TagAttributes
-
-
-
-
-
- JSF:JAVADOC:5989
- Constructor.
- jakarta.faces.view.facelets
- Tag
-
-
- jakarta.faces.view.facelets.Tag
- jakarta.faces.view.facelets.TagAttributes
-
-
-
-
-
- JSF:JAVADOC:5990
- Get the string representation.
- jakarta.faces.view.facelets
- Tag
-
-
-
-
- JSF:JAVADOC:5991
- If literal,return Boolean#valueOf(java.lang.String) Boolean.valueOf(java.lang.String) passing our value, otherwise call #getObject(FaceletContext, Class) getObject(FaceletContext, Class).
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
-
- JSF:JAVADOC:5992
- If literal, call Integer#parseInt(java.lang.String) Integer.parseInt(String), otherwise call #getObject(FaceletContext, Class) getObject(FaceletContext, Class).
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
-
- JSF:JAVADOC:5993
- Local name of this attribute
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
-
- JSF:JAVADOC:5994
- The location of this attribute in the FaceletContext
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
-
- JSF:JAVADOC:5995
- Create a MethodExpression, using this attribute's value as the expression String.
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
- java.lang.Class
- java.lang.Class[]
-
-
-
-
-
- JSF:JAVADOC:5996
- The resolved Namespace for this attribute
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
-
- JSF:JAVADOC:5997
- Delegates to getObject with Object.class as a param
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
-
- JSF:JAVADOC:5998
- If literal, simply coerce our String literal value using an ExpressionFactory, otherwise create a ValueExpression and evaluate it.
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:5999
- The qualified name for this attribute
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
-
- JSF:JAVADOC:6000
- A reference to the Tag for which this class represents the attributes. For compatibility with previous implementations, an implementation is provided that returns null.
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
-
- JSF:JAVADOC:6001
- Return the literal value of this attribute
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
-
- JSF:JAVADOC:6002
- If literal, then return our value, otherwise delegate to getObject, passing String.class.
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
-
- JSF:JAVADOC:6003
- Create a ValueExpression, using this attribute's literal value and the passed expected type.
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.FaceletContext
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:6004
- If this TagAttribute is literal (not #{..} or ${..})
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
-
- JSF:JAVADOC:6005
- Set a reference to the Tag for which this class represents the attributes. The VDL runtime must ensure that this method is called before any FaceletHandlers for this element are instantiated. For compatibility with previous implementations, a no-op implementation is provided.
- jakarta.faces.view.facelets
- TagAttribute
-
-
- jakarta.faces.view.facelets.Tag
-
-
-
-
-
- JSF:JAVADOC:6006
-
- jakarta.faces.view.facelets
- TagAttribute
-
-
-
-
- JSF:JAVADOC:6007
- Constructor.
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.TagAttribute
-
-
-
-
-
- JSF:JAVADOC:6008
- Constructor.
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.TagAttribute
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:6009
- Constructor.
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.TagAttribute
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:6010
- Constructor.
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.TagAttribute
- java.lang.String
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:6011
- Constructor.
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.Tag
- jakarta.faces.view.facelets.TagAttribute
-
-
-
-
-
- JSF:JAVADOC:6012
- Constructor.
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.Tag
- jakarta.faces.view.facelets.TagAttribute
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:6013
- Constructor.
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.Tag
- jakarta.faces.view.facelets.TagAttribute
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:6014
- Constructor.
- jakarta.faces.view.facelets
- TagAttributeException
-
-
- jakarta.faces.view.facelets.Tag
- jakarta.faces.view.facelets.TagAttribute
- java.lang.String
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:6015
- Using no namespace, find the TagAttribute
- jakarta.faces.view.facelets
- TagAttributes
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:6016
- Find a TagAttribute that matches the passed namespace and local name.
- jakarta.faces.view.facelets
- TagAttributes
-
-
- java.lang.String
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:6017
- Return an array of all TagAttributes in this set
- jakarta.faces.view.facelets
- TagAttributes
-
-
-
-
- JSF:JAVADOC:6018
- Get all TagAttributes for the passed namespace
- jakarta.faces.view.facelets
- TagAttributes
-
-
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:6019
- A list of Namespaces found in this set
- jakarta.faces.view.facelets
- TagAttributes
-
-
-
-
- JSF:JAVADOC:6020
- A reference to the Tag for which this class represents the attributes. For compatibility with previous implementations, an implementation is provided that returns null.
- jakarta.faces.view.facelets
- TagAttributes
-
-
-
-
- JSF:JAVADOC:6021
- Set a reference to the Tag for which this class represents the attributes. The VDL runtime must ensure that this method is called before any FaceletHandlers for this element are instantiated. For compatibility with previous implementations, a no-op implementation is provided.
- jakarta.faces.view.facelets
- TagAttributes
-
-
- jakarta.faces.view.facelets.Tag
-
-
-
-
-
- JSF:JAVADOC:6022
-
- jakarta.faces.view.facelets
- TagAttributes
-
-
-
-
- JSF:JAVADOC:6023
- The next FaceletHandler (child or children) to be applied. This must never be null.
- jakarta.faces.view.facelets
- TagConfig
-
-
-
-
- JSF:JAVADOC:6024
- Return the Tag representing this handler.
- jakarta.faces.view.facelets
- TagConfig
-
-
-
-
- JSF:JAVADOC:6025
- A document-unique id, follows the convention "_tagId##"
- jakarta.faces.view.facelets
- TagConfig
-
-
-
-
- JSF:JAVADOC:6026
- If handled, return a new Tag instance, otherwise return null
- jakarta.faces.view.facelets
- TagDecorator
-
-
- jakarta.faces.view.facelets.Tag
-
-
-
-
-
- JSF:JAVADOC:6027
- Wrap the argument tag so the exception can reference its information.
- jakarta.faces.view.facelets
- TagException
-
-
- jakarta.faces.view.facelets.Tag
-
-
-
-
-
- JSF:JAVADOC:6028
- Wrap the argument tag so the exception can reference its information.
- jakarta.faces.view.facelets
- TagException
-
-
- jakarta.faces.view.facelets.Tag
- java.lang.String
-
-
-
-
-
- JSF:JAVADOC:6029
- Wrap the argument tag so the exception can reference its information.
- jakarta.faces.view.facelets
- TagException
-
-
- jakarta.faces.view.facelets.Tag
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:6030
- Wrap the argument tag so the exception can reference its information.
- jakarta.faces.view.facelets
- TagException
-
-
- jakarta.faces.view.facelets.Tag
- java.lang.String
- java.lang.Throwable
-
-
-
-
-
- JSF:JAVADOC:6031
- Every TagHandler instance is associated with a Tag. Each Tag instance has a TagAttributes property, which is simply a collection of TagAttribute instances. Extract and save as protected instance variables the TagConfig#getTagId, TagConfig#getTag and TagConfig#getNextHandler returns from the argument TagConfig. This constructor is only called when the Facelets View is compiled.
- jakarta.faces.view.facelets
- TagHandler
-
-
- jakarta.faces.view.facelets.TagConfig
-
-
-
-
-
- JSF:JAVADOC:6032
-
- jakarta.faces.view.facelets
- TagHandler
-
-
-
-
- JSF:JAVADOC:6033
- Called by classes that implement jakarta.faces.view.facelets.FaceletHandler in their implementation of apply(). If the argument comp is new to the view, for each tag attribute declared to be in the pass through attribute namespace, set the name and value of the attribute into the pass through attributes map of the component. See UIComponent#getPassThroughAttributes(boolean) . See the VDLDocs for the namespace URI of the pass through attribute namespace. Attributes whose value is a ValueExpression must remain un-evaluated and stored in the map as ValueExpression instances.
- jakarta.faces.view.facelets
- TagHandlerDelegate
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
-
-
-
-
- JSF:JAVADOC:6034
- if any files necessary to apply this tag handler have any difficulty while loading
- jakarta.faces.view.facelets
- TagHandlerDelegate
-
-
- jakarta.faces.view.facelets.FaceletContext
- jakarta.faces.component.UIComponent
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:6035
- Return a MetaRuleset particular to this kind of tag handler. Called from classes that implement MetaTagHandler.
- jakarta.faces.view.facelets
- TagHandlerDelegate
-
-
- java.lang.Class
-
-
-
-
-
- JSF:JAVADOC:6036
-
- jakarta.faces.view.facelets
- TagHandlerDelegate
-
-
-
-
- JSF:JAVADOC:6037
- Create and return a TagHandlerDelegate instance designed for use with BehaviorHandler.
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
- jakarta.faces.view.facelets.BehaviorHandler
-
-
-
-
-
- JSF:JAVADOC:6038
- Create and return a TagHandlerDelegate instance designed for use with ComponentHandler.
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
- jakarta.faces.view.facelets.ComponentHandler
-
-
-
-
-
- JSF:JAVADOC:6039
- Create and return a TagHandlerDelegate instance designed for use with ConverterHandler.
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
- jakarta.faces.view.facelets.ConverterHandler
-
-
-
-
-
- JSF:JAVADOC:6040
- Create and return a TagHandlerDelegate instance designed for use with ValidatorHandler.
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
- jakarta.faces.view.facelets.ValidatorHandler
-
-
-
-
-
- JSF:JAVADOC:6041
- If this factory has been decorated, the implementation doing the decorating may override this method to provide access to the implementation being wrapped.
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
-
-
- JSF:JAVADOC:6042
-
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
-
-
- JSF:JAVADOC:6043
- If this factory has been decorated, the implementation doing the decorating should push the implementation being wrapped to this constructor. The #getWrapped() will then return the implementation being wrapped.
- jakarta.faces.view.facelets
- TagHandlerDelegateFactory
-
-
- jakarta.faces.view.facelets.TagHandlerDelegateFactory
-
-
-
-
-
- JSF:JAVADOC:6044
- Returns the literal String value of the contained text.
- jakarta.faces.view.facelets
- TextHandler
-
-
-
-
- JSF:JAVADOC:6045
- Returns the resolved literal String value of the contained text after evaluating EL.
- jakarta.faces.view.facelets
- TextHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
-
- JSF:JAVADOC:6046
- Return the validator-id associated with a particular validator in your faces-config
- jakarta.faces.view.facelets
- ValidatorConfig
-
-
-
-
- JSF:JAVADOC:6047
- Return the TagConfig subclass used to configure this handler instance.
- jakarta.faces.view.facelets
- ValidatorHandler
-
-
-
-
- JSF:JAVADOC:6048
- Retrieve the id of the validator that is to be created and added to the parent EditableValueHolder. All subclasses should override this method because it is important for Facelets to have a unique way of identifying the validators that are added to this EditableValueHolder and allows exclusions to work properly. An exclusion is a validator declaration that has the attribute "disabled" which resolves to false, instructing Facelets not to register a default validator with the same id.
- jakarta.faces.view.facelets
- ValidatorHandler
-
-
- jakarta.faces.view.facelets.FaceletContext
-
-
-
-
-
- JSF:JAVADOC:6049
- Construct this instance around the configuration information in argument config
- jakarta.faces.view.facelets
- ValidatorHandler
-
-
- jakarta.faces.view.facelets.ValidatorConfig
-
-
-
-
-
- JSF:JAVADOC:6050
- Return the ServletConfig instance for this servlet.
- jakarta.faces.webapp
- FacesServlet
-
-
-
-
- JSF:JAVADOC:6051
- Acquire the factory instances we will require.
- jakarta.faces.webapp
- FacesServlet
-
-
- jakarta.servlet.ServletConfig
-
-
-
-
-
- JSF:JAVADOC:6052
- if, for any reason, the startup of this Faces application failed. This includes errors in the config file that is parsed before or during the processing of this init() method.
- jakarta.faces.webapp
- FacesServlet
-
-
- jakarta.servlet.ServletConfig
-
- jakarta.servlet.ServletException
-
-
-
-
- JSF:JAVADOC:6053
- Process an incoming request, and create the corresponding response according to the following specification. If the request and response arguments to this method are not instances of HttpServletRequest and HttpServletResponse, respectively, the results of invoking this method are undefined. This method must respond to requests that contain the following strings by invoking the sendError method on the response argument (cast to HttpServletResponse), passing the code HttpServletResponse.SC_NOT_FOUND as the argument. /WEB-INF/ /WEB-INF /META-INF/ /META-INF If none of the cases described above in the specification for this method apply to the servicing of this request, the following action must be taken to service the request. Acquire a FacesContext instance for this request. Acquire the ResourceHandler for this request by calling jakarta.faces.application.Application#getResourceHandler. Call jakarta.faces.application.ResourceHandler#isResourceRequest. If this returns true call jakarta.faces.application.ResourceHandler#handleResourceRequest. If this returns false, call jakarta.faces.lifecycle.Lifecycle#attachWindow followed by jakarta.faces.lifecycle.Lifecycle#execute followed by jakarta.faces.lifecycle.Lifecycle#render. If a jakarta.faces.FacesException is thrown in either case, extract the cause from the FacesException. If the cause is null extract the message from the FacesException, put it inside of a new ServletException instance, and pass the FacesException instance as the root cause, then rethrow the ServletException instance. If the cause is an instance of ServletException, rethrow the cause. If the cause is an instance of IOException, rethrow the cause. Otherwise, create a new ServletException instance, passing the message from the cause, as the first argument, and the cause itself as the second argument. The implementation must make it so jakarta.faces.context.FacesContext#release is called within a finally block as late as possible in the processing for the Jakarta Faces related portion of this request.
- jakarta.faces.webapp
- FacesServlet
-
-
- jakarta.servlet.ServletRequest
- jakarta.servlet.ServletResponse
-
-
-
-
-
- JSF:JAVADOC:6054
- if an input/output error occurs during processing
- jakarta.faces.webapp
- FacesServlet
-
-
- jakarta.servlet.ServletRequest
- jakarta.servlet.ServletResponse
-
- java.io.IOException
-
-
-
-
- JSF:JAVADOC:6055
- if a Jakarta Servlet error occurs during processing
- jakarta.faces.webapp
- FacesServlet
-
-
- jakarta.servlet.ServletRequest
- jakarta.servlet.ServletResponse
-
- jakarta.servlet.ServletException
-
-
-
-
-
diff --git a/internal/docs/jsf/JSFSpecAssertions.xml b/internal/docs/jsf/JSFSpecAssertions.xml
deleted file mode 100644
index 22169b9654..0000000000
--- a/internal/docs/jsf/JSFSpecAssertions.xml
+++ /dev/null
@@ -1,704 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ]>
-
-
-
-
-
-
- JSF
- JSF 2.3
- JavaServer Faces(TM)
- Version 2.3
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- &jsf_ch2;
- &jsf_ch3;
- &jsf_ch4;
- &jsf_ch5;
- &jsf_ch6;
- &jsf_ch7;
- &jsf_ch8;
- &jsf_ch9;
- &jsf_ch10;
- &jsf_ch11;
- &jsf_ch12;
- &jsf_ch13;
- &jsf_ch14;
-
-
diff --git a/internal/docs/jsf/JSFSpecAssertions_Numbered.xml b/internal/docs/jsf/JSFSpecAssertions_Numbered.xml
deleted file mode 100644
index 8c04201464..0000000000
--- a/internal/docs/jsf/JSFSpecAssertions_Numbered.xml
+++ /dev/null
@@ -1,6723 +0,0 @@
-
-
-
-
-
-
-
-
- JSF
- JSF 2.0
- JavaServer Faces(TM)
- Version 2.0, Public Review 20090327
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- JSF:SPEC:1
-
- The JSF implementation must perform the following tasks during
- the Restore View phase of the request processing lifecycle:
-
-
-
-
- JSF:SPEC:1.1
-
- Examine the FacesContext instance for the current
- request. If it already contains a UIViewRoot:
-
-
-
-
- JSF:SPEC:1.1.1
-
- Set the locale on the UIViewRoot to the value
- returned by getRequestLocale() method on the
- ExternalContext for this request
-
-
-
-
- JSF:SPEC:1.1.2
-
- For each component in the component tree,
- determine if a ValueExpression for binding is
- present. If so, call the setValue() method on
- this ValueExpression, passing the component
- instance on which it was found.
-
-
-
-
- JSF:SPEC:1.1.3
-
- Take no further action during this phase, and
- return.
-
-
-
-
-
-
- JSF:SPEC:1.2
-
- Derive the view identifier that corresponds to this
- request, as follows:
-
-
-
-
- JSF:SPEC:1.2.1
-
- If prefix mapping (such as /faces/*) is
- used for FacesServlet, the viewId is set from
- the extra path information of the request
- URI.
-
-
-
-
- JSF:SPEC:1.2.2
-
- If suffix mapping (such as *.faces) is used for
- FacesServlet, the viewId is set from the servlet
- path information of the request URI, after
- replacing the suffix with the value of the
- context initialization parameter named by the
- symbolic constant
- ViewHandler.DEFAULT_SUFFIX_PARAM_NAME (if no
- such context initialization parameter is
- present, use the value of the symbolic constant
- ViewHandler.DEFAULT_SUFIX as the replacement
- suffix).
-
-
-
-
- JSF:SPEC:1.2.3
-
- If no view identifier can be derived, throw an
- exception.
-
-
-
-
-
-
- JSF:SPEC:1.3
-
- Determine if this request is a postback or initial
- request by executing the following algorithm. Find the
- render-kit-id for the current request by calling
- calculateRenderKitId() on the Application's ViewHandler.
- Get the RenderKit's ResponseStateManager and call its
- isPostback() method, passin gthe current FacesContext
-
-
-
-
- JSF:SPEC:1.4
-
- A request that is a non-postback request must call
- FacesContext.renderResponse() to cause intervening
- phases to be skipped.
-
-
-
-
- JSF:SPEC:1.5
-
- If the request is a postback, call
- ViewHandler.restoreView() passing the FacesCOntext
- isntance for the current request and the derived view
- identifier, and returning a UIViewRoot for the restored
- view. If the return from ViewHandler.restoreView() is
- null, throw a FacesException with an appropriate error
- message.
-
-
-
-
- JSF:SPEC:1.5.1
-
- For each component in the component tree,
- determine if a ValueExpression for binding is
- present. If so, call the setValeu() method on
- this ValueExpression, passing the component
- instance on which it was found. Do this in a
- parent-first fashion, calling setValue() method
- and then traversing the children.
-
-
-
-
-
-
- JSF:SPEC:1.6
-
- If the request is a non-postback, call
- ViewHandler.createView(), passing the FacesContext
- instance for the current request and the derived view
- identifier.
-
-
-
-
- JSF:SPEC:1.7
-
- Store the restored or created UIViewRoot in the
- FacesContext
-
-
-
-
-
-
- JSF:SPEC:2
-
- During the Apply Request Values phase, the JSF implementation
- must call the processDecodes() method of the UIViewRoot of the
- component tree.
-
-
-
-
- JSF:SPEC:3
-
- During the decoding of request values, some components perform
- special processing:
-
-
-
-
- JSF:SPEC:3.1
-
- Components that implement ActionSource, which recognize
- that they were activated, will queue an ActionEvent.
-
-
-
-
- JSF:SPEC:3.1.1
-
- The event will be delivered at the end of Apply
- Request Values phase if the immediate property
- is true
-
-
-
-
- JSF:SPEC:3.1.2
-
- The event will be delivered at the end of Invoke
- Application phase if the immediate property is
- false
-
-
-
-
-
-
- JSF:SPEC:3.2
-
- Components that implement EditableValueHolder, and whose
- immediate property is set to true, will cause the
- conversion and validation processing that normally
- happens during Process Validations phase to occur during
- Apply Requst Values phase instead.
-
-
-
-
-
-
- JSF:SPEC:4
-
- If any of the decode() methods that were invoked, or an event
- listener that processed a queued event, called
- responseComplete() on the FacesContext instance for the current
- request, clear the remaining events from the event queue and
- terminate the lifecycle processing of the current request.
-
-
-
-
- JSF:SPEC:5
-
- If any of the decode() methods that were invoked, or an event
- listener that processed a queued event, called renderResponse()
- on the FacesContext instance for the current request, clear the
- remaining events from the event queue and terminate the
- lifecycle processing of the current request.
-
-
-
-
- JSF:SPEC:6
-
- If any of the decode() methods that were invoked, or an event
- listener that processed a queued event, did not call
- responseComplete() or renderResponse() on the FacesContext
- instance for the current request, the implementation must
- proceed to the Process Validations phase.
-
-
-
-
- JSF:SPEC:7
-
- During the Process Validations phase of the request processing
- lifecycle, the JSF implementation must call the
- processValidators() method of the UIViewRoot of the tree.
-
-
-
-
- JSF:SPEC:8
-
- If any of the validate() methods that were invoked, or an event
- listener that processed a queued event, called renderResponse()
- on the FacesContext instance for the current request, clear the
- remaining events from the event queue and transfer control to
- the Render Response phase of the request processing lifecycle.
- Otherwise, control must proceed to the Update Model Values
- phase.
-
-
-
-
- JSF:SPEC:9
-
- During the Update Model Values phase, the JSF implementation
- must call the processUpdates() method of the UIViewRoot
- component of the tree.
-
-
-
-
- JSF:SPEC:10
-
- If any of the updateModel() methods that was invoked,
- or an event listener that processed a queued event, called
- renderResponse() on the FacesContext instance for the current
- request, clear the remaining events from the event queue and
- transfer control to the Render Response phase of the request
- processing lifecycle. Otherwise, control must proceed to the
- Invoke Application phase.
-
-
-
-
- JSF:SPEC:11
-
- The implementation must ensure that the processApplication()
- method of the UIViewRoot instance is called.
-
-
-
-
- JSF:SPEC:11.1
-
- The default behavior of this method will be to broadcast
- any queued events that specify a phase identifier of
- PhaseId.INVOKE_APPLICATION.
-
-
-
-
-
-
- JSF:SPEC:12
-
- During the Render Response phase All JSF implementations
- must conform to the following requirements.
-
-
-
-
- JSF:SPEC:12.1
-
- JSF implementations must provide a default ViewHandler
- implementation that performs a
- RequestDispatcher.forward() call to a web application
- resource whose context-relative path is equal to the
- view identifier of the component tree
-
-
-
-
- JSF:SPEC:12.2
-
- During the rendering process, additional components may
- be added to the component tree based on information
- available to the ViewHandler implementation. However,
- before adding a new component, the ViewHandler
- implementation must first check for the existence of the
- corresponding component in the component tree. If the
- component already exists (perhaps because a previous
- phase has pre-created one or more components), the
- existing component’s properties and attributes must be
- utilized.
-
-
-
-
- JSF:SPEC:12.3
-
- Under no circumstances should a component be selected
- for rendering when its parent component, or any of its
- ancestors in the component tree, has its rendersChildren
- property set to true. In such cases, the parent or
- ancestor component must render the content of this child
- component when the parent or ancestor was selected.
-
-
-
-
-
-
- JSF:SPEC:13
-
- For each queued event, the broadcast() method of the source
- UIComponent must be called to broadcast the event to all event
- listeners who have registered an interest, on this source
- component for events of the specified type, after which the
- event is removed from the event queue.
-
-
-
-
- JSF:SPEC:14
-
- It is also possible for event listeners to cause additional
- events to be enqueued for processing during the current phase
- of the request processing lifecycle. Such events must be
- broadcast in the order they were enqueued, after all originally
- queued events have been broadcast, before the lifecycle
- management method returns.
-
-
-
-
- JSF:SPEC:15
-
- The UIViewRoot instance returned by the createView() method must
- minimally contain a single UIViewRoot provided by the JSF
- implementation, which must encapsulate any
- implementation-specific component management that is required.
-
-
-
-
- JSF:SPEC:16
-
- The caller of ViewHandler.createView() must cause the
- FacesContext to be populated with the new UIViewRoot.
-
-
-
-
- JSF:SPEC:17
-
- The default ViewHandler must call calculateRenderKitId() on
- itself and set the result into the UIViewRoot’s renderKitId
- property.
-
-
-
-
- JSF:SPEC:18
-
- Once the view has been created and configured, the FacesContext
- instance for this request must be made aware of it by calling
- setViewRoot().
-
-
-
-
- JSF:SPEC:19
-
- The create ViewHandler’s createView() method must cause the
- active Locale to be determined by looking at the user’s
- preferences combined with the application’s stated supported
- locales.
-
-
-
-
- JSF:SPEC:20
-
- At the beginning of the render-response phase, the ViewHandler
- must ensure that the response Locale is set to be that of the
- UIViewRoot, for example by calling ServletResponse.setLocale()
- when running in the servlet environment.
-
-
-
-
- JSF:SPEC:21
-
- At the end of the render-response phase, the ViewHandler must
- store the response character encoding used by the underlying
- response object (e.g., the servlet or portlet response) in the
- session (if and only if a session already exists) under a well
- known, implementation-dependent key
-
-
-
-
- JSF:SPEC:21.1
-
- On a subsequent postback, before any of the
- ExternalContext methods for accessing request
- parameters are invoked, the ViewHandler must examine the
- Content-Type header to read the charset attribute and
- use its value to set it as the request encoding for the
- underlying request object. If the Content-Type header
- doesn't contain a charset attribute, the encoding
- previously stored in the session (if and only if a
- session already exists), must be used to set the
- encoding for the underlying request object.
-
-
-
-
- JSF:SPEC:21.2
-
- If no character encoding is found, the request encoding
- must be left unmodified.
-
-
-
-
-
-
- JSF:SPEC:22
-
- A JSF implementation must provide a jakarta.faces.Messages
- ResourceBundle containing all of the necessary keys for the
- standard messages.
-
-
-
-
- JSF:SPEC:22.1
-
- jakarta.faces.component.UIInput.CONVERSION --
- {0}: Conversion error occurred
-
-
-
-
- JSF:SPEC:22.2
-
- jakarta.faces.component.UIInput.REQUIRED --
- {0}: Validation Error: Value is required
-
-
-
-
- JSF:SPEC:22.3
-
- jakarta.faces.component.UIInput.UPDATE --
- {0}: An error occurred when processing your submitted
- information
-
-
-
-
- JSF:SPEC:22.4
-
- jakarta.faces.component.UISelectOne.INVALID --
- {0}: Validation Error: Value is not valid
-
-
-
-
- JSF:SPEC:22.5
-
- jakarta.faces.component.UISelectMany.INVALID --
- {0}: Validation Error: Value is not valid
-
-
-
-
- JSF:SPEC:22.6
-
- jakarta.faces.converter.BigDecimalConverter.DECIMAL={2}:
- ''{0}'' must be a signed decimal number.
-
-
-
-
- JSF:SPEC:22.7
-
- jakarta.faces.converter.BigDecimalConverter.DECIMAL_detail
- ={2}: ''{0}'' must be asigned decimal number consisting
- of zero or more digits, that may be followed by a
- decimal point and fraction. Example: {1}
-
-
-
-
- JSF:SPEC:22.8
-
- jakarta.faces.converter.BigIntegerConverter.BIGINTEGER
- ={2}: ''{0}'' must be a number consisting of one or more
- digits.
-
-
-
-
- JSF:SPEC:22.9
-
- jakarta.faces.converter.BigIntegerConverter.BIGINTEGER_
- detail={2}: ''{0}'' must be a number consisting of one
- or more digits. Example: {1}
-
-
-
-
- JSF:SPEC:22.10
-
- jakarta.faces.converter.BooleanConverter.BOOLEAN={1}:
- ''{0}'' must be 'true' or 'false'.
-
-
-
-
- JSF:SPEC:22.11
-
- jakarta.faces.converter.BooleanConverter.BOOLEAN_detail
- ={1}: ''{0}'' must be 'true' or 'false'. Any value other
- than 'true' will evaluate to 'false'.
-
-
-
-
- JSF:SPEC:22.12
-
- jakarta.faces.converter.ByteConverter.BYTE={2}: ''{0}''
- must be a number between 0 and 255.
-
-
-
-
- JSF:SPEC:22.13
-
- jakarta.faces.converter.ByteConverter.BYTE_detail={2}:
- ''{0}'' must be a number between 0 and 255. Example: {1}
-
-
-
-
- JSF:SPEC:22.14
-
- jakarta.faces.converter.CharacterConverter.CHARACTER={1}:
- ''{0}'' must be a valid character.
-
-
-
-
- JSF:SPEC:22.15
-
- jakarta.faces.converter.CharacterConverter.CHARACTER_
- detail={1}: ''{0}'' must be a valid ASCII character.
-
-
-
-
- JSF:SPEC:22.16
-
- jakarta.faces.converter.DateTimeConverter.DATE={2}:
- ''{0}'' could not be understood as a date.
-
-
-
-
- JSF:SPEC:22.17
-
- jakarta.faces.converter.DateTimeConverter.DATE_detail={2}:
- ''{0}'' could not be understood as a date. Example: {1}
-
-
-
-
- JSF:SPEC:22.18
-
- jakarta.faces.converter.DateTimeConverter.TIME={2}:
- ''{0}'' could not be understood as a time.
-
-
-
-
- JSF:SPEC:22.19
-
- jakarta.faces.converter.DateTimeConverter.TIME_detail={2}:
- ''{0}'' could not be understood as a time. Example: {1}
-
-
-
-
- JSF:SPEC:22.20
-
- jakarta.faces.converter.DateTimeConverter.DATETIME={2}:
- ''{0}'' could not be understood as a date and time.
-
-
-
-
- JSF:SPEC:22.21
-
- jakarta.faces.converter.DateTimeConverter.DATETIME_detail=
- {2}: ''{0}'' could not be understood as a date and time.
- Example: {1}
-
-
-
-
- JSF:SPEC:22.22
-
- jakarta.faces.converter.DateTimeConverter.PATTERN_TYPE=
- {1}: A 'pattern' or 'type' attribute must be specified
- to convert the value ''{0}''.
-
-
-
-
- JSF:SPEC:22.23
-
- jakarta.faces.converter.DoubleConverter.DOUBLE={2}:
- ''{0}'' must be a number consisting of one or more
- digits.
-
-
-
-
- JSF:SPEC:22.24
-
- jakarta.faces.converter.DoubleConverter.DOUBLE_detail={2}:
- ''{0}'' must be a number between 4.9E-324 and
- 1.7976931348623157E308 Example: {1}
-
-
-
-
- JSF:SPEC:22.25
-
- jakarta.faces.converter.EnumConverter.ENUM={2}: ''{0}''
- must be convertible to an enum.
-
-
-
-
- JSF:SPEC:22.26
-
- jakarta.faces.converter.EnumConverter.ENUM_detail={2}:
- ''{0}'' must be convertible to an enum from the enum
- that contains the constant ''{1}''.
-
-
-
-
- JSF:SPEC:22.27
-
- jakarta.faces.converter.EnumConverter.ENUM_NO_CLASS={1}:
- ''{0}'' must be convertible to an enum from the enum,
- but no enum class provided.
-
-
-
-
- JSF:SPEC:22.28
-
- jakarta.faces.converter.EnumConverter.ENUM_NO_CLASS_detail
- ={1}: ''{0}'' must be convertible to an enum from the
- enum, but no enum class provided.
-
-
-
-
- JSF:SPEC:22.29
-
- jakarta.faces.converter.FloatConverter.FLOAT={2}: ''{0}''
- must be a number consisting of one or more digits.
-
-
-
-
- JSF:SPEC:22.30
-
- jakarta.faces.converter.FloatConverter.FLOAT_detail={2}:
- ''{0}'' must be a number between 1.4E-45 and
- 3.4028235E38 Example: {1}
-
-
-
-
- JSF:SPEC:22.31
-
- jakarta.faces.converter.IntegerConverter.INTEGER={2}:
- ''{0}'' must be a number consisting of one or more
- digits.
-
-
-
-
- JSF:SPEC:22.32
-
- jakarta.faces.converter.IntegerConverter.INTEGER_detail=
- {2}: ''{0}'' must be a number between -2147483648
- and 2147483647 Example: {1}
-
-
-
-
- JSF:SPEC:22.33
-
- jakarta.faces.converter.LongConverter.LONG={2}: ''{0}''
- must be a number consisting of one or more digits.
-
-
-
-
- JSF:SPEC:22.34
-
- jakarta.faces.converter.LongConverter.LONG_detail={2}:
- ''{0}'' must be a number between -9223372036854775808
- to 9223372036854775807 Example: {1}
-
-
-
-
- JSF:SPEC:22.35
-
- jakarta.faces.converter.NumberConverter.CURRENCY={2}:
- ''{0}'' could not be understood as a currency value.
-
-
-
-
- JSF:SPEC:22.36
-
- jakarta.faces.converter.NumberConverter.CURRENCY_detail=
- {2}: ''{0}'' could not be understood as a currency value.
- Example: {1}
-
-
-
-
- JSF:SPEC:22.37
-
- jakarta.faces.converter.NumberConverter.PERCENT={2}:
- ''{0}'' could not be understood as a percentage.
-
-
-
-
- JSF:SPEC:22.38
-
- jakarta.faces.converter.NumberConverter.PERCENT_detail=
- {2}: ''{0}'' could not be understood as a percentage.
- Example: {1}
-
-
-
-
- JSF:SPEC:22.39
-
- jakarta.faces.converter.NumberConverter.NUMBER={2}:
- ''{0}'' is not a number.
-
-
-
-
- JSF:SPEC:22.40
-
- jakarta.faces.converter.NumberConverter.NUMBER_detail={2}:
- ''{0}'' is not a number. Example: {1}
-
-
-
-
- JSF:SPEC:22.41
-
- jakarta.faces.converter.NumberConverter.PATTERN={2}:
- ''{0}'' is not a number pattern.
-
-
-
-
- JSF:SPEC:22.42
-
- jakarta.faces.converter.NumberConverter.PATTERN_detail=
- {2}: ''{0}'' is not a number pattern. Example: {1}
-
-
-
-
- JSF:SPEC:22.43
-
- jakarta.faces.converter.ShortConverter.SHORT={2}: ''{0}''
- must be a number consisting of one or more digits.
-
-
-
-
- JSF:SPEC:22.44
-
- jakarta.faces.converter.ShortConverter.SHORT_detail={2}:
- ''{0}'' must be a number between -32768 and 32767
- Example: {1}
-
-
-
-
- JSF:SPEC:22.45
-
- jakarta.faces.converter.STRING={1}: Could not convert
- ''{0}'' to a string.
-
-
-
-
- JSF:SPEC:22.46
-
- jakarta.faces.validator.DoubleRangeValidator.MAXIMUM --
- {1}: Validation Error: Value is greater than allowable
- maximum of ‘’{0}’’
-
-
-
-
- JSF:SPEC:22.47
-
- jakarta.faces.validator.DoubleRangeValidator.MINIMUM --
- {1}: Validation Error: Value is less than allowable
- minimum of ‘’{0}’’
-
-
-
-
- JSF:SPEC:22.48
-
- jakarta.faces.validator.DoubleRangeValidator.NOT_IN_RANGE
- -- {2}: Validation Error: Specified attribute is not
- between the expected values of {0} and {1}.
-
-
-
-
- JSF:SPEC:22.49
-
- jakarta.faces.validator.DoubleRangeValidator.TYPE -- {0}:
- Validation Error: Value is not of the correct type
-
-
-
-
- JSF:SPEC:22.50
-
- jakarta.faces.validator.LengthValidator.MAXIMUM -- {1}:
- Validation Error: Value is greater than allowable
- maximum of ‘’{0}’’
-
-
-
-
- JSF:SPEC:22.51
-
- jakarta.faces.validator.LengthValidator.MINIMUM -- {1}:
- Validation Error: Value is less than allowable minimum
- of ‘’{0}’’
-
-
-
-
- JSF:SPEC:22.52
-
- jakarta.faces.validator.LongRangeValidator.MAXIMUM --
- {1}: Validation Error: Value is greater than allowable
- maximum of ‘’{0}’’
-
-
-
-
- JSF:SPEC:22.53
-
- jakarta.faces.validator.LongRangeValidator.MINIMUM -- {1}:
- Validation Error Value is less than allowable minimum of
- ‘’{0}’’
-
-
-
-
- JSF:SPEC:22.54
-
- jakarta.faces.validator.LongRangeValidator.NOT_IN_RANGE=
- {2}: Validation Error: Specified attribute is not
- between the expected values of {0} and {1}.
-
-
-
-
- JSF:SPEC:22.55
-
- jakarta.faces.validator.LongRangeValidator.TYPE -- {0}:
- Validation Error: Value is not of the correct type
-
-
-
-
-
-
- JSF:SPEC:23
-
- These ResourceBundle keys must be used to look up the necessary
- values to create a localized FacesMessage instance. Note that
- the value of the summary and detail keys in the ResourceBundle
- may contain parameter substitution tokens, which must be
- substituted with the appropriate values using
- java.text.MessageFormat.
-
-
-
-
- JSF:SPEC:24
-
- The following algorithm must be used to create a FacesMessage
- instance given a message key.
-
-
-
-
- JSF:SPEC:24.1
-
- Call getMessageBundle() on the Application instance for
- this web application, to determine if the application
- has defined a resource bundle name. If so, load that
- ResourceBundle and look for the message there.
-
-
-
-
- JSF:SPEC:24.2
-
- If not there, look in the jakarta.faces.Messages
- resource bundle.
-
-
-
-
-
-
- JSF:SPEC:25
-
- A custom component that extends UIComponent directly, and does
- not extend any of the standard components must implement
- StateHolder manually.
-
-
-
-
- JSF:SPEC:26
-
- A custom component that does extend from one of the standard
- components and maintains its own state, in addition to the state
- maintained by the superclass must take special care to implement
- StateHolder correctly. Notably, calls to saveState() must not
- alter the state in any way.
-
-
-
-
-
-
-
- JSF:SPEC:27
-
- Every User Interface component may be named by a component
- identifier, which (if utilized) must be unique among the
- components that share a common naming container parent in a
- component tree.
-
-
-
-
- JSF:SPEC:28
-
- Component identifiers must conform to the following rules:
-
-
-
-
- JSF:SPEC:28.1
-
- They must start with a letter (as defined by the
- Character.isLetter() method).
-
-
-
-
- JSF:SPEC:28.2
-
- Subsequent characters may be letters (as defined by the
- Character.isLetter() method), digits as defined by the
- Character.isDigit() method, dashes (‘-’), and
- underscores (‘_’).
-
-
-
-
-
-
- JSF:SPEC:29
-
- The implementation of setValueExpression must detemine if the
- expression is a literal by calling
- ValueExpression.isLiteralText() on the expression argument.
-
-
-
-
- JSF:SPEC:29.1
-
- If the expression argument is literal text, then
- ValueExpression.getValue() must be called on the
- expression argument.
-
-
-
-
- JSF:SPEC:29.2
-
- The result must be used as the value argument, along
- with the name argument to this component
- getAttributes().put(name,value) method call.
-
-
-
-
-
-
- JSF:SPEC:30
-
- For the standard component classes defined by this
- specification, all attributes, and all properties other than id
- and parent, are value expression enabled.
-
-
-
-
- JSF:SPEC:31
-
- The specified ValueExpression must point to a read-write
- JavaBeans property of type UIComponent(or appropriate subclass).
- Such a component binding is used at two different times
- during the processing of a Faces Request:
-
-
-
-
- JSF:SPEC:31.1
-
- When a component instance is first created (typically by
- virtue of being referenced by a UIComponentELTag in a
- JSP page), the JSF implementation will retrieve the
- ValueExpression for the name binding, and call
- getValue() on it.
-
-
-
-
- JSF:SPEC:31.1.1
-
- If this call returns a non-null UIComponent
- value (because the JavaBean programmatically
- instantiated and configured a component
- already), that instance will be added to the
- component tree that is being created.
-
-
-
-
- JSF:SPEC:31.1.2
-
- If the call returns null, a new component
- instance will be created, added to the component
- tree, and setValue() will be called on the
- ValueBinding (which will cause the property on
- the JavaBean to be set to the newly created
- component instance).
-
-
-
-
-
-
- JSF:SPEC:31.2
-
- When a component tree is recreated during the Restore
- View phase of the request processing lifecycle, for each
- component that has a ValueExpression associated with the
- name “binding”, setValue() will be called on it, passing
- the recreated component instance.
-
-
-
-
-
-
- JSF:SPEC:32
-
- The UIComponent.getChildren() method returns a mutable List.
- The returned List implementation must support all of the
- required and optional methods of the List interface, as well as
- update the parent property of children that are added and
- removed, as described in the Javadocs for this method.
-
-
-
-
- JSF:SPEC:33
-
- If there are no children, the getChildCount() method must
- return 0.
-
-
-
-
- JSF:SPEC:34
-
- The getChildCount() must not cause the creation of a child
- component list, so it is preferred over calling
- getChildren().size() when there are no children.
-
-
-
-
- JSF:SPEC:35
-
- The Map returned by getAttributes() must also support
- attribute-property transparency, which operates as follows:
-
-
-
-
- JSF:SPEC:35.1
-
- When the get() method is called, if the specified
- attribute name matches the name of a readable JavaBeans
- property on the component implementation class, the
- value returned will be acquired by calling the
- appropriate property getter method, and wrapping Java
- primitive values (such as int) in their corresponding
- wrapper classes (such as java.lang.Integer) if
- necessary. If the specified attribute name does not
- match the name of a readable JavaBeans property on the
- component implementation class, consult the internal
- data-structure to in which generic attributes are
- stored. If no entry exists in the internal
- data-structure, see if there is a ValueExpression for
- this attribute name by calling getValueExpression(),
- passing the attribute name as the key. If a
- ValueExpression exists, call getValue() on it, returning
- the result. If an ELException is thrown wrap it in a
- FacesException and re-throw it.
-
-
-
-
- JSF:SPEC:35.2
-
- When the put() method is called, if the specified
- attribute name matches the name of a writable JavaBeans
- property on the component implementation class, the
- appropriate property setter method will be called. If
- the specified attribute name does not match the name of
- a writable JavaBeans property, simply put the value in
- the data-structure for generic attributes.
-
-
-
-
- JSF:SPEC:35.3
-
- When the remove() method is called, if the specified
- attribute name matches the name of a JavaBeans property
- on the component, an IllegalArgumentException must be
- thrown.
-
-
-
-
- JSF:SPEC:35.4
-
- When the containsKey() method is called, if the
- specified attribute name matches the name of a JavaBeans
- property, return false. Otherwise, return true if and
- only if the specified attribute name exists in the
- internal data-structure for the generic attributes.
-
-
-
-
-
-
- JSF:SPEC:36
-
- The following converter id values must be registered to create
- instances of the specified Converter implementation classes:
-
-
-
-
- JSF:SPEC:36.1
-
- jakarta.faces.BigDecimal -- An instance of
- jakarta.faces.convert.BigDecimalConverter (or a subclass
- of this class).
-
-
-
-
- JSF:SPEC:36.2
-
- jakarta.faces.BigInteger -- An instance of
- jakarta.faces.convert.BigIntegerConverter (or a subclass
- of this class).
-
-
-
-
- JSF:SPEC:36.3
-
- jakarta.faces.Boolean -- An instance of
- jakarta.faces.convert.BooleanConverter (or a subclass
- of this class).
-
-
-
-
- JSF:SPEC:36.4
-
- jakarta.faces.Byte -- An instance of
- jakarta.faces.convert.ByteConverter (or a subclass of
- this class).
-
-
-
-
- JSF:SPEC:36.5
-
- jakarta.faces.Character -- An instance of
- jakarta.faces.convert.CharacterConverter (or a subclass of
- this class).
-
-
-
-
- JSF:SPEC:36.6
-
- jakarta.faces.DateTime -- An instance of
- jakarta.faces.convert.DateTimeConverter (or a subclass of
- this class).
-
-
-
-
- JSF:SPEC:36.7
-
- jakarta.faces.Double -- An instance of
- jakarta.faces.convert.DoubleConverter (or a subclass of
- this class).
-
-
-
-
- JSF:SPEC:36.8
-
- jakarta.faces.Float -- An instance of
- jakarta.faces.convert.FloatConverter (or a subclass of
- this class).
-
-
-
-
- JSF:SPEC:36.9
-
- jakarta.faces.Integer -- An instance of
- jakarta.faces.convert.IntegerConverter (or a subclass of
- this class).
-
-
-
-
- JSF:SPEC:36.10
-
- jakarta.faces.Long -- An instance of
- jakarta.faces.convert.LongConverter (or a subclass of this
- class).
-
-
-
-
- JSF:SPEC:36.11
-
- jakarta.faces.Number -- An instance of
- jakarta.faces.convert.NumberConverter (or a subclass of
- this class).
-
-
-
-
- JSF:SPEC:36.12
-
- jakarta.faces.Short -- An instance of
- jakarta.faces.convert.ShortConverter (or a subclass of
- this class).
-
-
-
-
-
-
- JSF:SPEC:37
-
- A JSF implementation must register converters for all of the
- following classes using the by-type registration mechanism:
-
-
-
-
- JSF:SPEC:37.1
-
- java.math.BigDecimal, and java.math.BigDecimal.TYPE --
- An instance of jakarta.faces.convert.BigDecimalConverter
- (or a subclass of this class).
-
-
-
-
- JSF:SPEC:37.2
-
- java.math.BigInteger, and java.math.BigInteger.TYPE --
- An instance of jakarta.faces.convert.BigIntegerConverter
- (or a subclass of this class).
-
-
-
-
- JSF:SPEC:37.3
-
- java.lang.Boolean, and java.lang.Boolean.TYPE -- An
- instance of jakarta.faces.convert.BooleanConverter
- (or a subclass of this class).
-
-
-
-
- JSF:SPEC:37.4
-
- java.lang.Byte, and java.lang.Byte.TYPE -- An instance
- of jakarta.faces.convert.ByteConverter (or a subclass of
- this class).
-
-
-
-
- JSF:SPEC:37.5
-
- java.lang.Character, and java.lang.Character.TYPE -- An
- instance of jakarta.faces.convert.CharacterConverter
- (or a subclass of this class).
-
-
-
-
- JSF:SPEC:37.6
-
- java.lang.Double, and java.lang.Double.TYPE -- An
- instance of jakarta.faces.convert.DoubleConverter (or a
- subclass of this class).
-
-
-
-
- JSF:SPEC:37.7
-
- java.lang.Float, and java.lang.Float.TYPE -- An instance
- of jakarta.faces.convert.FloatConverter (or a subclass of
- this class).
-
-
-
-
- JSF:SPEC:37.8
-
- java.lang.Integer, and java.lang.Integer.TYPE -- An
- instance of jakarta.faces.convert.IntegerConverter (or a
- subclass of this class).
-
-
-
-
- JSF:SPEC:37.9
-
- java.lang.Long, and java.lang.Long.TYPE -- An instance
- of jakarta.faces.convert.LongConverter (or a subclass of
- this class).
-
-
-
-
- JSF:SPEC:37.10
-
- java.lang.Short, and java.lang.Short.TYPE -- An instance
- of jakarta.faces.convert.ShortConverter (or a subclass of
- this class).
-
-
-
-
- JSF:SPEC:37.11
-
- java.lang.Enum, and java.lang.Enum.TYPE -- An instance
- of jakarta.faces.convert.EnumConverter (or a subclass of
- this class).
-
-
-
-
-
-
- JSF:SPEC:38
-
- A compliant implementation must allow the registration of a
- converter for class java.lang.String and java.lang.String.TYPE
- that will be used to convert values for these types.
-
-
-
-
- JSF:SPEC:39
-
- A concrete UIComponent subclass that emits events of a
- particular type must include public methods to register and
- deregister a listener implementation.
-
-
-
-
- JSF:SPEC:40
-
- The following standard Validator implementations (in the
- jakarta.faces.validator package) are provided:
-
-
-
-
- JSF:SPEC:40.1
-
- DoubleRangeValidator—Checks the local value of a
- component, which must be of any numeric type, against
- specified maximum and/or minimum values. Standard
- identifier is “jakarta.faces.DoubleRange”.
-
-
-
-
- JSF:SPEC:40.2
-
- LengthValidator—Checks the length (i.e. number of
- characters) of the local value of a component, which
- must be of type String, against maximum and/or minimum
- values. Standard identifier is “jakarta.faces.Length”.
-
-
-
-
- JSF:SPEC:40.3
-
- LongRangeValidator—Checks the local value of a
- component, which must be of any numeric type convertible
- to long, against maximum and/or minimum values. Standard
- identifier is “jakarta.faces.LongRange”.
-
-
-
-
- JSF:SPEC:40.4
-
- MethodExpressionValidator—Wraps a MethodExpression and
- interprets it as pointing to a method that performs
- validation. Any exception thrown when the expression
- is invoked is wrapped in a ValidatorException in similar
- fashion as the above validators.
-
-
-
-
-
-
-
-
-
- JSF:SPEC:41
-
- The implementation for each standard UIComponent class
- must specify two public static final String constant values:
-
-
-
-
- JSF:SPEC:41.1
-
- COMPONENT_TYPE -- The standard component type identifier
- under which the corresponding component class is
- registered with the Application object for this
- application. This value may be used as a parameter to
- the createComponent() method.
-
-
-
-
- JSF:SPEC:41.2
-
- COMPONENT_FAMILY -- The standard component family
- identifier used to select an appropriate Renderer for
- this component.
-
-
-
-
-
-
- JSF:SPEC:42
-
- UIColumn specializes the behavior of render-independent
- properties inherited from the parent class as follows:
-
-
-
-
- JSF:SPEC:42.1
-
- The default value of the family property must be set to
- “jakarta.faces.Column”.
-
-
-
-
- JSF:SPEC:42.2
-
- The default value of the rendererType property must be
- set to null.
-
-
-
-
-
-
- JSF:SPEC:43
-
- UICommand components specialize the behavior of
- renderindependent properties inherited from the parent class as
- follows:
-
-
-
-
- JSF:SPEC:43.1
-
- The default value of the family property must be set to
- “jakarta.faces.Command”.
-
-
-
-
- JSF:SPEC:43.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Button”.
-
-
-
-
-
-
- JSF:SPEC:44
-
- UIData specializes the behavior of render-independent properties
- inherited from the parent component as follows:
-
-
-
-
- JSF:SPEC:44.1
-
- The default value of the family property must be set to
- “jakarta.faces.Data”.
-
-
-
-
- JSF:SPEC:44.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Table”.
-
-
-
-
-
-
- JSF:SPEC:45
-
- A DataModel wrapper instance must automatically be provided by
- the JSF implementation if the current value is of one of the
- following types:
-
-
-
-
- JSF:SPEC:45.1
-
- java.util.List
-
-
-
-
- JSF:SPEC:45.2
-
- Array of java.util.Object
-
-
-
-
- JSF:SPEC:45.3
-
- java.sql.ResultSet (which therefore also supports
- javax.sql.RowSet)
-
-
-
-
- JSF:SPEC:45.4
-
- javax.servlet.jsp.jstl.sql.Result
-
-
-
-
- JSF:SPEC:45.5
-
- Any other Java object is wrapped by a DataModel instance
- with a single row
-
-
-
-
-
-
- JSF:SPEC:46
-
- UIData specializes the behavior of the processDecodes(),
- processValidators(), and processUpdates() methods inherited from
- its parent as follows:
-
-
-
-
- JSF:SPEC:46.1
-
- For each of these methods, the UIData implementation
- must iterate over each row in the underlying data model,
- starting with the row identified by the first property,
- for the number of rows indicated by the rows property,
- by calling the setRowIndex() method.
-
-
-
-
- JSF:SPEC:46.2
-
- When iteration is complete, set the rowIndex property of
- this component, and of the underlying DataModel, to
- zero, and remove any request attribute exposed via the
- var property.
-
-
-
-
-
-
- JSF:SPEC:47
-
- The encodeEnd() method of the renderer for UIForm must call
- ViewHandler.writeState() before writing out the markup for the
- closing tag of the form.
-
-
-
-
- JSF:SPEC:48
-
- UIForm specializes the behavior of render-independent properties
- inherited from the parent component as follows:
-
-
-
-
- JSF:SPEC:48.1
-
- The default value of the family property must be set to
- “jakarta.faces.Form”.
-
-
-
-
- JSF:SPEC:48.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Form”.
-
-
-
-
-
-
- JSF:SPEC:49
-
- The setSubmitted() method of each UIForm instance in the view
- must be called during the Apply Request Values phase of the
- request processing lifecycle, during the processing performed by
- the UIComponent.decode() method. If this UIForm instance
- represents the form actually being submitted on this request,
- the parameter must be set to true; otherwise, it must be set to
- false.
-
-
-
-
- JSF:SPEC:50
-
- The value of a UIForm's submitted property must not be saved as
- part of its state.
-
-
-
-
- JSF:SPEC:51
-
- The saveState() method of UIForm must call setSubmitted(false)
- before calling super.saveState().
-
-
-
-
- JSF:SPEC:52
-
- Override the parent method to ensure that children of this
- UIForm instance in the view have the form’s clientId prepended
- to their clientIds if and only if the form’s prependId property
- is true.
-
-
-
-
- JSF:SPEC:53
-
- UIGraphic specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- JSF:SPEC:53.1
-
- The default value of the family property must be set to
- “jakarta.faces.Graphic”.
-
-
-
-
- JSF:SPEC:53.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Image”.
-
-
-
-
-
-
- JSF:SPEC:54
-
- UIInput specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- JSF:SPEC:54.1
-
- The default value of the family property must be set to
- “jakarta.faces.Input”.
-
-
-
-
- JSF:SPEC:54.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Text”.
-
-
-
-
- JSF:SPEC:54.3
-
- The Converter specified by the converter property (if
- any) must also be used to perform String->Object
- conversions during decoding.
-
-
-
-
- JSF:SPEC:54.4
-
- If the value property has an associated ValueExpression,
- the setValue() method of that ValueExpression will be
- called during the Update Model Values phase of the
- request processing lifecycle to push the local value of
- the component back to the corresponding model bean
- property.
-
-
-
-
-
-
- JSF:SPEC:55
-
- UIMessage specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- JSF:SPEC:55.1
-
- The default value of the family property must be set to
- “jakarta.faces.Message”.
-
-
-
-
- JSF:SPEC:55.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Message”.
-
-
-
-
-
-
- JSF:SPEC:56
-
- UIOutput specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- JSF:SPEC:56.1
-
- The default value of the family property must be set to
- “jakarta.faces.Output”.
-
-
-
-
- JSF:SPEC:56.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Text”.
-
-
-
-
-
-
- JSF:SPEC:57
-
- UIPanel specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- JSF:SPEC:57.1
-
- The default value of the family property must be set to
- “jakarta.faces.Panel”.
-
-
-
-
- JSF:SPEC:57.2
-
- The default value of the rendererType property must be
- set to null.
-
-
-
-
-
-
- JSF:SPEC:58
-
- UIParameter specializes the behavior of renderindependent
- properties inherited from the parent component as follows:
-
-
-
-
- JSF:SPEC:58.1
-
- The default value of the family property must be set to
- “jakarta.faces.Parameter”.
-
-
-
-
- JSF:SPEC:58.2
-
- The default value of the rendererType property must be
- set to null.
-
-
-
-
-
-
- JSF:SPEC:59
-
- UISelectBoolean specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- JSF:SPEC:59.1
-
- The default value of the family property must be set to
- “jakarta.faces.SelectBoolean”.
-
-
-
-
- JSF:SPEC:59.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Checkbox”.
-
-
-
-
-
-
- JSF:SPEC:60
-
- UISelectItem specializes the behavior of renderindependent
- properties inherited from the parent component as follows:
-
-
-
-
- JSF:SPEC:60.1
-
- The default value of the family property must be set to
- “jakarta.faces.SelectItem”.
-
-
-
-
- JSF:SPEC:60.2
-
- The default value of the rendererType property must be
- set to null.
-
-
-
-
- JSF:SPEC:60.3
-
- If the value property is non-null, it must contain a
- SelectItem instance used to configure the selection item
- specified by this component.
-
-
-
-
- JSF:SPEC:60.4
-
- If the value property is a value expression, it must
- point at a SelectItem instance used to configure the
- selection item specified by this component.
-
-
-
-
- JSF:SPEC:60.5
-
- If the value property is null, and there is no
- corresponding value expression, the itemDescription,
- itemDisabled, itemLabel and itemValue properties must be
- used to construct a new SelectItem representing the
- selection item specified by this component.
-
-
-
-
-
-
- JSF:SPEC:61
-
- UISelectItems specializes the behavior of renderindependent
- properties inherited
-
-
-
-
- JSF:SPEC:61.1
-
- The default value of the family property must be set to
- “jakarta.faces.SelectItems”.
-
-
-
-
- JSF:SPEC:61.2
-
- The default value of the rendererType property must be
- set to null.
-
-
-
-
- JSF:SPEC:61.3
-
- If the value property (or the value returned by a value
- expression associated with the value property) is
- non-null, it must contain a SelectItem bean, an array of
- SelectItem beans, a Collection of SelectItem beans, or a
- Map, where each map entry is used to construct a
- SelectItem bean with the key as the label property of
- the bean, and the value as the value property of the
- bean (which must be of the same basic type as the value
- of the parent component’s value).
-
-
-
-
-
-
- JSF:SPEC:62
-
- UISelectMany must provide a specialized validate() method which
- ensures that any decoded values are valid options (from the
- nested UISelectItem and UISelectItems children).
-
-
-
-
- JSF:SPEC:63
-
- UISelectOne specializes the behavior of renderindependent
- properties inherited from the parent component as follows:
-
-
-
-
- JSF:SPEC:63.1
-
- The default value of the family property must be set to
- “jakarta.faces.SelectOne”.
-
-
-
-
- JSF:SPEC:63.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Menu”.
-
-
-
-
-
-
- JSF:SPEC:64
-
- UISelectOne must provide a specialized validate() method which
- ensures that any decoded value is a valid option (from the
- nested UISelectItem and UISelectItems children).
-
-
-
-
- JSF:SPEC:65
-
- UIViewRoot specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- JSF:SPEC:65.1
-
- The default value of the family property must be set to
- “jakarta.faces.ViewRoot”.
-
-
-
-
- JSF:SPEC:65.2
-
- The default value of the rendererType property must be
- set to null.
-
-
-
-
-
-
- JSF:SPEC:66
-
- The JSF implementation must provide concrete implementations of
- DataModel (in the jakarta.faces.model package) for the following
- data wrapping scenarios:
-
-
-
-
- JSF:SPEC:66.1
-
- ArrayDataModel -- Wrap an array of Java objects.
-
-
-
-
- JSF:SPEC:66.2
-
- ListDataModel -- Wrap a java.util.List of Java objects.
-
-
-
-
- JSF:SPEC:66.3
-
- ResultDataModel -- Wrap an object of type
- javax.servlet.jsp.jstl.sql.Result (the query results
- from JSTL’s SQL tag library)
-
-
-
-
- JSF:SPEC:66.4
-
- ResultSetDataModel -- Wrap an object of type
- java.sql.ResultSet (which therefore means that
- javax.sql.RowSet instances are also supported).
-
-
-
-
- JSF:SPEC:66.5
-
- ScalarDataModel -- Wrap a single Java object in what
- appears to be a one-row data set.
-
-
-
-
-
-
-
-
-
-
- JSF:SPEC:67
-
- It is an error to specify a managed bean class that does not
- exist, or that cannot be instantiated with a public, zero-args
- constructor.
-
-
-
-
- JSF:SPEC:68
-
- It is an error to specify a <property-name> element for a
- property that does not exist, or does not have a public setter
- method, on the specified managed bean class.
-
-
-
-
- JSF:SPEC:69
-
- It is an error to specify a value element that cannot be
- converted to the type required by a managed property, or that,
- when evaluated, results in a value that cannot be converted to
- the type required by a managed property.
-
-
-
-
- JSF:SPEC:70
-
- If the type of the property referenced by the
- <managed-property> element is a Java enum, the contents of
- the <value> element must be a String that yields a valid
- return from java.lang.Enum.valueOf(PROPERTY_CLASS, VALUE) where
- PROPERTY_CLASS is the java.lang.Class for the property and VALUE
- is the contents of <value> element in the application
- configuration resource. If any exception is thrown from
- Enum.valueOf() it is an error.
-
-
-
-
- JSF:SPEC:71
-
- It is an error for a managed bean created through The Managed
- Bean Creation Facility to have a property that points at an
- object stored in a scope with a (potentially) shorter life span.
- Specifically, this means, for an object created with the
- specified <managed-bean-scope>, then <value>
- evaluations can only point at created objects with the specified
- managed bean scope:
-
- ■ none -- none
- ■ application -- none, application
- ■ session -- none, application, session
- ■ request -- none, application, session, request
-
-
-
-
- JSF:SPEC:72
-
- Data accessed via an implicit object is also defined to be in a
- scope. The following implicit objects are considered to be in
- request scope:
-
- ■ cookie
- ■ facesContext
- ■ header
- ■ headerValues
- ■ param
- ■ paramValues
- ■ request
- ■ requestScope
- ■ view
-
-
-
-
- JSF:SPEC:73
-
- The only implicit objects in session scope are session and
- sessionScope.
-
-
-
-
- JSF:SPEC:74
-
- The following implicit objects are considered to be in
- application scope:
-
- ■ application
- ■ applicationScope
- ■ initParam
-
-
-
-
- JSF:SPEC:75
-
- It is an error to configure cyclic references between managed
- beans.
-
-
-
-
- JSF:SPEC:76
-
- Managed bean names must conform to the syntax of a Java language
- identifier.
-
-
-
-
- JSF:SPEC:77
-
- <null-value/> -- An empty element indicating that this property
- must be explicitly initialized to null. This element is not allowed if
- the underlying property is of a Java primitive type.
-
-
-
-
- JSF:SPEC:78
-
- Each <managed-property> element contains the following elements
- used to configure the execution of the corresponding property setter
- call:
-
-
-
-
- JSF:SPEC:78.1
-
- <property-name> -- The property name of the property to be
- configured.
-
-
-
-
- JSF:SPEC:78.2
-
- <map-entries> -- A set of key/value pairs used to
- initialize the contents of a property of type java.util.Map.
-
-
-
-
- JSF:SPEC:78.3
-
- <null-value/> -- An empty element indicating that this
- property must be explicitly initialized to null. This element is
- not allowed if the underlying property is of a Java primitive
- type.
-
-
-
-
- JSF:SPEC:78.4
-
- <value> -- A String value that will have any leading and
- trailing spaces stripped, and then be converted prior to
- setting it to this value.
-
-
-
-
- JSF:SPEC:78.5
-
- <list-entries> -- A set of values used to initialize the
- contents of a property of type array or java.util.List.
-
-
-
-
-
-
- JSF:SPEC:79
-
- The initialization of bean properties from <map-entries> elements
- must adhere to the following algorithm:
-
-
-
-
- JSF:SPEC:79.1
-
- Call the property getter. If the getter returns null or doesn't
- exist, create a java.util.HashMap, otherwise
- use the returned java.util.Map.
-
-
-
-
- JSF:SPEC:79.2
-
- Add all entries defined by nested <map-entry> elements in
- the order they are listed, converting key values defined by
- nested <key> elements to the type defined by <keyclass>
- and entry values defined by nested <value> elements to the
- type defined by <value-class>.
-
-
-
-
- JSF:SPEC:79.3
-
- If a value is given as a value expression, evaluate the
- reference and store the result, converting to <value-class>
- if necessary. If <key-class> and/or <value-class>
- are not defined, use java.lang.String. Add null for each
- <null-value> element.
-
-
-
-
- JSF:SPEC:79.4
-
- If a new java.util.Map was created, set the property by calling
- the setter method, or log an error if there is no setter method.
-
-
-
-
-
-
- JSF:SPEC:80
-
- The initialization of bean properties from <list-entries> elements
- must adhere to the following algorithm:
-
-
-
-
- JSF:SPEC:80.1
-
- Call the property getter, If the getter returns null or doesn't
- exist, create a java.util.ArrayList, otherwise use the returned
- Object (an array or a java.util.List).
-
-
-
-
- JSF:SPEC:80.2
-
- add all elements defined by nested <value> elements in the
- order they are listed, converting values defined by nested
- <value> elements to the type defined by <value-class>.
-
-
-
-
- JSF:SPEC:80.3
-
- If a value is given as a value expression, evaluate the
- reference and store the result, converting to <valueclass>
- if necessary. If a <value-class> is not defined, use the
- value as-is (i.e., as a java.lang.String). Add null for each
- <null-value> element.
-
-
-
-
- JSF:SPEC:80.4
-
- If an array was returned, create a java.util.ArrayList and copy
- all elements from the returned array to the new List, wrapping
- elements of a primitive type.
-
-
-
-
- JSF:SPEC:80.5
-
- If a new java.util.List was created, and the property is of type
- List, set the property by calling the setter method, or log an
- error if there is no setter method.
-
-
-
-
- JSF:SPEC:80.6
-
- If a new java.util.List was created, and the property is a java
- array, convert the List into an array of the property type, and
- set it by calling the setter method, or log an error if there is
- no setter method.
-
-
-
-
- JSF:SPEC:80.7
-
- If a new java.util.List was created, convert the List
- to an array of the proper type for the property and set the
- property by calling the setter method, or log an error if there
- is no setter method.
-
-
-
-
-
-
- JSF:SPEC:81
-
- Here is a summary of the valid injection annotations one may use
- in a managed bean.
-
- @Resource
- @Resources
- @EJB
- @EJBs
- @WebServiceRef
- @WebServiceRefs
- @PersistenceContext
- @PersistenceContexts
- @PersistenceUnit
- @PersistenceUnits
-
-
-
-
- JSF:SPEC:82
-
- JSF implementations running in a Java EE 5 compliant container must
- support attaching the @PostConstruct and @PreDestroy annotations to aid
- in awareness of the managedbean lifecycle.
-
-
-
-
- JSF:SPEC:82.1
-
- Methods on managed beans declared to be in request, session, or
- application scope, annotated with @PostConstruct, must be called
- by the JSF implementation after resource injection is performed
- (if any) but before the bean is placed into scope.
-
-
-
-
- JSF:SPEC:82.2
-
- If the method throws an unchecked exception, the JSF
- implementation must not put the managed-bean into service and
- further methods on that managed bean instance must not be
- called.
-
-
-
-
- JSF:SPEC:82.3
-
- Methods on managed beans declared to be in request, session, or
- application scope, annotated with @PreDestroy, must be called by
- the JSF implementation before the bean is removed from its scope
- or before the scope itself is destroyed, whichever comes first.
- This annotation must be supported in all cases where the above
- @PostConstruct annotation is supported.
-
-
-
-
- JSF:SPEC:82.4
-
- If the method throws an unchecked exception, the JSF
- implementation may log it, but the exception must not otherwise
- alter the execution.
-
-
-
-
-
-
-
-
-
-
- JSF:SPEC:83
-
- The JSF implementation must ensure that the Application instance
- for the current web application is available via this method, as
- a convenient alternative to lookup via an ApplicationFactory.
-
-
-
-
- JSF:SPEC:84
-
- Upon creation of the ELContext instance, the implementation must
- take the following action:
-
-
-
-
- JSF:SPEC:84.1
-
- Call the ELContext.putContext(java.lang.Class,
- java.lang.Object) method on the instance, passing in
- FacesContext.class and the this reference for the
- FacesContext instance itself.
-
-
-
-
- JSF:SPEC:84.2
-
- If the Collection returned by
- jakarta.faces.Application.getELContextListeners() is
- non-empty, create an instance of ELContextEvent and pass
- it to each ELContextListener instance in the Collection
- by calling the ELContextListener.contextCreated
- (jakarta.el.ELContextEvent) method.
-
-
-
-
-
-
- JSF:SPEC:85
-
- The ExternalContext abstract class must be implemented along
- with the FacesContext class, and must be accessible via the
- getExternalContext method in FacesContext.
-
-
-
-
- JSF:SPEC:86
-
- The dispatch() must use a RequestDispatcher provided by the
- application context object to incorporate content from a
- specified context-relative resource. The redirect() method must
- cause an HTTP Redirect to be sent to the client.
-
-
-
-
- JSF:SPEC:87
-
- The getClientIdsWithMessages() method must return an Iterator
- over the client identifiers for which at least one Message has
- been queued. This method must be implemented so the clientIds
- are returned in the order of calls to addMessage().
-
-
-
-
- JSF:SPEC:88
-
- In some circumstances, it is possible that both renderResponse()
- and responseComplete() might have been called for the request.
- In this case, the JSF implementation must respect the
- responseComplete() call (if it was made) before checking to see
- if renderResponse() was called.
-
-
-
-
- JSF:SPEC:89
-
- The getCurrentInstance() method may be called by any Java class
- in the current web application to retrieve an instance of the
- FacesContext for this request. The JSF implementation must
- ensure that this value is set correctly before
- FacesContextFactory returns a FacesContext instance,
- and that the value is maintained in a thread-safe manner.
-
-
-
-
- JSF:SPEC:90
-
- A single instance of jakarta.faces.context.FacesContextFactory
- must be made available to each JSF-based web application
- running in a servlet or portlet container.
-
-
-
-
-
-
-
- JSF:SPEC:91
-
- The JSF implementation must provide a default implementation
- ActionListener that performs the following functions:
-
-
-
-
- JSF:SPEC:91.1
-
- The processAction() method must call
- FacesContext.renderResponse() in order to bypass any
- intervening lifecycle phases, once the method returns.
-
-
-
-
- JSF:SPEC:91.2
-
- The processAction() method must next determine the
- logical outcome of this event, as follows:
-
-
-
-
- JSF:SPEC:91.2.1
-
- If the originating component has a non-null
- action property, retrieve the MethodBinding and
- call invoke() to perform the application-
- specified processing in this action method. If
- the method returns non-null, call toString() on
- the result and use the value returned as the
- logical outcome.
-
-
-
-
- JSF:SPEC:91.2.2
-
- The default logical outcome is null.
-
-
-
-
-
-
-
-
- JSF:SPEC:92
-
- If a call is made to setViewHandler() after the first time the
- Render Response phase has executed, the call must be ignored by
- the implementation.
-
-
-
-
- JSF:SPEC:93
-
- The default implementation simply returns the ExpressionFactory
- from the JSP container by calling JspFactory.getDefaultFactory()
- .getJspApplicationContext(servletContext)
- .getExpressionFactory().
-
-
-
-
- JSF:SPEC:94
-
- The "public UIComponent createComponent(ValueExpression
- componentExpression, FacesContext context,
- String componentType);" method has the following behavior:
-
-
-
-
- JSF:SPEC:94.1
-
- Call the getValue() method on the specified
- ValueExpression, in the context of the specified
- FacesContext. If this results in a non-null UIComponent
- instance, return it as the value of this method.
-
-
-
-
- JSF:SPEC:94.2
-
- If the getValue() call did not return a component
- instance, create a new component instance of the
- specified component type, pass the new component to the
- setValue() method of the specified ValueExpression, and
- return it.
-
-
-
-
-
-
- JSF:SPEC:95
-
- The default NavigationHandler implementation must behave as if
- it were performing the following algorithm (although optimized
- implementation techniques may be utilized):
-
-
-
-
- JSF:SPEC:95.1
-
- If the logical outcome value passed to the
- handleNavigation() method is null, do not scan for
- matching rules. This is an indication that the current
- view should be redisplayed.
-
-
-
-
- JSF:SPEC:95.2
-
- Find a <navigation-rule> element for which the
- view identifier (of the view in the FacesContext
- instance for the current request) matches the
- <from-view-id> matching pattern of the
- <navigation-rule>. Rule instances are considered
- in the following order:
-
-
-
-
- JSF:SPEC:95.2.1
-
- An exact match of the view identifier against a
- <from-view-id> pattern that does not end with an
- asterisk (“*”) character.
-
-
-
-
- JSF:SPEC:95.2.2
-
- For <from-view-id> patterns that end with an
- asterisk, an exact match on characters preceding the
- asterisk against the prefix of the view id. If the
- patterns for multiple navigation rules match, pick the
- longest matching prefix first.
-
-
-
-
- JSF:SPEC:95.2.3
-
- If there is a <navigation-rule> with a
- <from-view-id> pattern of only an asterisk3, it
- matches any view identifier.
-
-
-
-
-
-
- JSF:SPEC:95.3
-
- From the <avigation-case> elements nested within the
- matching <navigationrule> element, locate a matching
- navigation case by matching the <from-action> and
- <from-outcome> values against the corresponding parameter
- values passed in to the handleNavigation() method. Navigation
- cases are checked in the following order:
-
-
-
-
- JSF:SPEC:95.3.1
-
- Cases specifying both a <from-action> value and a
- <from-outcome> value are matched against the
- action expression and outcome parameters passed to the
- handleNavigation() method (both parameters must be not
- null, and both must be equal to the corresponding
- condition values, in order to match).
-
-
-
-
- JSF:SPEC:95.3.2
-
- Cases that specify only a <from-outcome> value are
- matched against the outcome parameter passed to the
- handleNavigation() method (which must be not null,
- and equal to the corresponding condition value, to
- match).
-
-
-
-
- JSF:SPEC:95.3.3
-
- Cases that specify only a <from-action> value are
- matched against the action expression parameter passed
- to the handleNavigation() method (which must be not
- null, and equal to the corresponding condition value, to
- match).
-
-
-
-
-
-
- JSF:SPEC:95.4
-
- If a matching <navigation-case> element was located, and
- the <redirect/> element was not specified in this
- <navigation-case> (or the application is running in a
- Portlet environment, where redirects are not possible), use the
- <to-view-id> element of the matching case to request a new
- UIViewRoot instance from the ViewHandler instance for this
- application, and pass it to the setViewRoot() method of the
- FacesContext instance for the current request. Then, exit the
- algorithm.
-
-
-
-
- JSF:SPEC:95.5
-
- If a matching <navigation-case> element was located, the
- <redirect/> element was specified in this
- <navigation-case>, and the application is not running in a
- Portlet environment, use the <to-view-id> element of the
- matching case to construct a context-relative path that
- corresponds to that view id, cause the current response to
- perform an HTTP redirect to this path, and call
- responseComplete() on the FacesContext instance for the current
- request.
-
-
-
-
- JSF:SPEC:95.6
-
- If no matching <navigation-case> element was located,
- return to Step 1 and find the next matching
- <navigation-rule> element (if any). If there are no more
- matching rule elements, return without changing the current
- view.
-
-
-
-
-
-
- JSF:SPEC:96
-
- The calculateCharacterEncoding() method must fulfill the following
- responsibilities:
-
-
-
-
- JSF:SPEC:96.1
-
- Examine the Content-Type request header. If it has a charset
- parameter extract it and return it.
-
-
-
-
- JSF:SPEC:96.2
-
- If not, test for the existence of a session by calling
- getSession(false) on the ExternalContext for this FacesContext.
- If the session is non-null, look in the Map returned by the
- getSessionMap() method of the ExternalContext for a value under
- the key given by the value of the symbolic constant
- jakarta.faces.application.ViewHandler.CHARACTER_ENCODING_KEY. If a
- value is found, convert it to a String and return it.
-
-
-
-
-
-
- JSF:SPEC:97
-
- The calculateLocale() method must fulfill the following
- responsibilities:
-
-
-
-
- JSF:SPEC:97.1
-
- Attempt to match one of the locales returned by the getLocales()
- method of the ExternalContext instance for this request, against
- the supported locales for this application as defined in the
- application configuration resources. Matching is performed by
- the algorithm described in Section JSTL.8.3.2 of the JSTL
- Specification. If a match is found, return the corresponding
- Locale object.
-
-
-
-
- JSF:SPEC:97.2
-
- Otherwise, if the application has specified a default locale in
- the application configuration resources, return the
- corresponding Locale object.
-
-
-
-
- JSF:SPEC:97.3
-
- Otherwise, return the value returned by calling
- Locale.getDefault().
-
-
-
-
-
-
- JSF:SPEC:98
-
- The calculateRenderKitId() method must fulfill the following
- responsibilities:
-
-
-
-
- JSF:SPEC:98.1
-
- Return the value of the request parameter named by the symbolic
- constant ResponseStateManager.RENDER_KIT_ID_PARAM if it is not
- null.
-
-
-
-
- JSF:SPEC:98.2
-
- Otherwise, return the value returned by
- Application.getDefaultRenderKitId() if it is not null.
-
-
-
-
- JSF:SPEC:98.3
-
- Otherwise, return the value specified by the symbolic constant
- RenderKitFactory.HTML_BASIC_RENDER_KIT.
-
-
-
-
-
-
- JSF:SPEC:99
-
- The createView() method must fulfill the following responsibilities:
-
-
-
-
- JSF:SPEC:99.1
-
- Calculate the viewId that corresponds to this request, as
- follows:
-
-
-
-
- JSF:SPEC:99.1.1
-
- If prefix mapping (such as “/faces/*”) is used for
- FacesServlet, the viewId is set from the extra path
- information of the request URI.
-
-
-
-
- JSF:SPEC:99.1.2
-
- If suffix mapping (such as “*.faces”) is used for
- FacesServlet, the viewId is set from the servlet path
- information of the request URI, after replacing the
- suffix with the value of the context initialization
- parameter named by the symbolic constant
- ViewHandler.DEFAULT_SUFFIX_PARAM_NAME (if no such
- context initialization parameter is present, use the
- value of the symbolic constant
- ViewHandler.DEFAULT_SUFFIX as the replacement suffix).
-
-
-
-
-
-
- JSF:SPEC:99.2
-
- If no viewId could be identified, or the viewId is exactly equal
- to the servlet mapping, call the redirect() method of the
- ExternalContext instance for this request, passing the context
- path of this web application.
-
-
-
-
- JSF:SPEC:99.3
-
- Create a new UIViewRoot object instance
-
-
-
-
- JSF:SPEC:99.4
-
- Conditionally copy the renderKitId and locale from any current
- view for the current request (as described in the Javadocs for
- createView()).
-
-
-
-
- JSF:SPEC:99.5
-
- Return the newly created UIViewRoot.
-
-
-
-
-
-
- JSF:SPEC:100
-
- The getActionURL() method must fulfill the following responsibilities:
-
-
-
-
- JSF:SPEC:100.1
-
- If the specified viewId does not start with a “/”, throw
- IllegalArgumentException.
-
-
-
-
- JSF:SPEC:100.2
-
- If prefix mapping (such as “/faces/*”) is used for FacesServlet,
- prepend the context path of the current application, and the
- specified prefix, to the specified viewId and return the
- completed value. For example “/cardemo/faces/chooseLocale.jsp”.
-
-
-
-
- JSF:SPEC:100.3
-
- If suffix mapping (such as “*.faces”) is used for FacesServlet,
- and the specified viewId ends with the specified suffix,
- replacing the suffix with the value specified by the context
- initialization parameter named by the symbolic constant
- ViewHandler.DEFAULT_SUFFIX_NAME (if no such context
- initialization parameter is present, use the value of the
- symbolic constant ViewHandler.DEFAULT_SUFFIX as the replacement
- suffix), prefix this value with the context path for the current
- web application, and return the result. For example
- “/cardemo/chooseLocale.faces”
-
-
-
-
-
-
- JSF:SPEC:101
-
- The getResourceURL() method must fulfill the following responsibilities:
-
-
-
-
- JSF:SPEC:101.1
-
- If the specified path starts with a “/”, prefix it with the
- context path for the current web application, and return the
- result.
-
-
-
-
- JSF:SPEC:101.2
-
- Otherwise, return the specified path value unchanged.
-
-
-
-
-
-
- JSF:SPEC:102
-
- The initView() method must fulfill the following responsibilities:
- Call calculateCharacterEncoding(). If the result is non-null pass the
- result to the setRequestCharacterEncoding() method of the
- ExternalContext for this FacesContext.
-
-
-
-
- JSF:SPEC:103
-
- The renderView() method must fulfill the following responsibilities:
-
-
-
-
- JSF:SPEC:103.1
-
- If the current request is a ServletRequest, call the set()
- method of the javax.servlet.jsp.jstl.core.Config class, passing
- the current ServletRequest, the symbolic constant
- Config.FMT_LOCALE, and the locale property of the specfied
- UIViewRoot. This configures JSTL with the application’s
- preferred locale for rendering this response.
-
-
-
-
- JSF:SPEC:103.2
-
- Update the JSTL locale attribute in request scope so that JSTL
- picks up the new locale from the UIViewRoot.
-
-
-
-
- JSF:SPEC:103.3
-
- Create a wrapper around the current response from the
- ExternalContext and set it as the new response in the
- ExternalContext.
-
-
-
-
- JSF:SPEC:103.4
-
- Execute the JSP page to build the view by treating the viewId as
- a context-relative path(starting with a slash character), by
- passing it to the dispatch() method of the ExternalContext
- associated with this request.
-
-
-
-
- JSF:SPEC:103.5
-
- Restore the original response into the ExternalContext.
-
-
-
-
- JSF:SPEC:103.6
-
- If the FacesContext has a non-null ResponseWriter create a new
- writer using its cloneWithWriter() method, passing the
- response’s Writer as the argument.
-
-
-
-
- JSF:SPEC:103.7
-
- Set the new ResponseWriter into the FacesContext, saving the
- old one aside.
-
-
-
-
- JSF:SPEC:103.8
-
- Call saveView() on the StateManager for this application, saving
- the result in a thread-safe manner for use in the writeState()
- method of ViewHandler.
-
-
-
-
- JSF:SPEC:103.9
-
- Call startDocument() on the ResponseWriter.
-
-
-
-
- JSF:SPEC:103.10
-
- Call encodeAll() on the UIViewRoot.
-
-
-
-
- JSF:SPEC:103.11
-
- Output any content in the wrapped response from above to the
- response, removing the wrapped response from the thread-safe
- storage.
-
-
-
-
- JSF:SPEC:103.12
-
- Call endDocument() on the ResponseWriter.
-
-
-
-
- JSF:SPEC:103.13
-
- If the old ResponseWriter was not null, place the old
- ResponseWriter back into the FacesContext.
-
-
-
-
-
-
- JSF:SPEC:104
-
- The restoreView() method must fulfill the following responsibilities:
-
-
-
-
- JSF:SPEC:104.1
-
- Calculate the viewId that corresponds to this request using the
- “The ViewId derivation algorithm”.
-
-
-
-
- JSF:SPEC:104.2
-
- If no viewId could be identified, return null.
-
-
-
-
- JSF:SPEC:104.3
-
- Call the restoreView() method of the associated StateManager,
- passing the FacesContext instance for the current request and
- the calculated viewId, and return the returned UIViewRoot,
- which may be null
-
-
-
-
-
-
- JSF:SPEC:105
-
- The writeState() method must Obtain the saved state stored in a
- thread-safe manner during the invocation of renderView() and pass it to
- the writeState() method of the StateManager for this application.
-
-
-
-
- JSF:SPEC:106
-
- The "public Object saveView(FacesContext context)" method causes the
- tree structure and component state of the view contained in the argument
- FacesContext to be collected, stored, and returned in a java.lang.Object
- instance that must implement java.io.Serializable. If null is returned
- from this method, there is no state tosave.
-
-
-
-
- JSF:SPEC:107
-
- The "public boolean isSavingStateInClient(FacesContext context)" method
- will Return true if and only if the value of the ServletContext init
- parameter named by the value of the constant
- StateManager.STATE_SAVING_METHOD_PARAM_NAME is equal to the value of the
- constant STATE_SAVING_METHOD_CLIENT. Return false otherwise.
-
-
-
-
-
-
-
-
- JSF:SPEC:108
-
- A JSF implementation must provide a default RenderKit instance
- (named by the render kit identifier associated with the String constant
- RenderKitFactory.HTML_BASIC_RENDER_KIT) that is utilized if no other
- RenderKit is selected.
-
-
-
-
- JSF:SPEC:109
-
- The RenderKit must support a value for the contentTypeList argument that
- comes straight from the Accept HTTP header, and therefore requires
- parsing according to the specification of the Accept header.
-
-
-
-
- JSF:SPEC:110
-
- The "getState(FacesContext context)" implementation must inspect the
- current request and return the component tree state Object passed to it
- on a previous invocation of writeState().
-
-
-
-
- JSF:SPEC:111
-
- The ResponseStateManager.RENDER_KIT_ID_PARAM identifier must not be
- written if:
-
-
-
-
- JSF:SPEC:111.1
-
- it is the default render kit identifier as returned by
- Application.getDefaultRenderKitId().
-
-
-
-
- JSF:SPEC:111.2
-
- the render kit identifier is the value of
- RenderKitFactory.HTML_BASIC_RENDER_KIT and
- Application.getDefaultRenderKitId() returns null.
-
-
-
-
-
-
- JSF:SPEC:112
-
- A single instance of jakarta.faces.render.RenderKitFactory must be made
- available to each JSFbased web application running in a servlet or
- portlet container.
-
-
-
-
- JSF:SPEC:113
-
- Every JSF implementation must provide a RenderKit instance for a default
- render kit identifier that is designated by the String constant
- RenderKitFactory.HTML_BASIC_RENDER_KIT.
-
-
-
-
- JSF:SPEC:114
-
- The returned Iterator from getRenderKitIds() must include the value
- specified by RenderKitFactory.HTML_BASIC_RENDER_KIT.
-
-
-
-
- JSF:SPEC:115
-
- As with the standard components in the jakarta.faces.component package,
- each HTML component implementation class must define a static public
- final String constant named COMPONENT_TYPE, whose value is “jakarta.faces.”
- concatenated with the class name.
-
-
-
-
- JSF:SPEC:116
-
- HTML components, must not define a COMPONENT_FAMILY constant, or
- override the getFamily() method they inherit from their superclass.
-
-
-
-
-
-
-
-
- JSF:SPEC:117
-
- All JSF implementations must provide a tag library containing core
- actions (described below) that are independent of a particular
- RenderKit.The corresponding tag library descriptor must meet the
- following requirements:
-
-
-
-
- JSF:SPEC:117.1
-
- Must declare a tag library version (tlib-version) value of 1.2.
-
-
-
-
- JSF:SPEC:117.2
-
- Must declare a URI (uri) value of http://java.sun.com/jsf/core.
-
-
-
-
- JSF:SPEC:117.3
-
- Must be included in the META-INF directory of a JAR file
- containing the corresponding implementation classes, suitable
- for inclusion with a web application, such that the tag library
- descriptor will be located automatically by the algorithm
- described in Section 7.3 of the JavaServer Pages Specification
- (version 2.1).
-
-
-
-
-
-
- JSF:SPEC:118
-
- If the f:actionListener tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement ActionSource, or the specified listener class does not
- implement jakarta.faces.event.ActionListener, throw a JspException.
-
-
-
-
- JSF:SPEC:119
-
- If the f:convertDateTime tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement ValueHolder, throw a JspException
-
-
-
-
- JSF:SPEC:120
-
- The implementation class for f:convertDateTime must meet the following
- requirements:
-
-
-
-
- JSF:SPEC:120.1
-
- Must extend jakarta.faces.webapp.ConverterTag.
-
-
-
-
- JSF:SPEC:120.2
-
- createConverter() method must, if binding is non-null,
- call getValue() on it to obtain a reference to the
- Converter instance. If there is no exception thrown, and
- binding.getValue() returned a non-null object that implements
- jakarta.faces.convert.Converter, it must then cast the returned
- instance to jakarta.faces.convert.DateTimeConverter and configure
- its properties based on the specified attributes for this custom
- action, and return the configured instance.
-
-
-
-
- JSF:SPEC:120.3
-
- If the createConverter()method has an exception thrown, rethrow
- the exception as a JspException.
-
-
-
-
- JSF:SPEC:120.4
-
- If dateStyle is specified but timeStyle is not specified,
- default to date.
-
-
-
-
- JSF:SPEC:120.5
-
- If dateStyle is not specified but timeStyle is specified,
- default to time.
-
-
-
-
- JSF:SPEC:120.6
-
- If both dateStyle and timeStyle are specified, default to both.
-
-
-
-
-
-
- JSF:SPEC:121
-
- If the f:convertNumber tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement ValueHolder, throw a JspException.
-
-
-
-
- JSF:SPEC:122
-
- The implementation class for the f:convertNumber action must meet the
- following requirements:
-
-
-
-
- JSF:SPEC:122.1
-
- Must extend jakarta.faces.webapp.ConverterTag.
-
-
-
-
- JSF:SPEC:122.2
-
- The createConverter() method, If binding is non-null, call
- binding.getValue() to obtain a reference to the Converter
- instance. If there is no exception thrown, and
- binding.getValue() returned a non-null object that implements
- jakarta.faces.convert.Converter, it must then cast the returned
- instance to jakarta.faces.convert.NumberConverter and configure
- its properties based on the specified attributes for this custom
- action, and return the configured instance.
-
-
-
-
- JSF:SPEC:122.3
-
- If there was an exception thrown, rethrow the exception as a
- JspException.
-
-
-
-
- JSF:SPEC:122.4
-
- Call the createConverter() method of the Application
- instance for this application, passing converter id
- “jakarta.faces.Number”. If the binding attribute was also set,
- store the converter instance by calling binding.setValue(). It
- must then cast the returned instance to
- jakarta.faces.convert.NumberConverter and configure its properties
- based on the specified attributes for this custom action, and
- return the configured instance.
-
-
-
-
-
-
- JSF:SPEC:123
-
- If this tag is not nested inside a UIComponent custom action, or the
- UIComponent implementation class does not correctly implement
- ValueHolder, throw a JspException.
-
-
-
-
- JSF:SPEC:124
-
- The implementation class for f:converter action must meet the following
- requirements:
-
-
-
-
- JSF:SPEC:124.1
-
- Must extend jakarta.faces.webapp.ConverterJspTag.
-
-
-
-
- JSF:SPEC:124.2
-
- The createConverter() method must, If binding is non-null, call
- binding.getValue() to obtain a reference to the Converter
- instance. If there is no exception thrown, and
- binding.getValue() returned a non-null object that implements
- jakarta.faces.convert.Converter, register it by calling
- setConverter(). If there was an exception thrown, rethrow
- the exception as a JspException.
-
-
-
-
- JSF:SPEC:124.3
-
- Use the converterId attribute if the converter instance could
- not be created from the binding attribute. If the converterId
- attribute is set, call the createConverter() method of the
- Application instance for this application, passing converter id
- specified by their converterId attribute. If the binding
- attribute was also set, store the converter instance by calling
- binding.setValue(). Register the converter instance by calling
- setConverter(). If there was an exception thrown, rethrow the
- exception as a JspException.
-
-
-
-
-
-
- JSF:SPEC:125
-
- f:facet tag must be nested inside a UIComponent custom action.
- Exactly one UIComponent custom action must be nested inside this custom action
- (although the nested component custom action could itself have nested children).
-
-
-
-
- JSF:SPEC:126
-
- Exactly one UIComponent custom action must be nested inside this custom
- action(although the nested component custom action could itself have
- nested children).
-
-
-
-
- JSF:SPEC:127
-
- The implementation class of the f:facet tag must be, or extend,
- jakarta.faces.webapp.FacetTag.
-
-
-
-
- JSF:SPEC:128
-
- f:loadBundle tag must be nested inside an f:view tag custom action.
-
-
-
-
- JSF:SPEC:129
-
- f:param tag must be nested inside a UIComponent custom action.
-
-
-
-
- JSF:SPEC:130
-
- The implementation class for f:param tag this action must meet the
- following requirements:
-
-
-
-
- JSF:SPEC:130.1
-
- Must extend jakarta.faces.UIComponentELTag.
-
-
-
-
- JSF:SPEC:130.2
-
- The getComponentType() method must return “Parameter”.
-
-
-
-
- JSF:SPEC:130.3
-
- The getRendererType() method must return null.
-
-
-
-
-
-
- JSF:SPEC:131
-
- f:phaseListener tag must be nested inside a UIViewRoot custom action.
-
-
-
-
- JSF:SPEC:132
-
- The specified listener class for f:phaseListener must implement
- jakarta.faces.event.PhaseListener.
-
-
-
-
- JSF:SPEC:133
-
- type and/or binding must be specified for the phaseListener impl.
-
-
-
-
- JSF:SPEC:134
-
- f:selectItem must be nested inside a UIComponent custom action
- that creates a UISelectMany or UISelectOne component instance.
-
-
-
-
- JSF:SPEC:135
-
- The implementation class for this action must meet the following
- requirements:
-
-
-
-
- JSF:SPEC:135.1
-
- Must extend jakarta.faces.UIComponentELTag.
-
-
-
-
- JSF:SPEC:135.2
-
- The getComponentType() method must return “SelectItem”.
-
-
-
-
- JSF:SPEC:135.3
-
- The getRendererType() method must return null.
-
-
-
-
-
-
- JSF:SPEC:136
-
- Must be nested inside a UIComponent custom action that creates a
- UISelectMany or UISelectOne component instance.
-
-
-
-
- JSF:SPEC:137
-
- The implementation class for the f:selectItems action must meet
- the following requirements:
-
-
-
-
- JSF:SPEC:137.1
-
- Must extend jakarta.faces.UIComponentELTag.
-
-
-
-
- JSF:SPEC:137.2
-
- The getComponentType() method must return
- “jakarta.faces.SelectItems”.
-
-
-
-
- JSF:SPEC:137.3
-
- The getRendererType() method must return null.
-
-
-
-
-
-
- JSF:SPEC:138
-
- f:setPropertyActionListener must be nested inside a UIComponent custom
- action.
-
-
-
-
- JSF:SPEC:139
-
- The corresponding UIComponent implementation class for
- f:setPropertyActionListener must implement ActionSource, and therefore
- define a public addActionListener() method that accepts an
- ActionListener parameter.
-
-
-
-
- JSF:SPEC:140
-
- The tag implementation must only create and register the ActionListener
- instance the first time the component for this tag is created
-
-
-
-
- JSF:SPEC:141
-
- When the listener executes, call getValue() on the "value"
- ValueExpression. Pass the result to a call to setValue() on the "target"
- ValueExpression
-
-
-
-
- JSF:SPEC:142
-
- This tag creates no output to the page currently being created. It is
- used solely for the side effect of ActionListener creation and addition.
-
-
-
-
- JSF:SPEC:143
-
- If this tag is not nested inside a UIComponent custom action, or the
- UIComponent implementation class does not correctly implement
- ActionSource, or the specified listener class does not implement
- jakarta.faces.event.ActionListener, throw a JspException.
-
-
-
-
- JSF:SPEC:144
-
- f:subview must be nested inside a f:view custom action although this
- custom action might be in a page that is including the page containing
- the f:subview custom action.
-
-
-
-
- JSF:SPEC:145
-
- f:subview must not contain an f:view custom action.
-
-
-
-
- JSF:SPEC:146
-
- f:subview must have an id attribute whose value is unique within the
- scope of the parent naming container.
-
-
-
-
- JSF:SPEC:147
-
- The implementation class for f:subview must extend
- jakarta.faces.UIComponentELTag.
-
-
-
-
- JSF:SPEC:148
-
- The implementation class's getComponentType() method must return
- “NamingContainer”.
-
-
-
-
- JSF:SPEC:149
-
- The implementation class's getRendererType() method must return null.
-
-
-
-
- JSF:SPEC:150
-
- If the f:validateDoubleRange tag is not nested inside a UIComponent
- custom action, or the UIComponent implementation class does not
- correctly implement EditableValueHolder throw a JspException.
-
-
-
-
- JSF:SPEC:151
-
- The implementation class for the f:validateDoubleRange action must meet
- the following requirements:
-
-
-
-
- JSF:SPEC:151.1
-
- Must extend jakarta.faces.webapp.ValidatorTag.
-
-
-
-
- JSF:SPEC:151.2
-
- The createValidator() method must, If binding is non-null,
- create a ValueBinding by invoking
- Application.createValueExpression() with binding as the
- expression argument, and Validator.class as the expectedType
- argument.
-
-
-
-
- JSF:SPEC:151.3
-
- use the validatorId if the validator instance could not be
- created from the binding attribute.
-
-
-
-
- JSF:SPEC:151.4
-
- If there is an exception thrown, rethrow the exception as a
- JspException.
-
-
-
-
-
-
- JSF:SPEC:152
-
- If the f:validateLength tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement EditableValueHolder, throw a JspException.
-
-
-
-
- JSF:SPEC:153
-
- The implementation class for this action must meet the following
- requirements:
-
-
-
-
- JSF:SPEC:153.1
-
- Must extend jakarta.faces.webapp.ValidatorTag.
-
-
-
-
- JSF:SPEC:153.2
-
- If binding is non-null, create a ValueExpression by invoking
- Application.createValueExpression() with binding as the
- expression argument, and Validator.
-
-
-
-
- JSF:SPEC:153.3
-
- Use the validatorId if the validator instance could not be
- created from the binding attribute. Call the createValidator()
- method of the Application instance for this application,
-
-
-
-
- JSF:SPEC:153.4
-
- If there was an exception thrown, rethrow the exception
- as a JspException.
-
-
-
-
-
-
- JSF:SPEC:154
-
- f:validateLongRange must be nested inside a EditableValueHolder custom
- action whose value is (or is convertible to) a long.
-
-
-
-
- JSF:SPEC:155
-
- f:validateLongRange must specify either the maximum attribute, the
- minimum attribute, or both.
-
-
-
-
- JSF:SPEC:156
-
- For f:validateLongRange if both limits are specified, the maximum limit
- must be greater than the minimum limit.
-
-
-
-
- JSF:SPEC:157
-
- If the f:validateLongRange tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement EditableValueHolder, throw a JspException
-
-
-
-
- JSF:SPEC:158
-
- The implementation class for the f:validateLongRange action must meet
- the following requirements:
-
-
-
-
- JSF:SPEC:158.1
-
- Must extend jakarta.faces.webapp.ValidatorTag.
-
-
-
-
- JSF:SPEC:158.2
-
- The createValidator() method must, if binding is non-null,
- create a ValueExpression by invoking
- Application.createValueExpression() with binding as the
- expression argument, and Validator.
-
-
-
-
- JSF:SPEC:158.3
-
- The createValidator() method must, use the validatorId if the
- validator instance could not be created from the binding
- attribute.
-
-
-
-
- JSF:SPEC:158.4
-
- If there is an exception thrown, rethrow the exception as a
- JspException
-
-
-
-
-
-
- JSF:SPEC:159
-
- f:validator tag must be nested inside a UIComponent custom action whose
- component class implements EditableValueHolder.
-
-
-
-
- JSF:SPEC:160
-
- validatorId and/or binding must be specified.
-
-
-
-
- JSF:SPEC:161
-
- If the f:validator tag is not nested inside a UIComponent custom action,
- or the UIComponent implementation class does not correctly implement
- EditableValueHolder throw a JspException.
-
-
-
-
- JSF:SPEC:162
-
- The implementation class for the f:validator action must meet the
- following requirements:
-
-
-
-
- JSF:SPEC:162.1
-
- Must extend jakarta.faces.webapp.ValidatorJspTag.
-
-
-
-
- JSF:SPEC:162.2
-
- The createValidator() method must, if binding is non-null,
- call binding.getValue() to obtain a reference to the
- Validator instance.
-
-
-
-
- JSF:SPEC:162.3
-
- The createValidator() method must, use the validatorId attribute
- if the validator instance could not be created from the binding
- attribute.
-
-
-
-
- JSF:SPEC:162.4
-
- The createValidator() method must, If there was an exception
- thrown, rethrow the exception as a JspException.
-
-
-
-
-
-
- JSF:SPEC:163
-
- f:valueChangeListener must be nested inside a UIComponent custom action.
-
-
-
-
- JSF:SPEC:164
-
- The corresponding UIComponent implementation class for
- f:valueChangeListener must implement EditableValueHolder, and therefore
- define a public addValueChangeListener() method that accepts an
- ValueChangeListener parameter.
-
-
-
-
- JSF:SPEC:165
-
- The specified listener class for f:valueChangeListener must implement
- jakarta.faces.event.ValueChangeListener.
-
-
-
-
- JSF:SPEC:166
-
- type and/or binding must be specified.
-
-
-
-
- JSF:SPEC:167
-
- If this tag is not nested inside a UIComponent custom action, or the
- UIComponent implementation class does not correctly implement
- EditableValueHolder, or the specified listener class does not implement
- jakarta.faces.event.ValueChangeListener, throw a JspException.
-
-
-
-
- JSF:SPEC:168
-
- f:verbatim must be implemented as a UIComponentBodyTag.
-
-
-
-
- JSF:SPEC:169
-
- The rendererType property for the f:verbatim tag's UIOutput component
- must be set to “jakarta.faces.Text”
-
-
-
-
- JSF:SPEC:170
-
- The f:verbatim tag's transient property must be set to true.
-
-
-
-
- JSF:SPEC:171
-
- The value (or value binding, if it is an expression) of the escape
- attribute must be passed on to the renderer as the value the escape
- attribute on the UIOutput component.
-
-
-
-
- JSF:SPEC:172
-
- Any JSP-created response using actions from the JSF Core Tag Library,
- as well as actions extending jakarta.faces.webapp.UIComponentELTag from
- other tag libraries, must be nested inside an occurrence of the
- f:view action.
-
-
-
-
- JSF:SPEC:173
-
- The implementation class for the f:view action must meet the following
- requirements:
-
-
-
-
- JSF:SPEC:173.1
-
- Must extend jakarta.faces.UIComponentBodyTag.
-
-
-
-
- JSF:SPEC:173.2
-
- The getComponentType() method must return “ViewRoot”.
-
-
-
-
- JSF:SPEC:173.3
-
- The getRendererType() method must return null.
-
-
-
-
-
-
- JSF:SPEC:174
-
- The tag library descriptor for this tag library must meet the following
- requirements:
-
-
-
-
- JSF:SPEC:174.1
-
- Must declare a tag library version (tlib-version) value of
- 1.2.
-
-
-
-
- JSF:SPEC:174.2
-
- Must declare a URI tag value of
- http://java.sun.com/jsf/html.
-
-
-
-
- JSF:SPEC:174.3
-
- Must be included in the META-INF directory of a JAR file
- containing the corresponding implementation classes, suitable
- for inclusion with a web application, such that the tag library
- descriptor will be located automatically by the algorithm
- described in Section 7.3 of the JavaServer Pages Specification
- (version 1.2).
-
-
-
-
-
-
- JSF:SPEC:175
-
- The custom actions defined in this tag library must specify the
- following return values for the getComponentType() and getRendererType()
- methods, respectively:
-
-
-
-
- JSF:SPEC:175.1
-
- Action column:
- getComponentType()- returns jakarta.faces.Column
- getRendererType()- returns (null)*
-
-
-
-
- JSF:SPEC:175.2
-
- Action commandButton:
- getComponentType()- returns jakarta.faces.HtmlCommandButton
- getRendererType()- returns jakarta.faces.Button
-
-
-
-
- JSF:SPEC:175.3
-
- Action commandLink:
- getComponentType()- returns jakarta.faces.HtmlCommandLink
- getRendererType()- returns jakarta.faces.Link
-
-
-
-
- JSF:SPEC:175.4
-
- Action dataTable:
- getComponentType()- returns jakarta.faces.HtmlDataTable
- getRendererType()- returns jakarta.faces.Table
-
-
-
-
- JSF:SPEC:175.5
-
- Action form:
- getComponentType()- returns jakarta.faces.HtmlForm
- getRendererType()- returns jakarta.faces.Form
-
-
-
-
- JSF:SPEC:175.6
-
- Action graphicImage:
- getComponentType()- returns jakarta.faces.HtmlGraphicImage
- getRendererType()- returns jakarta.faces.Image
-
-
-
-
- JSF:SPEC:175.7
-
- Action inputHidden:
- getComponentType()- returns jakarta.faces.HtmlInputHidden
- getRendererType()- returns jakarta.faces.Hidden
-
-
-
-
- JSF:SPEC:175.8
-
- Action inputSecret:
- getComponentType()- returns jakarta.faces.HtmlInputSecret
- getRendererType()- returns jakarta.faces.Secret
-
-
-
-
- JSF:SPEC:175.9
-
- Action inputSecret:
- getComponentType()- returns jakarta.faces.HtmlInputSecret
- getRendererType()- returns jakarta.faces.Secret
-
-
-
-
- JSF:SPEC:175.10
-
- Action inputText:
- getComponentType()- returns jakarta.faces.HtmlInputText
- getRendererType()- returns jakarta.faces.Text
-
-
-
-
- JSF:SPEC:175.11
-
- Action inputTextarea:
- getComponentType()- returns jakarta.faces.HtmlInputTextarea
- getRendererType()- returns jakarta.faces.Textarea
-
-
-
-
- JSF:SPEC:175.12
-
- Action message:
- getComponentType()- returns jakarta.faces.HtmlMessage
- getRendererType()- returns jakarta.faces.Message
-
-
-
-
- JSF:SPEC:175.13
-
- Action messages:
- getComponentType()- returns jakarta.faces.HtmlMessages
- getRendererType()- returns jakarta.faces.Messages
-
-
-
-
- JSF:SPEC:175.14
-
- Action outputFormat:
- getComponentType()- returns jakarta.faces.HtmlOutputFormat
- getRendererType()- returns jakarta.faces.Format
-
-
-
-
- JSF:SPEC:175.15
-
- Action outputLabel:
- getComponentType()- returns jakarta.faces.HtmlOutputLabel
- getRendererType()- returns jakarta.faces.Label
-
-
-
-
- JSF:SPEC:175.16
-
- Action outputLink:
- getComponentType()- returns jakarta.faces.HtmlOutputLink
- getRendererType()- returns jakarta.faces.Link
-
-
-
-
- JSF:SPEC:175.17
-
- Action outputText:
- getComponentType()- returns jakarta.faces.HtmlOutputText
- getRendererType()- returns jakarta.faces.Text
-
-
-
-
- JSF:SPEC:175.18
-
- Action panelGrid:
- getComponentType()- returns jakarta.faces.HtmlPanelGrid
- getRendererType()- returns jakarta.faces.Grid
-
-
-
-
- JSF:SPEC:175.19
-
- Action panelGroup:
- getComponentType()- returns jakarta.faces.HtmlPanelGroup
- getRendererType()- returns jakarta.faces.Group
-
-
-
-
- JSF:SPEC:175.20
-
- Action selectBooleanCheckbox:
- getComponentType()-
- returns jakarta.faces.HtmlSelectBooleanCheckbox
- getRendererType()- returns jakarta.faces.Checkbox
-
-
-
-
- JSF:SPEC:175.21
-
- Action selectManyListbox:
- getComponentType()- returns jakarta.faces.HtmlSelectManyListbox
- getRendererType()- returns jakarta.faces.Listbox
-
-
-
-
- JSF:SPEC:175.22
-
- Action selectManyMenu:
- getComponentType()- returns jakarta.faces.HtmlSelectManyMenu
- getRendererType()- returns jakarta.faces.Menu
-
-
-
-
- JSF:SPEC:175.23
-
- Action selectOneListbox:
- getComponentType()- returns jakarta.faces.HtmlSelectOneListbox
- getRendererType()- returns jakarta.faces.Listbox
-
-
-
-
- JSF:SPEC:175.24
-
- Action selectOneMenu:
- getComponentType()- returns jakarta.faces.HtmlSelectOneMenu
- getRendererType()- returns jakarta.faces.Menu
-
-
-
-
- JSF:SPEC:175.25
-
- Action selectOneRadio:
- getComponentType()- returns jakarta.faces.HtmlSelectOneRadio
- getRendererType()- returns jakarta.faces.Radio
-
-
-
-
-
-
- JSF:SPEC:176
-
- The tag library descriptor for this tag library (and the corresponding
- tag handler implementation classes) must meet the following
- requirements:
-
-
-
-
- JSF:SPEC:176.1
-
- The attributes for the tags, both in the TLD and in the
- associated tag handlers, must conform exactly to the type, name,
- and description given in the TLDDocs for the
- html_basic tag library.
-
-
-
-
- JSF:SPEC:176.2
-
- If the type of the attribute is jakarta.el.MethodExpression, the
- TLD for the attribute must contain a <deferred-method>
- with a nested <method-signature>, inside of which is the
- method signature for that MethodExpression, as given in the
- TLDDocs. The JavaBeans setter method in the tag handler for the
- tag must be of type jakarta.el.MethodExpression.
-
-
-
-
- JSF:SPEC:176.3
-
- Any attributes listed in the TLDDocs with a request-time value
- of true must specify an <rtexprvalue> of true in the TLD.
-
-
-
-
- JSF:SPEC:176.4
-
- The following action must be taken to handle the value of the
- converter property. If isLiteralText() on the converter property
- returns true, get the value of the property and treat it as a
- converterId by passing it as the argument to the
- createConverter() method of the Application instance for this
- webapp, then pass the created Converter to the setConverter()
- method of the component for this tag. If isLiteralText() on the
- converter property returns false, call setValueExpression() on
- the component, passing “converter” as the name of the
- ValueExpression and the ValueExpression instance as the value.
-
-
-
-
- JSF:SPEC:176.5
-
- For a non-null action attribute on custom actions related to
- ActionSource2 components (commandButton, commandLink), the
- setProperties() method of the tag handler implementation class
- must pass the value of the action attribtue, which is a
- MethodExpression, to the component’s setActionExpression()
- method.
-
-
-
-
- JSF:SPEC:176.6
-
- For other non-null attributes that correspond to
- MethodExpression attributes on the underlying components
- (actionListener, validator, valueChangeListener), the
- setProperties() method of the tag handler implementation class
- must store that instance as the value of the corresponding
- component property.
-
-
-
-
- JSF:SPEC:176.7
-
- For any non-null id, scope, or var attribute, the
- setProperties() method of the tag handler implementation class
- must simply set the value of the corresponding component
- attribute.
-
-
-
-
- JSF:SPEC:176.8
-
- For all other non-null attributes, the setProperties() of the
- tag handler implementation class method must, if the
- attribute.isLiteralText() returns true, set the corresponding
- attribute on the underlying component (after performing any
- necessary type conversion). Otherwise, call the
- setValueExpression() method on the underlying component,
- passing the attribute name and the ValueExpression‘ instance as
- parameters.
-
-
-
-
-
-
-
-
-
- JSF:SPEC:177
-
- Facelet pages are authored in XHTML. The runtime must support all XHTML
- pages that confirm with the XHTML-1.0-Transitional DTD, as described at
- http://www.w3.org/TR/xhtml1/#a_dtd_XHTML-1.0-Transitional
-
-
-
-
- JSF:SPEC:178
-
- The runtime must support the following syntax for making the tags in a
- tag library available for use in a Facelet page.
- <html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:prefix="namespace_uri">
-
-
-
-
- JSF:SPEC:179
-
- The runtime must support the following syntax for making the tags in a
- tag library available for use in a Facelet page
-
-
-
-
- JSF:SPEC:179.1
-
- Via declaration in the web.xml, as specified in Section11.1.3
- “Application Configuration Parameters”
-
-
-
-
- JSF:SPEC:179.2
-
- Via auto discovery by placing the tag library discriptor file
- within a jar on the web application classpath, naming the
- file so that it ends with “.taglib.xml”, without the quotes,
- and placing the file in the META-INF directory in the jar file
-
-
-
-
-
-
- JSF:SPEC:180
-
- Failure to parse, process and otherwise interpret any of the tag
- library files discovered must cause the application to fail to deploy
- and must cause an informative error message to be logged.
-
-
-
-
- JSF:SPEC:181
-
- The runtime must support the following two ways of declaring a
- composite component library.
-
-
-
-
- JSF:SPEC:181.1
-
- If a facelet taglibrary is declared in an XHTML page with a
- namespace starting with the string
- “http://java.sun.com/jsf/composite/” (without the quotes),
- the remainder of the namespace declaration is taken as the name
- of a resource library as described in Section2.6.1.4 “Libraries
- of Localized and Versioned Resources
-
-
-
-
- JSF:SPEC:181.2
-
- the runtime must also support the <composite-library-name>
- element.
-
-
-
-
-
-
- JSF:SPEC:182
-
- If, during the process of building the view, the facelet runtime
- encounters an element in the page using the prefix for the namespace of
- a composite component library, the runtime must create a Resource
- instance with a library property equal to the library name derived in
- Section10.3.3.1 “Declaring a composite component library for use in a
- Facelet page”and call the variant of application.createComponent() that
- takes a Resource.
-
-
-
-
- JSF:SPEC:183
-
- After causing the top level component to be instantiated, the runtime
- must create a UIComponent with component- family of jakarta.faces.Panel
- and renderer-type jakarta.faces.Group to be installed as a facet of the
- top level component under the facet name
- UIComponent.COMPOSITE_FACET_NAME.
-
-
-
-
- JSF:SPEC:184
-
- The runtime must support the use of composite: tag library in the
- defining page pointed to by the Resource derived as specified in
- Section10.3.3.2 “Creating an instance of a top level component”
-
-
-
-
- JSF:SPEC:185
-
- The runtime must ensure that all UIComponent children in the composite
- component definition within the defining page are placed as children of
- the UIComponent.COMPOSITE_FACET_NAME facet of the top level facet
-
-
-
-
- JSF:SPEC:186
-
- The runtime must ensure that all such attributes are copied to the
- attributes map of the top level component instance in the following
- manner.
-
-
-
-
- JSF:SPEC:186.1
-
- Obtain a reference to the ExpressionFactory, for discussion
- called expressionFactory.
-
-
-
-
- JSF:SPEC:186.2
-
- Let the value of the attribute in the using page be value.
-
-
-
-
- JSF:SPEC:186.3
-
- If value is “id” or “binding” without the quotes, skip to the
- next attribute.
-
-
-
-
- JSF:SPEC:186.4
-
- f the value of the attribute starts with “#{“ (without the
- quotes) call expressionFactory.createValueExpression(elContext,
- value, Object.class)
-
-
-
-
- JSF:SPEC:186.5
-
- If the value of the attribute does not start with “#{“, call
- expressionFactory.createValueExpression(value, Object.class)
-
-
-
-
- JSF:SPEC:186.6
-
- If there already is a key in the map for value, inspect the type
- of the value at that key. If the type is MethodExpression take
- no action.
-
-
-
-
-
-
- JSF:SPEC:187
-
- If the type of the attribute is a MethodExpression, the code that
- takes the value of the attribute and creates an actual
- MethodExpression instance around it must take the following special
- action.
-
-
-
-
- JSF:SPEC:187.1
-
- Obtain a reference to the current composite component by calling
- UIComponent.getCurrentCompositeComponent().
-
-
-
-
- JSF:SPEC:187.2
-
- Look in the attribute of the component for a key under the value
- attrName.
-
-
-
-
- JSF:SPEC:187.3
-
- There must be a value and it must be of type MethodExpression.
- If either of these conditions are false allow the ensuing
- exception to be thrown.
-
-
-
-
- JSF:SPEC:187.4
-
- Call invoke() on the discovered MethodExpression, passing the
- arguments passed to our invoke() method.
-
-
-
-
-
-
- JSF:SPEC:188
-
- The String value for identifiers specified for execute and render may be
- specified as a search expression as outlined in the JavaDocs for
- UIComponent.findComponent.The implementation must resolve these
- identifiers as specified for UIComponent.findComponent.
-
-
-
-
- JSF:SPEC:189
-
- A TagAttibuteException must be thrown if an “event” attribute value is
- specified that does not match the events supported by the component
- type.
-
-
-
-
- JSF:SPEC:190
-
- The event attribute that is specified, must be one of the events
- returned from the ClientBehaviorHolder component implementation of
- ClientBehaviorHolder.getEventNames.
-
-
-
-
- JSF:SPEC:191
-
- If an event is not specified the value returned from the component
- implementation of ClientBehaviorHolder.getDefaultEventName must be used.
- If the event is still not determined, a TagAttributeException must be
- thrown.
-
-
-
-
- JSF:SPEC:192
-
- If an event is not specified the value returned from the component
- implementation of ClientBehaviorHolder.getDefaultEventName must be used.
- If the event is still not determined, a TagAttributeException must be
- thrown.
-
-
-
-
- JSF:SPEC:193
-
- The "Description" tag handler must create an instance of
- jakarta.faces.component.behavior.AjaxBehavior instance using the tag
- attribute values.
-
-
-
-
- JSF:SPEC:194
-
- If teh "Description" tag is nested within a single ClientBehaviorHolder
- component:
-
-
-
-
- JSF:SPEC:194.1
-
- If the event attribute is not specified, determine the event by
- calling the component’s getDefaultEventName method. If that
- returns null, throw an exception.
-
-
-
-
- JSF:SPEC:194.2
-
- If the event attribute is specified, ensure that it is a valid
- event - that is one of the events contained in the Collection
- returned from getEventNames method. If it does not exist in this
- Collection, throw an exception.
-
-
-
-
- JSF:SPEC:194.3
-
- Add the AjaxBehavior to the component by calling the addBehavior
- method, passing the event and AjaxBehavior instance.
-
-
-
-
-
-
- JSF:SPEC:195
-
- When the VDL calls for the creation of a UIComponent instance, after
- calling Application.createComponent() to instantiate the component
- instance, and after calling setRendererType() on the newly instantiated
- component instance, the following action must be taken.
-
-
-
-
- JSF:SPEC:195.1
-
- Obtain the Renderer for this component. If no Renderer is
- present, ignore the following steps.
-
-
-
-
- JSF:SPEC:195.2
-
- Call getClass() on the Renderer instance and inspect if the
- ListenerFor annotation is present. If so, inspect if the
- Renderer instance implements ComponentSystemEventListener. If
- neither of these conditions are true, ignore the following
- steps.
-
-
-
-
- JSF:SPEC:195.3
-
- Obtain the value of the systemEventClass() property of the
- ListenerFor annotation on the Renderer instance.
-
-
-
-
- JSF:SPEC:195.4
-
- Call subscribeToEvent() on the UIComponent instance from which
- the Renderer instance was obtained, using the systemEventClass
- from the annotation as the second argument, and the Renderer
- instance as the third argument.
-
-
-
-
-
-
-
-
-
-
- JSF:SPEC:196
-
- This servlet must be defined, in the deployment descriptor of an
- application that wishes to employ this portable mechanism.
- The servlet name, denoted as faces-servlet-name above, may be any
- desired value; however, the same value must be used as teh servlet-name
- in the servlet mapping.
-
-
-
-
- JSF:SPEC:197
-
- JSF implementations must support web application that define a
- <servlet-mapping> that maps any valid url-pattern to the
- FacesServlet.
-
-
-
-
- JSF:SPEC:198
-
- JSF implementations are required to support the following application
- configuration parameter names:
-
-
-
-
- JSF:SPEC:198.1
-
- jakarta.faces.CONFIG_FILES -- Comma-delimited list of
- context-relative resource paths under which the JSF
- implementation will look for application configuration
- resources before loading a configuration resource named
- “/WEB-INF/faces-config.xml”
-
-
-
-
- JSF:SPEC:198.2
-
- jakarta.faces.DEFAULT_SUFFIX -- The default suffix for
- extension-mapped resources that contain JSF components. If not
- specified, the default value “.jsp” must be used.
-
-
-
-
- JSF:SPEC:198.3
-
- jakarta.faces.FACELETS_SUFFIX -- Allow the web application to
- define an alternate suffix for Facelet based XHTML pages
- containing JSF content. See the javadocs for the symbolic
- constant ViewHandler.FACELETS_SUFFIX_PARAM_NAME for the
- complete specification.
-
-
-
-
- JSF:SPEC:198.4
-
- jakarta.faces.LIFECYCLE_ID -- Lifecycle identifier of the
- Lifecycle instance to be used when processing JSF requests for
- this web application. If not specified, the JSF default
- instance, identified by LifecycleFactory.DEFAULT_LIFECYCLE, must
- be used.
-
-
-
-
- JSF:SPEC:198.5
-
- jakarta.faces.STATE_SAVING_METHOD -- The location where state
- information is saved. Valid values are “server” (typically saved
- in HttpSession) and “client (typically saved as a hidden field
- in the subsequent form submit). If not specified, the default
- value “server” must be used.
-
-
-
-
- JSF:SPEC:198.6
-
- jakarta.faces.PARTIAL_STATE_SAVING --The ServletContext init
- parameter consulted by the runtime to determine if the partial
- state saving mechanism should be used. If undefined, the runtime
- must determine the version level of the application.
-
-
-
-
- JSF:SPEC:198.6.1
-
- For applications versioned at 1.2 and under, the runtime
- must not use the partial state saving mechanism.
-
-
-
-
- JSF:SPEC:198.6.2
-
- For applications versioned at 2.0 and above, the runtime
- must use the partial state saving mechanism.
-
-
-
-
-
-
- JSF:SPEC:198.7
-
- jakarta.faces.FULL_STATE_SAVING_VIEW_IDS -- The runtime must
- interpret the value of this parameter as a comma separated list
- of view IDs, each of which must have their state saved using the
- state saving mechanism specified in JSF 1.2.
-
-
-
-
- JSF:SPEC:198.8
-
- jakarta.faces.PROJECT_STAGE -- A human readable string describing
- where this particular JSF application is in the software
- development lifecycle.
-
-
-
-
- JSF:SPEC:198.9
-
- jakarta.faces.DISABLE_FACELET_JSF_VIEWHANDLER -- If this param is
- set, and calling toLowerCase().equals("true") on a String
- representation of its value returns true, the default
- ViewHandler must behave as specified in the latest 1.2 version
- of this specification.
-
-
-
-
- JSF:SPEC:198.10
-
- jakarta.faces.FACELETS_LIBRARIES -- If this param is set, the
- runtime must interpret it as a semicolon (;) separated list of
- paths, starting with “/” (without the quotes).
-
-
-
-
- JSF:SPEC:198.11
-
- jakarta.faces.FACELETS_VIEW_MAPPINGS -- If this param is set, the
- runtime must interpret it as a semicolon (;) separated list of
- strings that is used to forcibly declare that certain pages in
- the application must be interpreted as using Facelets,
- regardless of their extension.
-
-
-
-
- JSF:SPEC:198.12
-
- jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL --
- If this param is set, and calling toLowerCase().equals("true")
- on a String representation of its value returns true, any
- implementation of UIInput.validate() must take the following
- additional action. context parameter value is true (ignoring
- case), and UIInput.getSubmittedValue() returns a zero-length
- String call UIInput.setSubmittedValue(null) and continue
- processing using null as the current submitted value
-
-
-
-
- JSF:SPEC:198.13
-
- jakarta.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZO
- NE -- If this param is set, and calling toLowerCase().equals(
- "true") on a String representation of its value returns true,
- Application.createConverter() must guarantee that the default
- for the timezone of all jakarta.faces.convert.DateTimeConverter
- instances must be equal to TimeZone.getDefault() instead of
- “GMT”.
-
-
-
-
- JSF:SPEC:198.14
-
- jakarta.faces.VALIDATE_EMPTY_FIELDS -- If this param is set, and
- calling toLowerCase().equals("true") on a String representation
- of its value returns true, all submitted fields will be
- validated
-
-
-
-
- JSF:SPEC:198.15
-
- jakarta.faces.validator.DISABLE_DEFAULT_BEAN_VALIDATOR -- If this
- param is set, and calling toLowerCase().equals("true") on a
- String representation of its value returns true, the runtime
- must not automatically add the validator with validator-id equal
- to the value of the symbolic constant
- jakarta.faces.validator.VALIDATOR_ID to the list of default
- validators.
-
-
-
-
-
-
- JSF:SPEC:199
-
- JSF implementations must also include implementations of the several
- factory classes. In order to be dynamically instantiated according to
- the algorithm defined above, the factory implementation class must
- include a public, no-arguments constructor.
-
-
-
-
- JSF:SPEC:200
-
- jakarta.faces.FactoryFinder implements the standard discovery algorithm
- for all factory objects specified in the JavaServer Faces APIs.
- For a given factory class name, a corresponding implementation class is
- searched for based on the following algorithm. Items are listed in order
- of decreasing search precedence:
-
-
-
-
- JSF:SPEC:200.1
-
- If a default JavaServer Faces configuration file
- (/WEB-INF/faces-config.xml) is bundled into the web application,
- and it contains a factory entry of the given factory class name,
- that factory class is used.
-
-
-
-
- JSF:SPEC:200.2
-
- If the JavaServer Faces configuration resource(s) named by the
- jakarta.faces.CONFIG_FILES ServletContext init parameter (if any)
- contain any factory entries of the given factory class name,
- those factories are used, with the last one taking precedence.
-
-
-
-
- JSF:SPEC:200.3
-
- If there are any META-INF/faces-config.xml resources bundled any
- JAR files in the web ServletContext’s resource paths, the
- factory entries of the given factory class name in those files
- are used, with the last one taking precedence.
-
-
-
-
- JSF:SPEC:200.4
-
- If a META-INF/services/{factory-class-name} resource is visible
- to the web application class loader for the calling application
- (typically as a result of being present in the manifest of a
- JAR file), its first line is read and assumed to be the name of
- the factory implementation class to use.
-
-
-
-
- JSF:SPEC:200.5
-
- If none of the above steps yield a match, the JavaServer Faces
- implementation specific class is used.
-
-
-
-
-
-
- JSF:SPEC:201
-
- For each of the public static final String fields on the class
- FactoryFinder whose field names end with the string “_FACTORY”
- (without the quotes), the implementation must provide an implementation
- of the corresponding Factory class using the algorithm described earlier
- in this section.
-
-
-
-
- JSF:SPEC:202
-
- The FacesServlet implementation class must also declare two static
- public final String constants whose value is a context initialization
- parameter that affects the behavior of the servlet
-
-
-
-
- JSF:SPEC:202.1
-
- CONFIG_FILES_ATTR -- the context initialization attribute that
- may optionally contain a comma-delimited list of context
- relative resources (in addition to /WEB-INF/facesconfig. xml
- which is always processed if it is present) to be processed.
- The value of this constant must be “jakarta.faces.CONFIG_FILES”.
-
-
-
-
- JSF:SPEC:202.2
-
- LIFECYCLE_ID_ATTR -- the lifecycle identifier of the Lifecycle
- instance to be used for processing requests to this application,
- if an instance other than the default is required. The value of
- this constant must be “jakarta.faces.LIFECYCLE_ID”.
-
-
-
-
-
-
- JSF:SPEC:203
-
- UIComponentELTag is an implementation of
- javax.servlet.jsp.tagext.BodyTag, and must be the base class for any JSP
- custom action that corresponds to a JSF UIComponent.
-
-
-
-
- JSF:SPEC:204
-
- The faces implementation must now provide the attributetag class.
-
-
-
-
- JSF:SPEC:205
-
- the JSF implementation must process zero or more application
- configuration resources, located according to the following algorithm:
-
-
-
-
- JSF:SPEC:205.1
-
- Search for all resources named “META-INF/faces-config.xml” in the
- ServletContext resource paths for this web application, and load
- each as a JSF configuration resource (in reverse order of the
- order in which they are returned by getResources() on the
- current Thread’s ContextClassLoader).
-
-
-
-
- JSF:SPEC:205.2
-
- Check for the existence of a context initialization parameter
- named jakarta.faces.CONFIG_FILES. If it exists, treat it as a
- comma-delimited list of context relative resource paths
- (starting with a “/”), and load each of the specfied resources.
-
-
-
-
- JSF:SPEC:205.3
-
- Check for the existence of a web application configuration
- resource named “/WEBINF/faces-config.xml”, and load it if the
- resource exists.
-
-
-
-
-
-
- JSF:SPEC:206
-
- The runtime must publish the
- jakarta.faces.event.PostConstructApplicationEvent immediately after all
- application configuration resources have been processed.
-
-
-
-
- JSF:SPEC:207
-
- XML parsing errors detected during the loading of an application
- resource file are fatal to application startup, and must cause the
- application to not be made available by the container.
-
-
-
-
- JSF:SPEC:208
-
- JSF implementations that are part of a Java EE technology compliant
- implementation are required to validate the application resource file
- against the XML schema for structural correctness. The validation is not
- required for JSF implementations that are not part of a Java EE
- technology-compliant implementation.
-
-
-
-
- JSF:SPEC:209
-
- Application configuration resources must conform to the XML schema
- shown in Appendix 1.1. In addition, they must include the following
- schema declaration.
-
-
-
-
- JSF:SPEC:210
-
- Application configuration resources that are written to run on JSF 2.0
- must include the following schema declaration...
-
-
-
-
- JSF:SPEC:211
-
- Application configuration resources that are written to run on JSF 1.2
- must include the following schema declaration...
-
-
-
-
- JSF:SPEC:212
-
- Application configuration resources that are written to run on JSF 1.1
- must include the following schema declaration...
-
-
-
-
- JSF:SPEC:213
-
- Application configuration resources that are written to run on JSF 1.0
- must include the following schema declaration...
-
-
-
-
- JSF:SPEC:214
-
- The runtime must support the decorator design pattern as specified
- below for the following artifacts.
-
-
-
-
- JSF:SPEC:215
-
- If an <name> element is present, it must be considered for the
- ordering of decoratable artifacts (unless the duplicate name exception
- applies, as described below).
-
-
-
-
- JSF:SPEC:215.1
-
- Absolute ordering: an <absolute-ordering> element in the
- applicationFacesConfig
-
-
-
-
- JSF:SPEC:215.2
-
- Relative ordering: an <ordering> element within a file in
- the applicationConfigurationResources
-
-
-
-
-
-
- JSF:SPEC:216
-
- The preceding example illustrates some, but not all, of the following
- principles.
-
-
-
-
- JSF:SPEC:216.1
-
- <before> means the document must be ordered before the
- document with the name matching the name specified within the
- nested <name> element.
-
-
-
-
- JSF:SPEC:216.2
-
- <after> means the document must be ordered after the
- document with the name matching the name specified within the
- nested <name> element.
-
-
-
-
- JSF:SPEC:216.3
-
- There is a special element <others /> which may be included
- zero or one time within the <before> or <after> element,
- or zero or one time directly within the <absolute-ordering>
- element. The <others /> element must be handled as follows.
-
-
-
-
- JSF:SPEC:216.3.1
-
- If the <before> element contains a nested
- <others />, the document will be moved to the
- beginning of the list of sorted documents.
-
-
-
-
- JSF:SPEC:216.3.2
-
- If the <after> element contains a nested
- <others />, the document will be moved to the end of
- the list of sorted documents.
-
-
-
-
- JSF:SPEC:216.3.3
-
- Within a <before> or <after> element, if an
- <tothers /> element is present, but is not the only
- <name> element within its parent element, the other
- elements within that parent must be considered in the
- ordering process.
-
-
-
-
- JSF:SPEC:216.3.4
-
- If the <others /> element appears directly within
- the <absolute-ordering> element, the runtime must
- ensure that any application configuration resources in
- applicationConfigurationResources not explicitly named
- in the <absolute-ordering> section are included at
- that point in the processing order.
-
-
-
-
-
-
- JSF:SPEC:216.4
-
- If a faces-config file does not have an <ordering> or
- <absolute-ordering> element the artifacts are assumed to not
- have any ordering dependency.
-
-
-
-
- JSF:SPEC:216.5
-
- If the runtime discovers circular references, an informative
- message must be logged, and the application must fail to deploy.
- Again, one course of action the user may take is to use absolute
- ordering in the applicationFacesConfig.
-
-
-
-
-
-
- JSF:SPEC:217
-
- If the <faces-config>> element in the WEB-INF/faces-config.xml file
- contains metadata-complete attribute whose value is “true”, the
- implementation must not perform annotation scanning on any classes
- except for those classes provided by the implementation itself.
-
-
-
-
- JSF:SPEC:218
-
- If the runtime discovers a conflict between an entry in the Application
- Configuration Resources and an annotation, the entry in the Application
- Configuration Resources takes precedence.
-
-
-
-
- JSF:SPEC:219
-
- All classes in WEB-INF/classes must be scanned.
-
-
-
-
- JSF:SPEC:220
-
- For every jar in the application's WEB-INF/lib directory, if the jar
- contains a “META-INF/faces-config.xml” file or a file that matches the
- regular expression “META-INF/.*faces-config.xml” (even an empty one),
- all classes in that jar must be scanned.
-
-
-
-
-
-
-
-
- JSF:SPEC:221
-
- Upon receipt of each JSF-destined request to this web application,
- the JSF implementation must acquire a reference to the Lifecycle
- instance for this web application, and call its execute() and render()
- methods to perform the request processing lifecycle.
-
-
-
-
- JSF:SPEC:222
-
- Any exceptions thrown during the beforePhase() listeners must be caught
- and published to the ExceptionHandler.
-
-
-
-
- JSF:SPEC:223
-
- Any exceptions thrown during the execution of the actual lifecycle
- phase, that reach the runtime code that implements the JSF lifecycle
- phase, must be caught and and published to the ExceptionHandler
-
-
-
-
- JSF:SPEC:224
-
- Any exceptions thrown during the afterPhase() liseteners must be caught
- and published to the ExceptionHandler.
-
-
-
-
-
-
-
-
- JSF:SPEC:225
-
- There must be a single JavaScript resource that exists with the resource
- identifier jsf.js
-
-
-
-
- JSF:SPEC:226
-
- The jsf.js must exist under the resource library jakarta.faces, following
- the conventions in Section 2.6 “Resource Handling”.
-
-
-
-
- JSF:SPEC:227
-
- If the OpenAjax library is available, libraries must register themselves
- using OpenAjax.registerLibrary() at the time when the JavaScript files
- are fetched and parsed by the browser’s JavaScript engine.
-
-
-
-
- JSF:SPEC:228
-
- Any implementation that intends to use the JavaServer Faces 2.0 JavaScript
- API must define a top level JavaScript object name jsf, whose type is a
- JavaScript associative array. Within that top level JavaScript object,
- found in the OpenAjax Hub, there must be a property named ajax..
-
-
-
-
- JSF:SPEC:229
-
- All Ajax requests must be put into a client side request queue before
- they are sent to the server to ensure Ajax requests are processed in the
- order they are sent.
-
-
-
-
- JSF:SPEC:230
-
- After a request is sent, the Ajax request callback function must remove
- the request from the queue (also known as dequeuing). If the request
- completed successfully, it must be removed from the queue. If there was
- an error, the client must be notified, but the request must still be
- removed from the queue
-
-
-
-
- JSF:SPEC:231
-
- The Ajax request callback function is called when the Ajax
- request/response interaction is complete. This function must perform the
- following actions:
-
-
-
-
- JSF:SPEC:231.1
-
- If the return status is >= 200 and < 300, send a “complete”
- event following Section13.3.5.3 “Sending Events”.
-
-
-
-
- JSF:SPEC:231.2
-
- If the return status is outside the range mentioned above, send
- a “complete” event following Section13.3.5.3 “Sending Events”.
-
-
-
-
- JSF:SPEC:231.3
-
- Regardless of whether the request completed successfully or not:
-
-
-
-
- JSF:SPEC:231.3.1
-
- remove the completed requests (Ajax readystate 4) from
- the request queue (dequeue) - specifically the requests
- that have been on the queue the longest.
-
-
-
-
- JSF:SPEC:231.3.2
-
- find the next oldest unprocessed (Ajax readystate 0)
- request on the queue, and send it. The implementation
- must ensure that the request that is sent does not enter
- the queue again.
-
-
-
-
-
-
-
-
- JSF:SPEC:232
-
- The implementation of jsf.ajax.response must handle the response as
- outlined in the JavaScript documentation for jsf.ajax.response. The
- elements in the response must be processed in the
- order they appear in the response.
-
-
-
-
- JSF:SPEC:233
-
- The implementation must ensure the JavaScript function that is
- registered for an Ajax request must be called in accordance with the
- events outlined in SectionTABLE14-3 “Events”.
-
-
-
-
- JSF:SPEC:234
-
- The implementation must send events to the runtime as follows:
-
-
-
-
- JSF:SPEC:234.1
-
- Construct a data payload for events using the properties
- described in SectionTABLE14-4 “Event Data Payload”
-
-
-
-
- JSF:SPEC:234.2
-
- If an event handler function was registered with the “onevent”
- attribute (Section13.3.5.1 “Monitoring Events For An Ajax
- Request”) call it passing the data payload.
-
-
-
-
- JSF:SPEC:234.3
-
- If any event handling functions were registered with the
- “addOnEvent” function (Section13.3.5.2 “Monitoring Events
- For All Ajax Requests”) call them passing the data payload.
-
-
-
-
-
-
- JSF:SPEC:235
-
- The implementation must ensure the JavaScript function that is
- registered for an Ajax request must be called in accordance when the
- request status code from the server is as outlined in SectionTABLE14-5
- “Errors”.
-
-
-
-
- JSF:SPEC:236
-
- The implementation must ensure the JavaScript function that is
- registered must be called in accordance with the errors outlined in
- SectionTABLE14-5 “Errors”.
-
-
-
-
- JSF:SPEC:237
-
- The implementation must signal errors to the runtime as follows:
-
-
-
-
- JSF:SPEC:237.1
-
- Construct a data payload for errors using the properties
- described in SectionTABLE14-6 “Error Data Payload”.
-
-
-
-
- JSF:SPEC:237.2
-
- If an error handler function was registered with the “onerror”
- attribute (Section13.3.6.1 “Handling Errors For An Ajax
- Request”) call it passing the data payload.
-
-
-
-
- JSF:SPEC:237.3
-
- If any error handling functions were registered with the
- “addOnError” function (Section13.3.6.2 “Handling Errors For All
- Ajax Requests”) call them passing the data payload.
-
-
-
-
- JSF:SPEC:237.4
-
- If the project stage is “development” (see Section14.5
- “Determining An Application’s Project Stage”) use JavaScript
- “alert” to signal the error(s).
-
-
-
-
-
-
- JSF:SPEC:238
-
- JavaServer Faces Ajax frameworks must ensure exception information is
- written to the response in the format:
-
-
-
-
- JSF:SPEC:238.1
-
- Extract the “class” from the “Throwable” object and write that
- as the contents of error-name in the response.
-
-
-
-
- JSF:SPEC:238.2
-
- Extract the “cause” from the “Throwable” object if it is
- available and write that as the contents of error-message in the
- response. If “cause” is not available, write the string returned
- from “Throwable.getMessage()”.
-
-
-
-
- JSF:SPEC:238.3
-
- Implementations must ensure that an ExceptionHandler suitable
- for writing exceptions to the partial response is installed if
- the current request required an Ajax response
- (PartialViewContext.isAjaxRequest() returns true).
-
-
-
-
-
-
- JSF:SPEC:239
-
- The UIViewRoot processDecodes, processValidators and processUpdates
- methods must determine if the request is a partial request using the
- FacesContext.isPartialRequest() method.
-
-
-
-
- JSF:SPEC:240
-
- The UIViewRoot getRendersChildren and encodeChildren methods must
- determine if the request is an Ajax request using the
- FacesContext.isAjaxRequest() method.
-
-
-
-
- JSF:SPEC:241
-
- Implementations must adhere to the response format as specified in the
- JavaScript docs for jsf.ajax.response.
-
-
-
-
- JSF:SPEC:242
-
- Implementations must adhere to the response format as specified in the
- JavaScript docs for jsf.ajax.response.
-
-
-
-
-
-
-
-
- JSF:SPEC:243
-
- The jsf.ajax.request function is responsible for sending an Ajax request
- to the server. The requirements for this function are as follows:
-
-
-
-
- JSF:SPEC:243.1
-
- The request must be sent asynchronously
-
-
-
-
- JSF:SPEC:243.2
-
- The request must be sent with method type POST
-
-
-
-
- JSF:SPEC:243.3
-
- The request URL will be the form action attribute
-
-
-
-
- JSF:SPEC:243.4
-
- All requests will be queued with the use of a client side
- request queue to help ensure request ordering
-
-
-
-
-
-
- JSF:SPEC:244
-
- It must be a DOM element object or a string identifier for a DOM
- element.
-
-
-
-
- JSF:SPEC:245
-
- The request header must be set with the name Faces-Request and the value
- partial/ajax.
-
-
-
-
- JSF:SPEC:246
-
- The specifics details of this function’s operation must follow the
- jsf.ajax.response JavaScript documentation.
-
-
-
-
- JSF:SPEC:247
-
- This function must return the constant representing the current state of
- the running application in a typical product development lifecycle. The
- returned value must be the value returned from the server side method
- jakarta.faces.application.Application.getProjectStage()
-
-
-
-
-
diff --git a/internal/docs/jsf/JSFTCD.txt b/internal/docs/jsf/JSFTCD.txt
deleted file mode 100644
index c2d0d917ba..0000000000
--- a/internal/docs/jsf/JSFTCD.txt
+++ /dev/null
@@ -1,85 +0,0 @@
-TCK Coverage Document for JSR-372: JavaServer Faces 2.3 Specification
-
-TCK Components:
----------------
-- User's Guide
-- Compatibility Rules
-- Configuration Instructions
-- Test Suite
-- API Tests
-- Signature Tests
-- End-to-End Tests
-- Framework Code
-- JavaTest TM Harness
-
-Terminology of Metrics
-----------------------
-- Assertion: A specific statement of functionality or behavior derived from a specification.
- A testable assertion is one that can be validated in an implementation by testing.
-- Test: A binary application (or script) comprised of one or more Test Cases.
-- Test Case: A single set of test inputs, execution conditions, and expected results
- developed to verify an implementation's conformance with a specific assertion.
-- Specification Assertion Coverage: Ratio of all assertions tested by at least one test
- case to the total number of testable assertions defined by the specification.
-- API Coverage: Ratio of methods directly exercised by test cases to the total number
- of methods defined by the specification.
-
-
-Coverage
---------
-- Total testable assertions from the JavaServer Faces 2.3 Specification,
- Tag Library Documentation, HTML Basic RenderKit Documentation, and Javadoc:
-
- 746 specification assertions
- 3320 tag library assertions (est.)
- 700 renderkit assertions (est.)
- + 2808 API assertions
- ----------------------
- 6503 testable assertions
-
-- Number of testable JavaServer Faces Spec assertions tested: 469 (est.) (56.00%)
-- Number of testable JSF Tag Library assertions tested: 2988 (est.) (90.03%)
-- Number of testable JSF HTML Renderkit assertions tested: 567 (est.) (81.00%)
-- Number of testable JavaServer Faces API assertions tested: 2330 (83.0%)
-
-- Total of 77.5% combined specification, tag library, renderkit and api coverage.
-
-Assertions were identified through the use of CTS Tools, third-party code
-coverage tools, inspection of documentation and hand markup (hand markup was
-required for the JavaServer Faces specifications). Note that due to the
-large number of assertions as well as resource and time constraints, it
-was necessary in some cases to estimate the numbers of tested and total
-assertions in each category.
-
-Quality Assurance
------------------
-The JavaServer Faces requirements were tested as part of the JavaEE 7
-Compatibility Test Suite which was run using representative configurations
-of the Reference Implementation on the following platforms using Java SE 7:
-
- * Ubuntu 12.10
- * Fedora 18
- * openSUSE 12.2
- * Solaris 11.1 Sparc
- * Solaris 11.1 X86
- * Solaris 10 Sparc
- * MacOS 10.8
- * Oracle Linux Server release 6.3
- * Windows XP Professional
- * Windows 2008
-
-- Code quality was demonstrated through the use of code reviews and inspections
-- User's Guide was constructed from the standard CTS User's Guide template
-- Documentation instructions were verified and tested
-
-
-Justification of Adequacy
--------------------------
-The JavaServer Faces tests, distributed as part of the JavaEE CTS version 7,
-provide an adequate set of tests to ensure all implementations of the
-Java EE 7 Platform are compatible with the requirements defined in these
-specifications. As with all TCKs it is impossible to provide tests
-that will yield 100% assertion coverage. Untested assertions are due to the effects
-of late specification changes, and the availability and cost of test development resources.
-While these versions may not have tests for all testable assertions, all implementations of
-the platform must be compatible with the requirements defined in these specifications.
diff --git a/internal/docs/jsf/README.txt b/internal/docs/jsf/README.txt
deleted file mode 100644
index c3fd379319..0000000000
--- a/internal/docs/jsf/README.txt
+++ /dev/null
@@ -1,94 +0,0 @@
-Simple README file with instructions to quickly install, setup, configure,
-and run the JSF TCK 2.3 and related software against the JSF 2.3 RI. For
-more detailed instructions please refer to the JSF 2.3 Users Guide.
-
------------------------
-Installing the Software
------------------------
-Before you can run the JSF TCK tests, you need to install
-and set up the following software components:
-
-1) Java SE 8
-2) JSF RI Version 2.3
-3) JSF TCK Version 2.3
-
-1. Download and install Java SE 8 software.
-
- mkdir /javase8
- cd /javase8
- unzip
-
-2. Download and install the JSF 2.3 Reference Implementation.
-
- mkdir /ri
- cd /ri
-
-
-3. Download and install the JSF TCK 2.3 software.
-
- mkdir /tck
- cd /tck
- unzip jsf.zip
-
------------------------------------------
-Setup and Configuration of the JSF TCK
------------------------------------------
-1. Configure the JSF TCK to run against the JSF RI. Set the following
- variables in your shell environment.
-
- setenv JAVA_HOME /javase8
- setenv TS_HOME /tck/jsf
- setenv ANT_HOME /tck/apacheant
- setenv PATH $JAVA_HOME/bin:$ANT_HOME/bin:$PATH
-
-2. Edit the $TS_HOME/bin/ts.jte file and set the following properties:
-
- webServerHost=localhost
- webServerPort=8080
- webServerHome=/ri/glassfish3/glassfish
- impl.vi=glassfish
- impl.vi.deploy.dir=${webServerHome}/domains/domain1/autodeploy
- impl.deploy.timeout.multiplier=20
- jsf.classes=${webServerHome}/modules/jakarta.faces.jar${pathsep} /
- ${webServerHome}/modules/weld-osgi-bundle.jar
- jspservlet.classes=${webServerHome}/modules/jakarta.servlet.jsp.jar${pathsep} /
- ${webServerHome}/modules/jakarta.servlet.jsp.jstl.jar${pathsep} /
- ${webServerHome}/modules/jakarta.servlet.jsp.jstl-api.jar${pathsep} /
- ${webServerHome}/modules/jakarta.servlet-api.jar${pathsep} /
- ${webServerHome}/modules/jakarta.el-api.jar${pathsep} /
- ${webServerHome}/modules/jakarta.servlet.jsp-api.jar
-
-
-------------------------------
-Executing the JSF TCK Tests
-------------------------------
-At this point we are ready to run the JSF TCK tests against the JSF 2.3
-Reference Implementation.
-
-1. Execute and run the JSF TCK tests.
-
- cd $TS_HOME/bin
- ant deploy.all
- ant run.all
- ant undeploy.all
-
- This will run all the JSF TCK tests including the signature tests.
-
-2. Another way to execute and run the JSF TCK tests.
-
- Run just the jsf tree of tests:
-
- cd $TS_HOME/src/com/sun/ts/tests/jsf/api
- ant runclient
-
- Run just the jsf signature tests:
-
- cd $TS_HOME/src/com/sun/ts/tests/signaturetests/jsf
- ant runclient
-
-3. The third way to execute and run the JSF TCK tests is to use the
- JavaTest GUI.
-
- cd $TS_HOME/bin
- ant gui // Follow the JSF TCK Users Guide and JavaTest Harness Guide
- // to configure the JSF TCK via the JavaTest GUI.
diff --git a/internal/docs/jsf/jsf_avk.xml b/internal/docs/jsf/jsf_avk.xml
deleted file mode 100644
index 8f7511c949..0000000000
--- a/internal/docs/jsf/jsf_avk.xml
+++ /dev/null
@@ -1,273 +0,0 @@
-
-
-
-
-
-
-
- It is also legal to specify a different lifecycle identifier as a parameter to the getLifecycle() method, as long as this identifier is recognized and supported by the JSF implementation you are using. However, using a non-default lifecycle identifier will generally not be portable to any other JSF implementation.
-
- application-role
-
-
-
-
-
- A custom component that extends UIComponent directly, and does not extend any of the standard components must implement StateHolder manually.
-
- application-role
-
-
-
-
-
- Component identifiers must conform to the following rules:
-
- application-role
-
-
-
-
-
- They must start with a letter (as defined by the Character.isLetter() method) or underscore ( _ ).
-
- application-role
-
-
-
-
-
- Subsequent characters may be letters (as defined by the Character.isLetter() method), digits as defined by the Character.isDigit() method, dashes ( - ), and underscores ( _ ).
-
- application-role
-
-
-
-
-
-
-
- If a component has been given an identifier, it must be unique in the namespace of the closest ancestor to that component that is a NamingContainer (if any).
-
- application-role
-
-
-
-
-
- The method names for the render-independent property getters and setters must conform to the design patterns in the JavaBeans specification.
-
- application-role
-
-
-
-
-
- Any class implementing StateHolder must have a public no-args constructor.
-
- application-role
-
-
-
-
-
- listener implementation classes must have a public zero-argument constructor
-
- application-role
-
-
-
-
-
- Value expressions that appear in the attribute definition for a faces tag must have '#{}' as the delimiter, instead of '${}'.
-
- application-role
-
-
-
-
-
- The syntax of a method expression must conform to one of the following patterns: ? #{expr-a.value-b} or?#{expr-a[value-b]} where expr-a is a value expression (see Section 5.1.2 ValueExpression Syntax ) and value-b is an identifier whose syntax matches that of a Java method name.
-
- application-role
-
-
-
-
-
- managed-bean-class -- The fully qualified class name of the application class used to instantiate a new instance. This class must conform to JavaBeans design patterns -- in particular, it must have a public zero-args constructor, and must have public property setters for any properties referenced with nested managed-property elements -- or it must be a class that implements java.util.Map or java.util.List.
-
- application-role
-
-
-
-
-
- Managed bean names must conform to the syntax of a Java language identifier.
-
- application-role
-
-
-
-
-
- Attached objects that do not implement either StateHolder or Serializable must have a public, zero-arg constructor, and will be restored only to their initial, default object state.
-
- application-role
-
-
-
-
-
- If your application uses client state saving, the values of all component attributes and properties (as well as the saved state of attached objects) must implement java.io.Serializable.
-
- application-role
-
-
-
-
-
- an implementation might choose a different RenderKit based on the User-Agent header included in the request, or the Locale that has been established for the response view. Note that applications which depend on this feature are not guaranteed to be portable across JSF implementations.
-
- application-role
-
-
-
-
-
- Custom actions that correspond to JSF UIComponent instances must subclass either jakarta.faces.webapp.UIComponentTag (see Section 10.2.6.3 UIComponentTag ) or jakarta.faces.webapp.UIComponentBodyTag (see Section 10.2.6.4 UIComponentBodyTag ), depending on whether the custom action needs to support javax.servlet.jsp.tagext.BodyTag functionality or not.
-
- application-role
-
-
-
-
-
- Each facet action must have one and only one child UIComponent custom action.
-
- application-role
-
-
-
-
-
- The fmt:parseDate and fmt:parseNumber custom actions should not be used. The corresponding JSF facility is to use an h:inputText component custom action with an appropriate DateTimeConverter or NumberConverter.
-
- application-role
-
-
-
-
-
- The fmt:requestEncoding custom action should not be used. By the time it is executed, the request parameters will have already been parsed, so any change in the setting here will have no impact.
-
- application-role
-
-
-
-
-
- The fmt:setLocale custom action should not be used. Even though it might work in some circumstances, it would result in JSF and JSTL assuming different locales. If the two locales use different character sets, the results will be undefined. Applications should use JSF facilities for setting the locale property on the UIViewRoot component to change locales for a particular user.
-
- application-role
-
-
-
-
-
- The corresponding UIComponent implementation class must implement ActionSource, and therefore define a public addActionListener() method that accepts an ActionListener parameter.
-
- application-role
-
-
-
-
-
- The specified listener class must implement jakarta.faces.event.ActionListener.
-
- application-role
-
-
-
-
-
- If both limits are specified, the maximum limit must be greater than the minimum limit.
-
- application-role
-
-
-
-
-
- javax.servlet.* classes will typically be made available to all web applications using the shared class facilities of the servlet container. Therefore, these classes should not be included inside the web application archive.
-
- application-role
-
-
-
-
-
- Each of the following referenced classes must have a public zero-arguments constructor:
-
- application-role
-
-
-
-
-
- /faces-config/factory/application-factory
-
- application-role
-
-
-
-
-
- /faces-config/factory/faces-context-factory
-
- application-role
-
-
-
-
-
- /faces-config/factory/lifecycle-factory
-
- application-role
-
-
-
-
-
- /faces-config/factory/render-kit-factory
-
- application-role
-
-
-
-
-
-
-
- javax.servlet.* classes will typically be made available to all web applications using the shared class facilities of the servlet container. Therefore, these classes should not be included inside the web application archive.
-
- application-role
-
-
-
diff --git a/internal/docs/jsf/jsf_ch10.xml b/internal/docs/jsf/jsf_ch10.xml
deleted file mode 100644
index b226be960f..0000000000
--- a/internal/docs/jsf/jsf_ch10.xml
+++ /dev/null
@@ -1,437 +0,0 @@
-
-
-
-
-
-
- __NUMBER__
-
- Facelet pages are authored in XHTML. The runtime must support all XHTML
- pages that confirm with the XHTML-1.0-Transitional DTD, as described at
- http://www.w3.org/TR/xhtml1/#a_dtd_XHTML-1.0-Transitional
-
-
-
-
- __NUMBER__
-
- The runtime must support the following syntax for making the tags in a
- tag library available for use in a Facelet page.
- <html xmlns="http://www.w3.org/1999/xhtml"
- xmlns:prefix="namespace_uri">
-
-
-
-
- __NUMBER__
-
- The runtime must support the following syntax for making the tags in a
- tag library available for use in a Facelet page
-
-
-
-
- __NUMBER__.1
-
- Via declaration in the web.xml, as specified in Section11.1.3
- “Application Configuration Parameters”
-
-
-
-
- __NUMBER__.2
-
- Via auto discovery by placing the tag library discriptor file
- within a jar on the web application classpath, naming the
- file so that it ends with “.taglib.xml”, without the quotes,
- and placing the file in the META-INF directory in the jar file
-
-
-
-
-
-
- __NUMBER__
-
- Failure to parse, process and otherwise interpret any of the tag
- library files discovered must cause the application to fail to deploy
- and must cause an informative error message to be logged.
-
-
-
-
- __NUMBER__
-
- The runtime must support the following two ways of declaring a
- composite component library.
-
-
-
-
- __NUMBER__.1
-
- If a facelet taglibrary is declared in an XHTML page with a
- namespace starting with the string
- “http://java.sun.com/jsf/composite/” (without the quotes),
- the remainder of the namespace declaration is taken as the name
- of a resource library as described in Section2.6.1.4 “Libraries
- of Localized and Versioned Resources
-
-
-
-
- __NUMBER__.2
-
- the runtime must also support the <composite-library-name>
- element.
-
-
-
-
-
-
- __NUMBER__
-
- If, during the process of building the view, the facelet runtime
- encounters an element in the page using the prefix for the namespace of
- a composite component library, the runtime must create a Resource
- instance with a library property equal to the library name derived in
- Section10.3.3.1 “Declaring a composite component library for use in a
- Facelet page”and call the variant of application.createComponent() that
- takes a Resource.
-
-
-
-
- __NUMBER__
-
- After causing the top level component to be instantiated, the runtime
- must create a UIComponent with component- family of jakarta.faces.Panel
- and renderer-type jakarta.faces.Group to be installed as a facet of the
- top level component under the facet name
- UIComponent.COMPOSITE_FACET_NAME.
-
-
-
-
- __NUMBER__
-
- The runtime must support the use of composite: tag library in the
- defining page pointed to by the Resource derived as specified in
- Section10.3.3.2 “Creating an instance of a top level component”
-
-
-
-
- __NUMBER__
-
- The runtime must ensure that all UIComponent children in the composite
- component definition within the defining page are placed as children of
- the UIComponent.COMPOSITE_FACET_NAME facet of the top level facet
-
-
-
-
- __NUMBER__
-
- The runtime must ensure that all such attributes are copied to the
- attributes map of the top level component instance in the following
- manner.
-
-
-
-
- __NUMBER__.1
-
- Obtain a reference to the ExpressionFactory, for discussion
- called expressionFactory.
-
-
-
-
- __NUMBER__.2
-
- Let the value of the attribute in the using page be value.
-
-
-
-
- __NUMBER__.3
-
- If value is “id” or “binding” without the quotes, skip to the
- next attribute.
-
-
-
-
- __NUMBER__.4
-
- f the value of the attribute starts with “#{“ (without the
- quotes) call expressionFactory.createValueExpression(elContext,
- value, Object.class)
-
-
-
-
- __NUMBER__.5
-
- If the value of the attribute does not start with “#{“, call
- expressionFactory.createValueExpression(value, Object.class)
-
-
-
-
- __NUMBER__.6
-
- If there already is a key in the map for value, inspect the type
- of the value at that key. If the type is MethodExpression take
- no action.
-
-
-
-
-
-
- __NUMBER__
-
- If the type of the attribute is a MethodExpression, the code that
- takes the value of the attribute and creates an actual
- MethodExpression instance around it must take the following special
- action.
-
-
-
-
- __NUMBER__.1
-
- Obtain a reference to the current composite component by calling
- UIComponent.getCurrentCompositeComponent().
-
-
-
-
- __NUMBER__.2
-
- Look in the attribute of the component for a key under the value
- attrName.
-
-
-
-
- __NUMBER__.3
-
- There must be a value and it must be of type MethodExpression.
- If either of these conditions are false allow the ensuing
- exception to be thrown.
-
-
-
-
- __NUMBER__.4
-
- Call invoke() on the discovered MethodExpression, passing the
- arguments passed to our invoke() method.
-
-
-
-
-
-
- __NUMBER__
-
- The String value for identifiers specified for execute and render may be
- specified as a search expression as outlined in the JavaDocs for
- UIComponent.findComponent.The implementation must resolve these
- identifiers as specified for UIComponent.findComponent.
-
-
-
-
- __NUMBER__
-
- A TagAttibuteException must be thrown if an “event” attribute value is
- specified that does not match the events supported by the component
- type.
-
-
-
-
- __NUMBER__
-
- The event attribute that is specified, must be one of the events
- returned from the ClientBehaviorHolder component implementation of
- ClientBehaviorHolder.getEventNames.
-
-
-
-
- __NUMBER__
-
- If an event is not specified the value returned from the component
- implementation of ClientBehaviorHolder.getDefaultEventName must be used.
- If the event is still not determined, a TagAttributeException must be
- thrown.
-
-
-
-
- __NUMBER__
-
- If an event is not specified the value returned from the component
- implementation of ClientBehaviorHolder.getDefaultEventName must be used.
- If the event is still not determined, a TagAttributeException must be
- thrown.
-
-
-
-
- __NUMBER__
-
- The "Description" tag handler must create an instance of
- jakarta.faces.component.behavior.AjaxBehavior instance using the tag
- attribute values.
-
-
-
-
- __NUMBER__
-
- If teh "Description" tag is nested within a single ClientBehaviorHolder
- component:
-
-
-
-
- __NUMBER__.1
-
- If the event attribute is not specified, determine the event by
- calling the component’s getDefaultEventName method. If that
- returns null, throw an exception.
-
-
-
-
- __NUMBER__.2
-
- If the event attribute is specified, ensure that it is a valid
- event - that is one of the events contained in the Collection
- returned from getEventNames method. If it does not exist in this
- Collection, throw an exception.
-
-
-
-
- __NUMBER__.3
-
- Add the AjaxBehavior to the component by calling the addBehavior
- method, passing the event and AjaxBehavior instance.
-
-
-
-
-
-
- __NUMBER__
-
- When the VDL calls for the creation of a UIComponent instance, after
- calling Application.createComponent() to instantiate the component
- instance, and after calling setRendererType() on the newly instantiated
- component instance, the following action must be taken.
-
-
-
-
- __NUMBER__.1
-
- Obtain the Renderer for this component. If no Renderer is
- present, ignore the following steps.
-
-
-
-
- __NUMBER__.2
-
- Call getClass() on the Renderer instance and inspect if the
- ListenerFor annotation is present. If so, inspect if the
- Renderer instance implements ComponentSystemEventListener. If
- neither of these conditions are true, ignore the following
- steps.
-
-
-
-
- __NUMBER__.3
-
- Obtain the value of the systemEventClass() property of the
- ListenerFor annotation on the Renderer instance.
-
-
-
-
- __NUMBER__.4
-
- Call subscribeToEvent() on the UIComponent instance from which
- the Renderer instance was obtained, using the systemEventClass
- from the annotation as the second argument, and the Renderer
- instance as the third argument.
-
-
-
-
-
diff --git a/internal/docs/jsf/jsf_ch11.xml b/internal/docs/jsf/jsf_ch11.xml
deleted file mode 100644
index 294ddb615c..0000000000
--- a/internal/docs/jsf/jsf_ch11.xml
+++ /dev/null
@@ -1,713 +0,0 @@
-
-
-
-
-
-
- __NUMBER__
-
- This servlet must be defined, in the deployment descriptor of an
- application that wishes to employ this portable mechanism.
- The servlet name, denoted as faces-servlet-name above, may be any
- desired value; however, the same value must be used as teh servlet-name
- in the servlet mapping.
-
-
-
-
- __NUMBER__
-
- JSF implementations must support web application that define a
- <servlet-mapping> that maps any valid url-pattern to the
- FacesServlet.
-
-
-
-
- __NUMBER__
-
- JSF implementations are required to support the following application
- configuration parameter names:
-
-
-
-
- __NUMBER__.1
-
- jakarta.faces.CONFIG_FILES -- Comma-delimited list of
- context-relative resource paths under which the JSF
- implementation will look for application configuration
- resources before loading a configuration resource named
- “/WEB-INF/faces-config.xml”
-
-
-
-
- __NUMBER__.2
-
- jakarta.faces.DEFAULT_SUFFIX -- The default suffix for
- extension-mapped resources that contain JSF components. If not
- specified, the default value “.jsp” must be used.
-
-
-
-
- __NUMBER__.3
-
- jakarta.faces.FACELETS_SUFFIX -- Allow the web application to
- define an alternate suffix for Facelet based XHTML pages
- containing JSF content. See the javadocs for the symbolic
- constant ViewHandler.FACELETS_SUFFIX_PARAM_NAME for the
- complete specification.
-
-
-
-
- __NUMBER__.4
-
- jakarta.faces.LIFECYCLE_ID -- Lifecycle identifier of the
- Lifecycle instance to be used when processing JSF requests for
- this web application. If not specified, the JSF default
- instance, identified by LifecycleFactory.DEFAULT_LIFECYCLE, must
- be used.
-
-
-
-
- __NUMBER__.5
-
- jakarta.faces.STATE_SAVING_METHOD -- The location where state
- information is saved. Valid values are “server” (typically saved
- in HttpSession) and “client (typically saved as a hidden field
- in the subsequent form submit). If not specified, the default
- value “server” must be used.
-
-
-
-
- __NUMBER__.6
-
- jakarta.faces.PARTIAL_STATE_SAVING --The ServletContext init
- parameter consulted by the runtime to determine if the partial
- state saving mechanism should be used. If undefined, the runtime
- must determine the version level of the application.
-
-
-
-
- __NUMBER__.6.1
-
- For applications versioned at 1.2 and under, the runtime
- must not use the partial state saving mechanism.
-
-
-
-
- __NUMBER__.6.2
-
- For applications versioned at 2.0 and above, the runtime
- must use the partial state saving mechanism.
-
-
-
-
-
-
- __NUMBER__.7
-
- jakarta.faces.FULL_STATE_SAVING_VIEW_IDS -- The runtime must
- interpret the value of this parameter as a comma separated list
- of view IDs, each of which must have their state saved using the
- state saving mechanism specified in JSF 1.2.
-
-
-
-
- __NUMBER__.8
-
- jakarta.faces.PROJECT_STAGE -- A human readable string describing
- where this particular JSF application is in the software
- development lifecycle.
-
-
-
-
- __NUMBER__.9
-
- jakarta.faces.DISABLE_FACELET_JSF_VIEWHANDLER -- If this param is
- set, and calling toLowerCase().equals("true") on a String
- representation of its value returns true, the default
- ViewHandler must behave as specified in the latest 1.2 version
- of this specification.
-
-
-
-
- __NUMBER__.10
-
- jakarta.faces.FACELETS_LIBRARIES -- If this param is set, the
- runtime must interpret it as a semicolon (;) separated list of
- paths, starting with “/” (without the quotes).
-
-
-
-
- __NUMBER__.11
-
- jakarta.faces.FACELETS_VIEW_MAPPINGS -- If this param is set, the
- runtime must interpret it as a semicolon (;) separated list of
- strings that is used to forcibly declare that certain pages in
- the application must be interpreted as using Facelets,
- regardless of their extension.
-
-
-
-
- __NUMBER__.12
-
- jakarta.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL --
- If this param is set, and calling toLowerCase().equals("true")
- on a String representation of its value returns true, any
- implementation of UIInput.validate() must take the following
- additional action. context parameter value is true (ignoring
- case), and UIInput.getSubmittedValue() returns a zero-length
- String call UIInput.setSubmittedValue(null) and continue
- processing using null as the current submitted value
-
-
-
-
- __NUMBER__.13
-
- jakarta.faces.DATETIMECONVERTER_DEFAULT_TIMEZONE_IS_SYSTEM_TIMEZO
- NE -- If this param is set, and calling toLowerCase().equals(
- "true") on a String representation of its value returns true,
- Application.createConverter() must guarantee that the default
- for the timezone of all jakarta.faces.convert.DateTimeConverter
- instances must be equal to TimeZone.getDefault() instead of
- “GMT”.
-
-
-
-
- __NUMBER__.14
-
- jakarta.faces.VALIDATE_EMPTY_FIELDS -- If this param is set, and
- calling toLowerCase().equals("true") on a String representation
- of its value returns true, all submitted fields will be
- validated
-
-
-
-
- __NUMBER__.15
-
- jakarta.faces.validator.DISABLE_DEFAULT_BEAN_VALIDATOR -- If this
- param is set, and calling toLowerCase().equals("true") on a
- String representation of its value returns true, the runtime
- must not automatically add the validator with validator-id equal
- to the value of the symbolic constant
- jakarta.faces.validator.VALIDATOR_ID to the list of default
- validators.
-
-
-
-
-
-
- __NUMBER__
-
- JSF implementations must also include implementations of the several
- factory classes. In order to be dynamically instantiated according to
- the algorithm defined above, the factory implementation class must
- include a public, no-arguments constructor.
-
-
-
-
- __NUMBER__
-
- jakarta.faces.FactoryFinder implements the standard discovery algorithm
- for all factory objects specified in the JavaServer Faces APIs.
- For a given factory class name, a corresponding implementation class is
- searched for based on the following algorithm. Items are listed in order
- of decreasing search precedence:
-
-
-
-
- __NUMBER__.1
-
- If a default JavaServer Faces configuration file
- (/WEB-INF/faces-config.xml) is bundled into the web application,
- and it contains a factory entry of the given factory class name,
- that factory class is used.
-
-
-
-
- __NUMBER__.2
-
- If the JavaServer Faces configuration resource(s) named by the
- jakarta.faces.CONFIG_FILES ServletContext init parameter (if any)
- contain any factory entries of the given factory class name,
- those factories are used, with the last one taking precedence.
-
-
-
-
- __NUMBER__.3
-
- If there are any META-INF/faces-config.xml resources bundled any
- JAR files in the web ServletContext’s resource paths, the
- factory entries of the given factory class name in those files
- are used, with the last one taking precedence.
-
-
-
-
- __NUMBER__.4
-
- If a META-INF/services/{factory-class-name} resource is visible
- to the web application class loader for the calling application
- (typically as a result of being present in the manifest of a
- JAR file), its first line is read and assumed to be the name of
- the factory implementation class to use.
-
-
-
-
- __NUMBER__.5
-
- If none of the above steps yield a match, the JavaServer Faces
- implementation specific class is used.
-
-
-
-
-
-
- __NUMBER__
-
- For each of the public static final String fields on the class
- FactoryFinder whose field names end with the string “_FACTORY”
- (without the quotes), the implementation must provide an implementation
- of the corresponding Factory class using the algorithm described earlier
- in this section.
-
-
-
-
- __NUMBER__
-
- The FacesServlet implementation class must also declare two static
- public final String constants whose value is a context initialization
- parameter that affects the behavior of the servlet
-
-
-
-
- __NUMBER__.1
-
- CONFIG_FILES_ATTR -- the context initialization attribute that
- may optionally contain a comma-delimited list of context
- relative resources (in addition to /WEB-INF/facesconfig. xml
- which is always processed if it is present) to be processed.
- The value of this constant must be “jakarta.faces.CONFIG_FILES”.
-
-
-
-
- __NUMBER__.2
-
- LIFECYCLE_ID_ATTR -- the lifecycle identifier of the Lifecycle
- instance to be used for processing requests to this application,
- if an instance other than the default is required. The value of
- this constant must be “jakarta.faces.LIFECYCLE_ID”.
-
-
-
-
-
-
- __NUMBER__
-
- UIComponentELTag is an implementation of
- javax.servlet.jsp.tagext.BodyTag, and must be the base class for any JSP
- custom action that corresponds to a JSF UIComponent.
-
-
-
-
- __NUMBER__
-
- The faces implementation must now provide the attributetag class.
-
-
-
-
- __NUMBER__
-
- the JSF implementation must process zero or more application
- configuration resources, located according to the following algorithm:
-
-
-
-
- __NUMBER__.1
-
- Search for all resources named “META-INF/faces-config.xml” in the
- ServletContext resource paths for this web application, and load
- each as a JSF configuration resource (in reverse order of the
- order in which they are returned by getResources() on the
- current Thread’s ContextClassLoader).
-
-
-
-
- __NUMBER__.2
-
- Check for the existence of a context initialization parameter
- named jakarta.faces.CONFIG_FILES. If it exists, treat it as a
- comma-delimited list of context relative resource paths
- (starting with a “/”), and load each of the specfied resources.
-
-
-
-
- __NUMBER__.3
-
- Check for the existence of a web application configuration
- resource named “/WEBINF/faces-config.xml”, and load it if the
- resource exists.
-
-
-
-
-
-
- __NUMBER__
-
- The runtime must publish the
- jakarta.faces.event.PostConstructApplicationEvent immediately after all
- application configuration resources have been processed.
-
-
-
-
- __NUMBER__
-
- XML parsing errors detected during the loading of an application
- resource file are fatal to application startup, and must cause the
- application to not be made available by the container.
-
-
-
-
- __NUMBER__
-
- JSF implementations that are part of a Java EE technology compliant
- implementation are required to validate the application resource file
- against the XML schema for structural correctness. The validation is not
- required for JSF implementations that are not part of a Java EE
- technology-compliant implementation.
-
-
-
-
- __NUMBER__
-
- Application configuration resources must conform to the XML schema
- shown in Appendix 1.1. In addition, they must include the following
- schema declaration.
-
-
-
-
- __NUMBER__
-
- Application configuration resources that are written to run on JSF 2.0
- must include the following schema declaration...
-
-
-
-
- __NUMBER__
-
- Application configuration resources that are written to run on JSF 1.2
- must include the following schema declaration...
-
-
-
-
- __NUMBER__
-
- Application configuration resources that are written to run on JSF 1.1
- must include the following schema declaration...
-
-
-
-
- __NUMBER__
-
- Application configuration resources that are written to run on JSF 1.0
- must include the following schema declaration...
-
-
-
-
- __NUMBER__
-
- The runtime must support the decorator design pattern as specified
- below for the following artifacts.
-
-
-
-
- __NUMBER__
-
- If an <name> element is present, it must be considered for the
- ordering of decoratable artifacts (unless the duplicate name exception
- applies, as described below).
-
-
-
-
- __NUMBER__.1
-
- Absolute ordering: an <absolute-ordering> element in the
- applicationFacesConfig
-
-
-
-
- __NUMBER__.2
-
- Relative ordering: an <ordering> element within a file in
- the applicationConfigurationResources
-
-
-
-
-
-
- __NUMBER__
-
- The preceding example illustrates some, but not all, of the following
- principles.
-
-
-
-
- __NUMBER__.1
-
- <before> means the document must be ordered before the
- document with the name matching the name specified within the
- nested <name> element.
-
-
-
-
- __NUMBER__.2
-
- <after> means the document must be ordered after the
- document with the name matching the name specified within the
- nested <name> element.
-
-
-
-
- __NUMBER__.3
-
- There is a special element <others /> which may be included
- zero or one time within the <before> or <after> element,
- or zero or one time directly within the <absolute-ordering>
- element. The <others /> element must be handled as follows.
-
-
-
-
- __NUMBER__.3.1
-
- If the <before> element contains a nested
- <others />, the document will be moved to the
- beginning of the list of sorted documents.
-
-
-
-
- __NUMBER__.3.2
-
- If the <after> element contains a nested
- <others />, the document will be moved to the end of
- the list of sorted documents.
-
-
-
-
- __NUMBER__.3.3
-
- Within a <before> or <after> element, if an
- <tothers /> element is present, but is not the only
- <name> element within its parent element, the other
- elements within that parent must be considered in the
- ordering process.
-
-
-
-
- __NUMBER__.3.4
-
- If the <others /> element appears directly within
- the <absolute-ordering> element, the runtime must
- ensure that any application configuration resources in
- applicationConfigurationResources not explicitly named
- in the <absolute-ordering> section are included at
- that point in the processing order.
-
-
-
-
-
-
- __NUMBER__.4
-
- If a faces-config file does not have an <ordering> or
- <absolute-ordering> element the artifacts are assumed to not
- have any ordering dependency.
-
-
-
-
- __NUMBER__.5
-
- If the runtime discovers circular references, an informative
- message must be logged, and the application must fail to deploy.
- Again, one course of action the user may take is to use absolute
- ordering in the applicationFacesConfig.
-
-
-
-
-
-
- __NUMBER__
-
- If the <faces-config>> element in the WEB-INF/faces-config.xml file
- contains metadata-complete attribute whose value is “true”, the
- implementation must not perform annotation scanning on any classes
- except for those classes provided by the implementation itself.
-
-
-
-
- __NUMBER__
-
- If the runtime discovers a conflict between an entry in the Application
- Configuration Resources and an annotation, the entry in the Application
- Configuration Resources takes precedence.
-
-
-
-
- __NUMBER__
-
- All classes in WEB-INF/classes must be scanned.
-
-
-
-
- __NUMBER__
-
- For every jar in the application's WEB-INF/lib directory, if the jar
- contains a “META-INF/faces-config.xml” file or a file that matches the
- regular expression “META-INF/.*faces-config.xml” (even an empty one),
- all classes in that jar must be scanned.
-
-
-
diff --git a/internal/docs/jsf/jsf_ch12.xml b/internal/docs/jsf/jsf_ch12.xml
deleted file mode 100644
index 833839c50d..0000000000
--- a/internal/docs/jsf/jsf_ch12.xml
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
- __NUMBER__
-
- Upon receipt of each JSF-destined request to this web application,
- the JSF implementation must acquire a reference to the Lifecycle
- instance for this web application, and call its execute() and render()
- methods to perform the request processing lifecycle.
-
-
-
-
- __NUMBER__
-
- Any exceptions thrown during the beforePhase() listeners must be caught
- and published to the ExceptionHandler.
-
-
-
-
- __NUMBER__
-
- Any exceptions thrown during the execution of the actual lifecycle
- phase, that reach the runtime code that implements the JSF lifecycle
- phase, must be caught and and published to the ExceptionHandler
-
-
-
-
- __NUMBER__
-
- Any exceptions thrown during the afterPhase() liseteners must be caught
- and published to the ExceptionHandler.
-
-
-
diff --git a/internal/docs/jsf/jsf_ch13.xml b/internal/docs/jsf/jsf_ch13.xml
deleted file mode 100644
index 26ea189f60..0000000000
--- a/internal/docs/jsf/jsf_ch13.xml
+++ /dev/null
@@ -1,355 +0,0 @@
-
-
-
-
-
-
- __NUMBER__
-
- There must be a single JavaScript resource that exists with the resource
- identifier jsf.js
-
-
-
-
- __NUMBER__
-
- The jsf.js must exist under the resource library jakarta.faces, following
- the conventions in Section 2.6 “Resource Handling”.
-
-
-
-
- __NUMBER__
-
- If the OpenAjax library is available, libraries must register themselves
- using OpenAjax.registerLibrary() at the time when the JavaScript files
- are fetched and parsed by the browser’s JavaScript engine.
-
-
-
-
- __NUMBER__
-
- Any implementation that intends to use the JavaServer Faces 2.0 JavaScript
- API must define a top level JavaScript object name jsf, whose type is a
- JavaScript associative array. Within that top level JavaScript object,
- found in the OpenAjax Hub, there must be a property named ajax..
-
-
-
-
- __NUMBER__
-
- All Ajax requests must be put into a client side request queue before
- they are sent to the server to ensure Ajax requests are processed in the
- order they are sent.
-
-
-
-
- __NUMBER__
-
- After a request is sent, the Ajax request callback function must remove
- the request from the queue (also known as dequeuing). If the request
- completed successfully, it must be removed from the queue. If there was
- an error, the client must be notified, but the request must still be
- removed from the queue
-
-
-
-
- __NUMBER__
-
- The Ajax request callback function is called when the Ajax
- request/response interaction is complete. This function must perform the
- following actions:
-
-
-
-
- __NUMBER__.1
-
- If the return status is >= 200 and < 300, send a “complete”
- event following Section13.3.5.3 “Sending Events”.
-
-
-
-
- __NUMBER__.2
-
- If the return status is outside the range mentioned above, send
- a “complete” event following Section13.3.5.3 “Sending Events”.
-
-
-
-
- __NUMBER__.3
-
- Regardless of whether the request completed successfully or not:
-
-
-
-
- __NUMBER__.3.1
-
- remove the completed requests (Ajax readystate 4) from
- the request queue (dequeue) - specifically the requests
- that have been on the queue the longest.
-
-
-
-
- __NUMBER__.3.1
-
- find the next oldest unprocessed (Ajax readystate 0)
- request on the queue, and send it. The implementation
- must ensure that the request that is sent does not enter
- the queue again.
-
-
-
-
-
-
-
-
- __NUMBER__
-
- The implementation of jsf.ajax.response must handle the response as
- outlined in the JavaScript documentation for jsf.ajax.response. The
- elements in the response must be processed in the
- order they appear in the response.
-
-
-
-
- __NUMBER__
-
- The implementation must ensure the JavaScript function that is
- registered for an Ajax request must be called in accordance with the
- events outlined in SectionTABLE14-3 “Events”.
-
-
-
-
- __NUMBER__
-
- The implementation must send events to the runtime as follows:
-
-
-
-
- __NUMBER__.1
-
- Construct a data payload for events using the properties
- described in SectionTABLE14-4 “Event Data Payload”
-
-
-
-
- __NUMBER__.2
-
- If an event handler function was registered with the “onevent”
- attribute (Section13.3.5.1 “Monitoring Events For An Ajax
- Request”) call it passing the data payload.
-
-
-
-
- __NUMBER__.3
-
- If any event handling functions were registered with the
- “addOnEvent” function (Section13.3.5.2 “Monitoring Events
- For All Ajax Requests”) call them passing the data payload.
-
-
-
-
-
-
- __NUMBER__
-
- The implementation must ensure the JavaScript function that is
- registered for an Ajax request must be called in accordance when the
- request status code from the server is as outlined in SectionTABLE14-5
- “Errors”.
-
-
-
-
- __NUMBER__
-
- The implementation must ensure the JavaScript function that is
- registered must be called in accordance with the errors outlined in
- SectionTABLE14-5 “Errors”.
-
-
-
-
- __NUMBER__
-
- The implementation must signal errors to the runtime as follows:
-
-
-
-
- __NUMBER__.1
-
- Construct a data payload for errors using the properties
- described in SectionTABLE14-6 “Error Data Payload”.
-
-
-
-
- __NUMBER__.2
-
- If an error handler function was registered with the “onerror”
- attribute (Section13.3.6.1 “Handling Errors For An Ajax
- Request”) call it passing the data payload.
-
-
-
-
- __NUMBER__.3
-
- If any error handling functions were registered with the
- “addOnError” function (Section13.3.6.2 “Handling Errors For All
- Ajax Requests”) call them passing the data payload.
-
-
-
-
- __NUMBER__.4
-
- If the project stage is “development” (see Section14.5
- “Determining An Application’s Project Stage”) use JavaScript
- “alert” to signal the error(s).
-
-
-
-
-
-
- __NUMBER__
-
- JavaServer Faces Ajax frameworks must ensure exception information is
- written to the response in the format:
-
-
-
-
- __NUMBER__.1
-
- Extract the “class” from the “Throwable” object and write that
- as the contents of error-name in the response.
-
-
-
-
- __NUMBER__.2
-
- Extract the “cause” from the “Throwable” object if it is
- available and write that as the contents of error-message in the
- response. If “cause” is not available, write the string returned
- from “Throwable.getMessage()”.
-
-
-
-
- __NUMBER__.3
-
- Implementations must ensure that an ExceptionHandler suitable
- for writing exceptions to the partial response is installed if
- the current request required an Ajax response
- (PartialViewContext.isAjaxRequest() returns true).
-
-
-
-
-
-
- __NUMBER__
-
- The UIViewRoot processDecodes, processValidators and processUpdates
- methods must determine if the request is a partial request using the
- FacesContext.isPartialRequest() method.
-
-
-
-
- __NUMBER__
-
- The UIViewRoot getRendersChildren and encodeChildren methods must
- determine if the request is an Ajax request using the
- FacesContext.isAjaxRequest() method.
-
-
-
-
- __NUMBER__
-
- Implementations must adhere to the response format as specified in the
- JavaScript docs for jsf.ajax.response.
-
-
-
-
- __NUMBER__
-
- Implementations must adhere to the response format as specified in the
- JavaScript docs for jsf.ajax.response.
-
-
-
diff --git a/internal/docs/jsf/jsf_ch14.xml b/internal/docs/jsf/jsf_ch14.xml
deleted file mode 100644
index f4f8544be1..0000000000
--- a/internal/docs/jsf/jsf_ch14.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-
-
-
-
-
-
- __NUMBER__
-
- The jsf.ajax.request function is responsible for sending an Ajax request
- to the server. The requirements for this function are as follows:
-
-
-
-
- __NUMBER__.1
-
- The request must be sent asynchronously
-
-
-
-
- __NUMBER__.2
-
- The request must be sent with method type POST
-
-
-
-
- __NUMBER__.3
-
- The request URL will be the form action attribute
-
-
-
-
- __NUMBER__.4
-
- All requests will be queued with the use of a client side
- request queue to help ensure request ordering
-
-
-
-
-
-
- __NUMBER__
-
- It must be a DOM element object or a string identifier for a DOM
- element.
-
-
-
-
- __NUMBER__
-
- The request header must be set with the name Faces-Request and the value
- partial/ajax.
-
-
-
-
- __NUMBER__
-
- The specifics details of this function’s operation must follow the
- jsf.ajax.response JavaScript documentation.
-
-
-
-
- __NUMBER__
-
- This function must return the constant representing the current state of
- the running application in a typical product development lifecycle. The
- returned value must be the value returned from the server side method
- jakarta.faces.application.Application.getProjectStage()
-
-
-
diff --git a/internal/docs/jsf/jsf_ch2.xml b/internal/docs/jsf/jsf_ch2.xml
deleted file mode 100644
index 2607040a3a..0000000000
--- a/internal/docs/jsf/jsf_ch2.xml
+++ /dev/null
@@ -1,1202 +0,0 @@
-
-
-
-
-
-
- __NUMBER__
-
- The JSF implementation must perform the following tasks during
- the Restore View phase of the request processing lifecycle:
-
-
-
-
- __NUMBER__.1
-
- Examine the FacesContext instance for the current
- request. If it already contains a UIViewRoot:
-
-
-
-
- __NUMBER__.1.1
-
- Set the locale on the UIViewRoot to the value
- returned by getRequestLocale() method on the
- ExternalContext for this request
-
-
-
-
- __NUMBER__.1.2
-
- For each component in the component tree,
- determine if a ValueExpression for binding is
- present. If so, call the setValue() method on
- this ValueExpression, passing the component
- instance on which it was found.
-
-
-
-
- __NUMBER__.1.3
-
- Take no further action during this phase, and
- return.
-
-
-
-
-
-
- __NUMBER__.2
-
- Derive the view identifier that corresponds to this
- request, as follows:
-
-
-
-
- __NUMBER__.2.1
-
- If prefix mapping (such as /faces/*) is
- used for FacesServlet, the viewId is set from
- the extra path information of the request
- URI.
-
-
-
-
- __NUMBER__.2.2
-
- If suffix mapping (such as *.faces) is used for
- FacesServlet, the viewId is set from the servlet
- path information of the request URI, after
- replacing the suffix with the value of the
- context initialization parameter named by the
- symbolic constant
- ViewHandler.DEFAULT_SUFFIX_PARAM_NAME (if no
- such context initialization parameter is
- present, use the value of the symbolic constant
- ViewHandler.DEFAULT_SUFIX as the replacement
- suffix).
-
-
-
-
- __NUMBER__.2.3
-
- If no view identifier can be derived, throw an
- exception.
-
-
-
-
-
-
- __NUMBER__.3
-
- Determine if this request is a postback or initial
- request by executing the following algorithm. Find the
- render-kit-id for the current request by calling
- calculateRenderKitId() on the Application's ViewHandler.
- Get the RenderKit's ResponseStateManager and call its
- isPostback() method, passin gthe current FacesContext
-
-
-
-
- __NUMBER__.4
-
- A request that is a non-postback request must call
- FacesContext.renderResponse() to cause intervening
- phases to be skipped.
-
-
-
-
- __NUMBER__.5
-
- If the request is a postback, call
- ViewHandler.restoreView() passing the FacesCOntext
- isntance for the current request and the derived view
- identifier, and returning a UIViewRoot for the restored
- view. If the return from ViewHandler.restoreView() is
- null, throw a FacesException with an appropriate error
- message.
-
-
-
-
- __NUMBER__.5.1
-
- For each component in the component tree,
- determine if a ValueExpression for binding is
- present. If so, call the setValeu() method on
- this ValueExpression, passing the component
- instance on which it was found. Do this in a
- parent-first fashion, calling setValue() method
- and then traversing the children.
-
-
-
-
-
-
- __NUMBER__.6
-
- If the request is a non-postback, call
- ViewHandler.createView(), passing the FacesContext
- instance for the current request and the derived view
- identifier.
-
-
-
-
- __NUMBER__.7
-
- Store the restored or created UIViewRoot in the
- FacesContext
-
-
-
-
- __NUMBER__.8
-
- Use the protected view API to determine if the view for this viewId is
- protected. If not, assume the requested view is
- not protected and take no additional view protection steps. Otherwise,
- look for a Referer [sic] request header. If the
- header is present, use the protected view API to determine if any of the
- declared protected views match the value of
- the Referer header. If so, conclude that the previously visited page is
- also a protected view and it is therefore safe
- to continue. Otherwise, try to determine if the value of the Referer
- header corresponds to any of the views in the
- current web application. If not, throw a ProtectedViewException. If the
- Referer header is not present, fall back on inspecting the incoming URL.
- Obtain the value of the value of the request parameter whose name is
- given by the value of ResponseStateManager.NON_POSTBACK_VIEW_TOKEN_PARAM.
- If such a request parameter value is not present, throw
- ProtectedViewException. If the value is present, compare it to the
- return from
- ResponseStateManager.getCrpytographicallyStrongTokenFromSession(). If
- the values do not match, throw ProtectedViewException.
-
-
-
-
-
-
- __NUMBER__
-
- During the Apply Request Values phase, the JSF implementation
- must call the processDecodes() method of the UIViewRoot of the
- component tree.
-
-
-
-
- __NUMBER__
-
- During the decoding of request values, some components perform
- special processing:
-
-
-
-
- __NUMBER__.1
-
- Components that implement ActionSource, which recognize
- that they were activated, will queue an ActionEvent.
-
-
-
-
- __NUMBER__.1.1
-
- The event will be delivered at the end of Apply
- Request Values phase if the immediate property
- is true
-
-
-
-
- __NUMBER__.1.2
-
- The event will be delivered at the end of Invoke
- Application phase if the immediate property is
- false
-
-
-
-
-
-
- __NUMBER__.2
-
- Components that implement EditableValueHolder, and whose
- immediate property is set to true, will cause the
- conversion and validation processing that normally
- happens during Process Validations phase to occur during
- Apply Requst Values phase instead.
-
-
-
-
-
-
- __NUMBER__
-
- If any of the decode() methods that were invoked, or an event
- listener that processed a queued event, called
- responseComplete() on the FacesContext instance for the current
- request, clear the remaining events from the event queue and
- terminate the lifecycle processing of the current request.
-
-
-
-
- __NUMBER__
-
- If any of the decode() methods that were invoked, or an event
- listener that processed a queued event, called renderResponse()
- on the FacesContext instance for the current request, clear the
- remaining events from the event queue and terminate the
- lifecycle processing of the current request.
-
-
-
-
- __NUMBER__
-
- If any of the decode() methods that were invoked, or an event
- listener that processed a queued event, did not call
- responseComplete() or renderResponse() on the FacesContext
- instance for the current request, the implementation must
- proceed to the Process Validations phase.
-
-
-
-
- __NUMBER__
-
- During the Process Validations phase of the request processing
- lifecycle, the JSF implementation must call the
- processValidators() method of the UIViewRoot of the tree.
-
-
-
-
- __NUMBER__
-
- If any of the validate() methods that were invoked, or an event
- listener that processed a queued event, called renderResponse()
- on the FacesContext instance for the current request, clear the
- remaining events from the event queue and transfer control to
- the Render Response phase of the request processing lifecycle.
- Otherwise, control must proceed to the Update Model Values
- phase.
-
-
-
-
- __NUMBER__
-
- During the Update Model Values phase, the JSF implementation
- must call the processUpdates() method of the UIViewRoot
- component of the tree.
-
-
-
-
- __NUMBER__
-
- If any of the updateModel() methods that was invoked,
- or an event listener that processed a queued event, called
- renderResponse() on the FacesContext instance for the current
- request, clear the remaining events from the event queue and
- transfer control to the Render Response phase of the request
- processing lifecycle. Otherwise, control must proceed to the
- Invoke Application phase.
-
-
-
-
- __NUMBER__
-
- The implementation must ensure that the processApplication()
- method of the UIViewRoot instance is called.
-
-
-
-
- __NUMBER__.1.1
-
- The default behavior of this method will be to broadcast
- any queued events that specify a phase identifier of
- PhaseId.INVOKE_APPLICATION.
-
-
-
-
-
-
- __NUMBER__
-
- During the Render Response phase All JSF implementations
- must conform to the following requirements.
-
-
-
-
- __NUMBER__.1.1
-
- JSF implementations must provide a default ViewHandler
- implementation that performs a
- RequestDispatcher.forward() call to a web application
- resource whose context-relative path is equal to the
- view identifier of the component tree
-
-
-
-
- __NUMBER__.1.2
-
- During the rendering process, additional components may
- be added to the component tree based on information
- available to the ViewHandler implementation. However,
- before adding a new component, the ViewHandler
- implementation must first check for the existence of the
- corresponding component in the component tree. If the
- component already exists (perhaps because a previous
- phase has pre-created one or more components), the
- existing component’s properties and attributes must be
- utilized.
-
-
-
-
- __NUMBER__.1.3
-
- Under no circumstances should a component be selected
- for rendering when its parent component, or any of its
- ancestors in the component tree, has its rendersChildren
- property set to true. In such cases, the parent or
- ancestor component must render the content of this child
- component when the parent or ancestor was selected.
-
-
-
-
-
-
- __NUMBER__
-
- For each queued event, the broadcast() method of the source
- UIComponent must be called to broadcast the event to all event
- listeners who have registered an interest, on this source
- component for events of the specified type, after which the
- event is removed from the event queue.
-
-
-
-
- __NUMBER__
-
- It is also possible for event listeners to cause additional
- events to be enqueued for processing during the current phase
- of the request processing lifecycle. Such events must be
- broadcast in the order they were enqueued, after all originally
- queued events have been broadcast, before the lifecycle
- management method returns.
-
-
-
-
- __NUMBER__
-
- The UIViewRoot instance returned by the createView() method must
- minimally contain a single UIViewRoot provided by the JSF
- implementation, which must encapsulate any
- implementation-specific component management that is required.
-
-
-
-
- __NUMBER__
-
- The caller of ViewHandler.createView() must cause the
- FacesContext to be populated with the new UIViewRoot.
-
-
-
-
- __NUMBER__
-
- The default ViewHandler must call calculateRenderKitId() on
- itself and set the result into the UIViewRoot’s renderKitId
- property.
-
-
-
-
- __NUMBER__
-
- Once the view has been created and configured, the FacesContext
- instance for this request must be made aware of it by calling
- setViewRoot().
-
-
-
-
- __NUMBER__
-
- The create ViewHandler’s createView() method must cause the
- active Locale to be determined by looking at the user’s
- preferences combined with the application’s stated supported
- locales.
-
-
-
-
- __NUMBER__
-
- At the beginning of the render-response phase, the ViewHandler
- must ensure that the response Locale is set to be that of the
- UIViewRoot, for example by calling ServletResponse.setLocale()
- when running in the servlet environment.
-
-
-
-
- __NUMBER__
-
- At the end of the render-response phase, the ViewHandler must
- store the response character encoding used by the underlying
- response object (e.g., the servlet or portlet response) in the
- session (if and only if a session already exists) under a well
- known, implementation-dependent key
-
-
-
-
- __NUMBER__.1
-
- On a subsequent postback, before any of the
- ExternalContext methods for accessing request
- parameters are invoked, the ViewHandler must examine the
- Content-Type header to read the charset attribute and
- use its value to set it as the request encoding for the
- underlying request object. If the Content-Type header
- doesn't contain a charset attribute, the encoding
- previously stored in the session (if and only if a
- session already exists), must be used to set the
- encoding for the underlying request object.
-
-
-
-
- __NUMBER__.2
-
- If no character encoding is found, the request encoding
- must be left unmodified.
-
-
-
-
-
-
- __NUMBER__
-
- A JSF implementation must provide a jakarta.faces.Messages
- ResourceBundle containing all of the necessary keys for the
- standard messages.
-
-
-
-
- __NUMBER__.1
-
- jakarta.faces.component.UIInput.CONVERSION --
- {0}: Conversion error occurred
-
-
-
-
- __NUMBER__.2
-
- jakarta.faces.component.UIInput.REQUIRED --
- {0}: Validation Error: Value is required
-
-
-
-
- __NUMBER__.3
-
- jakarta.faces.component.UIInput.UPDATE --
- {0}: An error occurred when processing your submitted
- information
-
-
-
-
- __NUMBER__.4
-
- jakarta.faces.component.UISelectOne.INVALID --
- {0}: Validation Error: Value is not valid
-
-
-
-
- __NUMBER__.5
-
- jakarta.faces.component.UISelectMany.INVALID --
- {0}: Validation Error: Value is not valid
-
-
-
-
- __NUMBER__.6
-
- jakarta.faces.converter.BigDecimalConverter.DECIMAL={2}:
- ''{0}'' must be a signed decimal number.
-
-
-
-
- __NUMBER__.7
-
- jakarta.faces.converter.BigDecimalConverter.DECIMAL_detail
- ={2}: ''{0}'' must be asigned decimal number consisting
- of zero or more digits, that may be followed by a
- decimal point and fraction. Example: {1}
-
-
-
-
- __NUMBER__.8
-
- jakarta.faces.converter.BigIntegerConverter.BIGINTEGER
- ={2}: ''{0}'' must be a number consisting of one or more
- digits.
-
-
-
-
- __NUMBER__.9
-
- jakarta.faces.converter.BigIntegerConverter.BIGINTEGER_
- detail={2}: ''{0}'' must be a number consisting of one
- or more digits. Example: {1}
-
-
-
-
- __NUMBER__.10
-
- jakarta.faces.converter.BooleanConverter.BOOLEAN={1}:
- ''{0}'' must be 'true' or 'false'.
-
-
-
-
- __NUMBER__.11
-
- jakarta.faces.converter.BooleanConverter.BOOLEAN_detail
- ={1}: ''{0}'' must be 'true' or 'false'. Any value other
- than 'true' will evaluate to 'false'.
-
-
-
-
- __NUMBER__.12
-
- jakarta.faces.converter.ByteConverter.BYTE={2}: ''{0}''
- must be a number between 0 and 255.
-
-
-
-
- __NUMBER__.13
-
- jakarta.faces.converter.ByteConverter.BYTE_detail={2}:
- ''{0}'' must be a number between 0 and 255. Example: {1}
-
-
-
-
- __NUMBER__.14
-
- jakarta.faces.converter.CharacterConverter.CHARACTER={1}:
- ''{0}'' must be a valid character.
-
-
-
-
- __NUMBER__.15
-
- jakarta.faces.converter.CharacterConverter.CHARACTER_
- detail={1}: ''{0}'' must be a valid ASCII character.
-
-
-
-
- __NUMBER__.16
-
- jakarta.faces.converter.DateTimeConverter.DATE={2}:
- ''{0}'' could not be understood as a date.
-
-
-
-
- __NUMBER__.17
-
- jakarta.faces.converter.DateTimeConverter.DATE_detail={2}:
- ''{0}'' could not be understood as a date. Example: {1}
-
-
-
-
- __NUMBER__.18
-
- jakarta.faces.converter.DateTimeConverter.TIME={2}:
- ''{0}'' could not be understood as a time.
-
-
-
-
- __NUMBER__.19
-
- jakarta.faces.converter.DateTimeConverter.TIME_detail={2}:
- ''{0}'' could not be understood as a time. Example: {1}
-
-
-
-
- __NUMBER__.20
-
- jakarta.faces.converter.DateTimeConverter.DATETIME={2}:
- ''{0}'' could not be understood as a date and time.
-
-
-
-
- __NUMBER__.21
-
- jakarta.faces.converter.DateTimeConverter.DATETIME_detail=
- {2}: ''{0}'' could not be understood as a date and time.
- Example: {1}
-
-
-
-
- __NUMBER__.22
-
- jakarta.faces.converter.DateTimeConverter.PATTERN_TYPE=
- {1}: A 'pattern' or 'type' attribute must be specified
- to convert the value ''{0}''.
-
-
-
-
- __NUMBER__.23
-
- jakarta.faces.converter.DoubleConverter.DOUBLE={2}:
- ''{0}'' must be a number consisting of one or more
- digits.
-
-
-
-
- __NUMBER__.24
-
- jakarta.faces.converter.DoubleConverter.DOUBLE_detail={2}:
- ''{0}'' must be a number between 4.9E-324 and
- 1.7976931348623157E308 Example: {1}
-
-
-
-
- __NUMBER__.25
-
- jakarta.faces.converter.EnumConverter.ENUM={2}: ''{0}''
- must be convertible to an enum.
-
-
-
-
- __NUMBER__.26
-
- jakarta.faces.converter.EnumConverter.ENUM_detail={2}:
- ''{0}'' must be convertible to an enum from the enum
- that contains the constant ''{1}''.
-
-
-
-
- __NUMBER__.27
-
- jakarta.faces.converter.EnumConverter.ENUM_NO_CLASS={1}:
- ''{0}'' must be convertible to an enum from the enum,
- but no enum class provided.
-
-
-
-
- __NUMBER__.28
-
- jakarta.faces.converter.EnumConverter.ENUM_NO_CLASS_detail
- ={1}: ''{0}'' must be convertible to an enum from the
- enum, but no enum class provided.
-
-
-
-
- __NUMBER__.29
-
- jakarta.faces.converter.FloatConverter.FLOAT={2}: ''{0}''
- must be a number consisting of one or more digits.
-
-
-
-
- __NUMBER__.30
-
- jakarta.faces.converter.FloatConverter.FLOAT_detail={2}:
- ''{0}'' must be a number between 1.4E-45 and
- 3.4028235E38 Example: {1}
-
-
-
-
- __NUMBER__.31
-
- jakarta.faces.converter.IntegerConverter.INTEGER={2}:
- ''{0}'' must be a number consisting of one or more
- digits.
-
-
-
-
- __NUMBER__.32
-
- jakarta.faces.converter.IntegerConverter.INTEGER_detail=
- {2}: ''{0}'' must be a number between -2147483648
- and 2147483647 Example: {1}
-
-
-
-
- __NUMBER__.33
-
- jakarta.faces.converter.LongConverter.LONG={2}: ''{0}''
- must be a number consisting of one or more digits.
-
-
-
-
- __NUMBER__.34
-
- jakarta.faces.converter.LongConverter.LONG_detail={2}:
- ''{0}'' must be a number between -9223372036854775808
- to 9223372036854775807 Example: {1}
-
-
-
-
- __NUMBER__.35
-
- jakarta.faces.converter.NumberConverter.CURRENCY={2}:
- ''{0}'' could not be understood as a currency value.
-
-
-
-
- __NUMBER__.36
-
- jakarta.faces.converter.NumberConverter.CURRENCY_detail=
- {2}: ''{0}'' could not be understood as a currency value.
- Example: {1}
-
-
-
-
- __NUMBER__.37
-
- jakarta.faces.converter.NumberConverter.PERCENT={2}:
- ''{0}'' could not be understood as a percentage.
-
-
-
-
- __NUMBER__.38
-
- jakarta.faces.converter.NumberConverter.PERCENT_detail=
- {2}: ''{0}'' could not be understood as a percentage.
- Example: {1}
-
-
-
-
- __NUMBER__.39
-
- jakarta.faces.converter.NumberConverter.NUMBER={2}:
- ''{0}'' is not a number.
-
-
-
-
- __NUMBER__.40
-
- jakarta.faces.converter.NumberConverter.NUMBER_detail={2}:
- ''{0}'' is not a number. Example: {1}
-
-
-
-
- __NUMBER__.41
-
- jakarta.faces.converter.NumberConverter.PATTERN={2}:
- ''{0}'' is not a number pattern.
-
-
-
-
- __NUMBER__.42
-
- jakarta.faces.converter.NumberConverter.PATTERN_detail=
- {2}: ''{0}'' is not a number pattern. Example: {1}
-
-
-
-
- __NUMBER__.43
-
- jakarta.faces.converter.ShortConverter.SHORT={2}: ''{0}''
- must be a number consisting of one or more digits.
-
-
-
-
- __NUMBER__.44
-
- jakarta.faces.converter.ShortConverter.SHORT_detail={2}:
- ''{0}'' must be a number between -32768 and 32767
- Example: {1}
-
-
-
-
- __NUMBER__.45
-
- jakarta.faces.converter.STRING={1}: Could not convert
- ''{0}'' to a string.
-
-
-
-
- __NUMBER__.46
-
- jakarta.faces.validator.DoubleRangeValidator.MAXIMUM --
- {1}: Validation Error: Value is greater than allowable
- maximum of ‘’{0}’’
-
-
-
-
- __NUMBER__.47
-
- jakarta.faces.validator.DoubleRangeValidator.MINIMUM --
- {1}: Validation Error: Value is less than allowable
- minimum of ‘’{0}’’
-
-
-
-
- __NUMBER__.48
-
- jakarta.faces.validator.DoubleRangeValidator.NOT_IN_RANGE
- -- {2}: Validation Error: Specified attribute is not
- between the expected values of {0} and {1}.
-
-
-
-
- __NUMBER__.49
-
- jakarta.faces.validator.DoubleRangeValidator.TYPE -- {0}:
- Validation Error: Value is not of the correct type
-
-
-
-
- __NUMBER__.50
-
- jakarta.faces.validator.LengthValidator.MAXIMUM -- {1}:
- Validation Error: Value is greater than allowable
- maximum of ‘’{0}’’
-
-
-
-
- __NUMBER__.51
-
- jakarta.faces.validator.LengthValidator.MINIMUM -- {1}:
- Validation Error: Value is less than allowable minimum
- of ‘’{0}’’
-
-
-
-
- __NUMBER__.52
-
- jakarta.faces.validator.LongRangeValidator.MAXIMUM --
- {1}: Validation Error: Value is greater than allowable
- maximum of ‘’{0}’’
-
-
-
-
- __NUMBER__.53
-
- jakarta.faces.validator.LongRangeValidator.MINIMUM -- {1}:
- Validation Error Value is less than allowable minimum of
- ‘’{0}’’
-
-
-
-
- __NUMBER__.54
-
- jakarta.faces.validator.LongRangeValidator.NOT_IN_RANGE=
- {2}: Validation Error: Specified attribute is not
- between the expected values of {0} and {1}.
-
-
-
-
- __NUMBER__.55
-
- jakarta.faces.validator.LongRangeValidator.TYPE -- {0}:
- Validation Error: Value is not of the correct type
-
-
-
-
-
-
- __NUMBER__
-
- These ResourceBundle keys must be used to look up the necessary
- values to create a localized FacesMessage instance. Note that
- the value of the summary and detail keys in the ResourceBundle
- may contain parameter substitution tokens, which must be
- substituted with the appropriate values using
- java.text.MessageFormat.
-
-
-
-
- __NUMBER__
-
- The following algorithm must be used to create a FacesMessage
- instance given a message key.
-
-
-
-
- __NUMBER__.1
-
- Call getMessageBundle() on the Application instance for
- this web application, to determine if the application
- has defined a resource bundle name. If so, load that
- ResourceBundle and look for the message there.
-
-
-
-
- __NUMBER__.2
-
- If not there, look in the jakarta.faces.Messages
- resource bundle.
-
-
-
-
-
-
- __NUMBER__
-
- A custom component that extends UIComponent directly, and does
- not extend any of the standard components must implement
- StateHolder manually.
-
-
-
-
- __NUMBER__
-
- A custom component that does extend from one of the standard
- components and maintains its own state, in addition to the state
- maintained by the superclass must take special care to implement
- StateHolder correctly. Notably, calls to saveState() must not
- alter the state in any way.
-
-
-
-
diff --git a/internal/docs/jsf/jsf_ch3.xml b/internal/docs/jsf/jsf_ch3.xml
deleted file mode 100644
index 4d86dc2b52..0000000000
--- a/internal/docs/jsf/jsf_ch3.xml
+++ /dev/null
@@ -1,602 +0,0 @@
-
-
-
-
-
- __NUMBER__
-
- Every User Interface component may be named by a component
- identifier, which (if utilized) must be unique among the
- components that share a common naming container parent in a
- component tree.
-
-
-
-
- __NUMBER__
-
- Component identifiers must conform to the following rules:
-
-
-
-
- __NUMBER__.1
-
- They must start with a letter (as defined by the
- Character.isLetter() method).
-
-
-
-
- __NUMBER__.2
-
- Subsequent characters may be letters (as defined by the
- Character.isLetter() method), digits as defined by the
- Character.isDigit() method, dashes (‘-’), and
- underscores (‘_’).
-
-
-
-
-
-
- __NUMBER__
-
- The implementation of setValueExpression must detemine if the
- expression is a literal by calling
- ValueExpression.isLiteralText() on the expression argument.
-
-
-
-
- __NUMBER__.1
-
- If the expression argument is literal text, then
- ValueExpression.getValue() must be called on the
- expression argument.
-
-
-
-
- __NUMBER__.2
-
- The result must be used as the value argument, along
- with the name argument to this component
- getAttributes().put(name,value) method call.
-
-
-
-
-
-
- __NUMBER__
-
- For the standard component classes defined by this
- specification, all attributes, and all properties other than id
- and parent, are value expression enabled.
-
-
-
-
- __NUMBER__
-
- The specified ValueExpression must point to a read-write
- JavaBeans property of type UIComponent(or appropriate subclass).
- Such a component binding is used at two different times
- during the processing of a Faces Request:
-
-
-
-
- __NUMBER__.1
-
- When a component instance is first created (typically by
- virtue of being referenced by a UIComponentELTag in a
- JSP page), the JSF implementation will retrieve the
- ValueExpression for the name binding, and call
- getValue() on it.
-
-
-
-
- __NUMBER__.1.1
-
- If this call returns a non-null UIComponent
- value (because the JavaBean programmatically
- instantiated and configured a component
- already), that instance will be added to the
- component tree that is being created.
-
-
-
-
- __NUMBER__.1.2
-
- If the call returns null, a new component
- instance will be created, added to the component
- tree, and setValue() will be called on the
- ValueBinding (which will cause the property on
- the JavaBean to be set to the newly created
- component instance).
-
-
-
-
-
-
- __NUMBER__.2
-
- When a component tree is recreated during the Restore
- View phase of the request processing lifecycle, for each
- component that has a ValueExpression associated with the
- name “binding”, setValue() will be called on it, passing
- the recreated component instance.
-
-
-
-
-
-
- __NUMBER__
-
- The UIComponent.getChildren() method returns a mutable List.
- The returned List implementation must support all of the
- required and optional methods of the List interface, as well as
- update the parent property of children that are added and
- removed, as described in the Javadocs for this method.
-
-
-
-
- __NUMBER__
-
- If there are no children, the getChildCount() method must
- return 0.
-
-
-
-
- __NUMBER__
-
- The getChildCount() must not cause the creation of a child
- component list, so it is preferred over calling
- getChildren().size() when there are no children.
-
-
-
-
- __NUMBER__
-
- The Map returned by getAttributes() must also support
- attribute-property transparency, which operates as follows:
-
-
-
-
- __NUMBER__.1
-
- When the get() method is called, if the specified
- attribute name matches the name of a readable JavaBeans
- property on the component implementation class, the
- value returned will be acquired by calling the
- appropriate property getter method, and wrapping Java
- primitive values (such as int) in their corresponding
- wrapper classes (such as java.lang.Integer) if
- necessary. If the specified attribute name does not
- match the name of a readable JavaBeans property on the
- component implementation class, consult the internal
- data-structure to in which generic attributes are
- stored. If no entry exists in the internal
- data-structure, see if there is a ValueExpression for
- this attribute name by calling getValueExpression(),
- passing the attribute name as the key. If a
- ValueExpression exists, call getValue() on it, returning
- the result. If an ELException is thrown wrap it in a
- FacesException and re-throw it.
-
-
-
-
- __NUMBER__.2
-
- When the put() method is called, if the specified
- attribute name matches the name of a writable JavaBeans
- property on the component implementation class, the
- appropriate property setter method will be called. If
- the specified attribute name does not match the name of
- a writable JavaBeans property, simply put the value in
- the data-structure for generic attributes.
-
-
-
-
- __NUMBER__.3
-
- When the remove() method is called, if the specified
- attribute name matches the name of a JavaBeans property
- on the component, an IllegalArgumentException must be
- thrown.
-
-
-
-
- __NUMBER__.4
-
- When the containsKey() method is called, if the
- specified attribute name matches the name of a JavaBeans
- property, return false. Otherwise, return true if and
- only if the specified attribute name exists in the
- internal data-structure for the generic attributes.
-
-
-
-
-
-
- __NUMBER__
-
- The following converter id values must be registered to create
- instances of the specified Converter implementation classes:
-
-
-
-
- __NUMBER__.1
-
- jakarta.faces.BigDecimal -- An instance of
- jakarta.faces.convert.BigDecimalConverter (or a subclass
- of this class).
-
-
-
-
- __NUMBER__.2
-
- jakarta.faces.BigInteger -- An instance of
- jakarta.faces.convert.BigIntegerConverter (or a subclass
- of this class).
-
-
-
-
- __NUMBER__.3
-
- jakarta.faces.Boolean -- An instance of
- jakarta.faces.convert.BooleanConverter (or a subclass
- of this class).
-
-
-
-
- __NUMBER__.4
-
- jakarta.faces.Byte -- An instance of
- jakarta.faces.convert.ByteConverter (or a subclass of
- this class).
-
-
-
-
- __NUMBER__.5
-
- jakarta.faces.Character -- An instance of
- jakarta.faces.convert.CharacterConverter (or a subclass of
- this class).
-
-
-
-
- __NUMBER__.6
-
- jakarta.faces.DateTime -- An instance of
- jakarta.faces.convert.DateTimeConverter (or a subclass of
- this class).
-
-
-
-
- __NUMBER__.7
-
- jakarta.faces.Double -- An instance of
- jakarta.faces.convert.DoubleConverter (or a subclass of
- this class).
-
-
-
-
- __NUMBER__.8
-
- jakarta.faces.Float -- An instance of
- jakarta.faces.convert.FloatConverter (or a subclass of
- this class).
-
-
-
-
- __NUMBER__.9
-
- jakarta.faces.Integer -- An instance of
- jakarta.faces.convert.IntegerConverter (or a subclass of
- this class).
-
-
-
-
- __NUMBER__.10
-
- jakarta.faces.Long -- An instance of
- jakarta.faces.convert.LongConverter (or a subclass of this
- class).
-
-
-
-
- __NUMBER__.11
-
- jakarta.faces.Number -- An instance of
- jakarta.faces.convert.NumberConverter (or a subclass of
- this class).
-
-
-
-
- __NUMBER__.12
-
- jakarta.faces.Short -- An instance of
- jakarta.faces.convert.ShortConverter (or a subclass of
- this class).
-
-
-
-
-
-
- __NUMBER__
-
- A JSF implementation must register converters for all of the
- following classes using the by-type registration mechanism:
-
-
-
-
- __NUMBER__.1
-
- java.math.BigDecimal, and java.math.BigDecimal.TYPE --
- An instance of jakarta.faces.convert.BigDecimalConverter
- (or a subclass of this class).
-
-
-
-
- __NUMBER__.2
-
- java.math.BigInteger, and java.math.BigInteger.TYPE --
- An instance of jakarta.faces.convert.BigIntegerConverter
- (or a subclass of this class).
-
-
-
-
- __NUMBER__.3
-
- java.lang.Boolean, and java.lang.Boolean.TYPE -- An
- instance of jakarta.faces.convert.BooleanConverter
- (or a subclass of this class).
-
-
-
-
- __NUMBER__.4
-
- java.lang.Byte, and java.lang.Byte.TYPE -- An instance
- of jakarta.faces.convert.ByteConverter (or a subclass of
- this class).
-
-
-
-
- __NUMBER__.5
-
- java.lang.Character, and java.lang.Character.TYPE -- An
- instance of jakarta.faces.convert.CharacterConverter
- (or a subclass of this class).
-
-
-
-
- __NUMBER__.6
-
- java.lang.Double, and java.lang.Double.TYPE -- An
- instance of jakarta.faces.convert.DoubleConverter (or a
- subclass of this class).
-
-
-
-
- __NUMBER__.7
-
- java.lang.Float, and java.lang.Float.TYPE -- An instance
- of jakarta.faces.convert.FloatConverter (or a subclass of
- this class).
-
-
-
-
- __NUMBER__.8
-
- java.lang.Integer, and java.lang.Integer.TYPE -- An
- instance of jakarta.faces.convert.IntegerConverter (or a
- subclass of this class).
-
-
-
-
- __NUMBER__.9
-
- java.lang.Long, and java.lang.Long.TYPE -- An instance
- of jakarta.faces.convert.LongConverter (or a subclass of
- this class).
-
-
-
-
- __NUMBER__.10
-
- java.lang.Short, and java.lang.Short.TYPE -- An instance
- of jakarta.faces.convert.ShortConverter (or a subclass of
- this class).
-
-
-
-
- __NUMBER__.11
-
- java.lang.Enum, and java.lang.Enum.TYPE -- An instance
- of jakarta.faces.convert.EnumConverter (or a subclass of
- this class).
-
-
-
-
-
-
- __NUMBER__
-
- A compliant implementation must allow the registration of a
- converter for class java.lang.String and java.lang.String.TYPE
- that will be used to convert values for these types.
-
-
-
-
- __NUMBER__
-
- A concrete UIComponent subclass that emits events of a
- particular type must include public methods to register and
- deregister a listener implementation.
-
-
-
-
- __NUMBER__
-
- The following standard Validator implementations (in the
- jakarta.faces.validator package) are provided:
-
-
-
-
- __NUMBER__.1
-
- DoubleRangeValidator—Checks the local value of a
- component, which must be of any numeric type, against
- specified maximum and/or minimum values. Standard
- identifier is “jakarta.faces.DoubleRange”.
-
-
-
-
- __NUMBER__.2
-
- LengthValidator—Checks the length (i.e. number of
- characters) of the local value of a component, which
- must be of type String, against maximum and/or minimum
- values. Standard identifier is “jakarta.faces.Length”.
-
-
-
-
- __NUMBER__.3
-
- LongRangeValidator—Checks the local value of a
- component, which must be of any numeric type convertible
- to long, against maximum and/or minimum values. Standard
- identifier is “jakarta.faces.LongRange”.
-
-
-
-
- __NUMBER__.4
-
- MethodExpressionValidator—Wraps a MethodExpression and
- interprets it as pointing to a method that performs
- validation. Any exception thrown when the expression
- is invoked is wrapped in a ValidatorException in similar
- fashion as the above validators.
-
-
-
-
-
-
diff --git a/internal/docs/jsf/jsf_ch4.xml b/internal/docs/jsf/jsf_ch4.xml
deleted file mode 100644
index e52fc7713a..0000000000
--- a/internal/docs/jsf/jsf_ch4.xml
+++ /dev/null
@@ -1,779 +0,0 @@
-
-
-
-
-
- __NUMBER__
-
- The implementation for each standard UIComponent class
- must specify two public static final String constant values:
-
-
-
-
- __NUMBER__.1
-
- COMPONENT_TYPE -- The standard component type identifier
- under which the corresponding component class is
- registered with the Application object for this
- application. This value may be used as a parameter to
- the createComponent() method.
-
-
-
-
- __NUMBER__.2
-
- COMPONENT_FAMILY -- The standard component family
- identifier used to select an appropriate Renderer for
- this component.
-
-
-
-
-
-
- __NUMBER__
-
- UIColumn specializes the behavior of render-independent
- properties inherited from the parent class as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.Column”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to null.
-
-
-
-
-
-
- __NUMBER__
-
- UICommand components specialize the behavior of
- renderindependent properties inherited from the parent class as
- follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.Command”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Button”.
-
-
-
-
-
-
- __NUMBER__
-
- UIData specializes the behavior of render-independent properties
- inherited from the parent component as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.Data”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Table”.
-
-
-
-
-
-
- __NUMBER__
-
- A DataModel wrapper instance must automatically be provided by
- the JSF implementation if the current value is of one of the
- following types:
-
-
-
-
- __NUMBER__.1
-
- java.util.List
-
-
-
-
- __NUMBER__.2
-
- Array of java.util.Object
-
-
-
-
- __NUMBER__.3
-
- java.sql.ResultSet (which therefore also supports
- javax.sql.RowSet)
-
-
-
-
- __NUMBER__.4
-
- javax.servlet.jsp.jstl.sql.Result
-
-
-
-
- __NUMBER__.5
-
- Any other Java object is wrapped by a DataModel instance
- with a single row
-
-
-
-
-
-
- __NUMBER__
-
- UIData specializes the behavior of the processDecodes(),
- processValidators(), and processUpdates() methods inherited from
- its parent as follows:
-
-
-
-
- __NUMBER__.1
-
- For each of these methods, the UIData implementation
- must iterate over each row in the underlying data model,
- starting with the row identified by the first property,
- for the number of rows indicated by the rows property,
- by calling the setRowIndex() method.
-
-
-
-
- __NUMBER__.2
-
- When iteration is complete, set the rowIndex property of
- this component, and of the underlying DataModel, to
- zero, and remove any request attribute exposed via the
- var property.
-
-
-
-
-
-
- __NUMBER__
-
- The encodeEnd() method of the renderer for UIForm must call
- ViewHandler.writeState() before writing out the markup for the
- closing tag of the form.
-
-
-
-
- __NUMBER__
-
- UIForm specializes the behavior of render-independent properties
- inherited from the parent component as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.Form”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Form”.
-
-
-
-
-
-
- __NUMBER__
-
- The setSubmitted() method of each UIForm instance in the view
- must be called during the Apply Request Values phase of the
- request processing lifecycle, during the processing performed by
- the UIComponent.decode() method. If this UIForm instance
- represents the form actually being submitted on this request,
- the parameter must be set to true; otherwise, it must be set to
- false.
-
-
-
-
- __NUMBER__
-
- The value of a UIForm's submitted property must not be saved as
- part of its state.
-
-
-
-
- __NUMBER__
-
- The saveState() method of UIForm must call setSubmitted(false)
- before calling super.saveState().
-
-
-
-
- __NUMBER__
-
- Override the parent method to ensure that children of this
- UIForm instance in the view have the form’s clientId prepended
- to their clientIds if and only if the form’s prependId property
- is true.
-
-
-
-
- __NUMBER__
-
- UIGraphic specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.Graphic”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Image”.
-
-
-
-
-
-
- __NUMBER__
-
- UIInput specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.Input”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Text”.
-
-
-
-
- __NUMBER__.3
-
- The Converter specified by the converter property (if
- any) must also be used to perform String->Object
- conversions during decoding.
-
-
-
-
- __NUMBER__.4
-
- If the value property has an associated ValueExpression,
- the setValue() method of that ValueExpression will be
- called during the Update Model Values phase of the
- request processing lifecycle to push the local value of
- the component back to the corresponding model bean
- property.
-
-
-
-
-
-
- __NUMBER__
-
- UIMessage specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.Message”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Message”.
-
-
-
-
-
-
- __NUMBER__
-
- UIOutput specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.Output”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Text”.
-
-
-
-
-
-
- __NUMBER__
-
- UIPanel specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.Panel”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to null.
-
-
-
-
-
-
- __NUMBER__
-
- UIParameter specializes the behavior of renderindependent
- properties inherited from the parent component as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.Parameter”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to null.
-
-
-
-
-
-
- __NUMBER__
-
- UISelectBoolean specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.SelectBoolean”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Checkbox”.
-
-
-
-
-
-
- __NUMBER__
-
- UISelectItem specializes the behavior of renderindependent
- properties inherited from the parent component as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.SelectItem”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to null.
-
-
-
-
- __NUMBER__.3
-
- If the value property is non-null, it must contain a
- SelectItem instance used to configure the selection item
- specified by this component.
-
-
-
-
- __NUMBER__.4
-
- If the value property is a value expression, it must
- point at a SelectItem instance used to configure the
- selection item specified by this component.
-
-
-
-
- __NUMBER__.5
-
- If the value property is null, and there is no
- corresponding value expression, the itemDescription,
- itemDisabled, itemLabel and itemValue properties must be
- used to construct a new SelectItem representing the
- selection item specified by this component.
-
-
-
-
-
-
- __NUMBER__
-
- UISelectItems specializes the behavior of renderindependent
- properties inherited
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.SelectItems”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to null.
-
-
-
-
- __NUMBER__.2
-
- If the value property (or the value returned by a value
- expression associated with the value property) is
- non-null, it must contain a SelectItem bean, an array of
- SelectItem beans, a Collection of SelectItem beans, or a
- Map, where each map entry is used to construct a
- SelectItem bean with the key as the label property of
- the bean, and the value as the value property of the
- bean (which must be of the same basic type as the value
- of the parent component’s value).
-
-
-
-
-
-
- __NUMBER__
-
- UISelectMany must provide a specialized validate() method which
- ensures that any decoded values are valid options (from the
- nested UISelectItem and UISelectItems children).
-
-
-
-
- __NUMBER__
-
- UISelectOne specializes the behavior of renderindependent
- properties inherited from the parent component as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.SelectOne”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to “jakarta.faces.Menu”.
-
-
-
-
-
-
- __NUMBER__
-
- UISelectOne must provide a specialized validate() method which
- ensures that any decoded value is a valid option (from the
- nested UISelectItem and UISelectItems children).
-
-
-
-
- __NUMBER__
-
- UIViewRoot specializes the behavior of render-independent
- properties inherited from the parent component as follows:
-
-
-
-
- __NUMBER__.1
-
- The default value of the family property must be set to
- “jakarta.faces.ViewRoot”.
-
-
-
-
- __NUMBER__.2
-
- The default value of the rendererType property must be
- set to null.
-
-
-
-
-
-
- __NUMBER__
-
- The JSF implementation must provide concrete implementations of
- DataModel (in the jakarta.faces.model package) for the following
- data wrapping scenarios:
-
-
-
-
- __NUMBER__.1
-
- ArrayDataModel -- Wrap an array of Java objects.
-
-
-
-
- __NUMBER__.2
-
- ListDataModel -- Wrap a java.util.List of Java objects.
-
-
-
-
- __NUMBER__.3
-
- ResultDataModel -- Wrap an object of type
- javax.servlet.jsp.jstl.sql.Result (the query results
- from JSTL’s SQL tag library)
-
-
-
-
- __NUMBER__.4
-
- ResultSetDataModel -- Wrap an object of type
- java.sql.ResultSet (which therefore means that
- javax.sql.RowSet instances are also supported).
-
-
-
-
- __NUMBER__.5
-
- ScalarDataModel -- Wrap a single Java object in what
- appears to be a one-row data set.
-
-
-
-
-
diff --git a/internal/docs/jsf/jsf_ch5.xml b/internal/docs/jsf/jsf_ch5.xml
deleted file mode 100644
index 29f55e4c95..0000000000
--- a/internal/docs/jsf/jsf_ch5.xml
+++ /dev/null
@@ -1,432 +0,0 @@
-
-
-
-
-
-
- __NUMBER__
-
- It is an error to specify a managed bean class that does not
- exist, or that cannot be instantiated with a public, zero-args
- constructor.
-
-
-
-
- __NUMBER__
-
- It is an error to specify a <property-name> element for a
- property that does not exist, or does not have a public setter
- method, on the specified managed bean class.
-
-
-
-
- __NUMBER__
-
- It is an error to specify a value element that cannot be
- converted to the type required by a managed property, or that,
- when evaluated, results in a value that cannot be converted to
- the type required by a managed property.
-
-
-
-
- __NUMBER__
-
- If the type of the property referenced by the
- <managed-property> element is a Java enum, the contents of
- the <value> element must be a String that yields a valid
- return from java.lang.Enum.valueOf(PROPERTY_CLASS, VALUE) where
- PROPERTY_CLASS is the java.lang.Class for the property and VALUE
- is the contents of <value> element in the application
- configuration resource. If any exception is thrown from
- Enum.valueOf() it is an error.
-
-
-
-
- __NUMBER__
-
- It is an error for a managed bean created through The Managed
- Bean Creation Facility to have a property that points at an
- object stored in a scope with a (potentially) shorter life span.
- Specifically, this means, for an object created with the
- specified <managed-bean-scope>, then <value>
- evaluations can only point at created objects with the specified
- managed bean scope:
-
- ■ none -- none
- ■ application -- none, application
- ■ session -- none, application, session
- ■ request -- none, application, session, request
-
-
-
-
- __NUMBER__
-
- Data accessed via an implicit object is also defined to be in a
- scope. The following implicit objects are considered to be in
- request scope:
-
- ■ cookie
- ■ facesContext
- ■ header
- ■ headerValues
- ■ param
- ■ paramValues
- ■ request
- ■ requestScope
- ■ view
-
-
-
-
- __NUMBER__
-
- The only implicit objects in session scope are session and
- sessionScope.
-
-
-
-
- __NUMBER__
-
- The following implicit objects are considered to be in
- application scope:
-
- ■ application
- ■ applicationScope
- ■ initParam
-
-
-
-
- __NUMBER__
-
- It is an error to configure cyclic references between managed
- beans.
-
-
-
-
- __NUMBER__
-
- Managed bean names must conform to the syntax of a Java language
- identifier.
-
-
-
-
- __NUMBER__
-
- <null-value/> -- An empty element indicating that this property
- must be explicitly initialized to null. This element is not allowed if
- the underlying property is of a Java primitive type.
-
-
-
-
- __NUMBER__
-
- Each <managed-property> element contains the following elements
- used to configure the execution of the corresponding property setter
- call:
-
-
-
-
- __NUMBER__.1
-
- <property-name> -- The property name of the property to be
- configured.
-
-
-
-
- __NUMBER__.2
-
- <map-entries> -- A set of key/value pairs used to
- initialize the contents of a property of type java.util.Map.
-
-
-
-
- __NUMBER__.3
-
- <null-value/> -- An empty element indicating that this
- property must be explicitly initialized to null. This element is
- not allowed if the underlying property is of a Java primitive
- type.
-
-
-
-
- __NUMBER__.4
-
- <value> -- A String value that will have any leading and
- trailing spaces stripped, and then be converted prior to
- setting it to this value.
-
-
-
-
- __NUMBER__
-
- <list-entries> -- A set of values used to initialize the
- contents of a property of type array or java.util.List.
-
-
-
-
-
-
- __NUMBER__
-
- The initialization of bean properties from <map-entries> elements
- must adhere to the following algorithm:
-
-
-
-
- __NUMBER__.1
-
- Call the property getter. If the getter returns null or doesn't
- exist, create a java.util.HashMap, otherwise
- use the returned java.util.Map.
-
-
-
-
- __NUMBER__.2
-
- Add all entries defined by nested <map-entry> elements in
- the order they are listed, converting key values defined by
- nested <key> elements to the type defined by <keyclass>
- and entry values defined by nested <value> elements to the
- type defined by <value-class>.
-
-
-
-
- __NUMBER__.3
-
- If a value is given as a value expression, evaluate the
- reference and store the result, converting to <value-class>
- if necessary. If <key-class> and/or <value-class>
- are not defined, use java.lang.String. Add null for each
- <null-value> element.
-
-
-
-
- __NUMBER__.4
-
- If a new java.util.Map was created, set the property by calling
- the setter method, or log an error if there is no setter method.
-
-
-
-
-
-
- __NUMBER__
-
- The initialization of bean properties from <list-entries> elements
- must adhere to the following algorithm:
-
-
-
-
- __NUMBER__.1
-
- Call the property getter, If the getter returns null or doesn't
- exist, create a java.util.ArrayList, otherwise use the returned
- Object (an array or a java.util.List).
-
-
-
-
- __NUMBER__.2
-
- add all elements defined by nested <value> elements in the
- order they are listed, converting values defined by nested
- <value> elements to the type defined by <value-class>.
-
-
-
-
- __NUMBER__.3
-
- If a value is given as a value expression, evaluate the
- reference and store the result, converting to <valueclass>
- if necessary. If a <value-class> is not defined, use the
- value as-is (i.e., as a java.lang.String). Add null for each
- <null-value> element.
-
-
-
-
- __NUMBER__.4
-
- If an array was returned, create a java.util.ArrayList and copy
- all elements from the returned array to the new List, wrapping
- elements of a primitive type.
-
-
-
-
- __NUMBER__.5
-
- If a new java.util.List was created, and the property is of type
- List, set the property by calling the setter method, or log an
- error if there is no setter method.
-
-
-
-
- __NUMBER__.6
-
- If a new java.util.List was created, and the property is a java
- array, convert the List into an array of the property type, and
- set it by calling the setter method, or log an error if there is
- no setter method.
-
-
-
-
- __NUMBER__.7
-
- If a new java.util.List was created, convert the List
- to an array of the proper type for the property and set the
- property by calling the setter method, or log an error if there
- is no setter method.
-
-
-
-
-
-
- __NUMBER__
-
- Here is a summary of the valid injection annotations one may use
- in a managed bean.
-
- @Resource
- @Resources
- @EJB
- @EJBs
- @WebServiceRef
- @WebServiceRefs
- @PersistenceContext
- @PersistenceContexts
- @PersistenceUnit
- @PersistenceUnits
-
-
-
-
- __NUMBER__
-
- JSF implementations running in a Java EE 5 compliant container must
- support attaching the @PostConstruct and @PreDestroy annotations to aid
- in awareness of the managedbean lifecycle.
-
-
-
-
- __NUMBER__.1
-
- Methods on managed beans declared to be in request, session, or
- application scope, annotated with @PostConstruct, must be called
- by the JSF implementation after resource injection is performed
- (if any) but before the bean is placed into scope.
-
-
-
-
- __NUMBER__.2
-
- If the method throws an unchecked exception, the JSF
- implementation must not put the managed-bean into service and
- further methods on that managed bean instance must not be
- called.
-
-
-
-
- __NUMBER__.3
-
- Methods on managed beans declared to be in request, session, or
- application scope, annotated with @PreDestroy, must be called by
- the JSF implementation before the bean is removed from its scope
- or before the scope itself is destroyed, whichever comes first.
- This annotation must be supported in all cases where the above
- @PostConstruct annotation is supported.
-
-
-
-
- __NUMBER__.4
-
- If the method throws an unchecked exception, the JSF
- implementation may log it, but the exception must not otherwise
- alter the execution.
-
-
-
-
-
diff --git a/internal/docs/jsf/jsf_ch6.xml b/internal/docs/jsf/jsf_ch6.xml
deleted file mode 100644
index 101c42c2f2..0000000000
--- a/internal/docs/jsf/jsf_ch6.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-
-
-
-
- __NUMBER__
-
- The JSF implementation must ensure that the Application instance
- for the current web application is available via this method, as
- a convenient alternative to lookup via an ApplicationFactory.
-
-
-
-
- __NUMBER__
-
- Upon creation of the ELContext instance, the implementation must
- take the following action:
-
-
-
-
- __NUMBER__.1
-
- Call the ELContext.putContext(java.lang.Class,
- java.lang.Object) method on the instance, passing in
- FacesContext.class and the this reference for the
- FacesContext instance itself.
-
-
-
-
- __NUMBER__.2
-
- If the Collection returned by
- jakarta.faces.Application.getELContextListeners() is
- non-empty, create an instance of ELContextEvent and pass
- it to each ELContextListener instance in the Collection
- by calling the ELContextListener.contextCreated
- (jakarta.el.ELContextEvent) method.
-
-
-
-
-
-
- __NUMBER__
-
- The ExternalContext abstract class must be implemented along
- with the FacesContext class, and must be accessible via the
- getExternalContext method in FacesContext.
-
-
-
-
- __NUMBER__
-
- The dispatch() must use a RequestDispatcher provided by the
- application context object to incorporate content from a
- specified context-relative resource. The redirect() method must
- cause an HTTP Redirect to be sent to the client.
-
-
-
-
- __NUMBER__
-
- The getClientIdsWithMessages() method must return an Iterator
- over the client identifiers for which at least one Message has
- been queued. This method must be implemented so the clientIds
- are returned in the order of calls to addMessage().
-
-
-
-
- __NUMBER__
-
- In some circumstances, it is possible that both renderResponse()
- and responseComplete() might have been called for the request.
- In this case, the JSF implementation must respect the
- responseComplete() call (if it was made) before checking to see
- if renderResponse() was called.
-
-
-
-
- __NUMBER__
-
- The getCurrentInstance() method may be called by any Java class
- in the current web application to retrieve an instance of the
- FacesContext for this request. The JSF implementation must
- ensure that this value is set correctly before
- FacesContextFactory returns a FacesContext instance,
- and that the value is maintained in a thread-safe manner.
-
-
-
-
- __NUMBER__
-
- A single instance of jakarta.faces.context.FacesContextFactory
- must be made available to each JSF-based web application
- running in a servlet or portlet container.
-
-
-
diff --git a/internal/docs/jsf/jsf_ch7.xml b/internal/docs/jsf/jsf_ch7.xml
deleted file mode 100644
index b14efcdaa0..0000000000
--- a/internal/docs/jsf/jsf_ch7.xml
+++ /dev/null
@@ -1,791 +0,0 @@
-
-
-
-
-
-
- __NUMBER__
-
- The JSF implementation must provide a default implementation
- ActionListener that performs the following functions:
-
-
-
-
- __NUMBER__.1
-
- The processAction() method must call
- FacesContext.renderResponse() in order to bypass any
- intervening lifecycle phases, once the method returns.
-
-
-
-
- __NUMBER__.2
-
- The processAction() method must next determine the
- logical outcome of this event, as follows:
-
-
-
-
- __NUMBER__.2.1
-
- If the originating component has a non-null
- action property, retrieve the MethodBinding and
- call invoke() to perform the application-
- specified processing in this action method. If
- the method returns non-null, call toString() on
- the result and use the value returned as the
- logical outcome.
-
-
-
-
- __NUMBER__.2.2
-
- The default logical outcome is null.
-
-
-
-
-
-
-
-
- __NUMBER__
-
- If a call is made to setViewHandler() after the first time the
- Render Response phase has executed, the call must be ignored by
- the implementation.
-
-
-
-
- __NUMBER__
-
- The default implementation simply returns the ExpressionFactory
- from the JSP container by calling JspFactory.getDefaultFactory()
- .getJspApplicationContext(servletContext)
- .getExpressionFactory().
-
-
-
-
- __NUMBER__
-
- The "public UIComponent createComponent(ValueExpression
- componentExpression, FacesContext context,
- String componentType);" method has the following behavior:
-
-
-
-
- __NUMBER__.1
-
- Call the getValue() method on the specified
- ValueExpression, in the context of the specified
- FacesContext. If this results in a non-null UIComponent
- instance, return it as the value of this method.
-
-
-
-
- __NUMBER__.2
-
- If the getValue() call did not return a component
- instance, create a new component instance of the
- specified component type, pass the new component to the
- setValue() method of the specified ValueExpression, and
- return it.
-
-
-
-
-
-
- __NUMBER__
-
- The default NavigationHandler implementation must behave as if
- it were performing the following algorithm (although optimized
- implementation techniques may be utilized):
-
-
-
-
- __NUMBER__.1
-
- If the logical outcome value passed to the
- handleNavigation() method is null, do not scan for
- matching rules. This is an indication that the current
- view should be redisplayed.
-
-
-
-
- __NUMBER__.2
-
- Find a <navigation-rule> element for which the
- view identifier (of the view in the FacesContext
- instance for the current request) matches the
- <from-view-id> matching pattern of the
- <navigation-rule>. Rule instances are considered
- in the following order:
-
-
-
-
- __NUMBER__.2.1
-
- An exact match of the view identifier against a
- <from-view-id> pattern that does not end with an
- asterisk (“*”) character.
-
-
-
-
- __NUMBER__.2.2
-
- For <from-view-id> patterns that end with an
- asterisk, an exact match on characters preceding the
- asterisk against the prefix of the view id. If the
- patterns for multiple navigation rules match, pick the
- longest matching prefix first.
-
-
-
-
- __NUMBER__.2.3
-
- If there is a <navigation-rule> with a
- <from-view-id> pattern of only an asterisk3, it
- matches any view identifier.
-
-
-
-
-
-
- __NUMBER__.3
-
- From the <avigation-case> elements nested within the
- matching <navigationrule> element, locate a matching
- navigation case by matching the <from-action> and
- <from-outcome> values against the corresponding parameter
- values passed in to the handleNavigation() method. Navigation
- cases are checked in the following order:
-
-
-
-
- __NUMBER__.3.1
-
- Cases specifying both a <from-action> value and a
- <from-outcome> value are matched against the
- action expression and outcome parameters passed to the
- handleNavigation() method (both parameters must be not
- null, and both must be equal to the corresponding
- condition values, in order to match).
-
-
-
-
- __NUMBER__.3.2
-
- Cases that specify only a <from-outcome> value are
- matched against the outcome parameter passed to the
- handleNavigation() method (which must be not null,
- and equal to the corresponding condition value, to
- match).
-
-
-
-
- __NUMBER__.3.3
-
- Cases that specify only a <from-action> value are
- matched against the action expression parameter passed
- to the handleNavigation() method (which must be not
- null, and equal to the corresponding condition value, to
- match).
-
-
-
-
-
-
- __NUMBER__.4
-
- If a matching <navigation-case> element was located, and
- the <redirect/> element was not specified in this
- <navigation-case> (or the application is running in a
- Portlet environment, where redirects are not possible), use the
- <to-view-id> element of the matching case to request a new
- UIViewRoot instance from the ViewHandler instance for this
- application, and pass it to the setViewRoot() method of the
- FacesContext instance for the current request. Then, exit the
- algorithm.
-
-
-
-
- __NUMBER__.5
-
- If a matching <navigation-case> element was located, the
- <redirect/> element was specified in this
- <navigation-case>, and the application is not running in a
- Portlet environment, use the <to-view-id> element of the
- matching case to construct a context-relative path that
- corresponds to that view id, cause the current response to
- perform an HTTP redirect to this path, and call
- responseComplete() on the FacesContext instance for the current
- request.
-
-
-
-
- __NUMBER__.6
-
- If no matching <navigation-case> element was located,
- return to Step 1 and find the next matching
- <navigation-rule> element (if any). If there are no more
- matching rule elements, return without changing the current
- view.
-
-
-
-
-
-
- __NUMBER__
-
- The calculateCharacterEncoding() method must fulfill the following
- responsibilities:
-
-
-
-
- __NUMBER__.1
-
- Examine the Content-Type request header. If it has a charset
- parameter extract it and return it.
-
-
-
-
- __NUMBER__.2
-
- If not, test for the existence of a session by calling
- getSession(false) on the ExternalContext for this FacesContext.
- If the session is non-null, look in the Map returned by the
- getSessionMap() method of the ExternalContext for a value under
- the key given by the value of the symbolic constant
- jakarta.faces.application.ViewHandler.CHARACTER_ENCODING_KEY. If a
- value is found, convert it to a String and return it.
-
-
-
-
-
-
- __NUMBER__
-
- The calculateLocale() method must fulfill the following
- responsibilities:
-
-
-
-
- __NUMBER__.1
-
- Attempt to match one of the locales returned by the getLocales()
- method of the ExternalContext instance for this request, against
- the supported locales for this application as defined in the
- application configuration resources. Matching is performed by
- the algorithm described in Section JSTL.8.3.2 of the JSTL
- Specification. If a match is found, return the corresponding
- Locale object.
-
-
-
-
- __NUMBER__.2
-
- Otherwise, if the application has specified a default locale in
- the application configuration resources, return the
- corresponding Locale object.
-
-
-
-
- __NUMBER__.3
-
- Otherwise, return the value returned by calling
- Locale.getDefault().
-
-
-
-
-
-
- __NUMBER__
-
- The calculateRenderKitId() method must fulfill the following
- responsibilities:
-
-
-
-
- __NUMBER__.1
-
- Return the value of the request parameter named by the symbolic
- constant ResponseStateManager.RENDER_KIT_ID_PARAM if it is not
- null.
-
-
-
-
- __NUMBER__.2
-
- Otherwise, return the value returned by
- Application.getDefaultRenderKitId() if it is not null.
-
-
-
-
- __NUMBER__.3
-
- Otherwise, return the value specified by the symbolic constant
- RenderKitFactory.HTML_BASIC_RENDER_KIT.
-
-
-
-
-
-
- __NUMBER__
-
- The createView() method must fulfill the following responsibilities:
-
-
-
-
- __NUMBER__.1
-
- Calculate the viewId that corresponds to this request, as
- follows:
-
-
-
-
- __NUMBER__.1.1
-
- If prefix mapping (such as “/faces/*”) is used for
- FacesServlet, the viewId is set from the extra path
- information of the request URI.
-
-
-
-
- __NUMBER__.1.2
-
- If suffix mapping (such as “*.faces”) is used for
- FacesServlet, the viewId is set from the servlet path
- information of the request URI, after replacing the
- suffix with the value of the context initialization
- parameter named by the symbolic constant
- ViewHandler.DEFAULT_SUFFIX_PARAM_NAME (if no such
- context initialization parameter is present, use the
- value of the symbolic constant
- ViewHandler.DEFAULT_SUFFIX as the replacement suffix).
-
-
-
-
-
-
- __NUMBER__.2
-
- If no viewId could be identified, or the viewId is exactly equal
- to the servlet mapping, call the redirect() method of the
- ExternalContext instance for this request, passing the context
- path of this web application.
-
-
-
-
- __NUMBER__.3
-
- Create a new UIViewRoot object instance
-
-
-
-
- __NUMBER__.3
-
- Conditionally copy the renderKitId and locale from any current
- view for the current request (as described in the Javadocs for
- createView()).
-
-
-
-
- __NUMBER__.3
-
- Return the newly created UIViewRoot.
-
-
-
-
-
-
- __NUMBER__
-
- The getActionURL() method must fulfill the following responsibilities:
-
-
-
-
- __NUMBER__.1
-
- If the specified viewId does not start with a “/”, throw
- IllegalArgumentException.
-
-
-
-
- __NUMBER__.2
-
- If prefix mapping (such as “/faces/*”) is used for FacesServlet,
- prepend the context path of the current application, and the
- specified prefix, to the specified viewId and return the
- completed value. For example “/cardemo/faces/chooseLocale.jsp”.
-
-
-
-
- __NUMBER__.3
-
- If suffix mapping (such as “*.faces”) is used for FacesServlet,
- and the specified viewId ends with the specified suffix,
- replacing the suffix with the value specified by the context
- initialization parameter named by the symbolic constant
- ViewHandler.DEFAULT_SUFFIX_NAME (if no such context
- initialization parameter is present, use the value of the
- symbolic constant ViewHandler.DEFAULT_SUFFIX as the replacement
- suffix), prefix this value with the context path for the current
- web application, and return the result. For example
- “/cardemo/chooseLocale.faces”
-
-
-
-
-
-
- __NUMBER__
-
- The getResourceURL() method must fulfill the following responsibilities:
-
-
-
-
- __NUMBER__.1
-
- If the specified path starts with a “/”, prefix it with the
- context path for the current web application, and return the
- result.
-
-
-
-
- __NUMBER__.2
-
- Otherwise, return the specified path value unchanged.
-
-
-
-
-
-
- __NUMBER__
-
- The initView() method must fulfill the following responsibilities:
- Call calculateCharacterEncoding(). If the result is non-null pass the
- result to the setRequestCharacterEncoding() method of the
- ExternalContext for this FacesContext.
-
-
-
-
- __NUMBER__
-
- The renderView() method must fulfill the following responsibilities:
-
-
-
-
- __NUMBER__.1
-
- If the current request is a ServletRequest, call the set()
- method of the javax.servlet.jsp.jstl.core.Config class, passing
- the current ServletRequest, the symbolic constant
- Config.FMT_LOCALE, and the locale property of the specfied
- UIViewRoot. This configures JSTL with the application’s
- preferred locale for rendering this response.
-
-
-
-
- __NUMBER__.2
-
- Update the JSTL locale attribute in request scope so that JSTL
- picks up the new locale from the UIViewRoot.
-
-
-
-
- __NUMBER__.3
-
- Create a wrapper around the current response from the
- ExternalContext and set it as the new response in the
- ExternalContext.
-
-
-
-
- __NUMBER__.4
-
- Execute the JSP page to build the view by treating the viewId as
- a context-relative path(starting with a slash character), by
- passing it to the dispatch() method of the ExternalContext
- associated with this request.
-
-
-
-
- __NUMBER__.5
-
- Restore the original response into the ExternalContext.
-
-
-
-
- __NUMBER__.6
-
- If the FacesContext has a non-null ResponseWriter create a new
- writer using its cloneWithWriter() method, passing the
- response’s Writer as the argument.
-
-
-
-
- __NUMBER__.7
-
- Set the new ResponseWriter into the FacesContext, saving the
- old one aside.
-
-
-
-
- __NUMBER__.8
-
- Call saveView() on the StateManager for this application, saving
- the result in a thread-safe manner for use in the writeState()
- method of ViewHandler.
-
-
-
-
- __NUMBER__.9
-
- Call startDocument() on the ResponseWriter.
-
-
-
-
- __NUMBER__.10
-
- Call encodeAll() on the UIViewRoot.
-
-
-
-
- __NUMBER__.11
-
- Output any content in the wrapped response from above to the
- response, removing the wrapped response from the thread-safe
- storage.
-
-
-
-
- __NUMBER__.12
-
- Call endDocument() on the ResponseWriter.
-
-
-
-
- __NUMBER__.13
-
- If the old ResponseWriter was not null, place the old
- ResponseWriter back into the FacesContext.
-
-
-
-
-
-
- __NUMBER__
-
- The restoreView() method must fulfill the following responsibilities:
-
-
-
-
- __NUMBER__.1
-
- Calculate the viewId that corresponds to this request using the
- “The ViewId derivation algorithm”.
-
-
-
-
- __NUMBER__.2
-
- If no viewId could be identified, return null.
-
-
-
-
- __NUMBER__.3
-
- Call the restoreView() method of the associated StateManager,
- passing the FacesContext instance for the current request and
- the calculated viewId, and return the returned UIViewRoot,
- which may be null
-
-
-
-
-
-
- __NUMBER__
-
- The writeState() method must Obtain the saved state stored in a
- thread-safe manner during the invocation of renderView() and pass it to
- the writeState() method of the StateManager for this application.
-
-
-
-
- __NUMBER__
-
- The "public Object saveView(FacesContext context)" method causes the
- tree structure and component state of the view contained in the argument
- FacesContext to be collected, stored, and returned in a java.lang.Object
- instance that must implement java.io.Serializable. If null is returned
- from this method, there is no state tosave.
-
-
-
-
- __NUMBER__
-
- The "public boolean isSavingStateInClient(FacesContext context)" method
- will Return true if and only if the value of the ServletContext init
- parameter named by the value of the constant
- StateManager.STATE_SAVING_METHOD_PARAM_NAME is equal to the value of the
- constant STATE_SAVING_METHOD_CLIENT. Return false otherwise.
-
-
-
diff --git a/internal/docs/jsf/jsf_ch8.xml b/internal/docs/jsf/jsf_ch8.xml
deleted file mode 100644
index 64d573efff..0000000000
--- a/internal/docs/jsf/jsf_ch8.xml
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
-
-
-
-
- __NUMBER__
-
- A JSF implementation must provide a default RenderKit instance
- (named by the render kit identifier associated with the String constant
- RenderKitFactory.HTML_BASIC_RENDER_KIT) that is utilized if no other
- RenderKit is selected.
-
-
-
-
- __NUMBER__
-
- The RenderKit must support a value for the contentTypeList argument that
- comes straight from the Accept HTTP header, and therefore requires
- parsing according to the specification of the Accept header.
-
-
-
-
- __NUMBER__
-
- The "getState(FacesContext context)" implementation must inspect the
- current request and return the component tree state Object passed to it
- on a previous invocation of writeState().
-
-
-
-
- __NUMBER__
-
- The ResponseStateManager.RENDER_KIT_ID_PARAM identifier must not be
- written if:
-
-
-
-
- __NUMBER__.1
-
- it is the default render kit identifier as returned by
- Application.getDefaultRenderKitId().
-
-
-
-
- __NUMBER__.2
-
- the render kit identifier is the value of
- RenderKitFactory.HTML_BASIC_RENDER_KIT and
- Application.getDefaultRenderKitId() returns null.
-
-
-
-
-
-
- __NUMBER__
-
- A single instance of jakarta.faces.render.RenderKitFactory must be made
- available to each JSFbased web application running in a servlet or
- portlet container.
-
-
-
-
- __NUMBER__
-
- Every JSF implementation must provide a RenderKit instance for a default
- render kit identifier that is designated by the String constant
- RenderKitFactory.HTML_BASIC_RENDER_KIT.
-
-
-
-
- __NUMBER__
-
- The returned Iterator from getRenderKitIds() must include the value
- specified by RenderKitFactory.HTML_BASIC_RENDER_KIT.
-
-
-
-
- __NUMBER__
-
- As with the standard components in the jakarta.faces.component package,
- each HTML component implementation class must define a static public
- final String constant named COMPONENT_TYPE, whose value is “jakarta.faces.”
- concatenated with the class name.
-
-
-
-
- __NUMBER__
-
- HTML components, must not define a COMPONENT_FAMILY constant, or
- override the getFamily() method they inherit from their superclass.
-
-
-
diff --git a/internal/docs/jsf/jsf_ch9.xml b/internal/docs/jsf/jsf_ch9.xml
deleted file mode 100644
index 78336e5724..0000000000
--- a/internal/docs/jsf/jsf_ch9.xml
+++ /dev/null
@@ -1,1411 +0,0 @@
-
-
-
-
-
-
- __NUMBER__
-
- All JSF implementations must provide a tag library containing core
- actions (described below) that are independent of a particular
- RenderKit.The corresponding tag library descriptor must meet the
- following requirements:
-
-
-
-
- __NUMBER__.1
-
- Must declare a tag library version (tlib-version) value of 1.2.
-
-
-
-
- __NUMBER__.2
-
- Must declare a URI (uri) value of http://java.sun.com/jsf/core.
-
-
-
-
- __NUMBER__.3
-
- Must be included in the META-INF directory of a JAR file
- containing the corresponding implementation classes, suitable
- for inclusion with a web application, such that the tag library
- descriptor will be located automatically by the algorithm
- described in Section 7.3 of the JavaServer Pages Specification
- (version 2.1).
-
-
-
-
-
-
- __NUMBER__
-
- If the f:actionListener tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement ActionSource, or the specified listener class does not
- implement jakarta.faces.event.ActionListener, throw a JspException.
-
-
-
-
- __NUMBER__
-
- If the f:convertDateTime tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement ValueHolder, throw a JspException
-
-
-
-
- __NUMBER__
-
- The implementation class for f:convertDateTime must meet the following
- requirements:
-
-
-
-
- __NUMBER__.1
-
- Must extend jakarta.faces.webapp.ConverterTag.
-
-
-
-
- __NUMBER__.2
-
- createConverter() method must, if binding is non-null,
- call getValue() on it to obtain a reference to the
- Converter instance. If there is no exception thrown, and
- binding.getValue() returned a non-null object that implements
- jakarta.faces.convert.Converter, it must then cast the returned
- instance to jakarta.faces.convert.DateTimeConverter and configure
- its properties based on the specified attributes for this custom
- action, and return the configured instance.
-
-
-
-
- __NUMBER__.3
-
- If the createConverter()method has an exception thrown, rethrow
- the exception as a JspException.
-
-
-
-
- __NUMBER__.4
-
- If dateStyle is specified but timeStyle is not specified,
- default to date.
-
-
-
-
- __NUMBER__.5
-
- If dateStyle is not specified but timeStyle is specified,
- default to time.
-
-
-
-
- __NUMBER__.6
-
- If both dateStyle and timeStyle are specified, default to both.
-
-
-
-
-
-
- __NUMBER__
-
- If the f:convertNumber tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement ValueHolder, throw a JspException.
-
-
-
-
- __NUMBER__
-
- The implementation class for the f:convertNumber action must meet the
- following requirements:
-
-
-
-
- __NUMBER__.1
-
- Must extend jakarta.faces.webapp.ConverterTag.
-
-
-
-
- __NUMBER__.2
-
- The createConverter() method, If binding is non-null, call
- binding.getValue() to obtain a reference to the Converter
- instance. If there is no exception thrown, and
- binding.getValue() returned a non-null object that implements
- jakarta.faces.convert.Converter, it must then cast the returned
- instance to jakarta.faces.convert.NumberConverter and configure
- its properties based on the specified attributes for this custom
- action, and return the configured instance.
-
-
-
-
- __NUMBER__.3
-
- If there was an exception thrown, rethrow the exception as a
- JspException.
-
-
-
-
- __NUMBER__.4
-
- Call the createConverter() method of the Application
- instance for this application, passing converter id
- “jakarta.faces.Number”. If the binding attribute was also set,
- store the converter instance by calling binding.setValue(). It
- must then cast the returned instance to
- jakarta.faces.convert.NumberConverter and configure its properties
- based on the specified attributes for this custom action, and
- return the configured instance.
-
-
-
-
-
-
- __NUMBER__
-
- If this tag is not nested inside a UIComponent custom action, or the
- UIComponent implementation class does not correctly implement
- ValueHolder, throw a JspException.
-
-
-
-
- __NUMBER__
-
- The implementation class for f:converter action must meet the following
- requirements:
-
-
-
-
- __NUMBER__.1
-
- Must extend jakarta.faces.webapp.ConverterJspTag.
-
-
-
-
- __NUMBER__.2
-
- The createConverter() method must, If binding is non-null, call
- binding.getValue() to obtain a reference to the Converter
- instance. If there is no exception thrown, and
- binding.getValue() returned a non-null object that implements
- jakarta.faces.convert.Converter, register it by calling
- setConverter(). If there was an exception thrown, rethrow
- the exception as a JspException.
-
-
-
-
- __NUMBER__.3
-
- Use the converterId attribute if the converter instance could
- not be created from the binding attribute. If the converterId
- attribute is set, call the createConverter() method of the
- Application instance for this application, passing converter id
- specified by their converterId attribute. If the binding
- attribute was also set, store the converter instance by calling
- binding.setValue(). Register the converter instance by calling
- setConverter(). If there was an exception thrown, rethrow the
- exception as a JspException.
-
-
-
-
-
-
- __NUMBER__
-
- f:facet tag must be nested inside a UIComponent custom action.
- Exactly one UIComponent custom action must be nested inside this custom action
- (although the nested component custom action could itself have nested children).
-
-
-
-
- __NUMBER__
-
- Exactly one UIComponent custom action must be nested inside this custom
- action(although the nested component custom action could itself have
- nested children).
-
-
-
-
- __NUMBER__
-
- The implementation class of the f:facet tag must be, or extend,
- jakarta.faces.webapp.FacetTag.
-
-
-
-
- __NUMBER__
-
- f:loadBundle tag must be nested inside an f:view tag custom action.
-
-
-
-
- __NUMBER__
-
- f:param tag must be nested inside a UIComponent custom action.
-
-
-
-
- __NUMBER__
-
- The implementation class for f:param tag this action must meet the
- following requirements:
-
-
-
-
- __NUMBER__.1
-
- Must extend jakarta.faces.UIComponentELTag.
-
-
-
-
- __NUMBER__.2
-
- The getComponentType() method must return “Parameter”.
-
-
-
-
- __NUMBER__.3
-
- The getRendererType() method must return null.
-
-
-
-
-
-
- __NUMBER__
-
- f:phaseListener tag must be nested inside a UIViewRoot custom action.
-
-
-
-
- __NUMBER__
-
- The specified listener class for f:phaseListener must implement
- jakarta.faces.event.PhaseListener.
-
-
-
-
- __NUMBER__
-
- type and/or binding must be specified for the phaseListener impl.
-
-
-
-
- __NUMBER__
-
- f:selectItem must be nested inside a UIComponent custom action
- that creates a UISelectMany or UISelectOne component instance.
-
-
-
-
- __NUMBER__
-
- The implementation class for this action must meet the following
- requirements:
-
-
-
-
- __NUMBER__.1
-
- Must extend jakarta.faces.UIComponentELTag.
-
-
-
-
- __NUMBER__.2
-
- The getComponentType() method must return “SelectItem”.
-
-
-
-
- __NUMBER__.3
-
- The getRendererType() method must return null.
-
-
-
-
-
-
- __NUMBER__
-
- Must be nested inside a UIComponent custom action that creates a
- UISelectMany or UISelectOne component instance.
-
-
-
-
- __NUMBER__
-
- The implementation class for the f:selectItems action must meet
- the following requirements:
-
-
-
-
- __NUMBER__.1
-
- Must extend jakarta.faces.UIComponentELTag.
-
-
-
-
- __NUMBER__.2
-
- The getComponentType() method must return
- “jakarta.faces.SelectItems”.
-
-
-
-
- __NUMBER__.3
-
- The getRendererType() method must return null.
-
-
-
-
-
-
- __NUMBER__
-
- f:setPropertyActionListener must be nested inside a UIComponent custom
- action.
-
-
-
-
- __NUMBER__
-
- The corresponding UIComponent implementation class for
- f:setPropertyActionListener must implement ActionSource, and therefore
- define a public addActionListener() method that accepts an
- ActionListener parameter.
-
-
-
-
- __NUMBER__
-
- The tag implementation must only create and register the ActionListener
- instance the first time the component for this tag is created
-
-
-
-
- __NUMBER__
-
- When the listener executes, call getValue() on the "value"
- ValueExpression. Pass the result to a call to setValue() on the "target"
- ValueExpression
-
-
-
-
- __NUMBER__
-
- This tag creates no output to the page currently being created. It is
- used solely for the side effect of ActionListener creation and addition.
-
-
-
-
- __NUMBER__
-
- If this tag is not nested inside a UIComponent custom action, or the
- UIComponent implementation class does not correctly implement
- ActionSource, or the specified listener class does not implement
- jakarta.faces.event.ActionListener, throw a JspException.
-
-
-
-
- __NUMBER__
-
- f:subview must be nested inside a f:view custom action although this
- custom action might be in a page that is including the page containing
- the f:subview custom action.
-
-
-
-
- __NUMBER__
-
- f:subview must not contain an f:view custom action.
-
-
-
-
- __NUMBER__
-
- f:subview must have an id attribute whose value is unique within the
- scope of the parent naming container.
-
-
-
-
- __NUMBER__
-
- The implementation class for f:subview must extend
- jakarta.faces.UIComponentELTag.
-
-
-
-
- __NUMBER__
-
- The implementation class's getComponentType() method must return
- “NamingContainer”.
-
-
-
-
- __NUMBER__
-
- The implementation class's getRendererType() method must return null.
-
-
-
-
- __NUMBER__
-
- If the f:validateDoubleRange tag is not nested inside a UIComponent
- custom action, or the UIComponent implementation class does not
- correctly implement EditableValueHolder throw a JspException.
-
-
-
-
- __NUMBER__
-
- The implementation class for the f:validateDoubleRange action must meet
- the following requirements:
-
-
-
-
- __NUMBER__.1
-
- Must extend jakarta.faces.webapp.ValidatorTag.
-
-
-
-
- __NUMBER__.2
-
- The createValidator() method must, If binding is non-null,
- create a ValueBinding by invoking
- Application.createValueExpression() with binding as the
- expression argument, and Validator.class as the expectedType
- argument.
-
-
-
-
- __NUMBER__.3
-
- use the validatorId if the validator instance could not be
- created from the binding attribute.
-
-
-
-
- __NUMBER__.4
-
- If there is an exception thrown, rethrow the exception as a
- JspException.
-
-
-
-
-
-
- __NUMBER__
-
- If the f:validateLength tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement EditableValueHolder, throw a JspException.
-
-
-
-
- __NUMBER__
-
- The implementation class for this action must meet the following
- requirements:
-
-
-
-
- __NUMBER__.1
-
- Must extend jakarta.faces.webapp.ValidatorTag.
-
-
-
-
- __NUMBER__.2
-
- If binding is non-null, create a ValueExpression by invoking
- Application.createValueExpression() with binding as the
- expression argument, and Validator.
-
-
-
-
- __NUMBER__
-
- Use the validatorId if the validator instance could not be
- created from the binding attribute. Call the createValidator()
- method of the Application instance for this application,
-
-
-
-
- __NUMBER__
-
- If there was an exception thrown, rethrow the exception
- as a JspException.
-
-
-
-
-
-
- __NUMBER__
-
- f:validateLongRange must be nested inside a EditableValueHolder custom
- action whose value is (or is convertible to) a long.
-
-
-
-
- __NUMBER__
-
- f:validateLongRange must specify either the maximum attribute, the
- minimum attribute, or both.
-
-
-
-
- __NUMBER__
-
- For f:validateLongRange if both limits are specified, the maximum limit
- must be greater than the minimum limit.
-
-
-
-
- __NUMBER__
-
- If the f:validateLongRange tag is not nested inside a UIComponent custom
- action, or the UIComponent implementation class does not correctly
- implement EditableValueHolder, throw a JspException
-
-
-
-
- __NUMBER__
-
- The implementation class for the f:validateLongRange action must meet
- the following requirements:
-
-
-
-
- __NUMBER__.1
-
- Must extend jakarta.faces.webapp.ValidatorTag.
-
-
-
-
- __NUMBER__.2
-
- The createValidator() method must, if binding is non-null,
- create a ValueExpression by invoking
- Application.createValueExpression() with binding as the
- expression argument, and Validator.
-
-
-
-
- __NUMBER__.3
-
- The createValidator() method must, use the validatorId if the
- validator instance could not be created from the binding
- attribute.
-
-
-
-
- __NUMBER__.4
-
- If there is an exception thrown, rethrow the exception as a
- JspException
-
-
-
-
-
-
- __NUMBER__
-
- f:validator tag must be nested inside a UIComponent custom action whose
- component class implements EditableValueHolder.
-
-
-
-
- __NUMBER__
-
- validatorId and/or binding must be specified.
-
-
-
-
- __NUMBER__
-
- If the f:validator tag is not nested inside a UIComponent custom action,
- or the UIComponent implementation class does not correctly implement
- EditableValueHolder throw a JspException.
-
-
-
-
- __NUMBER__
-
- The implementation class for the f:validator action must meet the
- following requirements:
-
-
-
-
- __NUMBER__.1
-
- Must extend jakarta.faces.webapp.ValidatorJspTag.
-
-
-
-
- __NUMBER__.2
-
- The createValidator() method must, if binding is non-null,
- call binding.getValue() to obtain a reference to the
- Validator instance.
-
-
-
-
- __NUMBER__.3
-
- The createValidator() method must, use the validatorId attribute
- if the validator instance could not be created from the binding
- attribute.
-
-
-
-
- __NUMBER__.4
-
- The createValidator() method must, If there was an exception
- thrown, rethrow the exception as a JspException.
-
-
-
-
-
-
- __NUMBER__
-
- f:valueChangeListener must be nested inside a UIComponent custom action.
-
-
-
-
- __NUMBER__
-
- The corresponding UIComponent implementation class for
- f:valueChangeListener must implement EditableValueHolder, and therefore
- define a public addValueChangeListener() method that accepts an
- ValueChangeListener parameter.
-
-
-
-
- __NUMBER__
-
- The specified listener class for f:valueChangeListener must implement
- jakarta.faces.event.ValueChangeListener.
-
-
-
-
- __NUMBER__
-
- type and/or binding must be specified.
-
-
-
-
- __NUMBER__
-
- If this tag is not nested inside a UIComponent custom action, or the
- UIComponent implementation class does not correctly implement
- EditableValueHolder, or the specified listener class does not implement
- jakarta.faces.event.ValueChangeListener, throw a JspException.
-
-
-
-
- __NUMBER__
-
- f:verbatim must be implemented as a UIComponentBodyTag.
-
-
-
-
- __NUMBER__
-
- The rendererType property for the f:verbatim tag's UIOutput component
- must be set to “jakarta.faces.Text”
-
-
-
-
- __NUMBER__
-
- The f:verbatim tag's transient property must be set to true.
-
-
-
-
- __NUMBER__
-
- The value (or value binding, if it is an expression) of the escape
- attribute must be passed on to the renderer as the value the escape
- attribute on the UIOutput component.
-
-
-
-
- __NUMBER__
-
- Any JSP-created response using actions from the JSF Core Tag Library,
- as well as actions extending jakarta.faces.webapp.UIComponentELTag from
- other tag libraries, must be nested inside an occurrence of the
- f:view action.
-
-
-
-
- __NUMBER__
-
- The implementation class for the f:view action must meet the following
- requirements:
-
-
-
-
- __NUMBER__.1
-
- Must extend jakarta.faces.UIComponentBodyTag.
-
-
-
-
- __NUMBER__.2
-
- The getComponentType() method must return “ViewRoot”.
-
-
-
-
- __NUMBER__.3
-
- The getRendererType() method must return null.
-
-
-
-
-
-
- __NUMBER__
-
- The tag library descriptor for this tag library must meet the following
- requirements:
-
-
-
-
- __NUMBER__.1
-
- Must declare a tag library version (tlib-version) value of
- 1.2.
-
-
-
-
- __NUMBER__.2
-
- Must declare a URI tag value of
- http://java.sun.com/jsf/html.
-
-
-
-
- __NUMBER__.3
-
- Must be included in the META-INF directory of a JAR file
- containing the corresponding implementation classes, suitable
- for inclusion with a web application, such that the tag library
- descriptor will be located automatically by the algorithm
- described in Section 7.3 of the JavaServer Pages Specification
- (version 1.2).
-
-
-
-
-
-
- __NUMBER__
-
- The custom actions defined in this tag library must specify the
- following return values for the getComponentType() and getRendererType()
- methods, respectively:
-
-
-
-
- __NUMBER__.1
-
- Action column:
- getComponentType()- returns jakarta.faces.Column
- getRendererType()- returns (null)*
-
-
-
-
- __NUMBER__.2
-
- Action commandButton:
- getComponentType()- returns jakarta.faces.HtmlCommandButton
- getRendererType()- returns jakarta.faces.Button
-
-
-
-
- __NUMBER__.3
-
- Action commandLink:
- getComponentType()- returns jakarta.faces.HtmlCommandLink
- getRendererType()- returns jakarta.faces.Link
-
-
-
-
- __NUMBER__.4
-
- Action dataTable:
- getComponentType()- returns jakarta.faces.HtmlDataTable
- getRendererType()- returns jakarta.faces.Table
-
-
-
-
- __NUMBER__.5
-
- Action form:
- getComponentType()- returns jakarta.faces.HtmlForm
- getRendererType()- returns jakarta.faces.Form
-
-
-
-
- __NUMBER__.6
-
- Action graphicImage:
- getComponentType()- returns jakarta.faces.HtmlGraphicImage
- getRendererType()- returns jakarta.faces.Image
-
-
-
-
- __NUMBER__.7
-
- Action inputHidden:
- getComponentType()- returns jakarta.faces.HtmlInputHidden
- getRendererType()- returns jakarta.faces.Hidden
-
-
-
-
- __NUMBER__.8
-
- Action inputSecret:
- getComponentType()- returns jakarta.faces.HtmlInputSecret
- getRendererType()- returns jakarta.faces.Secret
-
-
-
-
- __NUMBER__.9
-
- Action inputSecret:
- getComponentType()- returns jakarta.faces.HtmlInputSecret
- getRendererType()- returns jakarta.faces.Secret
-
-
-
-
- __NUMBER__.10
-
- Action inputText:
- getComponentType()- returns jakarta.faces.HtmlInputText
- getRendererType()- returns jakarta.faces.Text
-
-
-
-
- __NUMBER__.11
-
- Action inputTextarea:
- getComponentType()- returns jakarta.faces.HtmlInputTextarea
- getRendererType()- returns jakarta.faces.Textarea
-
-
-
-
- __NUMBER__.12
-
- Action message:
- getComponentType()- returns jakarta.faces.HtmlMessage
- getRendererType()- returns jakarta.faces.Message
-
-
-
-
- __NUMBER__.13
-
- Action messages:
- getComponentType()- returns jakarta.faces.HtmlMessages
- getRendererType()- returns jakarta.faces.Messages
-
-
-
-
- __NUMBER__.14
-
- Action outputFormat:
- getComponentType()- returns jakarta.faces.HtmlOutputFormat
- getRendererType()- returns jakarta.faces.Format
-
-
-
-
- __NUMBER__.15
-
- Action outputLabel:
- getComponentType()- returns jakarta.faces.HtmlOutputLabel
- getRendererType()- returns jakarta.faces.Label
-
-
-
-
- __NUMBER__.16
-
- Action outputLink:
- getComponentType()- returns jakarta.faces.HtmlOutputLink
- getRendererType()- returns jakarta.faces.Link
-
-
-
-
- __NUMBER__.17
-
- Action outputText:
- getComponentType()- returns jakarta.faces.HtmlOutputText
- getRendererType()- returns jakarta.faces.Text
-
-
-
-
- __NUMBER__.18
-
- Action panelGrid:
- getComponentType()- returns jakarta.faces.HtmlPanelGrid
- getRendererType()- returns jakarta.faces.Grid
-
-
-
-
- __NUMBER__.19
-
- Action panelGroup:
- getComponentType()- returns jakarta.faces.HtmlPanelGroup
- getRendererType()- returns jakarta.faces.Group
-
-
-
-
- __NUMBER__.20
-
- Action selectBooleanCheckbox:
- getComponentType()-
- returns jakarta.faces.HtmlSelectBooleanCheckbox
- getRendererType()- returns jakarta.faces.Checkbox
-
-
-
-
- __NUMBER__.21
-
- Action selectManyListbox:
- getComponentType()- returns jakarta.faces.HtmlSelectManyListbox
- getRendererType()- returns jakarta.faces.Listbox
-
-
-
-
- __NUMBER__.22
-
- Action selectManyMenu:
- getComponentType()- returns jakarta.faces.HtmlSelectManyMenu
- getRendererType()- returns jakarta.faces.Menu
-
-
-
-
- __NUMBER__.23
-
- Action selectOneListbox:
- getComponentType()- returns jakarta.faces.HtmlSelectOneListbox
- getRendererType()- returns jakarta.faces.Listbox
-
-
-
-
- __NUMBER__.24
-
- Action selectOneMenu:
- getComponentType()- returns jakarta.faces.HtmlSelectOneMenu
- getRendererType()- returns jakarta.faces.Menu
-
-
-
-
- __NUMBER__.25
-
- Action selectOneRadio:
- getComponentType()- returns jakarta.faces.HtmlSelectOneRadio
- getRendererType()- returns jakarta.faces.Radio
-
-
-
-
-
-
- __NUMBER__
-
- The tag library descriptor for this tag library (and the corresponding
- tag handler implementation classes) must meet the following
- requirements:
-
-
-
-
- __NUMBER__.1
-
- The attributes for the tags, both in the TLD and in the
- associated tag handlers, must conform exactly to the type, name,
- and description given in the TLDDocs for the
- html_basic tag library.
-
-
-
-
- __NUMBER__.2
-
- If the type of the attribute is jakarta.el.MethodExpression, the
- TLD for the attribute must contain a <deferred-method>
- with a nested <method-signature>, inside of which is the
- method signature for that MethodExpression, as given in the
- TLDDocs. The JavaBeans setter method in the tag handler for the
- tag must be of type jakarta.el.MethodExpression.
-
-
-
-
- __NUMBER__.3
-
- Any attributes listed in the TLDDocs with a request-time value
- of true must specify an <rtexprvalue> of true in the TLD.
-
-
-
-
- __NUMBER__.4
-
- The following action must be taken to handle the value of the
- converter property. If isLiteralText() on the converter property
- returns true, get the value of the property and treat it as a
- converterId by passing it as the argument to the
- createConverter() method of the Application instance for this
- webapp, then pass the created Converter to the setConverter()
- method of the component for this tag. If isLiteralText() on the
- converter property returns false, call setValueExpression() on
- the component, passing “converter” as the name of the
- ValueExpression and the ValueExpression instance as the value.
-
-
-
-
- __NUMBER__.5
-
- For a non-null action attribute on custom actions related to
- ActionSource2 components (commandButton, commandLink), the
- setProperties() method of the tag handler implementation class
- must pass the value of the action attribtue, which is a
- MethodExpression, to the component’s setActionExpression()
- method.
-
-
-
-
- __NUMBER__.6
-
- For other non-null attributes that correspond to
- MethodExpression attributes on the underlying components
- (actionListener, validator, valueChangeListener), the
- setProperties() method of the tag handler implementation class
- must store that instance as the value of the corresponding
- component property.
-
-
-
-
- __NUMBER__.7
-
- For any non-null id, scope, or var attribute, the
- setProperties() method of the tag handler implementation class
- must simply set the value of the corresponding component
- attribute.
-
-
-
-
- __NUMBER__.8
-
- For all other non-null attributes, the setProperties() of the
- tag handler implementation class method must, if the
- attribute.isLiteralText() returns true, set the corresponding
- attribute on the underlying component (after performing any
- necessary type conversion). Otherwise, call the
- setValueExpression() method on the underlying component,
- passing the attribute name and the ValueExpression‘ instance as
- parameters.
-
-
-
-
-
diff --git a/release/tools/jsf.xml b/release/tools/jsf.xml
deleted file mode 100644
index aab02f6dad..0000000000
--- a/release/tools/jsf.xml
+++ /dev/null
@@ -1,238 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/build.xml b/src/com/sun/ts/tests/jsf/api/build.xml
deleted file mode 100644
index a54d765005..0000000000
--- a/src/com/sun/ts/tests/jsf/api/build.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/TestServlet.java
deleted file mode 100644
index a613f0288f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/TestServlet.java
+++ /dev/null
@@ -1,2689 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.application;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Locale;
-import java.util.Map;
-import java.util.ResourceBundle;
-
-import com.sun.ts.tests.jsf.common.beans.TestBean;
-import com.sun.ts.tests.jsf.common.behavior.TCKBehavior;
-import com.sun.ts.tests.jsf.common.event.TCKSystemEvent;
-import com.sun.ts.tests.jsf.common.listener.TCKActionListener;
-import com.sun.ts.tests.jsf.common.listener.TCKELContextListener;
-import com.sun.ts.tests.jsf.common.listener.TCKSystemEventListener;
-import com.sun.ts.tests.jsf.common.navigation.TCKNavigationHandler;
-import com.sun.ts.tests.jsf.common.resolver.TCKELResolver;
-import com.sun.ts.tests.jsf.common.resourcehandler.TCKResourceHandler;
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.statemanager.TCKStateManager;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-import com.sun.ts.tests.jsf.common.viewhandler.TCKViewHandler;
-
-import jakarta.el.CompositeELResolver;
-import jakarta.el.ELContext;
-import jakarta.el.ELContextListener;
-import jakarta.el.ELResolver;
-import jakarta.el.ExpressionFactory;
-import jakarta.el.ValueExpression;
-import jakarta.faces.application.Application;
-import jakarta.faces.application.NavigationHandler;
-import jakarta.faces.application.ProjectStage;
-import jakarta.faces.application.Resource;
-import jakarta.faces.application.ResourceHandler;
-import jakarta.faces.application.StateManager;
-import jakarta.faces.application.ViewHandler;
-import jakarta.faces.component.ContextCallback;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.component.search.SearchExpressionContext;
-import jakarta.faces.component.search.SearchExpressionHandler;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.convert.BooleanConverter;
-import jakarta.el.MethodExpression;
-import jakarta.el.ELException;
-import jakarta.el.ValueExpression;
-import jakarta.faces.event.ActionListener;
-import jakarta.faces.event.SystemEvent;
-import jakarta.faces.event.SystemEventListener;
-import jakarta.faces.validator.BeanValidator;
-import jakarta.faces.validator.LengthValidator;
-import jakarta.faces.validator.Validator;
-import jakarta.servlet.GenericServlet;
-import jakarta.servlet.Servlet;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServlet;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-import jakarta.servlet.jsp.JspFactory;
-
-public class TestServlet extends HttpTCKServlet {
-
- private static final String RESOURCE_NAME = "compOne.xhtml";
-
- /*
- * private indicators that a test has previously passed. this is necessary if
- * a test is run multiple times without reloading the application
- */
- private boolean setGetLocaleTestPassed = false;
-
- private ServletContext servletContext;
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- servletContext = config.getServletContext();
- }
-
- // Test for Application.addComponent(String, String)
- public void applicationAddComponentTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
-
- // should now be able to create the TCKComponent component
- UIOutput output = (UIOutput) application.createComponent("TCKComponent");
-
- if (output == null) {
- out.println(JSFTestUtil.FAIL + ": Unable to create component "
- + "'TCKComponent' after adding a mapping to "
- + "the Application instance.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Application.addComponent(String, String) throws NPE if either arg is null
- public void applicationAddComponentNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "addComponent",
- new Class>[] { String.class, String.class },
- new Object[] { null, "jakarta.faces.component.UIOutput" }, out);
-
- JSFTestUtil.checkForNPE(application, "addComponent",
- new Class>[] { String.class, String.class },
- new Object[] { "TCKComponent2", null }, out);
-
- }
-
- // Application.createComponent(String)
- public void applicationCreateComponentTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
- UIOutput output = (UIOutput) application.createComponent("TCKComponent");
-
- if (output == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to create component 'TCKComponent'"
- + "Using Application.createComponent(String)");
- return;
- }
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Application.createComponent(FacesContext, String, 'null')
- public void applicationCreateComponentFSSNullTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
- try {
- application.createComponent(context, "TCKComponent", null);
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL
- + ": Unable to create component 'TCKComponent'!" + JSFTestUtil.NL
- + "Using Application.createComponent(FacesContext, "
- + "String, 'null')");
- out.println(e.toString());
- }
-
- }
-
- // Application.createComponent(FacesContext, String, String)
- public void applicationCreateComponentFSSTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
- try {
- application.createComponent(context, "TCKComponent", "TCKRenderer");
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + ": Unable to create component "
- + "'TCKComponent'" + JSFTestUtil.NL
- + "Using Application.createComponent(FacesContext, "
- + "String, String)");
- out.println(e.toString());
- }
-
- }
-
- public void applicationCreateComponentFRNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
- Resource resource = handler.createResource(RESOURCE_NAME);
-
- // Application.createComponent(null, Resource)
- JSFTestUtil.checkForNPE(application, "createComponent",
- new Class>[] { FacesContext.class, Resource.class },
- new Object[] { null, resource }, out);
-
- // Application.createComponent(FacesContext, null)
- JSFTestUtil.checkForNPE(application, "createComponent",
- new Class>[] { FacesContext.class, Resource.class },
- new Object[] { getFacesContext(), null }, out);
-
- }// End applicationCreateComponentFRNPETest
-
- public void applicationCreateComponentFSSNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
-
- // createComponent(FacesContext, null, String)
- JSFTestUtil.checkForNPE(application, "createComponent",
- new Class>[] { FacesContext.class, String.class, String.class },
- new Object[] { context, null, null }, out);
-
- // createComponent(null, String, String)
- JSFTestUtil.checkForNPE(application, "createComponent",
- new Class>[] { FacesContext.class, String.class, String.class },
- new Object[] { null, "TCKComponent", null }, out);
-
- }// End applicationCreateComponentFSSNPETest
-
- public void applicationCreateComponentFETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter pw = response.getWriter();
- FacesContext fc = getFacesContext();
- Application application = fc.getApplication();
- ELContext elContext = fc.getELContext();
-
- TestBean bean = new TestBean();
- bean.setComponent(null);
- request.setAttribute("TestBean", bean);
-
- ValueExpression expr = application.getExpressionFactory()
- .createValueExpression(elContext, "#{TestBean.component}",
- jakarta.faces.component.UIComponent.class);
-
- application.addComponent("TCKBadComponent",
- "jakarta.faces.component.base.UIOutputBase");
-
- // createComponent(String)
- JSFTestUtil.checkForFE(application, "createComponent",
- new Class>[] { String.class }, new Object[] { "TCKBadComponent" },
- pw);
-
- // createComponent(ValueExpression, FacesContext, String)
- JSFTestUtil.checkForFE(
- application, "createComponent", new Class>[] { ValueExpression.class,
- FacesContext.class, String.class },
- new Object[] { expr, fc, "TCKBadComponent" }, pw);
-
- }
-
- public void applicationCreateComponentResNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- // createComponent(FacesContext, null)
- JSFTestUtil.checkForNPE(application, "createComponent",
- new Class>[] { FacesContext.class, Resource.class },
- new Object[] { getFacesContext(), null }, out);
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
- Resource resource = handler.createResource(RESOURCE_NAME);
-
- // createComponent(null, Resource)
- JSFTestUtil.checkForNPE(application, "createComponent",
- new Class>[] { FacesContext.class, Resource.class },
- new Object[] { null, resource }, out);
-
- }// End applicationCreateComponentResNPETest
-
- public void applicationCreateComponentNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
- // createComponent(String)
- JSFTestUtil.checkForNPE(application, "createComponent",
- new Class>[] { String.class }, new Object[] { null }, out);
-
- }// End applicationCreateComponentNPETest
-
- // Application.createComponent(ValueBinding, FacesContext, String)
- public void applicationCreateComponentBindingTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- Application application = getApplication();
- ELContext elcontext = context.getELContext();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- request.setAttribute("TestBean", new TestBean());
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
-
- ExpressionFactory ef = application.getExpressionFactory();
- ValueExpression binding = ef.createValueExpression(elcontext,
- "#{TestBean.component}", UIComponent.class);
-
- // ensures failure if the value binding lookup fails
- UIInput input = (UIInput) application.createComponent(binding, context,
- "TCKComponent");
-
- if (input == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueBinding,"
- + " FacesContext, String) returned null when using a "
- + "valid valueBinding.");
- return;
- }
-
- /*
- * next validate that if the ValueBinding doesn't return a UIComponent
- * instance, then create the component based on the identifier.
- */
- TestBean bean = (TestBean) request.getAttribute("TestBean");
- bean.setComponent(null);
-
- UIOutput output = (UIOutput) application.createComponent(binding,
- getFacesContext(), "TCKComponent");
- if (output == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueBinding,"
- + " FacesContext, String) returned null when falling back to the component "
- + "identifier to create the component.");
- return;
- }
-
- /*
- * Since the ValueBinding evaluated to null, a new component has been
- * created (see above), the createComponent() implementation in this case
- * must call setValue() with the newly created component instance. We should
- * be able to call getComponent() on the bean to verify.
- */
-
- UIOutput result = (UIOutput) bean.getComponent();
- if (result == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueBinding,"
- + " FacesContext, String) didn't call setValue() "
- + "on the ValueBinding passed when creating a new "
- + "fallback component in the case the ValueBinding "
- + "returned null." + JSFTestUtil.NL
- + "Expected a return of UIOutput, but received a " + "null value.");
- return;
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- }
-
- // Application.getComponentTypes();
- public void applicationGetComponentTypesTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
- application.addComponent("TCKBadComponent",
- "jakarta.faces.component.base.UIOutputBase");
-
- Iterator i = application.getComponentTypes();
-
- if (i == null) {
- out.println(JSFTestUtil.FAIL
- + ": Application.getComponentTypes() returned null.");
- return;
- }
-
- // check the iterator for the entries we've added for testing
- if (JSFTestUtil.checkIterator(i,
- new String[] { "TCKComponent", "TCKBadComponent" }, false, true)) {
- out.println(JSFTestUtil.PASS);
-
- } else {
- out.println(JSFTestUtil.FAIL
- + ": Unable to find either both or one of the following "
- + "component entires:'TCKComponent', 'TCKBadComponent' in "
- + "the Iterator returned by Application.getComponentEntries."
- + JSFTestUtil.NL + "Entries returned: "
- + JSFTestUtil.getAsString(application.getComponentTypes()));
- }
- }
-
- // Application.addConverter(String, String)
- // Application.createConverter(String)
- public void applicationAddCreateConverterByStringTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addConverter("TCKConverter",
- "jakarta.faces.convert.BooleanConverter");
- BooleanConverter converter;
- try {
- converter = (BooleanConverter) application
- .createConverter("TCKConverter");
-
- } catch (Exception e) {
- out.println(
- JSFTestUtil.FAIL + ": Exception thrown when creating converter.");
- e.printStackTrace();
- return;
- }
-
- if (converter == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createConverter(String) returned null for"
- + " valid converter added via "
- + "Application.addConverter(String, String).");
- return;
- }
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Application.addConverter(null, String)
- // Application.addConverter(String, null)
- public void applicationAddCreateConverterByStringNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter pw = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- pw.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- // Application.addConverter(null, String)
- JSFTestUtil.checkForNPE(application, "addConverter",
- new Class>[] { String.class, String.class },
- new Object[] { null, "jakarta.faces.convert.BooleanConverter" }, pw);
-
- // Application.addConverter(String, null)
- JSFTestUtil.checkForNPE(application, "addConverter",
- new Class>[] { String.class, String.class },
- new Object[] { "TCKConverter", null }, pw);
-
- }
-
- // Application.addConverter (Class, String)
- // Application.createConverter(Class)
- public void applicationAddCreateConverterByClassTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- // doens't make much sense, but we're only testing the mapping and
- // creation
- // not if the value can be converted
-
- application.addConverter(Servlet.class,
- "jakarta.faces.convert.BooleanConverter");
-
- // first find see if the implementation reruns the BooleanConverter for
- // this class
- BooleanConverter converter;
- try {
- converter = (BooleanConverter) application
- .createConverter(this.getClass());
- if (converter == null) {
- out.println(JSFTestUtil.FAIL
- + ": Application.createConverter(Class) returned null when attempting to find"
- + " a converter via an Interface[1].");
- return;
- }
-
- application.addConverter(GenericServlet.class,
- "jakarta.faces.convert.BooleanConverter");
- converter = (BooleanConverter) application
- .createConverter(this.getClass());
- if (converter == null) {
- out.println(JSFTestUtil.FAIL
- + ": Application.createConverter(Class) returned null when attempting to find"
- + " the converter via a super class[1].");
- return;
- }
-
- application.addConverter(HttpServlet.class,
- "jakarta.faces.convert.BooleanConverter");
- converter = (BooleanConverter) application
- .createConverter(this.getClass());
- if (converter == null) {
- out.println(JSFTestUtil.FAIL
- + ": Application.createConverter(Class) returned null when attempting to find"
- + " the converter via a super class[2].");
- return;
- }
-
- application.addConverter(this.getClass(),
- "jakarta.faces.convert.BooleanConverter");
- converter = (BooleanConverter) application
- .createConverter(this.getClass());
-
- if (converter == null) {
- out.println(JSFTestUtil.FAIL
- + ": Application.createConverter(Class) returned null when "
- + " class passed was the same that was used for the addConverter(Class, String) call.");
- return;
- }
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(
- JSFTestUtil.FAIL + ": Exception thrown when creating converter.");
- e.printStackTrace();
- }
- }
-
- public void applicationAddCreateConverterByClassNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter pw = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- pw.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- // Application.addConverter(null, String)
- JSFTestUtil.checkForNPE(application, "addConverter",
- new Class>[] { Class.class, String.class },
- new Object[] { null, "jakarta.faces.convert.BooleanConverter" }, pw);
-
- // Application.addConverter(Class, null)
- JSFTestUtil.checkForNPE(application, "addConverter",
- new Class>[] { Class.class, String.class },
- new Object[] { Servlet.class, null }, pw);
- }
-
- // Application.createConverter(String) throws NPE for null argument
- public void applicationCreateConverterByStringNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "createConverter",
- new Class>[] { String.class }, new Object[] { null }, out);
-
- }// End applicationCreateConverterByStringNPETest
-
- // Application.createConverter(Class) throws NPE for null argument
- public void applicationCreateConverterByClassNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "createConverter",
- new Class>[] { Class.class }, new Object[] { (Class>) null }, out);
-
- }// End applicationCreateConverterByClassNPETest
-
- public void applicationCreateConverterFETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter pw = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- pw.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addConverter(Boolean.class,
- "jakarta.faces.convert.Converter.class");
-
- // createConverter(Class)
- JSFTestUtil.checkForFE(application, "createConverter",
- new Class>[] { Class.class }, new Object[] { Boolean.class }, pw);
-
- application.addConverter("boogus", "jakarta.faces.convert.Converter.class");
-
- // createConverter(String)
- JSFTestUtil.checkForFE(application, "createConverter",
- new Class>[] { String.class }, new Object[] { "boogus" }, pw);
-
- }
-
- // Application.getConverterIds()
- public void applicationGetConverterIdsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addConverter("TCKConverter",
- "jakarta.faces.conver.BooleanConverter");
-
- Iterator i = application.getConverterIds();
- if (i == null) {
- out.println(
- JSFTestUtil.FAIL + ": Application.getConverterIds() returned null.");
- return;
- }
-
- if (JSFTestUtil.checkIterator(i, new String[] { "TCKConverter" }, false,
- true)) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL
- + ": Unable to find converter id 'TCKConverter' in returned"
- + " Iterator.");
- }
- }
-
- // Application.getConverterTypes()
- public void applicationGetConverterTypesTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addConverter(this.getClass(),
- "jakarta.faces.convert.BooleanConverter");
-
- Iterator> i = application.getConverterTypes();
- if (i == null) {
- out.println(
- JSFTestUtil.FAIL + ": Application.getConverterIds() returned null.");
- return;
- }
-
- boolean found = false;
- while (i.hasNext()) {
- if (i.next().equals(this.getClass())) {
- found = true;
- break;
- }
- }
-
- if (found) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + ": Unable to find converter class '"
- + this.getClass().getName() + "' in" + " returned Iterator.");
- }
- }
-
- // Application.addValidator(String, String)
- // Application.createValidator(String)
- public void applicationAddCreateValidatorTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addValidator("TCKValidator",
- "jakarta.faces.validator.LengthValidator");
- try {
- Validator validator = application.createValidator("TCKValidator");
-
- if (validator == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createValidator(String) returned null "
- + "when provided a valid id.");
- return;
- }
-
- if (validator instanceof LengthValidator) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Validator returned was not instance of "
- + "LengthValidator. Validator type received: "
- + validator.getClass().getName());
- }
-
- } catch (Exception e) {
- out.println(
- JSFTestUtil.FAIL + ": Unexpected exception creating validator.");
- e.printStackTrace();
- }
- }
-
- // Application.addValidator(String, String) throws NPE if any args are null
- public void applicationAddValidatorNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "addValidator",
- new Class>[] { String.class, String.class },
- new Object[] { null, "jakarta.faces.validator.LengthValidator" }, out);
-
- JSFTestUtil.checkForNPE(application, "addValidator",
- new Class>[] { String.class, String.class },
- new Object[] { "NullValidator", null }, out);
-
- } // End applicationAddValidatorNPETest
-
- // Application.createValidator(String) throws NullPointerException
- public void applicationCreateValidatorNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "createValidator",
- new Class>[] { String.class }, new Object[] { null }, out);
-
- }
-
- // Application.createValidator(String) throws FacesException
- public void applicationCreateValidatorFETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter pw = response.getWriter();
- Application application = getApplication();
-
- JSFTestUtil.checkForFE(application, "createValidator",
- new Class>[] { String.class }, new Object[] { "boogus" }, pw);
-
- }
-
- // Application.getValidatorIds()
- public void applicationGetValidatorIdsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addValidator("TCKValidator",
- "jakarta.faces.validator.LengthValidator");
-
- Iterator i = application.getValidatorIds();
- if (i == null) {
- out.println(
- JSFTestUtil.FAIL + ": Application.getValidatorIds() returned null.");
- return;
- }
-
- if (JSFTestUtil.checkIterator(i, new String[] { "TCKValidator" }, false,
- true)) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL
- + ": Unable to find validator id 'TCKValidator' in the "
- + "Iterator returned by Application.getValidatorIds().");
- }
- }
-
- // Application.getDefaultValidatorInfo()
- public void applicationGetDefaultValidatorInfoTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- if (application.getDefaultValidatorInfo() == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain Default validator info.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Application.getActionListener()
- public void applicationGetActionListenerTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- ActionListener defaultListener = application.getActionListener();
- if (defaultListener == null) {
- out.println(JSFTestUtil.FAIL
- + ": Application.getActionListener() returned null.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Application.setActionListener(ActionListener)
- public void applicationSetActionListenerTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- ActionListener origListener = application.getActionListener();
- ActionListener tckActionListener = new TCKActionListener();
-
- try {
- application.setActionListener(tckActionListener);
- } catch (Exception e) {
- out.println(
- JSFTestUtil.FAIL + ": Unexpected exception setting ActionListener.");
- e.printStackTrace();
- return;
- }
-
- ActionListener listener = application.getActionListener();
- if (listener == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getActionListener() returned null after "
- + "calling Application.setActionListener(ActionListener).");
- return;
- }
-
- if (!listener.equals(tckActionListener)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "TCKActionListener not returned by "
- + "Application.getActionListener() as" + "expected." + JSFTestUtil.NL
- + "ActionListener type: " + listener.getClass().getName());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- // restore original listener
- application.setActionListener(origListener);
- }
-
- // Application.setActionListener(ActionListener) throws NPE if arg is null
- public void applicationSetActionListenerNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "setActionListener",
- new Class>[] { ActionListener.class }, new Object[] { null }, out);
- }
-
- // Application.getNavigationHandler();
- // Application.setNavigationHandler(ViewHandler);
- public void applicationGetSetNavigationHandlerTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- NavigationHandler handler = application.getNavigationHandler();
- if (handler == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getNavigationHandler() returned null.");
- return;
- }
-
- NavigationHandler tckNavigationHandler = new TCKNavigationHandler();
- application.setNavigationHandler(tckNavigationHandler);
-
- NavigationHandler newNavigationHandler = application.getNavigationHandler();
-
- if (newNavigationHandler == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getNavigationHandler() returned null "
- + "after calling"
- + " Application.setNavigationHandler(NavigationHandler).");
- return;
- }
-
- if (!newNavigationHandler.equals(tckNavigationHandler)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getNavigationHandler() didn't return the "
- + "expected NavigationHandler.");
- }
-
- out.println(JSFTestUtil.PASS);
- // restore original handler
- application.setNavigationHandler(handler);
- }
-
- public void applicationSetNavigationHandlerNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- // Application.setNavigationHandler(null)
- JSFTestUtil.checkForNPE(application, "setNavigationHandler",
- new Class>[] { NavigationHandler.class }, new Object[] { null }, out);
-
- }
-
- // Application.createValueBinding(String)
- public void applicationCreateValueBindingTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
- FacesContext facesContext = getFacesContext();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- request.setAttribute("TestBean", new TestBean());
- ValueExpression binding;
- try {
- binding = application.getExpressionFactory().createValueExpression(facesContext.getELContext(), "#{TestBean.boolProp}", Object.class);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getValueBinding(String) threw an expected "
- + "Exception.");
- e.printStackTrace();
- return;
- }
-
- if (binding == null) {
- out.println(JSFTestUtil.FAIL
- + ": Application.getValueBinding() returned null for a valid "
- + "value reference expression.");
- return;
-
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Application.getViewHandler()
- // Application.setViewHandler(ViewHandler)
- public void applicationGetSetViewHandlerTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- ViewHandler origHandler = application.getViewHandler();
-
- if (origHandler == null) {
- out.println(
- JSFTestUtil.FAIL + ": Application.getViewHandler() returned null.");
- return;
- }
-
- ViewHandler tckHandler = new TCKViewHandler();
- application.setViewHandler(tckHandler);
- ViewHandler resolver = application.getViewHandler();
-
- if (resolver == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getViewHandler() returned null after "
- + "calling Application.setViewHandler() with a new "
- + "ViewHandler instance.");
-
- return;
- }
-
- if (!resolver.equals(tckHandler)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getViewHandler didn't return the expected "
- + "ViewHandler.");
-
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- // restore the original handler
- application.setViewHandler(origHandler);
- }
-
- public void applicationGetSetMessageBundleTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
- String bundleName;
- String myBundle;
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- bundleName = "com.sun.ts.tests.jsf.common.resourcebundle."
- + "SimpleResourceBundle";
-
- try {
- application.setMessageBundle(bundleName);
- myBundle = application.getMessageBundle();
-
- if (!myBundle.equals(bundleName)) {
- out.println("Test FAILED Unexpected Result for "
- + "get/setMessageBundle()." + JSFTestUtil.NL + "Expected: "
- + bundleName + JSFTestUtil.NL + "Received: " + myBundle);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + ": Unexpected Exception Thrown!");
- e.printStackTrace();
- }
-
- }
-
- public void applicationGetSetDefaultRenderKitIDTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- try {
- application.setDefaultRenderKitId("TCKRenderKit");
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL
- + ": Unexpected Exception Thrown when trying to set default "
- + "RenderKit ID!" + JSFTestUtil.NL
- + "application.setDefaultRenderKitId('TCKRenderKit')");
- e.printStackTrace();
- }
-
- try {
- String result = application.getDefaultRenderKitId();
-
- if (!"TCKRenderKit".equals(result)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected RenderKit ID returned from "
- + "application.getDefaultRenderKitId()." + JSFTestUtil.NL
- + "Expected: TCKRenderKit" + JSFTestUtil.NL + "Received: "
- + result);
- return;
- }
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + ": Unexpected Exception Thrown!");
- e.printStackTrace();
- }
-
- }
-
- public void applicationSetMessageBundleNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "setMessageBundle",
- new Class>[] { String.class }, new Object[] { null }, out);
-
- }
-
- public void applicationGetResourceBundleTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- Application application = context.getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- try {
- String expectedName = "com.sun.ts.tests.jsf.common."
- + "resourcebundle.SimpleResourceBundle_en";
-
- getFacesContext().getViewRoot().setLocale(Locale.ENGLISH);
-
- ResourceBundle rb = application.getResourceBundle(context, "simpleRB");
-
- String resultName = rb.getClass().getName();
-
- if (resultName.equals(expectedName)) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected Result for getResourceBundle()." + JSFTestUtil.NL
- + "Expected: " + expectedName + JSFTestUtil.NL + "Received: "
- + resultName);
- }
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + ": Unexpected Exception Thrown!");
- e.printStackTrace();
- }
- }
-
- public void applicationGetResourceBundleNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- Application application = context.getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- // FacesContext is null.
- JSFTestUtil.checkForNPE(application, "getResourceBundle",
- new Class>[] { FacesContext.class, String.class },
- new Object[] { null, "simpleRB" }, out);
-
- // ResourceBundle is null
- JSFTestUtil.checkForNPE(application, "getResourceBundle",
- new Class>[] { FacesContext.class, String.class },
- new Object[] { context, null }, out);
-
- }// End applicationGetResourceBundleNPETest
-
- // Application.setViewHandler(ViewHandler) throws NPE if arg is null
- public void applicationSetViewHandlerNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "setViewHandler",
- new Class>[] { ViewHandler.class }, new Object[] { null }, out);
-
- }// End applicationSetViewHandlerNPETest
-
- // Test for: Application.setStateManager() throws NullPointerException
- public void applicationStateManagerNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "setStateManager",
- new Class>[] { StateManager.class }, new Object[] { null }, out);
-
- } // End applicationStateManagerNPETest
-
- public void applicationSetGetDefaultLocaleTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- if (!setGetLocaleTestPassed) {
- Application application = getApplication();
-
- if (application.getDefaultLocale() != null) {
- out.println(
- JSFTestUtil.FAIL + ": Expected Application.getDefaultLocale() "
- + "to return null if the default locale has not been explicitly"
- + " set by a call to Application.setDefaultLocale(Locale).");
- return;
- }
-
- application.setDefaultLocale(Locale.US);
-
- if (!Locale.US.equals(application.getDefaultLocale())) {
- out.println(
- JSFTestUtil.FAIL + ": Expected Application.getDefaultLocale()"
- + "to return Locale.US as set via call to Application."
- + "setDefaultLocale().");
- out.println("Localed received: " + application.getDefaultLocale());
- return;
- }
-
- setGetLocaleTestPassed = true;
- }
-
- if (setGetLocaleTestPassed) {
- out.println(JSFTestUtil.PASS);
- }
-
- }
-
- public void applicationSetSupportedLocalesNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "setSupportedLocales",
- new Class>[] { Collection.class }, new Object[] { null }, out);
-
- }
-
- public void applicationSetDefaultLocaleNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "setDefaultLocale",
- new Class>[] { Locale.class }, new Object[] { null }, out);
-
- }
-
- public void applicationSetGetSupportedLocalesTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- Collection collection = new ArrayList();
- collection.add(Locale.ENGLISH);
- collection.add(Locale.FRENCH);
- collection.add(Locale.GERMAN);
-
- application.setSupportedLocales(collection);
-
- Locale[] locales = { Locale.ENGLISH, Locale.FRENCH, Locale.GERMAN };
- List retLocales = new ArrayList();
- for (Iterator i = application.getSupportedLocales(); i.hasNext();) {
- retLocales.add(i.next());
- }
-
- Locale[] returnedLocales = (Locale[]) retLocales
- .toArray(new Locale[retLocales.size()]);
-
- if (!Arrays.equals(locales, returnedLocales)) {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Unexpected result returned from "
- + "Application.getSupportedLocales()." + JSFTestUtil.NL
- + "Expected: " + JSFTestUtil.getAsString(locales) + JSFTestUtil.NL
- + "Received: " + JSFTestUtil.getAsString(returnedLocales));
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ----------------------------------------------------- Tests Added for 1.2
- // Application.getELContextListenersTest()
- public void applicationGetELContextListenersTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- if (application.getELContextListeners() == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ElContext Listeners.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void applicationGetELResolverTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- ELResolver resolver = application.getELResolver();
-
- if (resolver == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getELResolver() returned" + " null.");
- return;
- }
-
- if (!(resolver instanceof CompositeELResolver)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getELResolver() returned "
- + "an ELResolver instance, but it wasn't an instance "
- + "of CompositeELResolver.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void applicationGetExpressionFactoryTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- ExpressionFactory controlFactory = JspFactory.getDefaultFactory()
- .getJspApplicationContext(servletContext).getExpressionFactory();
-
- if (controlFactory == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ExpressionFactory "
- + "from JspApplicationContext.");
- return;
- }
-
- ExpressionFactory exprFactory = application.getExpressionFactory();
-
- if (exprFactory == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ExpressionFactory instance.");
- return;
- }
-
- // Left in for debugging.
- //
- // ExpressionFactory controlFactoryTwo =
- // JspFactory.getDefaultFactory().
- // getJspApplicationContext(servletContext).getExpressionFactory();
- //
- // ExpressionFactory exprFactoryTwo =
- // application.getExpressionFactory();
- // out.println("*** First Call application.getExpressionFactory() " +
- // "Returns ***: " + exprFactory.toString());
- // out.println("*** Second Call application.getExpressionFactory() " +
- // "Returns ***: " + exprFactoryTwo.toString());
- // out.println("*** First Call - JspFactory.getDefaultFactory()." +
- // "getJspApplicationContext(servletContext)." +
- // "getExpressionFactory() Returns ***: " +
- // controlFactory.toString());
- // out.println("*** Second Call - JspFactory.getDefaultFactory()." +
- // "getJspApplicationContext(servletContext)." +
- // "getExpressionFactory() Returns ***: " +
- // controlFactoryTwo.toString());
-
- if (!controlFactory.equals(exprFactory)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected Application.getExpressionFactory to return "
- + "the same instance as that returned by "
- + "JspApplicationContext.getExpressionFactory!" + JSFTestUtil.NL
- + "Found: " + controlFactory.toString() + JSFTestUtil.NL
- + "Expected: " + exprFactory.toString());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- public void applicationEvaluationExpressionGetTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- String testName = "applicationEvaluationExpressionGetTest";
-
- String value = (String) application.evaluateExpressionGet(getFacesContext(),
- "#{param.testname}", java.lang.String.class);
-
- if (!testName.equals(value)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected evaluation using Application."
- + "evaluateExpressionGet()." + JSFTestUtil.NL + "Expected: "
- + testName + JSFTestUtil.NL + "Received: " + value);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Application.createComponent(ValueExpression, FacesContext, String)
- public void applicationCreateComponentExpressionTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- request.setAttribute("TestBean", new TestBean());
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
- ELContext elContext = getFacesContext().getELContext();
- ValueExpression expr = application.getExpressionFactory()
- .createValueExpression(elContext, "#{TestBean.component}",
- jakarta.faces.component.UIComponent.class);
-
- if (expr == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ValueExpression instance from " + "Application.");
- return;
- }
-
- // ensures failure if the ValueExpression lookup fails
- UIInput input = (UIInput) application.createComponent(expr,
- getFacesContext(), "TCKComponent");
- if (input == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression, "
- + "FacesContext, String) returned null when using "
- + "a valid ValueExpression.");
- return;
- }
-
- /*
- * Next validate that if the ValueExpression doesn't return a UIComponent
- * instance, then create the component based on the identifier.
- */
- TestBean bean = (TestBean) request.getAttribute("TestBean");
- bean.setComponent(null);
-
- UIOutput output = (UIOutput) application.createComponent(expr,
- getFacesContext(), "TCKComponent");
- if (output == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression, "
- + "FacesContext, String, String) returned "
- + "null when falling back to the component "
- + "identifier to create the component.");
- return;
- }
-
- /*
- * Since the ValueExpression evaluated to null, a new component has been
- * created (see above), the createComponent() implementation in this case
- * must call setValue() with the newly created component instance. We should
- * be able to call getComponent() on the bean to verify.
- */
- UIOutput result = (UIOutput) bean.getComponent();
- if (result == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression, "
- + "FacesContext, String) didn't call setValue() "
- + "on the ValueExpression passed when creating "
- + "a new fallback component in the case the "
- + "ValueExpression returned null." + JSFTestUtil.NL
- + "Expected a return of UIOutput, but received " + "a null value.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Application.createComponent(ValueExpression, FacesContext, String,
- // String)
- public void applicationCreateComponentExpressionFSSTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- request.setAttribute("TestBean", new TestBean());
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
- ELContext elContext = getFacesContext().getELContext();
- ValueExpression expr = application.getExpressionFactory()
- .createValueExpression(elContext, "#{TestBean.component}",
- jakarta.faces.component.UIComponent.class);
-
- if (expr == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ValueExpression " + "instance from Application.");
- return;
- }
-
- // ensures failure if the ValueExpression lookup fails
- UIInput input = (UIInput) application.createComponent(expr,
- getFacesContext(), "TCKComponent", "TCKRenderer");
- if (input == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression, "
- + "FacesContext, String) returned null when using "
- + "a valid ValueExpression.");
- return;
- }
-
- /*
- * Next validate that if the ValueExpression doesn't return a UIComponent
- * instance, then create the component based on the identifier.
- */
- TestBean bean = (TestBean) request.getAttribute("TestBean");
- bean.setComponent(null);
-
- UIOutput output = (UIOutput) application.createComponent(expr,
- getFacesContext(), "TCKComponent");
- if (output == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression, "
- + "FacesContext, String, 'null) returned "
- + "null when falling back to the component "
- + "identifier to create the component.");
- return;
- }
-
- /*
- * Since the ValueExpression evaluated to null, a new component has been
- * created (see above), the createComponent() implementation in this case
- * must call setValue() with the newly created component instance. We should
- * be able to call getComponent() on the bean to verify.
- */
- UIOutput result = (UIOutput) bean.getComponent();
- if (result == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression, "
- + "FacesContext, String) didn't call setValue() "
- + "on the ValueExpression passed when creating "
- + "a new fallback component in the case the "
- + "ValueExpression returned null." + JSFTestUtil.NL
- + "Expected a return of UIOutput, but received " + "a null value.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Application.createComponent(ValueExpression, FacesContext, String,
- // 'null')
- public void applicationCreateComponentExpressionFSSNullTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- request.setAttribute("TestBean", new TestBean());
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
- ELContext elContext = getFacesContext().getELContext();
- ValueExpression expr = application.getExpressionFactory()
- .createValueExpression(elContext, "#{TestBean.component}",
- jakarta.faces.component.UIComponent.class);
-
- if (expr == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ValueExpression " + "instance from Application.");
- return;
- }
-
- // ensures failure if the ValueExpression lookup fails
- UIInput input = (UIInput) application.createComponent(expr,
- getFacesContext(), "TCKComponent", null);
- if (input != null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression,"
- + " FacesContext, String) returned null when using "
- + "a valid ValueExpression.");
- return;
- }
-
- /*
- * next validate that if the ValueExpression doesn't return a UIComponent
- * instance, then create the component based on the identifier.
- */
- TestBean bean = (TestBean) request.getAttribute("TestBean");
- bean.setComponent(null);
-
- UIOutput output = (UIOutput) application.createComponent(expr,
- getFacesContext(), "TCKComponent");
- if (output == null) {
- out.println(JSFTestUtil.FAIL + ": "
- + "Application.createComponent(ValueExpression,"
- + " FacesContext, String) returned null when "
- + "falling back to the component "
- + "identifier to create the component.");
- return;
- }
-
- /*
- * Since the ValueExpression evaluated to null, a new component has been
- * created (see above), the createComponent() implementation in this case
- * must call setValue() with the newly created component instance. We should
- * be able to call getComponent() on the bean to verify.
- */
- UIOutput result = (UIOutput) bean.getComponent();
- if (result == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression, "
- + "FacesContext, String) didn't call setValue() "
- + "on the ValueExpression passed when creating "
- + "a new fallback component in the case the "
- + "ValueExpression returned null." + JSFTestUtil.NL
- + "Expected a return of UIOutput, but received " + "a null value.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Application.createComponent(ValueExpression, FacesContext, String)
- // NPE is arg is null
- public void applicationCreateComponentExpressionNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- TestBean bean = new TestBean();
- bean.setComponent(null);
- request.setAttribute("TestBean", bean);
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
- ELContext elContext = getFacesContext().getELContext();
- ValueExpression expr = application.getExpressionFactory()
- .createValueExpression(elContext, "#{TestBean.component}",
- jakarta.faces.component.UIComponent.class);
-
- // ValueBinding as null
- JSFTestUtil.checkForNPE(application, "createComponent",
- new Class>[] { ValueExpression.class, FacesContext.class,
- String.class },
- new Object[] { null, getFacesContext(), "TCKComponent" }, out);
-
- // FacesContext as null
- JSFTestUtil.checkForNPE(
- application, "createComponent", new Class>[] { ValueExpression.class,
- FacesContext.class, String.class },
- new Object[] { expr, null, "TCKComponent" }, out);
-
- // String as null
- JSFTestUtil.checkForNPE(application, "createComponent",
- new Class>[] { ValueExpression.class, FacesContext.class,
- String.class },
- new Object[] { expr, getFacesContext(), null }, out);
-
- } // End applicationCreateComponentExpressionNPETest
-
- // Application.createComponent(ValueExpression, FacesContext, String,
- // String)
- public void applicationCreateComponentExpressionFSSNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- TestBean bean = new TestBean();
- bean.setComponent(null);
- request.setAttribute("TestBean", bean);
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
- ELContext elContext = context.getELContext();
- ValueExpression expr = application.getExpressionFactory()
- .createValueExpression(elContext, "#{TestBean.component}",
- jakarta.faces.component.UIComponent.class);
-
- // createComponent(null, FacesContext, String, String)
- JSFTestUtil.checkForNPE(application, "createComponent",
- new Class>[] { ValueExpression.class, FacesContext.class,
- String.class, String.class },
- new Object[] { null, context, "TCKComponent", null }, out);
-
- // createComponent(ValueExpression, null, String, String)
- JSFTestUtil.checkForNPE(application, "createComponent",
- new Class>[] { ValueExpression.class, FacesContext.class,
- String.class, String.class },
- new Object[] { expr, null, "TCKComponent", null }, out);
-
- // createComponent(ValueExpression, FacesContext, null, String)
- JSFTestUtil.checkForNPE(application, "createComponent",
- new Class>[] { ValueExpression.class, FacesContext.class,
- String.class, String.class },
- new Object[] { expr, context, null, null }, out);
-
- }// End applicationCreateComponentExpressionFSSNPETest
-
- public void applicationAddELResolverTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- try {
- application.addELResolver(new TCKELResolver());
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + ": Unexpected Exception...");
- e.printStackTrace();
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- public void applicationAddGetRemoveELContextListenerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- int contextCount = application.getELContextListeners().length;
- TCKELContextListener listener = new TCKELContextListener();
- application.addELContextListener(listener);
-
- if ((contextCount + 1) != application.getELContextListeners().length) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Called Application.addELContextListener()"
- + "but the length of the array returned by "
- + "Application.getELContextListeners() didn't " + "increase by one."
- + JSFTestUtil.NL + "Expected length: " + (contextCount + 1)
- + JSFTestUtil.NL + "Actual length: "
- + application.getELContextListeners().length);
- return;
- }
-
- application.removeELContextListener(listener);
-
- List listeners = Arrays
- .asList(application.getELContextListeners());
-
- if (listeners.contains(listener)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ELContextListener not removed as expected.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Test for Application.getResourceHandler()
- public void applicationGetResourceHandlerTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- // Set a specific ResourceHandler.
- TCKResourceHandler myRH = new TCKResourceHandler();
- application.setResourceHandler(myRH);
-
- if (application.getResourceHandler() == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ResourceHandler " + "instance.");
- return;
- }
-
- if (!myRH.equals(application.getResourceHandler())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ResourceHandler was not able to be set!");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Test for Application.setStatemanager()
- // Application.getStatemanager()
- public void applicationGetSetStateManagerTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- // Test to make sure we get a StateManger by default.
- StateManager stateManager = null;
- try {
- stateManager = application.getStateManager();
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected Exception thrown when calling "
- + "Application.getStateManager" + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- try {
- StateManager tckstatemgr = new TCKStateManager(stateManager);
- application.setStateManager(tckstatemgr);
- String result = application.getStateManager().getClass().getSimpleName();
-
- if (!"TCKStateManager".equals(result)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected value returned after setting StateManger"
- + JSFTestUtil.NL + "Expected: TCKStateManager" + JSFTestUtil.NL
- + "Received: " + result);
- return;
- }
-
- out.println("Test PASSED.");
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected Exception thrown when calling "
- + "Application.getStateManager" + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }
-
- // Test for Application.setResourceHandler()
- public void applicationSetResourceHandlerTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- ResourceHandler rh = application.getResourceHandler();
- application.setResourceHandler(rh);
-
- if (!rh.equals(application.getResourceHandler())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ResourceHandler " + "instance.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Application.setResourceHandler() throws NullPointerException
- public void applicationSetResourceHandlerNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "setResourceHandler",
- new Class>[] { ResourceHandler.class }, new Object[] { null }, out);
-
- }
-
- // Test for Application.getProjectStage() "Default settings"
-
- public void applicationGetProjectStageTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- String stage = ProjectStage.Production.toString();
-
- if (!("production".equalsIgnoreCase(stage))) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL + "Expected: production"
- + JSFTestUtil.NL + "Received" + stage);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Application.publishEvent throws NullPointerException
- public void applicationPublishEventNPETest1(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
- FacesContext context = getFacesContext();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- UIComponent uic = application.createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
-
- // Application.publishEvent(null, Class, Object)
- JSFTestUtil.checkForNPE(application, "publishEvent",
- new Class>[] { FacesContext.class, Class.class, Object.class, },
- new Object[] { null, se.getClass(), "object" }, out);
-
- // Application.publishEvent(FacesContext, null, Object)
- JSFTestUtil.checkForNPE(application, "publishEvent",
- new Class>[] { FacesContext.class, Class.class, Object.class, },
- new Object[] { context, null, "object" }, out);
-
- // Application.publishEvent(FacesContext, Class, null)
- JSFTestUtil.checkForNPE(application, "publishEvent",
- new Class>[] { FacesContext.class, Class.class, Object.class, },
- new Object[] { context, se.getClass(), null }, out);
-
- }// End applicationPublishEventNPETest1
-
- // Test for Application.publishEvent throws NullPointerException
- public void applicationPublishEventNPETest2(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
- FacesContext context = getFacesContext();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- UIComponent uic = application.createComponent(UIOutput.COMPONENT_TYPE);
-
- // Application.publishEvent(null, Class, Class, Object)
- JSFTestUtil.checkForNPE(application, "publishEvent",
- new Class>[] { FacesContext.class, Class.class, Class.class,
- Object.class, },
- new Object[] { null, TCKSystemEvent.class, uic.getClass(), "object" },
- out);
-
- // Application.publishEvent(FacesContext, null, Class, Object)
- JSFTestUtil.checkForNPE(application, "publishEvent",
- new Class>[] { FacesContext.class, Class.class, Class.class,
- Object.class, },
- new Object[] { context, null, uic.getClass(), "object" }, out);
-
- // Application.publishEvent(FacesContext, Class, Class, null)
- JSFTestUtil.checkForNPE(application, "publishEvent",
- new Class>[] { FacesContext.class, Class.class, Class.class,
- Object.class, },
- new Object[] { context, TCKSystemEvent.class, uic.getClass(), null },
- out);
-
- }// End applicationPublishEventNPETest2
-
- // Test for Application.publishEvent
- public void applicationPublishEventTest1(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- UIComponent uic = getApplication().createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- // Application.publishEvent(FacesContext, class, object)
- try {
- application.publishEvent(getFacesContext(), se.getClass(), uic);
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- } // End applicationPublishEventTest1
-
- public void applicationPublishEventTest2(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- UIComponent uic = getApplication().createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- // Application.publishEvent(getFacesContext, class, class, source)
- try {
- application.publishEvent(getFacesContext(), se.getClass(), uic.getClass(),
- uic);
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- } // End applicationPublishEventTest2
-
- // Test for Application.subscribeToEvent
- public void applicationSubscribeToEventTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- UIComponent uic = application.createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- try {
- application.subscribeToEvent(se.getClass(), uic.getClass(), sel);
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }// End applicationSubscribeToEventTest
-
- // Test for Application.subscribeToEvent
- public void applicationSubscribeToEventNullTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- UIComponent uic = application.createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- try {
- application.subscribeToEvent(se.getClass(), null, sel);
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }// End applicationSubscribeToEventNullTest
-
- // Test for Application.subscribeToEvent
- public void applicationSubscribeToEventNoSrcClassTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- UIComponent uic = application.createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- try {
- application.subscribeToEvent(se.getClass(), sel);
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }// End applicationSubscribeToEventNoSrcClassTest
-
- // Test for Application.subscribeToEvent
- public void applicationSubscribeToEventNoSrcClassNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- UIComponent uic = application.createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- // Application.subscribeToEvent(null, SystemEventListener)
- JSFTestUtil.checkForNPE(application, "subscribeToEvent",
- new Class>[] { Class.class, SystemEventListener.class },
- new Object[] { null, sel }, out);
-
- // Application.subscribeToEvent(Class, null)
- JSFTestUtil.checkForNPE(application, "subscribeToEvent",
- new Class>[] { Class.class, SystemEventListener.class },
- new Object[] { se.getClass(), null }, out);
-
- }
-
- // Test for Application.subscribeToEvent
- public void applicationSubscribeToEventNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- UIComponent uic = application.createComponent(UIOutput.COMPONENT_TYPE);
- SystemEventListener sel = new TCKSystemEventListener();
- Class> srcClass = uic.getClass();
-
- out.append("Running==> application.subscribeToEvent(null, null, "
- + "SystemEventListener)" + JSFTestUtil.NL);
- JSFTestUtil.checkForNPE(application, "subscribeToEvent",
- new Class>[] { Class.class, Class.class, SystemEventListener.class },
- new Object[] { null, null, sel }, out);
-
- out.append("Running==> application.subscribeToEvent(null, Class, "
- + "SystemEventListener)" + JSFTestUtil.NL);
- JSFTestUtil.checkForNPE(application, "subscribeToEvent",
- new Class>[] { Class.class, Class.class, SystemEventListener.class },
- new Object[] { null, srcClass, sel }, out);
-
- out.append("Running==> application.subscribeToEvent(Class, "
- + "SystemEventListener, null)" + JSFTestUtil.NL);
- JSFTestUtil.checkForNPE(application, "subscribeToEvent",
- new Class>[] { Class.class, Class.class, SystemEventListener.class },
- new Object[] { TCKSystemEvent.class, srcClass, null }, out);
-
- out.append("Running==> application.subscribeToEvent(Class, null, null)"
- + JSFTestUtil.NL);
- JSFTestUtil.checkForNPE(application, "subscribeToEvent",
- new Class>[] { Class.class, Class.class, SystemEventListener.class },
- new Object[] { TCKSystemEvent.class, srcClass, null }, out);
-
- out.append("Running==> application.subscribeToEvent(null, null, null)"
- + JSFTestUtil.NL);
- JSFTestUtil.checkForNPE(application, "subscribeToEvent",
- new Class>[] { Class.class, Class.class, SystemEventListener.class },
- new Object[] { null, null, null }, out);
-
- out.close();
- } // End applicationSubscribeToEventNPETest
-
- // Test for Application.unsubscribeFromEvent
- public void applicationUnsubscribeFromEventTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- UIComponent uic = application.createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- try {
- application.unsubscribeFromEvent(se.getClass(), uic.getClass(), sel);
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }
-
- // Test for Application.unsubscribeFromEvent(systemEventClass, listener)
- public void applicationUnsubscribeFromEventSLTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- UIComponent uic = application.createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- try {
- application.unsubscribeFromEvent(se.getClass(), sel);
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }
-
- // Test for Application.unsubscribeFromEvent
- public void applicationUnsubscribeFromEventNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- UIComponent uic = application.createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- // Application.unsubscribeFromEvent(null, Class, SystemEventListener)
- JSFTestUtil.checkForNPE(application, "unsubscribeFromEvent",
- new Class>[] { Class.class, Class.class, SystemEventListener.class },
- new Object[] { null, uic.getClass(), sel }, out);
-
- // Application.unsubscribeFromEvent(Class, Class, null)
- JSFTestUtil.checkForNPE(application, "unsubscribeFromEvent",
- new Class>[] { Class.class, Class.class, SystemEventListener.class },
- new Object[] { se.getClass(), uic.getClass(), null }, out);
-
- // Application.unsubscribeFromEvent(null, SystemEventListener)
- JSFTestUtil.checkForNPE(application, "unsubscribeFromEvent",
- new Class>[] { Class.class, SystemEventListener.class },
- new Object[] { null, sel }, out);
-
- // Application.unsubscribeFromEvent(Class, null)
- JSFTestUtil.checkForNPE(application, "unsubscribeFromEvent",
- new Class>[] { Class.class, SystemEventListener.class },
- new Object[] { se.getClass(), null }, out);
-
- }
-
- // Test for Application.unsubscribeFromEvent
- public void applicationUnsubscribeFromEventNoSrcClassTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- UIComponent uic = application.createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- try {
- application.unsubscribeFromEvent(se.getClass(), sel);
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }
-
- // Test for Application.addBehavior & Application.getBehaviorIds
- public void applicationAddBehaviorTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- String mb = "myBehavior";
-
- application.addBehavior(mb, (new TCKBehavior().getClass().getName()));
-
- Iterator i = application.getBehaviorIds();
- while (i.hasNext()) {
- if (mb.equals(i.next())) {
- out.println(JSFTestUtil.PASS);
- return;
- }
- }
-
- out.println(JSFTestUtil.FAIL);
-
- }// End applicationAddBehaviorTest
-
- // Test for Application.addBehavior
- public void applicationAddBehaviorNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- // Application.addBehaviorTest(null, String)
- JSFTestUtil.checkForNPE(application, "addBehavior",
- new Class>[] { String.class, String.class },
- new Object[] { null, new TCKBehavior().getClass().getName() }, out);
-
- // Application.addBehaviorTest(String, null)
- JSFTestUtil.checkForNPE(application, "addBehavior",
- new Class>[] { String.class, String.class },
- new Object[] { "myBehavior", null }, out);
-
- }// End applicationAddBehaviorNPETest
-
- // Test for Application.createBehavior
- public void applicationCreateBehaviorTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- String mb = "myBehavior";
- application.addBehavior(mb, (new TCKBehavior().getClass().getName()));
- TCKBehavior firstBehavior = (TCKBehavior) application.createBehavior(mb);
-
- // Test to make sure we get back the default name.
- if (!("default_name".equals(firstBehavior.getName()))) {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Unexpected value returned!"
- + JSFTestUtil.NL + "Expected: default_name" + JSFTestUtil.NL
- + "Received: " + firstBehavior.getName());
- return;
- }
-
- firstBehavior.setName("changed_name");
- TCKBehavior secondBehavior = (TCKBehavior) application.createBehavior(mb);
-
- // Test to make sure we get back the default name again.
- if (!("default_name".equals(secondBehavior.getName()))) {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Unexpected value returned."
- + JSFTestUtil.NL + "Expected: default_name" + JSFTestUtil.NL
- + "Received: " + secondBehavior.getName());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }// End applicationCreateBehaviorTest
-
- // Test for Application.createBehavior
- public void applicationCreateBehaviorNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- JSFTestUtil.checkForNPE(application, "createBehavior",
- new Class>[] { String.class }, new Object[] { null }, out);
-
- }// End applicationCreateBehaviorNPETest
-
- // Test for Application.createBehavior
- public void applicationCreateBehaviorFETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter pw = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- pw.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- application.addBehavior("bad", "com.sun.ts.tests.jsf.api."
- + "jakarta_faces.application.application.BadBehavior");
-
- JSFTestUtil.checkForFE(application, "createBehavior",
- new Class>[] { String.class }, new Object[] { "bad" }, pw);
-
- }// End applicationCreateBehaviorFETest
-
- // Test for Application.addDefaultValidatorId
- public void applicationAddDefaultValidatorIdTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- String mv = "myValidator";
-
- application.addValidator(mv, BeanValidator.class.getName());
- application.addDefaultValidatorId(mv);
-
- Map dvMap = application.getDefaultValidatorInfo();
- Iterator keys = dvMap.keySet().iterator();
-
- while (keys.hasNext()) {
- if (mv.equals(keys.next())) {
- out.println(JSFTestUtil.PASS);
- return;
- }
- }
-
- out.println(JSFTestUtil.FAIL);
-
- }// End applicationAddDefaultValidatorIdTest
-
- // Test for Application.getSearchExpressionHandler
- public void applicationGetSearchExpressionHandlerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- if (application.getSearchExpressionHandler() == null) {
- out.println(JSFTestUtil.FAIL);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }// End applicationGetSearchExpressionHandlerTest
-
- // Test for Application.setSearchExpressionHandler
- public void applicationSetSearchExpressionHandlerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- SearchExpressionHandler oldHandler = application
- .getSearchExpressionHandler();
-
- SearchExpressionHandler handler = new SearchExpressionHandler() {
- @Override
- public String resolveClientId(
- SearchExpressionContext searchExpressionContext, String expression) {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public List resolveClientIds(
- SearchExpressionContext searchExpressionContext, String expressions) {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public void resolveComponent(
- SearchExpressionContext searchExpressionContext, String expression,
- ContextCallback callback) {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public void resolveComponents(
- SearchExpressionContext searchExpressionContext, String expressions,
- ContextCallback callback) {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public void invokeOnComponent(
- SearchExpressionContext searchExpressionContext, UIComponent previous,
- String expression, ContextCallback callback) {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public String[] splitExpressions(FacesContext context,
- String expressions) {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public boolean isPassthroughExpression(
- SearchExpressionContext searchExpressionContext, String expression) {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public boolean isValidExpression(
- SearchExpressionContext searchExpressionContext, String expression) {
- throw new UnsupportedOperationException("Not supported yet.");
- }
- };
- application.setSearchExpressionHandler(handler);
-
- if (application.getSearchExpressionHandler() != handler) {
- out.println(JSFTestUtil.FAIL);
- return;
- }
-
- application.setSearchExpressionHandler(oldHandler);
-
- out.println(JSFTestUtil.PASS);
-
- }// End applicationSetSearchExpressionHandlerTest
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/URLClient.java
deleted file mode 100644
index f04e7c2c2d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/URLClient.java
+++ /dev/null
@@ -1,1129 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.application;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_application_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Test Declarations */
-
- /**
- * @testName: applicationAddComponentTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:19
- * @test_Strategy: Validate components can be added to the Application and
- * created.
- */
- public void applicationAddComponentTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationAddComponentTest");
- invoke();
- }
-
- /**
- * @testName: applicationAddComponentNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:20
- * @test_Strategy: Validate an NPE is thrown if any arguments are null.
- */
- public void applicationAddComponentNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationAddComponentNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:34
- * @test_Strategy: Validate components that have been added to the Application
- * can be created.
- */
- public void applicationCreateComponentTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateComponentTest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentFRNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:51
- * @test_Strategy: Validate that a NullPointerException is thrown if any
- * parameter is null.
- *
- * Signature tested: Application.createComponent(null,
- * Resource) Application.createComponent(FacesContext, null)
- *
- * @since 2.0
- */
- public void applicationCreateComponentFRNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateComponentFRNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentFSSTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:46
- * @test_Strategy: Validate components that have been added to the Application
- * can be created.
- *
- * Signature tested: Application.createComponent(FacesContext,
- * String, String)
- *
- * @since 2.0
- */
- public void applicationCreateComponentFSSTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateComponentFSSTest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentFSSNullTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:48
- * @test_Strategy: Validate components that have been added to the Application
- * can be created.
- *
- * Signature tested: Application.createComponent(FacesContext,
- * String, 'null')
- *
- * @since 2.0
- */
- public void applicationCreateComponentFSSNullTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateComponentFSSTest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentFSSNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:48
- * @test_Strategy: Validate components that a NullointerException is thrown
- * when - ComponentType is null. - FacesContext is null.
- *
- *
- * Signature tested: Application.createComponent(FacesContext,
- * String, String)
- *
- * @since 2.0
- */
- public void applicationCreateComponentFSSNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateComponentFSSNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentFETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:35; JSF:JAVADOC:38;
- * JSF:JAVADOC:41; JSF:JAVADOC:47
- * @test_Strategy: Validate a FacesException is thrown if createComponent is
- * unable to create the specified component.
- */
- public void applicationCreateComponentFETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateComponentFETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:36
- * @test_Strategy: Validate an NPE is thrown if any arguments are null.
- */
- public void applicationCreateComponentNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateComponentNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentBindingTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:37
- * @test_Strategy: Validate that a component can be returned from
- * createComponent when a ValueBinding is provided that will
- * resolve to a UIComponent. Additionally ensure that if the
- * ValueBinding doesn't resolve to a UIComponent, then the
- * String component ID will be used as a fallback to create
- * the component.
- */
- public void applicationCreateComponentBindingTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateComponentBindingTest");
- invoke();
- }
-
- /**
- * @testName: applicationGetDefaultValidatorInfoTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:77
- * @test_Strategy: Validate that call to getDefaultValidatorInfo returns a non
- * null object.
- */
- public void applicationGetDefaultValidatorInfoTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetDefaultValidatorInfoTest");
- invoke();
- }
-
- /**
- * @testName: applicationAddCreateConverterByStringTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:21; JSF:JAVADOC:53
- * @test_Strategy: Validate converters can be added to the Application and
- * then subsequently created.
- */
- public void applicationAddCreateConverterByStringTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationAddCreateConverterByStringTest");
- invoke();
- }
-
- /**
- * @testName: applicationAddCreateConverterByStringNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:22
- * @test_Strategy: Validate that the following signatures cause a
- * NullPointerException to be thrown.
- *
- * Application.addConverter(null, String)
- * Application.addConverter(String, null)
- */
- public void applicationAddCreateConverterByStringNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationAddCreateConverterByStringNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationAddCreateConverterByClassTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:23; JSF:JAVADOC:56
- * @test_Strategy: Validate converters can be added by class to the
- * Application and then subsequently created. Ensure that
- * creation does inheritance checking.
- */
- public void applicationAddCreateConverterByClassTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationAddCreateConverterByClassTest");
- invoke();
- }
-
- /**
- * @testName: applicationAddCreateConverterByClassNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:24
- * @test_Strategy: Validate that the following signatures cause a
- * NullPointerException to be thrown.
- *
- * Application.addConverter(Class, null)
- * Application.addConverter(null, String)
- */
- public void applicationAddCreateConverterByClassNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationAddCreateConverterByClassNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateConverterByStringNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:55
- * @test_Strategy: Validate an NPE is thrown if any arguments are null.
- */
- public void applicationCreateConverterByStringNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationCreateConverterByStringNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateConverterByClassNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:58
- * @test_Strategy: Validate an NPE is thrown if any arguments are null.
- */
- public void applicationCreateConverterByClassNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateConverterByClassNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateConverterFETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:54; JSF:JAVADOC:57
- * @test_Strategy: Validate an IllegalArgumentException is thrown by
- * createConverter if the Class argument is an Interface.
- */
- public void applicationCreateConverterFETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateConverterFETest");
- invoke();
- }
-
- /**
- * @testName: applicationGetConverterIdsTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:73
- * @test_Strategy: Validate the Iterator returned contains the expected
- * values.
- */
- public void applicationGetConverterIdsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetConverterIdsTest");
- invoke();
- }
-
- /**
- * @testName: applicationGetConverterTypesTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:74
- * @test_Strategy: Validate the Iterator returned contains the expected
- * values.
- */
- public void applicationGetConverterTypesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetConverterTypesTest");
- invoke();
- }
-
- /**
- * @testName: applicationAddCreateValidatorTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:28; JSF:JAVADOC:62
- * @test_Strategy: Validate we can add Validators to the Application and
- * subsequently create the specified Validator.
- */
- public void applicationAddCreateValidatorTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationAddCreateValidatorTest");
- invoke();
- }
-
- /**
- * @testName: applicationAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:29
- * @test_Strategy: Validate an NPE is thrown if any arguments are null.
- */
- public void applicationAddValidatorNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationAddValidatorNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:64
- * @test_Strategy: Validate a NullPointerException is thrown if any arguments
- * are null.
- */
- public void applicationCreateValidatorNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateValidatorNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateValidatorFETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:63
- * @test_Strategy: Validate a FacesException if a Validator of the specified
- * id cannot be created.
- */
- public void applicationCreateValidatorFETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateValidatorFETest");
- invoke();
- }
-
- /**
- * @testName: applicationGetValidatorIdsTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:91
- * @test_Strategy: Validate the expected validator IDs can be found in the
- * returned Iterator.
- */
- public void applicationGetValidatorIdsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetValidatorIdsTest");
- invoke();
- }
-
- /**
- * @testName: applicationGetActionListenerTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:70
- * @test_Strategy: Validate the default ActionListener is returned.
- */
- public void applicationGetActionListenerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetActionListenerTest");
- invoke();
- }
-
- /**
- * @testName: applicationSetActionListenerTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:99
- * @test_Strategy: Validate an ActionListener can be set in the Application
- * and that Application.getActionListener() returns the same
- * ActionListener we set.
- */
- public void applicationSetActionListenerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSetActionListenerTest");
- invoke();
- }
-
- /**
- * @testName: applicationSetActionListenerNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:100
- * @test_Strategy: Validate an NPE is thrown if any arguments are null.
- */
- public void applicationSetActionListenerNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSetActionListenerNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationGetSetNavigationHandlerTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:82; JSF:JAVADOC:106
- * @test_Strategy: Ensure a NavigationHandler is returned if not previously
- * set. Ensure the same NavigationHandler that is provided to
- * Application.setNavigationHandler(NavigationHandler) is
- * returned by Application.getNavigationHandler().
- */
- public void applicationGetSetNavigationHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetSetNavigationHandlerTest");
- invoke();
- }
-
- /**
- * @testName: applicationSetNavigationHandlerNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:107
- * @test_Strategy: Validate an NPE is thrown if any arguments are null.
- */
- public void applicationSetNavigationHandlerNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSetNavigationHandlerNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateValueBindingTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:65
- * @test_Strategy: Validate a ValueBinding is returned when provided a valid
- * value reference expression.
- */
- public void applicationCreateValueBindingTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateValueBindingTest");
- invoke();
- }
-
-
- /**
- * @testName: applicationGetSetViewHandlerTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:93; JSF:JAVADOC:122
- * @test_Strategy: Ensure a that the default implementation provide that
- * performs the functions described in the StateManager
- * description in the JavaServer Faces Specification.
- */
- public void applicationGetSetViewHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetSetViewHandlerTest");
- invoke();
- }
-
- /**
- * @testName: applicationGetSetStateManagerTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:89; JSF:JAVADOC:114
- * @test_Strategy: Ensure that: - A default StateManager is provided that
- * performs the functions described in the StateManager
- * description in the JavaServer Faces Specification. - Set
- * the StateManager instance that will be utilized during the
- * Restore View and Render Response phases of the request
- * processing lifecycle.
- */
- public void applicationGetSetStateManagerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetSetStateManagerTest");
- invoke();
- }
-
- /**
- * @testName: applicationGetSetMessageBundleTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:81; JSF:JAVADOC:104
- * @test_Strategy: Ensure that the MessageBundle that is returned from the
- * Application.getMessageBundle() equals the MessageBundle
- * previous call to Application,setMessageBundle().
- */
- public void applicationGetSetMessageBundleTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetSetMessageBundleTest");
- invoke();
- }
-
- /**
- * @testName: applicationSetMessageBundleNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:105
- * @test_Strategy: Ensure that a NullPointerException is thrown when null is
- * passed in for bundle.
- */
- public void applicationSetMessageBundleNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSetMessageBundleNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationGetSetDefaultRenderKitIDTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:76; JSF:JAVADOC:103
- * @test_Strategy: Ensure that we can set and receive back the correct
- * DefaultRenderKit ID.
- */
- public void applicationGetSetDefaultRenderKitIDTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetSetDefaultRenderKitIDTest");
- invoke();
- }
-
- /**
- * @testName: applicationGetResourceBundleTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:85
- * @test_Strategy: Ensure that we are able to lookup the configured
- * ResourceBundle.
- */
- public void applicationGetResourceBundleTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetResourceBundleTest");
- invoke();
- }
-
- /**
- * @testName: applicationGetResourceBundleNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:87
- * @test_Strategy: Ensure we throw a NullPointerException if ctx == null ||
- * name == null.
- */
- public void applicationGetResourceBundleNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetResourceBundleNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationSetViewHandlerNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:124
- * @test_Strategy: Validate an NPE is thrown if any arguments are null.
- */
- public void applicationSetViewHandlerNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSetViewHandlerNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationStateManagerNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:116
- * @test_Strategy: Ensure that: - A NullPointerException is thrown if manager
- * is null.
- */
- public void applicationStateManagerNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationStateManagerNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentResNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:52
- * @test_Strategy: Ensure that: - A NullPointerException is thrown if
- * FaceContext is null. - A NullPointerException is thrown if
- * Resource is null.
- */
- public void applicationCreateComponentResNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateComponentResNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationSetGetSupportedLocalesTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:90; JSF:JAVADOC:117
- * @test_Strategy: Validate {get,set}SupportedLocales() - unsure the values
- * set are properly returned.
- */
- public void applicationSetGetSupportedLocalesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSetGetSupportedLocalesTest");
- invoke();
- }
-
- /**
- * @testName: applicationSetGetDefaultLocaleTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:75; JSF:JAVADOC:101
- * @test_Strategy: Validate Application.getDefaultLocale() returns null if
- * Locale has not been explicitly set by
- * Application.setDefaultLocale(). Then set the default Locale
- * and call getDefaultLocale() to ensure the expected value is
- * returned.
- */
- public void applicationSetGetDefaultLocaleTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSetGetDefaultLocaleTest");
- invoke();
- }
-
- /**
- * @testName: applicationSetDefaultLocaleNPETest
- * @assertion_ids: JSF:JAVADOC:102
- * @test_Strategy: Validate Application.setDefaultLocale() throws a
- * NullPointerException if a null argument is provided.
- */
- public void applicationSetDefaultLocaleNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSetDefaultLocaleNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationSetSupportedLocalesNPETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:118
- * @test_Strategy: Validate Application.setSupportedLocales() throws a
- * NullPointerException if a null argument is provided.
- */
- public void applicationSetSupportedLocalesNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSetSupportedLocalesNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationGetELContextListenersTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:78
- * @test_Strategy: Validate that we get a non null object returned.
- *
- * @since 1.2
- */
- public void applicationGetELContextListenersTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetELContextListenersTest");
- invoke();
- }
-
- /**
- * @testName: applicationGetELResolverTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:79
- * @test_Strategy: Validate a CompositeELResolver instanced is returned when
- * calling Application.getELResolver().
- * @since 1.2
- */
- public void applicationGetELResolverTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetELResolverTest");
- invoke();
- }
-
- /**
- * @testName: applicationGetExpressionFactoryTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:80
- * @test_Strategy: Validate Application.getExpressionFactory() returns an
- * instance of ExpressionFactory.
- * @since 1.2
- */
- public void applicationGetExpressionFactoryTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetExpressionFactoryTest");
- invoke();
- }
-
- /**
- * @testName: applicationEvaluationExpressionGetTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:68
- * @test_Strategy: Validate the convenience method, evaluationExpressionGet()
- * returns the expected result of a ValueExpression
- * evaluation.
- * @since 1.2
- */
- public void applicationEvaluationExpressionGetTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationEvaluationExpressionGetTest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentExpressionTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:40
- * @test_Strategy: Validate that a component can be returned from
- * createComponent when a ValueExpression is provided that
- * will resolve to a UIComponent. Additionally ensure that if
- * the ValueExpression doesn't resolve to a UIComponent, then
- * the String component ID will be used as a fallback to
- * create the component.
- * @since 1.2
- */
- public void applicationCreateComponentExpressionTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateComponentExpressionTest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentExpressionFSSTest
- * @assertion_ids: JSF:JAVADOC:44
- * @test_Strategy: Validate that a component can be returned from
- * createComponent when a ValueExpression is provided that
- * will resolve to a UIComponent. Additionally ensure that if
- * the ValueExpression doesn't resolve to a UIComponent, then
- * the String component ID will be used as a fallback to
- * create the component.
- *
- * Signature used for test:
- * createComponent(jakarta.el.ValueExpression
- * componentExpression, FacesContext context, String
- * componentType String renderer)
- *
- * @since 2.0
- */
- public void applicationCreateComponentExpressionFSSTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationCreateComponentExpressionFSSTest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentExpressionFSSNullTest
- * @assertion_ids: JSF:JAVADOC:43
- * @test_Strategy: Validate that a component can be returned from
- * createComponent when a ValueExpression is provided that
- * will resolve to a UIComponent. Additionally ensure that if
- * the ValueExpression doesn't resolve to a UIComponent, then
- * the String component ID will be used as a fallback to
- * create the component.
- *
- * Signature used for test:
- * createComponent(jakarta.el.ValueExpression
- * componentExpression, FacesContext context, String
- * componentType String renderer) <-- Must receive 'null'
- *
- * @since 2.0
- */
- public void applicationCreateComponentExpressionFSSNullTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationCreateComponentExpressionFSSTest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:42
- * @test_Strategy: Validate an NPE is thrown if any arguments are null.
- * @since 1.2
- */
- public void applicationCreateComponentExpressionNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationCreateComponentExpressionNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateComponentExpressionFSSNPETest
- * @assertion_ids: JSF:JAVADOC:45
- * @test_Strategy: Validate an NPE is thrown if any arguments are null.
- *
- * @since 2.0
- */
- public void applicationCreateComponentExpressionFSSNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationCreateComponentExpressionFSSNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationAddGetRemoveELContextListenerTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:26;JSF:JAVADOC:98
- * @test_Strategy: Ensure Application.addELContextListener(),
- * Application.getELContextListeners(), and
- * Application.removeELContextListeners() behave as expected
- * when adding and removing ELContextListener instances.
- * @since 1.2
- */
- public void applicationAddGetRemoveELContextListenerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationAddGetRemoveELContextListenerTest");
- invoke();
- }
-
- /**
- * @testName: applicationGetResourceHandlerTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:88
- * @test_Strategy: Ensure Application.getResourceHandler() returns a default
- * ResourceHandler.
- *
- * @since 2.0
- */
- public void applicationGetResourceHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetResourceHandlerTest");
- invoke();
- }
-
- /**
- * @testName: applicationSetResourceHandlerTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:111
- * @test_Strategy: Ensure Application.setResourceHandler() can set a none
- * default ResourceHandler.
- *
- * @since 2.0
- */
- public void applicationSetResourceHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSetResourceHandlerTest");
- invoke();
- }
-
- /**
- * @testName: applicationSetResourceHandlerNPETest
- * @assertion_ids: JSF:JAVADOC:113
- * @test_Strategy: Ensure Application.setResourceHandler() throws a
- * NullPointerException , if resourceHandler is null
- *
- * @since 2.0
- */
- public void applicationSetResourceHandlerNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSetResourceHandlerNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationGetProjectStageTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:83
- * @test_Strategy: Ensure Application.getProjectStage can retrieve the current
- * ProjectStage.
- *
- * @since 2.0
- */
- public void applicationGetProjectStageTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationGetProjectStageTest");
- invoke();
- }
-
- /**
- * @testName: applicationPublishEventNPETest1
- * @assertion_ids: JSF:JAVADOC:95;
- * @test_Strategy: Ensure Application.publishEvent throws a
- * NullPointerException if either systemEventClass or source
- * is null.
- *
- * Test cases: Application.publishEvent(FacesContext, class,
- * null) Application.publishEvent(FacesContext, null, source)
- * Application.publishEvent(FacesContext, null, null)
- * Application.publishEvent(null, class, source)
- * @since 2.0
- */
- public void applicationPublishEventNPETest1() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationPublishEventNPETest1");
- invoke();
- }
-
- /**
- * @testName: applicationPublishEventTest1
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:94
- * @test_Strategy: Ensure Application.publishEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test cases: Application.publishEvent(FacesContext, class,
- * source)
- * @since 2.0
- */
- public void applicationPublishEventTest1() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationPublishEventTest1");
- invoke();
- }
-
- /**
- * @testName: applicationPublishEventNPETest2
- * @assertion_ids: JSF:JAVADOC:97
- * @test_Strategy: Ensure Application.publishEvent throws a
- * NullPointerException if either systemEventClass or source
- * is null.
- *
- * Test cases: Application.publishEvent(FacesConext, class,
- * ,null, null) Application.publishEvent(FacesContext, null,
- * null, source) Application.publishEvent(FacesContext, null,
- * class, null) Application.publishEvent(null, class, class,
- * null)
- * @since 2.0
- */
- public void applicationPublishEventNPETest2() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationPublishEventNPETest2");
- invoke();
- }
-
- /**
- * @testName: applicationPublishEventTest2
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:96
- * @test_Strategy: Ensure Application.publishEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test cases: Application.publishEvent(FacesContext, class,
- * class, source)
- * @since 2.0
- */
- public void applicationPublishEventTest2() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationPublishEventTest2");
- invoke();
- }
-
- /**
- * @testName: applicationSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:125
- * @test_Strategy: Ensure Application.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test cases: Application.subscribeToEvent(systemEventClass,
- * sourceClass, listener)
- * @since 2.0
- */
- public void applicationSubscribeToEventTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSubscribeToEventTest");
- invoke();
- }
-
- /**
- * @testName: applicationSubscribeToEventNullTest
- * @assertion_ids: JSF:JAVADOC:125
- * @test_Strategy: Ensure Application.subscribeToEvent Does not throw any
- * Exceptions when called with null as sourceClass.
- *
- * Test cases: Application.subscribeToEvent(Class, null,
- * SystemEventListener)
- * @since 2.0
- */
- public void applicationSubscribeToEventNullTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSubscribeToEventNullTest");
- invoke();
- }
-
- /**
- * @testName: applicationSubscribeToEventNoSrcClassTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:127
- * @test_Strategy: Ensure Application.subscribeToEvent Does not throw any
- * Exceptions.
- *
- * Test cases: Application.subscribeToEvent(Class,
- * SystemEventListener)
- * @since 2.0
- */
- public void applicationSubscribeToEventNoSrcClassTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationSubscribeToEventNoSrcClassTest");
- invoke();
- }
-
- /**
- * @testName: applicationSubscribeToEventNoSrcClassNPETest
- * @assertion_ids: JSF:JAVADOC:128
- * @test_Strategy: Ensure Ensure Application.subscribeToEvent throws a
- * NullPointerException in any of the below test cases.
- *
- * Test cases: Application.subscribeToEvent(null, null)
- * Application.subscribeToEvent(null, SystemEventListener)
- * Application.subscribeToEvent(Class, null)
- * @since 2.0
- */
- public void applicationSubscribeToEventNoSrcClassNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationSubscribeToEventNoSrcClassNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:126
- * @test_Strategy: Ensure Application.subscribeToEvent throws a
- * NullPointerException in any of the below test cases.
- *
- * Test cases: Application.subscribeToEvent(null, null,
- * SystemEventListener) Application.subscribeToEvent(null,
- * null, null) Application.subscribeToEvent(null, Class,
- * SystemEventListener) Application.subscribeToEvent(Class,
- * null, null) Application.subscribeToEvent(Class, Class,
- * null)
- * @since 2.0
- */
- public void applicationSubscribeToEventNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationSubscribeToEventNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationUnsubscribeFromEventTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:129
- * @test_Strategy: Ensure Application.unSubscribeFromEvent Does not throw any
- * Exceptions when called.
- *
- * Test cases: Application.unsubscribeFromEvent(Class, Class
- * SystemEventListener)
- * @since 2.0
- */
- public void applicationUnsubscribeFromEventTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationUnsubscribeFromEventTest");
- invoke();
- }
-
- /**
- * @testName: applicationUnsubscribeFromEventSLTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:131
- * @test_Strategy: Ensure Application.unSubscribeFromEvent Does not throw any
- * Exceptions when called.
- *
- * Test cases: Application.unsubscribeFromEvent(Class,
- * SystemEventListener)
- * @since 2.0
- */
- public void applicationUnsubscribeFromEventSLTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationUnsubscribeFromEventSLTest");
- invoke();
- }
-
- /**
- * @testName: applicationUnsubscribeFromEventNPETest
- * @assertion_ids: JSF:JAVADOC:130; JSF:JAVADOC:132
- * @test_Strategy: Ensure Application.unsubscribeFromEvent throws a
- * NullPointerException in any of the below test cases.
- *
- * Test cases: unsubscribeFromEvent(null, SystemEventListener)
- * unsubscribeFromEvent(Class, null)
- *
- * unsubscribeFromEvent(null, Class, SystemEventListener)
- * unsubscribeFromEvent(Class, Class, null)
- * @since 2.0
- */
- public void applicationUnsubscribeFromEventNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationUnsubscribeFromEventNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationUnsubscribeFromEventNoSrcClassTest
- * @assertion_ids: JSF:JAVADOC:132
- * @test_Strategy: Ensure Application.UnsubscribeToEvent throws a
- * NullPointerException in any of the below test cases.
- *
- * Test cases: Application.unsubscribeToEvent(Class,
- * SystemEventListener)
- * @since 2.0
- */
- public void applicationUnsubscribeFromEventNoSrcClassTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationUnsubscribeFromEventNoSrcClassTest");
- invoke();
- }
-
- /**
- * @testName: applicationAddBehaviorTest
- * @assertion_ids: JSF:JAVADOC:17; JSF:JAVADOC:71
- * @test_Strategy: Ensure Application.AddBehavior does not throw an exception
- * and the correct Behavior is returned when checked with
- * Application.getBehaviorIds();
- *
- * Test cases: Application.addBehavior(String, String)
- * Application.getBehaviorIds()
- *
- * @since 2.0
- */
- public void applicationAddBehaviorTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationAddBehaviorTest");
- invoke();
- }
-
- /**
- * @testName: applicationAddBehaviorNPETest
- * @assertion_ids: JSF:JAVADOC:18
- * @test_Strategy: Ensure Application.AddBehavior throws a
- * NullPointerException in any of the below test cases.
- *
- * Test cases: Application.addBehavior(null, String)
- * Application.addBehavior(String, null)
- *
- * @since 2.0
- */
- public void applicationAddBehaviorNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationAddBehaviorNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateBehaviorTest
- * @assertion_ids: JSF:JAVADOC:31
- * @test_Strategy: Ensure Application.CreateBehavior does not throw an
- * exception and the correct Behavior is returned when checked
- * with Application.getBehaviorIds();
- *
- * Test cases: Application.createBehavior(String)
- *
- * @since 2.0
- */
- public void applicationCreateBehaviorTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateBehaviorTest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateBehaviorNPETest
- * @assertion_ids: JSF:JAVADOC:33
- * @test_Strategy: Ensure Application.AddBehavior throws a
- * NullPointerException in the below test case.
- *
- * Test cases: Application.createBehavior(null)
- *
- * @since 2.0
- */
- public void applicationCreateBehaviorNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateBehaviorNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationCreateBehaviorFETest
- * @assertion_ids: JSF:JAVADOC:32
- * @test_Strategy: If the Behavior cannot be created throw a FacesException.
- *
- * @since 2.0
- */
- public void applicationCreateBehaviorFETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationCreateBehaviorFETest");
- invoke();
- }
-
- /**
- * @testName: applicationAddDefaultValidatorIdTest
- * @assertion_ids: JSF:JAVADOC:25
- * @test_Strategy: Verify that when we set a default ValidatorId that we get
- * the same Id back.
- *
- * @since 2.0
- */
- public void applicationAddDefaultValidatorIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationAddDefaultValidatorIdTest");
- invoke();
- }
-
- /**
- * @testName: applicationAddELResolverTest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:27
- * @test_Strategy: Verify we can add an ELResolver to the application.
- *
- * @since 1.2
- */
- public void applicationAddELResolverTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationAddELResolverTest");
- invoke();
- }
-
- /**
- * @testName: applicationGetSearchExpressionHandlerTest
- * @assertion_ids: PENDING
- * @test_Strategy:
- *
- * @since 2.3
- */
- public void applicationGetSearchExpressionHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationGetSearchExpressionHandlerTest");
- invoke();
- }
-
- /**
- * @testName: applicationSetSearchExpressionHandlerTest
- * @assertion_ids: PENDING
- * @test_Strategy:
- *
- * @since 2.3
- */
- public void applicationSetSearchExpressionHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationSetSearchExpressionHandlerTest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/build.xml
deleted file mode 100644
index c7ab915b7a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/build.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/faces-config.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/faces-config.xml
deleted file mode 100644
index c2294e8964..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/faces-config.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
- A simple resource bundle
- SimpleResourceBundle
-
- com.sun.ts.tests.jsf.common.resourcebundle.SimpleResourceBundle
-
- simpleRB
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/jsf_appl_application_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/jsf_appl_application_web.war.sun-web.xml
deleted file mode 100644
index 1b30890c28..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/jsf_appl_application_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_application_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/jsf_appl_application_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/jsf_appl_application_web.xml
deleted file mode 100644
index 148742cdf1..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/application/jsf_appl_application_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.application.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/TestServlet.java
deleted file mode 100644
index 601153fa82..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/TestServlet.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.applicationISE;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.common.resolver.TCKELResolver;
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.statemanager.TCKStateManager;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-import com.sun.ts.tests.jsf.common.viewhandler.TCKViewHandler;
-
-import jakarta.el.ELResolver;
-import jakarta.faces.application.Application;
-import jakarta.faces.application.ResourceHandler;
-import jakarta.faces.application.StateManager;
-import jakarta.faces.application.ViewHandler;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- config.getServletContext();
- }
-
- public void applicationAddELResolverISETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- Application application = getApplication();
-
- JSFTestUtil.checkForISE(application, "addELResolver",
- new Class>[] { ELResolver.class },
- new Object[] { new TCKELResolver() }, out);
-
- }
-
- // Test for Application.setResourceHandler() throws IllegalStateException
- public void applicationSetResourceHandlerISETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- Application application = getApplication();
-
- JSFTestUtil.checkForISE(application, "setResourceHandler",
- new Class>[] { ResourceHandler.class },
- new Object[] { application.getResourceHandler() }, out);
-
- }
-
- // Test for Application.setStateManager() throws IllegalStateException
- public void applicationSetStateManagerISETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- Application application = getApplication();
-
-
- JSFTestUtil.checkForISE(application, "setStateManager",
- new Class>[] { StateManager.class },
- new Object[] { new TCKStateManager(application.getStateManager()) }, out);
- }
-
- // Test for Application.setViewHandler() throws IllegalStateException
- public void applicationSetViewHandlerISETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- JSFTestUtil.checkForISE(application, "setViewHandler",
- new Class>[] { ViewHandler.class },
- new Object[] { new TCKViewHandler() }, out);
-
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/URLClient.java
deleted file mode 100644
index fc0d370e93..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/URLClient.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.applicationISE;
-
-import java.io.PrintWriter;
-import java.net.URL;
-
-import com.gargoylesoftware.htmlunit.WebClient;
-import com.gargoylesoftware.htmlunit.html.HtmlPage;
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_applicationISE_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /**
- * @testName: applicationAddELResolverISETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:2514
- * @test_Strategy: Ensure an IllegalStateException is thrown if
- * addELResolver() is called after the application has been
- * initialized.
- * @since 1.2
- */
- public void applicationAddELResolverISETest() throws Fault {
- // Make Client Call before running the test.
- String clientside = "/faces/applicationtest.xhtml";
- this.getPage(new WebClient(),
- "http://" + _hostname + ":" + _port + CONTEXT_ROOT + clientside);
-
- TEST_PROPS.setProperty(APITEST, "applicationAddELResolverISETest");
- invoke();
- }
-
- /**
- * @testName: applicationSetResourceHandlerISETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:112
- * @test_Strategy: Ensure an IllegalStateException is thrown if
- * setResourceHandler() is called after the application has
- * received a request.
- *
- * @since 2.0
- */
- public void applicationSetResourceHandlerISETest() throws Fault {
- // Make Client Call before running the test.
- String clientside = "/faces/applicationtest.xhtml";
- this.getPage(new WebClient(),
- "http://" + _hostname + ":" + _port + CONTEXT_ROOT + clientside);
-
- TEST_PROPS.setProperty(APITEST, "applicationSetResourceHandlerISETest");
- invoke();
- }
-
- /**
- * @testName: applicationSetStateManagerISETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:115
- * @test_Strategy: Ensure an IllegalStateException is thrown if
- * setStatemanager() is called after the application has
- * received a request.
- *
- * @since 2.0
- */
- public void applicationSetStateManagerISETest() throws Fault {
- // Make Client Call before running the test.
- String clientside = "/faces/applicationtest.xhtml";
- this.getPage(new WebClient(),
- "http://" + _hostname + ":" + _port + CONTEXT_ROOT + clientside);
-
- TEST_PROPS.setProperty(APITEST, "applicationSetStateManagerISETest");
- invoke();
- }
-
- /**
- * @testName: applicationSetViewHandlerISETest
- * @assertion_ids: JSF:JAVADOC:30; JSF:JAVADOC:123
- * @test_Strategy: Ensure an IllegalStateException is thrown if
- * setViewHandler() is called after the application has
- * received a request.
- *
- * @since 2.0
- */
- public void applicationSetViewHandlerISETest() throws Fault {
- // Make Client Call before running the test.
- String clientside = "/faces/applicationtest.xhtml";
- this.getPage(new WebClient(),
- "http://" + _hostname + ":" + _port + CONTEXT_ROOT + clientside);
-
- TEST_PROPS.setProperty(APITEST, "applicationSetViewHandlerISETest");
- invoke();
- }
-
- // ----------------------------- Private/Protected Methods
- // ----------------------
-
- protected HtmlPage getPage(WebClient client, String path) throws Fault {
-
- try {
- return (HtmlPage) client.getPage(new URL(path));
- } catch (Exception e) {
- throw new Fault(e);
- }
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/build.xml
deleted file mode 100644
index 92180913a0..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/build.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/jsf_appl_application_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/jsf_appl_application_web.war.sun-web.xml
deleted file mode 100644
index 85ab0249ef..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/jsf_appl_application_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_applicationISE_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/jsf_appl_application_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/jsf_appl_application_web.xml
deleted file mode 100644
index f260cf09d8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationISE/jsf_appl_application_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.applicationISE.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/TestServlet.java
deleted file mode 100644
index 8fae0f09be..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/TestServlet.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.applicationWrapperISE;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.common.resolver.TCKELResolver;
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.statemanager.TCKStateManager;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-import com.sun.ts.tests.jsf.common.viewhandler.TCKViewHandler;
-
-import jakarta.el.ELResolver;
-import jakarta.faces.application.Application;
-import jakarta.faces.application.ApplicationWrapper;
-import jakarta.faces.application.ResourceHandler;
-import jakarta.faces.application.StateManager;
-import jakarta.faces.application.ViewHandler;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- config.getServletContext();
- }
-
- public void applicationWrapperAddELResolverISETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = new TCKAppWrapper().getWrapped();
-
- JSFTestUtil.checkForISE(application, "addELResolver",
- new Class>[] { ELResolver.class },
- new Object[] { new TCKELResolver() }, out);
-
- }
-
- // Test for ApplicationWrapper.setResourceHandler() throws
- // IllegalStateException
- public void applicationWrapperSetResourceHandlerISETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = new TCKAppWrapper().getWrapped();
-
- JSFTestUtil.checkForISE(application, "setResourceHandler",
- new Class>[] { ResourceHandler.class },
- new Object[] { application.getResourceHandler() }, out);
- }
-
- // Test for ApplicationWrapper.setStateManager() throws
- // IllegalStateException
- public void applicationWrapperSetStateManagerISETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = new TCKAppWrapper().getWrapped();
-
- JSFTestUtil.checkForISE(application, "setStateManager",
- new Class>[] { StateManager.class },
- new Object[] { new TCKStateManager(application.getStateManager()) }, out);
- }
-
- public void applicationWrapperSetViewHandlerISETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = new TCKAppWrapper().getWrapped();
-
- JSFTestUtil.checkForISE(application, "setViewHandler",
- new Class>[] { ViewHandler.class },
- new Object[] { new TCKViewHandler() }, out);
-
- }
-
- // ------------------------ Private Implementations ------------------------
-
- private class TCKAppWrapper extends ApplicationWrapper {
-
- @Override
- public Application getWrapped() {
- return getApplication();
- }
-
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/URLClient.java
deleted file mode 100644
index c6f45d62be..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/URLClient.java
+++ /dev/null
@@ -1,140 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.applicationWrapperISE;
-
-import java.io.PrintWriter;
-import java.net.URL;
-
-import com.gargoylesoftware.htmlunit.WebClient;
-import com.gargoylesoftware.htmlunit.html.HtmlPage;
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_applicationWrapperISE_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /**
- * @testName: applicationWrapperAddELResolverISETest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:2678
- * @test_Strategy: Ensure an IllegalStateException is thrown if
- * addELResolver() is called after the application has been
- * initialized.
- * @since 1.2
- */
- public void applicationWrapperAddELResolverISETest() throws Fault {
- // Make Client Call before running the test.
- String clientside = "/faces/applicationtest.xhtml";
- this.getPage(new WebClient(),
- "http://" + _hostname + ":" + _port + CONTEXT_ROOT + clientside);
-
- TEST_PROPS.setProperty(APITEST, "applicationWrapperAddELResolverISETest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperSetResourceHandlerISETest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:2679
- * @test_Strategy: Ensure an IllegalStateException is thrown if
- * setResourceHandler() is called after the application has
- * received a request.
- *
- * @since 2.0
- */
- public void applicationWrapperSetResourceHandlerISETest() throws Fault {
- // Make Client Call before running the test.
- String clientside = "/faces/applicationtest.xhtml";
- this.getPage(new WebClient(),
- "http://" + _hostname + ":" + _port + CONTEXT_ROOT + clientside);
-
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperSetResourceHandlerISETest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperSetStateManagerISETest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:2680
- * @test_Strategy: Ensure an IllegalStateException is thrown if
- * setStatemanager() is called after the application has
- * received a request.
- *
- * @since 2.0
- */
- public void applicationWrapperSetStateManagerISETest() throws Fault {
- // Make Client Call before running the test.
- String clientside = "/faces/applicationtest.xhtml";
- this.getPage(new WebClient(),
- "http://" + _hostname + ":" + _port + CONTEXT_ROOT + clientside);
-
- TEST_PROPS.setProperty(APITEST, "applicationWrapperSetStateManagerISETest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperSetViewHandlerISETest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:2683
- * @test_Strategy: Ensure an IllegalStateException is thrown if
- * setViewHandler() is called after the application has
- * received a request.
- *
- * @since 2.0
- */
- public void applicationWrapperSetViewHandlerISETest() throws Fault {
- // Make Client Call before running the test.
- String clientside = "/faces/applicationtest.xhtml";
- this.getPage(new WebClient(),
- "http://" + _hostname + ":" + _port + CONTEXT_ROOT + clientside);
-
- TEST_PROPS.setProperty(APITEST, "applicationWrapperSetViewHandlerISETest");
- invoke();
- }
-
- // ----------------------------- Private/Protected Methods
- // ----------------------
-
- protected HtmlPage getPage(WebClient client, String path) throws Fault {
-
- try {
- return (HtmlPage) client.getPage(new URL(path));
- } catch (Exception e) {
- throw new Fault(e);
- }
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/build.xml
deleted file mode 100644
index 9c074b5884..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/build.xml
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/jsf_appl_applicationWrapper_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/jsf_appl_applicationWrapper_web.war.sun-web.xml
deleted file mode 100644
index 51dcda7349..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/jsf_appl_applicationWrapper_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_applicationWrapperISE_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/jsf_appl_applicationWrapper_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/jsf_appl_applicationWrapper_web.xml
deleted file mode 100644
index d24237a3d3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationWrapperISE/jsf_appl_applicationWrapper_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_applicationWrapper
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.applicationWrapperISE.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/TestServlet.java
deleted file mode 100644
index 3820ce33ad..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/TestServlet.java
+++ /dev/null
@@ -1,374 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.applicationfactory;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.Locale;
-import java.util.ResourceBundle;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.el.ELContextListener;
-import jakarta.el.ELException;
-import jakarta.el.ELResolver;
-import jakarta.el.ExpressionFactory;
-import jakarta.el.ValueExpression;
-import jakarta.faces.FacesException;
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.application.Application;
-import jakarta.faces.application.ApplicationFactory;
-import jakarta.faces.application.NavigationHandler;
-import jakarta.faces.application.StateManager;
-import jakarta.faces.application.ViewHandler;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.behavior.Behavior;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.convert.Converter;
-import jakarta.el.MethodExpression;
-import jakarta.el.ELException;
-import jakarta.el.ValueExpression;
-import jakarta.faces.event.ActionListener;
-import jakarta.faces.event.SystemEvent;
-import jakarta.faces.event.SystemEventListenerHolder;
-import jakarta.faces.validator.Validator;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- // ApplicationFactory.getApplication()
- // ApplicationFactory.setApplication(Application)
- public void applicationFactoryGetSetApplicationTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationFactory factory = (ApplicationFactory) FactoryFinder
- .getFactory(FactoryFinder.APPLICATION_FACTORY);
-
- if (factory == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ApplicationFactory!");
- return;
- }
-
- Application originalApplication = factory.getApplication();
- FacesContext context = getFacesContext();
-
- /*
- * since there is only one Application instance per webapp, the application
- * returned by the factory should be the same as that returned by
- * FacesContext.getApplication().
- */
- if (originalApplication != context.getApplication()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ApplicationFactory returned a different Application "
- + "instance then what is returned by "
- + "FacesContext.getApplication(). "
- + "There should only be on Application per webapp" + JSFTestUtil.NL
- + "Application instance from " + "ApplicationFactory: "
- + originalApplication + JSFTestUtil.NL
- + "Application instance from FacesContext: "
- + context.getApplication());
- return;
- }
-
- Application tckApplication = new TCKApplication();
-
- factory.setApplication(tckApplication);
-
- Application retApplication = factory.getApplication();
-
- if (!retApplication.equals(tckApplication)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ApplicationFactory.getApplication() "
- + "didn't return the Application previously set via "
- + "ApplicationFactory.setApplication(Application)." + JSFTestUtil.NL
- + "Expected Application: " + tckApplication + JSFTestUtil.NL
- + "Application received: " + retApplication);
- return;
- }
- factory.setApplication(originalApplication);
- out.println(JSFTestUtil.PASS);
- }
-
- public void applicationFactorySetApplicationNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationFactory factory = (ApplicationFactory) FactoryFinder
- .getFactory(FactoryFinder.APPLICATION_FACTORY);
-
- if (factory == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ApplicationFactory!");
- return;
- }
-
- // ApplicationFactory.setApplication(null)
- JSFTestUtil.checkForNPE(factory, "setApplication",
- new Class>[] { Application.class }, new Object[] { null }, out);
-
- }
-
- public void applicationFactoryGetWrappedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ApplicationFactory factory = (ApplicationFactory) FactoryFinder
- .getFactory(FactoryFinder.APPLICATION_FACTORY);
-
- if (!(factory.getWrapped() instanceof ApplicationFactory
- || factory.getWrapped() == null)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ApplicationFactpry.getWrapped() did not "
- + "return an instance of 'ApplicationFactory' or null");
- return;
- }
-
- out.println("Test PASSED.");
-
- }
-
- // --------------------------------------------- private implementations
- private static class TCKApplication extends Application {
-
- @Override
- public StateManager getStateManager() {
- return null;
- }
-
- @Override
- public ResourceBundle getResourceBundle(FacesContext facesContext,
- String string) {
- return null;
- }
-
- @Override
- public void addELResolver(ELResolver resolver) {
- // do nothing
- }
-
- @Override
- public ELResolver getELResolver() {
- return null;
- }
-
- @Override
- public UIComponent createComponent(ValueExpression componentExpression,
- FacesContext context, String componentType) throws FacesException {
- return null;
- }
-
- @Override
- public ExpressionFactory getExpressionFactory() {
- return null;
- }
-
- @Override
- public Object evaluateExpressionGet(FacesContext context, String expression,
- Class expectedType) throws ELException {
- return null;
- }
-
- @Override
- public void addELContextListener(ELContextListener listener) {
- // do nothing
- }
-
- @Override
- public void removeELContextListener(ELContextListener listener) {
- // do nothing
- }
-
- @Override
- public ELContextListener[] getELContextListeners() {
- return new ELContextListener[0];
- }
-
- @Override
- public void setStateManager(StateManager manager) {
- // do nothing
- }
-
- public MethodExpression createMethodExpression(String ref, Class params[])
- throws ELException {
- return null;
- }
-
- public ValueExpression createValueExpression(String ref)
- throws ELException {
- return null;
- }
-
- @Override
- public void setMessageBundle(String messageBundle) {
- // do nothing
- }
-
- @Override
- public String getMessageBundle() {
- return null;
- }
-
- @Override
- public Iterator getSupportedLocales() {
- return null;
- }
-
- @Override
- public void setSupportedLocales(Collection newLocales) {
- // do nothing
- }
-
- @Override
- public Locale getDefaultLocale() {
- return null;
- }
-
- @Override
- public void setDefaultLocale(Locale newLocale) {
- // do nothing
- }
-
- @Override
- public void addConverter(String converterId, String converterClass) {
- // do nothing
- }
-
- @Override
- public Iterator getConverterIds() {
- return null;
- }
-
- @Override
- public Iterator getConverterTypes() {
- return null;
- }
-
- @Override
- public ActionListener getActionListener() {
- return null;
- }
-
- @Override
- public void addConverter(Class targetClass, String converterClass) {
- // do nothing
- }
-
- @Override
- public void addComponent(String componentType, String componentClass) {
- // do nothing
- }
-
- @Override
- public UIComponent createComponent(String componentType)
- throws FacesException {
- return null;
- }
-
- @Override
- public void addValidator(String validatorId, String validatorClass) {
- // do nothing
- }
-
- @Override
- public Validator createValidator(String validatorId) throws FacesException {
- return null;
- }
-
- @Override
- public void setNavigationHandler(NavigationHandler handler) {
- // do nothing
- }
-
- public Converter createConverter(Class targetClass) {
- return null;
- }
-
- public ViewHandler getViewHandler() {
- return null;
- }
-
- @Override
- public Iterator getValidatorIds() {
- return null;
- }
-
- @Override
- public Converter createConverter(String converterId) {
- return null;
- }
-
- @Override
- public void setViewHandler(ViewHandler handler) {
- // do nothing
- }
-
- @Override
- public void setActionListener(ActionListener listener) {
- // do nothing
- }
-
- @Override
- public NavigationHandler getNavigationHandler() {
- return null;
- }
-
- @Override
- public Iterator getComponentTypes() {
- return null;
- }
-
- @Override
- public String getDefaultRenderKitId() {
- return null;
- }
-
- @Override
- public void setDefaultRenderKitId(String renderKitId) {
- // do nothing
- }
-
- public void publishEvent(Class extends SystemEvent> arg0,
- SystemEventListenerHolder arg1) {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public void addBehavior(String arg0, String arg1) {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public Behavior createBehavior(String arg0) throws FacesException {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public Iterator getBehaviorIds() {
- throw new UnsupportedOperationException("Not supported yet.");
- }
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/URLClient.java
deleted file mode 100644
index 91fb63d9ba..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/URLClient.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.applicationfactory;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_applfactory_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: applicationFactoryGetSetApplicationTest
- * @assertion_ids: JSF:JAVADOC:133; JSF:JAVADOC:134; JSF:JAVADOC:136
- * @test_Strategy: Validate Application instances can be obtained and set via
- * an ApplicationFactory instance.
- */
- public void applicationFactoryGetSetApplicationTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationFactoryGetSetApplicationTest");
- invoke();
- }
-
- /**
- * @testName: applicationFactorySetApplicationNPETest
- * @assertion_ids: JSF:JAVADOC:133; JSF:JAVADOC:137
- * @test_Strategy: Validate ApplicationFactory.setApplication(Application)
- * throws NPE when argument is null.
- */
- public void applicationFactorySetApplicationNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationFactorySetApplicationNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationFactoryGetWrappedTest
- * @assertion_ids: JSF:JAVADOC:133; JSF:JAVADOC:135
- * @test_Strategy: Validate ApplicationFactory.setApplication(Application)
- * throws NPE when argument is null.
- */
- public void applicationFactoryGetWrappedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationFactoryGetWrappedTest");
- invoke();
- }
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/build.xml
deleted file mode 100644
index 43bbe9e608..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/build.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/jsf_appl_applfactory_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/jsf_appl_applfactory_web.war.sun-web.xml
deleted file mode 100644
index 3cd769fe8e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/jsf_appl_applfactory_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_applfactory_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/jsf_appl_applfactory_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/jsf_appl_applfactory_web.xml
deleted file mode 100644
index d44a0d98ce..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationfactory/jsf_appl_applfactory_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application_applfactory
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.applicationfactory.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/TestServlet.java
deleted file mode 100644
index d8eeb66310..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/TestServlet.java
+++ /dev/null
@@ -1,1766 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.applicationwrapper;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Locale;
-import java.util.Map;
-import java.util.ResourceBundle;
-
-import com.sun.ts.tests.jsf.common.beans.TestBean;
-import com.sun.ts.tests.jsf.common.behavior.TCKBehavior;
-import com.sun.ts.tests.jsf.common.event.TCKSystemEvent;
-import com.sun.ts.tests.jsf.common.listener.TCKActionListener;
-import com.sun.ts.tests.jsf.common.listener.TCKELContextListener;
-import com.sun.ts.tests.jsf.common.listener.TCKSystemEventListener;
-import com.sun.ts.tests.jsf.common.navigation.TCKNavigationHandler;
-import com.sun.ts.tests.jsf.common.resolver.TCKELResolver;
-import com.sun.ts.tests.jsf.common.resourcehandler.TCKResourceHandler;
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.statemanager.TCKStateManager;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-import com.sun.ts.tests.jsf.common.viewhandler.TCKViewHandler;
-
-import jakarta.el.CompositeELResolver;
-import jakarta.el.ELContext;
-import jakarta.el.ELContextListener;
-import jakarta.el.ELResolver;
-import jakarta.el.ExpressionFactory;
-import jakarta.el.ValueExpression;
-import jakarta.faces.FacesException;
-import jakarta.faces.application.Application;
-import jakarta.faces.application.ApplicationWrapper;
-import jakarta.faces.application.NavigationHandler;
-import jakarta.faces.application.ResourceHandler;
-import jakarta.faces.application.StateManager;
-import jakarta.faces.application.ViewHandler;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.convert.BooleanConverter;
-import jakarta.el.MethodExpression;
-import jakarta.el.ELException;
-import jakarta.el.ValueExpression;
-import jakarta.faces.event.ActionListener;
-import jakarta.faces.event.SystemEvent;
-import jakarta.faces.event.SystemEventListener;
-import jakarta.faces.validator.BeanValidator;
-import jakarta.faces.validator.LengthValidator;
-import jakarta.faces.validator.Validator;
-import jakarta.servlet.GenericServlet;
-import jakarta.servlet.Servlet;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServlet;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-import jakarta.servlet.jsp.JspFactory;
-
-public class TestServlet extends HttpTCKServlet {
-
- /*
- * private indicators that a test has previously passed. this is necessary if
- * a test is run multiple times without reloading the application
- */
- private ServletContext servletContext;
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- servletContext = config.getServletContext();
- }
-
- // ApplicationWrapper.addComponent(String, String)
- public void applicationWrapperAddComponentTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper application = new TCKApplication();
-
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
-
- // should now be able to create the TCKComponent component
- UIOutput output = (UIOutput) application.createComponent("TCKComponent");
-
- if (output == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to create component 'TCKComponent' after "
- + "adding a mapping to the Application instance.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ApplicationWrapper.createComponent(String)
- public void applicationWrapperCreateComponentTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ApplicationWrapper application = new TCKApplication();
-
- application.addComponent("TCKComponent", "jakarta.faces.component.UIOutput");
- UIOutput output = (UIOutput) application.createComponent("TCKComponent");
-
- if (output == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to create component TCKComponent!" + JSFTestUtil.NL
- + "Using Application.createComponent(String)");
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // ApplicationWrapper.createComponent(FacesContext, String, 'null')
- public void applicationWrapperCreateComponentFSSNullTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- applicationWrapper.addComponent("TCKComponent",
- "jakarta.faces.component.UIOutput");
- try {
- applicationWrapper.createComponent(context, "TCKComponent", null);
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to create component 'TCKComponent'" + JSFTestUtil.NL
- + "Using Application.createComponent(FacesContext, "
- + "String, 'null')");
-
- out.println(e.toString());
- }
-
- }
-
- // Application.createComponent(FacesContext, String, String)
- public void applicationWrapperCreateComponentFSSTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- applicationWrapper.addComponent("TCKComponent",
- "jakarta.faces.component.UIOutput");
- try {
- applicationWrapper.createComponent(context, "TCKComponent",
- "TCKRenderer");
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + " Unable to create component "
- + "'TCKComponent'" + JSFTestUtil.NL
- + "Using Application.createComponent(FacesContext, "
- + "String, String)");
-
- out.println(e.toString());
- }
-
- }
-
- // Application.createComponent(ValueBinding, FacesContext, String)
- public void applicationWrapperCreateComponentBindingTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- ApplicationWrapper applicationWrapper = new TCKApplication();
- ELContext elcontext = context.getELContext();
-
- request.setAttribute("TestBean", new TestBean());
- applicationWrapper.addComponent("TCKComponent",
- "jakarta.faces.component.UIOutput");
-
- ExpressionFactory ef = applicationWrapper.getExpressionFactory();
- ValueExpression binding = ef.createValueExpression(elcontext,
- "#{TestBean.component}", UIComponent.class);
-
- // ensures failure if the value binding lookup fails
- UIInput input = (UIInput) applicationWrapper.createComponent(binding,
- context, "TCKComponent");
-
- if (input == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueBinding, "
- + "FacesContext, String) returned null when using a "
- + "valid valueBinding.");
- return;
- }
-
- /*
- * Next validate that if the ValueBinding doesn't return a UIComponent
- * instance, then create the component based on the identifier.
- */
- TestBean bean = (TestBean) request.getAttribute("TestBean");
- bean.setComponent(null);
-
- UIOutput output = (UIOutput) applicationWrapper.createComponent(binding,
- getFacesContext(), "TCKComponent");
- if (output == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueBinding, "
- + "FacesContext, String) returned null when falling back to the "
- + "component identifier to create the component.");
-
- return;
- }
-
- /*
- * Since the ValueBinding evaluated to null, a new component has been
- * created (see above), the createComponent() implementation in this case
- * must call setValue() with the newly created component instance. We should
- * be able to call getComponent() on the bean to verify.
- */
- UIOutput result = (UIOutput) bean.getComponent();
- if (result == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueBinding, "
- + "FacesContext, String) didn't call setValue() on the "
- + "ValueBinding passed when creating a new fallback "
- + "component in the case the ValueBinding returned null."
- + JSFTestUtil.NL + "Expected a return of UIOutput, "
- + "but received a null value.");
-
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Application.getComponentTypes();
- public void applicationWrapperGetComponentTypesTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- applicationWrapper.addComponent("TCKComponent",
- "jakarta.faces.component.UIOutput");
- applicationWrapper.addComponent("TCKBadComponent",
- "jakarta.faces.component.base.UIOutputBase");
-
- Iterator> i = applicationWrapper.getComponentTypes();
- if (i == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getComponentTypes() returned null.");
- return;
- }
-
- // check the iterator for the entries we've added for testing
- if (!(JSFTestUtil.checkIterator(i,
- new String[] { "TCKComponent", "TCKBadComponent" }, false, true))) {
-
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + " Unable to find either both or one of the following "
- + "component entires: 'TCKComponent', 'TCKBadComponent' in "
- + "the Iterator returned by Application.getComponentEntries."
- + JSFTestUtil.NL + "Entries returned: "
- + JSFTestUtil.getAsString(applicationWrapper.getComponentTypes()));
-
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Application.addConverter(String, String)
- // Application.createConverter(String)
- public void applicationWrapperAddCreateConverterByStringTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- applicationWrapper.addConverter("TCKConverter",
- "jakarta.faces.convert.BooleanConverter");
- BooleanConverter converter;
-
- try {
- converter = (BooleanConverter) applicationWrapper
- .createConverter("TCKConverter");
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Exception thrown when creating converter.");
- e.printStackTrace();
- return;
- }
-
- if (converter == null) {
- out.println(
- JSFTestUtil.FAIL + "Application.createConverter(String) returned "
- + "null for valid converter added via "
- + "Application.addConverter(String, String).");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Application.addConverter (Class, String)
- // Application.createConverter(Class)
- public void applicationWrapperAddCreateConverterByClassTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- /*
- * Doens't make much sense, but we're only testing the mapping and creation
- * not if the value can be converted
- */
- applicationWrapper.addConverter(Servlet.class,
- "jakarta.faces.convert.BooleanConverter");
-
- /*
- * first find see if the implementation reruns the BooleanConverter for this
- * class
- */
- BooleanConverter converter;
- try {
- converter = (BooleanConverter) applicationWrapper
- .createConverter(this.getClass());
- if (converter == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createConverter(Class) returned null "
- + "when attempting to find a converter via an " + "Interface.");
- return;
- }
-
- applicationWrapper.addConverter(GenericServlet.class,
- "jakarta.faces.convert.BooleanConverter");
- converter = (BooleanConverter) applicationWrapper
- .createConverter(this.getClass());
-
- if (converter == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createConverter(Class) returned null "
- + "when attempting to find the converter via a " + "super class.");
- return;
- }
-
- applicationWrapper.addConverter(HttpServlet.class,
- "jakarta.faces.convert.BooleanConverter");
- converter = (BooleanConverter) applicationWrapper
- .createConverter(this.getClass());
-
- if (converter == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createConverter(Class) returned null "
- + "when attempting to find the converter via a super " + "class.");
- return;
- }
-
- applicationWrapper.addConverter(this.getClass(),
- "jakarta.faces.convert.BooleanConverter");
- converter = (BooleanConverter) applicationWrapper
- .createConverter(this.getClass());
-
- if (converter == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createConverter(Class) returned null "
- + "when class passed was the same that was used for "
- + "the addConverter(Class, String) call.");
- return;
- }
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Exception thrown when creating converter." + JSFTestUtil.NL);
- e.printStackTrace();
- }
- }
-
- // Application.getConverterIds()
- public void applicationWrapperGetConverterIdsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- applicationWrapper.addConverter("TCKConverter",
- "jakarta.faces.conver.BooleanConverter");
-
- Iterator i = applicationWrapper.getConverterIds();
- if (i == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getConverterIds() returned null.");
- return;
- }
-
- if (!(JSFTestUtil.checkIterator(i, new String[] { "TCKConverter" }, false,
- true))) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to find converter id 'TCKConverter' in returned "
- + "Iterator.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Application.getConverterTypes()
- public void applicationWrapperGetConverterTypesTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- applicationWrapper.addConverter(this.getClass(),
- "jakarta.faces.convert.BooleanConverter");
-
- Iterator> i = applicationWrapper.getConverterTypes();
- if (i == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getConverterIds() returned null.");
- return;
- }
-
- boolean found = false;
- while (i.hasNext()) {
- Class> c = (Class>) i.next();
- if (c.equals(this.getClass())) {
- found = true;
- break;
- }
- }
-
- if (!found) {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Unable to find converter class '"
- + this.getClass().getName() + "' in " + "returned Iterator.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Application.addValidator(String, String)
- // Application.createValidator(String)
- public void applicationWrapperAddCreateValidatorTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- applicationWrapper.addValidator("TCKValidator",
- "jakarta.faces.validator.LengthValidator");
- try {
- Validator validator = applicationWrapper.createValidator("TCKValidator");
-
- if (validator == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createValidator(String) returned null "
- + "when provided a valid id.");
- return;
- }
-
- if (!(validator instanceof LengthValidator)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Validator returned was not instance of " + "LengthValidator."
- + JSFTestUtil.NL + "Validator type received: "
- + validator.getClass().getName());
-
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Exception thrown when creating converter." + JSFTestUtil.NL);
- e.printStackTrace();
- }
- }
-
- // Application.getValidatorIds()
- public void applicationWrapperGetValidatorIdsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- applicationWrapper.addValidator("TCKValidator",
- "jakarta.faces.validator.LengthValidator");
-
- Iterator i = applicationWrapper.getValidatorIds();
- if (i == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getValidatorIds() returned null.");
- return;
- }
-
- if (!(JSFTestUtil.checkIterator(i, new String[] { "TCKValidator" }, false,
- true))) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to find validator id 'TCKValidator' in the "
- + "Iterator returned by Application.getValidatorIds().");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Application.getActionListener()
- public void applicationWrapperGetActionListenerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- ActionListener defaultListener = applicationWrapper.getActionListener();
- if (defaultListener == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getActionListener() returned null.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Application.setActionListener(ActionListener)
- public void applicationWrapperSetActionListenerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
- ActionListener origListener = applicationWrapper.getActionListener();
- ActionListener tckActionListener = new TCKActionListener();
-
- try {
- applicationWrapper.setActionListener(tckActionListener);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Exception thrown when creating converter.");
- e.printStackTrace();
- return;
- }
-
- ActionListener listener = applicationWrapper.getActionListener();
- if (listener == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getActionListener() returned null after "
- + "calling Application.setActionListener(ActionListener).");
- return;
- }
-
- if (!listener.equals(tckActionListener)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "TCKActionListener not returned by "
- + "Application.getActionListener() as expected." + JSFTestUtil.NL
- + "ActionListener type: " + listener.getClass().getName());
- }
-
- out.println(JSFTestUtil.PASS);
-
- // restore original listener
- applicationWrapper.setActionListener(origListener);
- }
-
- // Application.getNavigationHandler();
- // Application.setNavigationHandler(ViewHandler);
- public void applicationWrapperGetSetNavigationHandlerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
- NavigationHandler handler = applicationWrapper.getNavigationHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getNavigationHandler() returned null.");
- return;
- }
-
- NavigationHandler tckNavigationHandler = new TCKNavigationHandler();
- applicationWrapper.setNavigationHandler(tckNavigationHandler);
- NavigationHandler newNavigationHandler = applicationWrapper
- .getNavigationHandler();
-
- if (newNavigationHandler == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getNavigationHandler() returned null "
- + "after calling"
- + "Application.setNavigationHandler(NavigationHandler).");
- return;
- }
-
- if (!newNavigationHandler.equals(tckNavigationHandler)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getNavigationHandler() didn't return "
- + "the expected NavigationHandler.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- // restore original handler
- applicationWrapper.setNavigationHandler(handler);
- }
-
- // ApplicationWrapper.createValidator(String) throws FacesException
- public void applicationWrapperCreateValidatorFETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application applicationWrapper = new TCKApplication().getWrapped();
-
- try {
- applicationWrapper.createValidator("Bogus");
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + " Expected a FacesException to be thrown"
- + " when Validator could not be cunstructed.");
-
- } catch (FacesException fe) {
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Unexpected Exception thrown."
- + JSFTestUtil.NL + "Expected: FacesException" + JSFTestUtil.NL
- + "Recieved: " + e.getClass().getSimpleName());
- e.printStackTrace();
- }
-
- }
-
- // Application.getViewHandler()
- // Application.setViewHandler(ViewHandler)
- public void applicationWrapperGetSetViewHandlerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
- ViewHandler origHandler = applicationWrapper.getViewHandler();
-
- if (origHandler == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getViewHandler() returned null.");
- return;
- }
-
- ViewHandler tckHandler = new TCKViewHandler();
- applicationWrapper.setViewHandler(tckHandler);
- ViewHandler resolver = applicationWrapper.getViewHandler();
-
- if (resolver == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getViewHandler() returned null after "
- + "calling Application.setViewHandler() with a new "
- + "ViewHandler instance.");
- return;
- }
-
- if (!resolver.equals(tckHandler)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getViewHandler didn't return the expected"
- + " ViewHandler.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- // restore the original handler
- applicationWrapper.setViewHandler(origHandler);
- }
-
- public void applicationWrapperSetGetDefaultLocaleTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- if (applicationWrapper.getDefaultLocale() != null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected Application.getDefaultLocale() "
- + "to return null if the default locale has not "
- + "been explicitly set by a call to "
- + "Application.setDefaultLocale(Locale).");
- return;
- }
-
- applicationWrapper.setDefaultLocale(Locale.US);
-
- if (!Locale.US.equals(applicationWrapper.getDefaultLocale())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected Application.getDefaultLocale()"
- + "to return Locale.US as set via call to Application."
- + "setDefaultLocale()." + JSFTestUtil.NL + "Localed received: "
- + applicationWrapper.getDefaultLocale());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void applicationWrapperSetGetSupportedLocalesTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- Collection collection = new ArrayList();
- collection.add(Locale.ENGLISH);
- collection.add(Locale.FRENCH);
- collection.add(Locale.GERMAN);
-
- applicationWrapper.setSupportedLocales(collection);
-
- Locale[] locales = { Locale.ENGLISH, Locale.FRENCH, Locale.GERMAN };
- List retLocales = new ArrayList();
- for (Iterator i = applicationWrapper.getSupportedLocales(); i
- .hasNext();) {
- retLocales.add(i.next());
- }
-
- Locale[] returnedLocales = (Locale[]) retLocales
- .toArray(new Locale[retLocales.size()]);
-
- if (!Arrays.equals(locales, returnedLocales)) {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Unexpected result returned from "
- + "Application.getSupportedLocales()." + JSFTestUtil.NL
- + "Expected: " + JSFTestUtil.getAsString(locales) + JSFTestUtil.NL
- + "Received: " + JSFTestUtil.getAsString(returnedLocales));
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ApplicationWrapper.getDefaultValidatorInfo()
- public void applicationWrapperGetDefaultValidatorInfoTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- if (applicationWrapper.getDefaultValidatorInfo() == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain Default validator info.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // -------------------------------------------------- Tests Added for 1.2
- public void applicationWrapperGetELResolverTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
- ELResolver resolver = applicationWrapper.getELResolver();
-
- if (resolver == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getELResolver() returned null.");
- return;
- }
-
- if (!(resolver instanceof CompositeELResolver)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.getELResolver() returned "
- + "an ELResolver instance, but it wasn't an instance "
- + "of CompositeELResolver.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void applicationWrapperGetExpressionFactoryTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- ExpressionFactory controlFactory = JspFactory.getDefaultFactory()
- .getJspApplicationContext(servletContext).getExpressionFactory();
-
- if (controlFactory == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ExpressionFactory "
- + "from JspApplicationContext.");
- return;
- }
-
- ExpressionFactory exprFactory = applicationWrapper.getExpressionFactory();
-
- if (exprFactory == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ExpressionFactory" + " instance.");
- return;
- }
-
- // Left in for debugging.
- //
- // ExpressionFactory controlFactoryTwo =
- // JspFactory.getDefaultFactory().
- // getJspApplicationContext(servletContext).getExpressionFactory();
- //
- // ExpressionFactory exprFactoryTwo =
- // applicationWrapper.getExpressionFactory();
- // out.println("*** First Call applicationWrapper.getExpressionFactory() "
- // +
- // "Returns ***: " + exprFactory.toString());
- // out.println("*** Second Call applicationWrapper.getExpressionFactory() "
- // +
- // "Returns ***: " + exprFactoryTwo.toString());
- // out.println("*** First Call - JspFactory.getDefaultFactory()." +
- // "getJspApplicationContext(servletContext)." +
- // "getExpressionFactory() Returns ***: " +
- // controlFactory.toString());
- // out.println("*** Second Call - JspFactory.getDefaultFactory()." +
- // "getJspApplicationContext(servletContext)." +
- // "getExpressionFactory() Returns ***: " +
- // controlFactoryTwo.toString());
-
- if (!controlFactory.equals(exprFactory)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected Application.getExpressionFactory to return "
- + "the same instance as that returned by"
- + " JspApplicationContext.getExpressionFactory!" + JSFTestUtil.NL
- + "Found: " + controlFactory.toString() + JSFTestUtil.NL
- + "Expected: " + exprFactory.toString());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void applicationWrapperEvaluationExpressionGetTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
- String testName = "applicationWrapperEvaluationExpressionGetTest";
-
- String value = (String) applicationWrapper.evaluateExpressionGet(
- getFacesContext(), "#{param.testname}", java.lang.String.class);
-
- if (!testName.equals(value)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected evaluation using "
- + "Application.evaluateExpressionGet()." + JSFTestUtil.NL
- + "Expected: " + testName + JSFTestUtil.NL + "Received: " + value);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Application.createComponent(ValueExpression, FacesContext, String)
- public void applicationWrapperCreateComponentExpressionTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- request.setAttribute("TestBean", new TestBean());
- applicationWrapper.addComponent("TCKComponent",
- "jakarta.faces.component.UIOutput");
- ELContext elContext = getFacesContext().getELContext();
- ValueExpression expr = applicationWrapper.getExpressionFactory()
- .createValueExpression(elContext, "#{TestBean.component}",
- jakarta.faces.component.UIComponent.class);
-
- if (expr == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ValueExpression " + "instance from Application.");
- return;
- }
-
- // ensures failure if the ValueExpression lookup fails
- UIInput input = (UIInput) applicationWrapper.createComponent(expr,
- getFacesContext(), "TCKComponent");
- if (input == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression,"
- + " FacesContext, String) returned null when using "
- + "a valid ValueExpression.");
- return;
- }
-
- /*
- * next validate that if the ValueExpression doesn't return a UIComponent
- * instance, then create the component based on the identifier.
- */
- TestBean bean = (TestBean) request.getAttribute("TestBean");
- bean.setComponent(null);
-
- UIOutput output = (UIOutput) applicationWrapper.createComponent(expr,
- getFacesContext(), "TCKComponent");
- if (output == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression,"
- + " FacesContext, String, String) returned "
- + "null when falling back to the component "
- + "identifier to create the component.");
- return;
- }
-
- /*
- * Since the ValueExpression evaluated to null, a new component has been
- * created (see above), the createComponent() implementation in this case
- * must call setValue() with the newly created component instance. We should
- * be able to call getComponent() on the bean to verify.
- */
- UIOutput result = (UIOutput) bean.getComponent();
- if (result == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression, "
- + "FacesContext, String) didn't call setValue() "
- + "on the ValueExpression passed when creating "
- + "a new fallback component in the case the "
- + "ValueExpression returned null." + JSFTestUtil.NL
- + "Expected a return of UIOutput, " + "but received a null value.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Application.createComponent(ValueExpression, FacesContext, String,
- // String)
- public void applicationWrapperCreateComponentExpressionFSSTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- request.setAttribute("TestBean", new TestBean());
- applicationWrapper.addComponent("TCKComponent",
- "jakarta.faces.component.UIOutput");
- ELContext elContext = getFacesContext().getELContext();
- ValueExpression expr = applicationWrapper.getExpressionFactory()
- .createValueExpression(elContext, "#{TestBean.component}",
- jakarta.faces.component.UIComponent.class);
-
- if (expr == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ValueExpression instance from " + "Application.");
- return;
- }
-
- // ensures failure if the ValueExpression lookup fails
- UIInput input = (UIInput) applicationWrapper.createComponent(expr,
- getFacesContext(), "TCKComponent", "TCKRenderer");
- if (input == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression,"
- + " FacesContext, String) returned null when using "
- + "a valid ValueExpression.");
- return;
- }
-
- /*
- * next validate that if the ValueExpression doesn't return a UIComponent
- * instance, then create the component based on the identifier.
- */
- TestBean bean = (TestBean) request.getAttribute("TestBean");
- bean.setComponent(null);
-
- UIOutput output = (UIOutput) applicationWrapper.createComponent(expr,
- getFacesContext(), "TCKComponent");
- if (output == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression,"
- + " FacesContext, String, 'null) returned "
- + "null when falling back to the component "
- + "identifier to create the component.");
- return;
- }
-
- /*
- * Since the ValueExpression evaluated to null, a new component has been
- * created (see above), the createComponent() implementation in this case
- * must call setValue() with the newly created component instance. We should
- * be able to call getComponent() on the bean to verify.
- */
- UIOutput result = (UIOutput) bean.getComponent();
- if (result == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression, "
- + "FacesContext, String) didn't call setValue() "
- + "on the ValueExpression passed when creating "
- + "a new fallback component in the case the "
- + "ValueExpression returned null." + JSFTestUtil.NL
- + "Expected a return of UIOutput, but received a " + "null value.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Application.createComponent(ValueExpression, FacesContext, String,
- // 'null')
- public void applicationWrapperCreateComponentExpressionFSSNullTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- request.setAttribute("TestBean", new TestBean());
- applicationWrapper.addComponent("TCKComponent",
- "jakarta.faces.component.UIOutput");
- ELContext elContext = getFacesContext().getELContext();
- ValueExpression expr = applicationWrapper.getExpressionFactory()
- .createValueExpression(elContext, "#{TestBean.component}",
- jakarta.faces.component.UIComponent.class);
-
- if (expr == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ValueExpression instance " + "from Application.");
- return;
- }
-
- // ensures failure if the ValueExpression lookup fails
- UIInput input = (UIInput) applicationWrapper.createComponent(expr,
- getFacesContext(), "TCKComponent", null);
- if (input != null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression,"
- + " FacesContext, String) returned null when using "
- + "a valid ValueExpression.");
- return;
- }
-
- /*
- * next validate that if the ValueExpression doesn't return a UIComponent
- * instance, then create the component based on the identifier.
- */
- TestBean bean = (TestBean) request.getAttribute("TestBean");
- bean.setComponent(null);
-
- UIOutput output = (UIOutput) applicationWrapper.createComponent(expr,
- getFacesContext(), "TCKComponent");
- if (output == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression,"
- + " FacesContext, String) returned null when "
- + "falling back to the component "
- + "identifier to create the component.");
- return;
- }
-
- /*
- * Since the ValueExpression evaluated to null, a new component has been
- * created (see above), the createComponent() implementation in this case
- * must call setValue() with the newly created component instance. We should
- * be able to call getComponent() on the bean to verify.
- */
- UIOutput result = (UIOutput) bean.getComponent();
- if (result == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Application.createComponent(ValueExpression, "
- + "FacesContext, String) didn't call setValue() "
- + "on the ValueExpression passed when creating "
- + "a new fallback component in the case the "
- + "ValueExpression returned null." + JSFTestUtil.NL
- + "Expected a return of UIOutput, but received a " + "null value.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void applicationWrapperAddELResolverTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- try {
- applicationWrapper.addELResolver(new TCKELResolver());
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + " Unexpected Exception...");
- e.printStackTrace();
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- public void applicationWrapperAddGetRemoveELContextListenerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
- int contextCount = applicationWrapper.getELContextListeners().length;
- TCKELContextListener listener = new TCKELContextListener();
- applicationWrapper.addELContextListener(listener);
-
- if ((contextCount + 1) != applicationWrapper
- .getELContextListeners().length) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Called Application.addELContextListener()"
- + "but the length of the array returned by "
- + "Application.getELContextListeners() didn't increase " + "by one."
- + JSFTestUtil.NL + "Expected length: " + (contextCount + 1)
- + JSFTestUtil.NL + "Actual length: "
- + applicationWrapper.getELContextListeners().length);
- return;
- }
-
- applicationWrapper.removeELContextListener(listener);
- List listeners = Arrays
- .asList(applicationWrapper.getELContextListeners());
-
- if (listeners.contains(listener)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ELContextListener not removed as expected.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Test for Application.getResourceHandler()
- public void applicationWrapperGetResourceHandlerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- // Set a specific ResourceHandler.
- TCKResourceHandler myRH = new TCKResourceHandler();
- applicationWrapper.setResourceHandler(myRH);
-
- if (applicationWrapper.getResourceHandler() == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ResourceHandler " + "instance.");
- return;
- }
-
- if (!myRH.equals(applicationWrapper.getResourceHandler())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ResourceHandler was not able to be set!");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void applicationWrapperGetResourceBundleTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- try {
- String expectedName = "com.sun.ts.tests.jsf.common."
- + "resourcebundle.SimpleResourceBundle_en";
-
- getFacesContext().getViewRoot().setLocale(Locale.ENGLISH);
-
- ResourceBundle rb = applicationWrapper.getResourceBundle(context,
- "simpleRB");
-
- String resultName = rb.getClass().getName();
-
- if (!resultName.equals(expectedName)) {
- out.println("Test FAILED Unexpected Result for "
- + "getResourceBundle()." + JSFTestUtil.NL + "Expected: "
- + expectedName + JSFTestUtil.NL + "Received: " + resultName);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + " Unexpected Exception Thrown!");
- e.printStackTrace();
- }
-
- }
-
- public void applicationWrapperGetSetMessageBundleTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
- String bundleName;
- String myBundle;
-
- bundleName = "com.sun.ts.tests.jsf.common.resourcebundle."
- + "SimpleResourceBundle";
-
- try {
- applicationWrapper.setMessageBundle(bundleName);
- myBundle = applicationWrapper.getMessageBundle();
-
- if (!myBundle.equals(bundleName)) {
- out.println("Test FAILED Unexpected Result for "
- + "get/setMessageBundle()." + JSFTestUtil.NL + "Expected: "
- + bundleName + JSFTestUtil.NL + "Received: " + myBundle);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + " Unexpected Exception Thrown!");
- e.printStackTrace();
- }
-
- }
-
- // Test for ApplicationWrapper.setDefaultRenderKitId()
- // ApplicationWrapper.getDefaultRenderKitId()
- public void applicationWrapperGetSetDefaultRenderKitIDTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- try {
- applicationWrapper.setDefaultRenderKitId("TCKRenderKit");
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected Exception Thrown when trying to set default "
- + "RenderKit ID!" + JSFTestUtil.NL
- + "application.setDefaultRenderKitId('TCKRenderKit')");
- e.printStackTrace();
- }
-
- try {
- String result = applicationWrapper.getDefaultRenderKitId();
-
- if (!"TCKRenderKit".equals(result)) {
- out.println("Test FAILED Unexpected RenderKit ID returned "
- + "from application.getDefaultRenderKitId()." + JSFTestUtil.NL
- + "Expected: TCKRenderKit" + JSFTestUtil.NL + "Received: "
- + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + " Unexpected Exception Thrown!");
- e.printStackTrace();
- }
-
- }
-
- // Test for Application.setResourceHandler()
- public void applicationWrapperSetResourceHandlerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- ResourceHandler rh = applicationWrapper.getResourceHandler();
- applicationWrapper.setResourceHandler(rh);
-
- if (!rh.equals(applicationWrapper.getResourceHandler())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ResourceHandler " + "instance.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for ApplicationWrapper.setResourceHandler() throws
- // NullPointerException
- public void applicationWrapperSetResourceHandlerNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- JSFTestUtil.checkForNPE(applicationWrapper, "setResourceHandler",
- new Class>[] { ResourceHandler.class }, new Object[] { null }, out);
-
- } // End applicationWrapperSetResourceHandlerNPETest
-
- // Test for Application.getProjectStage() "Default settings"
- public void applicationWrapperGetProjectStageTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- String stage = applicationWrapper.getProjectStage().toString();
-
- if (!("production".equalsIgnoreCase(stage))) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- out.println("Expected: production");
- out.println("Received" + stage);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Test for Application.publishEvent
- public void applicationWrapperPublishEventTest1(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- UIComponent uic = getApplication().createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
-
- // Application.publishEvent(FacesContext, class, object)
- try {
- applicationWrapper.publishEvent(getFacesContext(), se.getClass(), uic);
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- } // End applicationWrapperPublishEventTest1
-
- public void applicationWrapperPublishEventTest2(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- UIComponent uic = getApplication().createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
-
- // Application.publishEvent(getFacesContext, class, class, source)
- try {
- applicationWrapper.publishEvent(getFacesContext(), se.getClass(),
- uic.getClass(), uic);
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- } // End applicationWrapperPublishEventTest2
-
- // Test for Application.subscribeToEvent
- public void applicationWrapperSubscribeToEventTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- UIComponent uic = getApplication().createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- try {
- applicationWrapper.subscribeToEvent(se.getClass(), uic.getClass(), sel);
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }// End applicationWrapperSubscribeToEventTest
-
- // Test for Application.subscribeToEvent
- public void applicationWrapperSubscribeToEventNullTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- UIComponent uic = getApplication().createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- try {
- applicationWrapper.subscribeToEvent(se.getClass(), null, sel);
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }// End applicationWrapperSubscribeToEventNullTest
-
- // Test for Application.subscribeToEvent
- public void applicationWrapperSubscribeToEventNoSrcClassTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- UIComponent uic = getApplication().createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- try {
- applicationWrapper.subscribeToEvent(se.getClass(), sel);
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }// End applicationWrapperSubscribeToEventNoSrcClassTest
-
- // Test for Application.unsubscribeFromEvent
- public void applicationWrapperUnsubscribeFromEventTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- UIComponent uic = getApplication().createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- try {
- applicationWrapper.unsubscribeFromEvent(se.getClass(), uic.getClass(),
- sel);
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }
-
- // Test for Application.unsubscribeFromEvent
- public void applicationWrapperUnsubscribeFromEventNoSrcClassTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- UIComponent uic = getApplication().createComponent(UIOutput.COMPONENT_TYPE);
- SystemEvent se = new TCKSystemEvent(uic);
- SystemEventListener sel = new TCKSystemEventListener();
-
- try {
- applicationWrapper.unsubscribeFromEvent(se.getClass(), sel);
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }
-
- // Test for Application.addBehavior
- public void applicationWrapperAddBehaviorTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
- String mb = "myBehavior";
-
- applicationWrapper.addBehavior(mb,
- (new TCKBehavior().getClass().getName()));
-
- Iterator i = applicationWrapper.getBehaviorIds();
-
- while (i.hasNext()) {
- if (mb.equals(i.next())) {
- out.println(JSFTestUtil.PASS);
- return;
- }
- }
-
- out.println(JSFTestUtil.FAIL);
-
- }// End applicationWrapperAddBehaviorTest
-
- // Test for Application.createBehavior
- public void applicationWrapperCreateBehaviorTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
- String mb = "myBehavior";
-
- applicationWrapper.addBehavior(mb,
- (new TCKBehavior().getClass().getName()));
-
- TCKBehavior firstBehavior = (TCKBehavior) applicationWrapper
- .createBehavior(mb);
-
- // Test to make sure we get back the default name.
- if (!("default_name".equals(firstBehavior.getName()))) {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Unexpected value returned."
- + JSFTestUtil.NL + "Expected: default_name" + JSFTestUtil.NL
- + "Received: " + firstBehavior.getName());
- return;
- }
-
- firstBehavior.setName("changed_name");
- TCKBehavior secondBehavior = (TCKBehavior) applicationWrapper
- .createBehavior(mb);
-
- // Test to make sure we get back the default name again.
- if (!("default_name".equals(secondBehavior.getName()))) {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Unexpected value returned."
- + JSFTestUtil.NL + "Expected: default_name" + JSFTestUtil.NL
- + "Received: " + secondBehavior.getName());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }// End applicationWrapperCreateBehaviorTest
-
- // Test for ApplicationWrapper.createBehavior() throws FacesException
- public void applicationWrapperCreateBehaviorFETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper application = new TCKApplication();
-
- try {
- application.addBehavior("bad", "com.sun.ts.tests.jsf.api."
- + "jakarta_faces.application.application.BadBehavior");
-
- application.createBehavior("bad");
-
- // Exception not thrown!
- out.println(
- JSFTestUtil.FAIL + " expected a FacesException to be " + "thrown.");
-
- } catch (FacesException fe) {
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected Exception thrown when Behavior "
- + "could not be created!" + JSFTestUtil.NL
- + "Expected: FacesException" + JSFTestUtil.NL + "Receieved: "
- + JSFTestUtil.NL + e.toString());
- }
-
- }// End applicationCreateBehaviorFETest
-
- // Test for Application.addDefaultValidatorId
- public void applicationWrapperAddDefaultValidatorIdTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
- String mv = "myValidator";
-
- applicationWrapper.addValidator(mv, BeanValidator.class.getName());
- applicationWrapper.addDefaultValidatorId(mv);
-
- Map dvMap = applicationWrapper.getDefaultValidatorInfo();
- Iterator keys = dvMap.keySet().iterator();
-
- while (keys.hasNext()) {
- if (mv.equals(keys.next())) {
- out.println(JSFTestUtil.PASS);
- return;
- }
- }
-
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Call to addDefaultValidatorId did not register a " + "Validator!");
-
- }// End applicationWrapperAddDefaultValidatorIdTest
-
- // Test for Application.getBehaviorIds
- public void applicationWrapperGetBehaviorIdsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- if (!(applicationWrapper.getBehaviorIds() instanceof Iterator)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected 'Application.geBehaviorIds()' "
- + "to return an Iterator!");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }// End applicationWrapperGetBehaviorIdsTest
-
- // Test for ApplicationWrapper.setStatemanager()
- // ApplicationWrapper.getStatemanager()
- public void applicationWrapperGetSetStateManagerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- // Test to make sure we get a StateManger by default.
- StateManager stateManager = null;
- try {
- stateManager = applicationWrapper.getStateManager();
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected Exception thrown when calling "
- + "Application.getStateManager" + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- try {
- StateManager tckstatemgr = new TCKStateManager(stateManager);
- applicationWrapper.setStateManager(tckstatemgr);
- String result = applicationWrapper.getStateManager().getClass()
- .getSimpleName();
-
- if (!"TCKStateManager".equals(result)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected value returned after setting StateManger"
- + JSFTestUtil.NL + "Expected: TCKStateManager" + JSFTestUtil.NL
- + "Received: " + result);
- return;
- }
-
- out.println("Test PASSED.");
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected Exception thrown when calling "
- + "Application.getStateManager" + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }
-
- // Test for ApplicationWrapper.setStatemanager() throws NullPointerException
- public void applicationWrapperSetStateManagerNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- JSFTestUtil.checkForNPE(applicationWrapper, "setStateManager",
- new Class>[] { StateManager.class }, new Object[] { null }, out);
-
- }
-
- // Test for ApplicationWrapper.setViewHandler() throws NullPointerException
- public void applicationWrapperSetViewHandlerNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper applicationWrapper = new TCKApplication();
-
- JSFTestUtil.checkForNPE(applicationWrapper, "setViewHandler",
- new Class>[] { ViewHandler.class }, new Object[] { null }, out);
- }
-
- // Application.createComponent(String) throws FacesException
- public void applicationWrapperCreateComponentFETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper application = new TCKApplication();
-
- application.addComponent("TCKBadComponent",
- "jakarta.faces.component.base.UIOutputBase");
- try {
- // should fail as UIOutput is an interface
- application.createComponent("TCKBadComponent");
- out.println(JSFTestUtil.FAIL + " No Exception thrown when calling"
- + "ApplicationWrapper.createComponent shouldn't have"
- + "been able to create the specified component.");
-
- } catch (FacesException fe) {
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Exception thrown, but was not an instance of "
- + "FacesException.");
- e.printStackTrace();
- }
-
- }
-
- // ApplicationWrapper.createComponent(ValueExpression, FacesContext, String)
- // throws FacesException
- public void applicationWrapperCreateComponentExpressionFETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ApplicationWrapper application = new TCKApplication();
-
- request.setAttribute("TestBean", new TestBean());
- application.addComponent("TCKBadComponent",
- "jakarta.faces.component.base.UIOutputBase");
- try {
- ELContext elContext = getFacesContext().getELContext();
- ValueExpression expr = application.getExpressionFactory()
- .createValueExpression(elContext, "#{TestBean.boolProp}",
- jakarta.faces.component.UIComponent.class);
-
- if (expr == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to obtain ValueExpression from Application.");
- return;
- }
-
- // should fail as UIOutput is an interface
- application.createComponent(expr, getFacesContext(), "TCKBadComponent");
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "FacesException 'NOT' thrown when Application.createComponent("
- + "ValueExpression, FacesContext, String) should not have been able to create the specified component.");
- return;
-
- } catch (FacesException fe) {
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + " Exception thrown, but was not an instance of " + "FacesException."
- + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- }
-
- // ------------------------------------------------- Private Implementations
-
- private static class TCKApplication extends ApplicationWrapper {
- FacesContext context;
-
- @Override
- public Application getWrapped() {
- context = FacesContext.getCurrentInstance();
- return context.getApplication();
- }
-
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/URLClient.java
deleted file mode 100644
index e661ba17bb..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/URLClient.java
+++ /dev/null
@@ -1,852 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.applicationwrapper;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_applicationwrapper_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Test Declarations */
-
- /**
- * @testName: applicationWrapperAddComponentTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:139
- *
- * @test_Strategy: Validate that components that are add to are the same
- * components received will called via the wrapper.
- */
- public void applicationWrapperAddComponentTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperAddComponentTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperCreateComponentTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:149
- *
- * @test_Strategy: Validate components that have been added to the
- * applicationwrapper can be created.
- */
- public void applicationWrapperCreateComponentTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperCreateComponentTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperCreateComponentFSSTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:156
- *
- * @test_Strategy: Validate components that have been added to the
- * applicationWrapper can be created.
- *
- * Signature tested:
- * applicationWrapper.createComponent(FacesContext, String,
- * String)
- *
- * @since 2.0
- */
- public void applicationWrapperCreateComponentFSSTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperCreateComponentFSSTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperCreateComponentFSSNullTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:156
- *
- * @test_Strategy: Validate components that have been added to the
- * applicationWrapper can be created.
- *
- * Signature tested:
- * applicationWrapper.createComponent(FacesContext, String,
- * 'null')
- *
- * @since 2.0
- */
- public void applicationWrapperCreateComponentFSSNullTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperCreateComponentFSSTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperCreateComponentBindingTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:160
- *
- * @test_Strategy: Validate that a component can be returned from
- * createComponent when a ValueBinding is provided that will
- * resolve to a UIComponent. Additionally ensure that if the
- * ValueBinding doesn't resolve to a UIComponent, then the
- * String component ID will be used as a fallback to create
- * the component.
- */
- public void applicationWrapperCreateComponentBindingTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperCreateComponentBindingTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetComponentTypesTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:170
- *
- * @test_Strategy: Validate an Iterator is returned and we can find the
- * expected component types within the Iterator.
- */
- public void applicationWrapperGetComponentTypesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperGetComponentTypesTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperAddCreateConverterByStringTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:140;
- * JSF:JAVADOC:158
- *
- * @test_Strategy: Validate converters can be added to the applicationWrapper
- * and then subsequently created.
- */
- public void applicationWrapperAddCreateConverterByStringTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperAddCreateConverterByStringTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperAddCreateConverterByClassTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:141;
- * JSF:JAVADOC:159
- * @test_Strategy: Validate converters can be added by class to the
- * applicationWrapper and then subsequently created. Ensure
- * that creation does inheritance checking.
- */
- public void applicationWrapperAddCreateConverterByClassTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperAddCreateConverterByClassTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetConverterIdsTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:171
- *
- * @test_Strategy: Validate the Iterator returned contains the expected
- * values.
- */
- public void applicationWrapperGetConverterIdsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperGetConverterIdsTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetConverterTypesTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:172
- * @test_Strategy: Validate the Iterator returned contains the expected
- * values.
- */
- public void applicationWrapperGetConverterTypesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperGetConverterTypesTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetDefaultValidatorInfoTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:175
- * @test_Strategy: Validate that call to getDefaultValidatorInfo returns a non
- * null object.
- */
- public void applicationWrapperGetDefaultValidatorInfoTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperGetDefaultValidatorInfoTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperAddCreateValidatorTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:145;
- * JSF:JAVADOC:162
- * @test_Strategy: Validate we can add Validators to the applicationWrapper
- * and subsequently create the specified Validator.
- */
- public void applicationWrapperAddCreateValidatorTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperAddCreateValidatorTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetValidatorIdsTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:30; JSF:JAVADOC:91
- *
- * @test_Strategy: Validate the expected validator IDs can be found in the
- * returned Iterator.
- */
- public void applicationWrapperGetValidatorIdsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperGetValidatorIdsTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetActionListenerTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:187
- *
- * @test_Strategy: Validate the default ActionListener is returned.
- */
- public void applicationWrapperGetActionListenerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperGetActionListenerTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperSetActionListenerTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:168;
- * JSF:JAVADOC:194
- *
- * @test_Strategy: Validate an ActionListener can be set in the
- * applicationWrapper and that
- * applicationWrapper.getActionListener() returns the same
- * ActionListener we set.
- */
- public void applicationWrapperSetActionListenerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperSetActionListenerTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetSetDefaultRenderKitIDTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:174;
- * JSF:JAVADOC:196
- * @test_Strategy: Ensure that we can set and receive back the correct
- * DefaultRenderKit ID.
- */
- public void applicationWrapperGetSetDefaultRenderKitIDTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperGetSetDefaultRenderKitIDTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetSetMessageBundleTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:179;
- * JSF:JAVADOC:197
- * @test_Strategy: Ensure that the MessageBundle that is returned from the
- * ApplicationWrapper.getMessageBundle() equals the
- * MessageBundle previous call to
- * ApplicationWrapper.setMessageBundle().
- */
- public void applicationWrapperGetSetMessageBundleTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperGetSetMessageBundleTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetSetNavigationHandlerTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:180;
- * JSF:JAVADOC:198
- *
- * @test_Strategy: Ensure a NavigationHandler is returned if not previously
- * set. Ensure the same NavigationHandler that is provided to
- * applicationWrapper.setNavigationHandler(NavigationHandler )
- * is returned by applicationWrapper.getNavigationHandler().
- */
- public void applicationWrapperGetSetNavigationHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperGetSetNavigationHandlerTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperCreateValidatorFETest
- * @assertion_ids: JSF:JAVADOC:146; JSF:JAVADOC:163
- * @test_Strategy: Validate a FacesException if a Validator of the specified
- * id cannot be created.
- */
- public void applicationWrapperCreateValidatorFETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperCreateValidatorFETest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetSetViewHandlerTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:189;
- * JSF:JAVADOC:204
- *
- * @test_Strategy: Ensure a ViewHandler is returned if not previously set.
- * Ensure the same ViewHandler that is provided to
- * applicationWrapper.setViewHandler(ViewHandler) is returned
- * by applicationWrapper.getViewHandler().
- */
- public void applicationWrapperGetSetViewHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperGetSetViewHandlerTest");
- invoke();
- }
-
-
- /**
- * @testName: applicationWrapperSetGetSupportedLocalesTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:186;
- * JSF:JAVADOC:202
- *
- * @test_Strategy: Validate {get,set}SupportedLocales() - unsure the values
- * set are properly returned.
- */
- public void applicationWrapperSetGetSupportedLocalesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperSetGetSupportedLocalesTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperSetGetDefaultLocaleTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:173;
- * JSF:JAVADOC:195
- *
- * @test_Strategy: Validate applicationWrapper.getDefaultLocale() returns null
- * if Locale has not been explicitly set by
- * applicationWrapper.setDefaultLocale(). Then set the default
- * Locale and call getDefaultLocale() to ensure the expected
- * value is returned.
- */
- public void applicationWrapperSetGetDefaultLocaleTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperSetGetDefaultLocaleTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetELResolverTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:177
- *
- * @test_Strategy: Validate a CompositeELResolver instanced is returned when
- * calling applicationWrapper.getELResolver().
- *
- * @since 1.2
- */
- public void applicationWrapperGetELResolverTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperGetELResolverTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetExpressionFactoryTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:178
- *
- * @test_Strategy: Validate applicationWrapper.getExpressionFactory() returns
- * an instance of ExpressionFactory.
- *
- * @since 1.2
- */
- public void applicationWrapperGetExpressionFactoryTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperGetExpressionFactoryTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperEvaluationExpressionGetTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:166
- *
- * @test_Strategy: Validate the convenience method, evaluationExpressionGet()
- * returns the expected result of a ValueExpression
- * evaluation.
- *
- * @since 1.2
- */
- public void applicationWrapperEvaluationExpressionGetTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperEvaluationExpressionGetTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperCreateComponentExpressionTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:153
- *
- * @test_Strategy: Validate that a component can be returned from
- * createComponent when a ValueExpression is provided that
- * will resolve to a UIComponent. Additionally ensure that if
- * the ValueExpression doesn't resolve to a UIComponent, then
- * the String component ID will be used as a fallback to
- * create the component.
- *
- * @since 1.2
- */
- public void applicationWrapperCreateComponentExpressionTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperCreateComponentExpressionTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperCreateComponentExpressionFSSTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:155
- *
- * @test_Strategy: Validate that a component can be returned from
- * createComponent when a ValueExpression is provided that
- * will resolve to a UIComponent. Additionally ensure that if
- * the ValueExpression doesn't resolve to a UIComponent, then
- * the String component ID will be used as a fallback to
- * create the component.
- *
- * Signature used for test:
- * createComponent(jakarta.el.ValueExpression
- * componentExpression, FacesContext context, String
- * componentType String renderer)
- *
- * @since 2.0
- */
- public void applicationWrapperCreateComponentExpressionFSSTest()
- throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperCreateComponentExpressionFSSTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperCreateComponentExpressionFETest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:154
- * @test_Strategy: Validate a FacesException if createComponent cannot create
- * the component specified by the provided ID.
- *
- * @since 1.2
- */
- public void applicationWrapperCreateComponentExpressionFETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperCreateComponentExpressionFETest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperCreateComponentExpressionFSSNullTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:155
- *
- * @test_Strategy: Validate that a component can be returned from
- * createComponent when a ValueExpression is provided that
- * will resolve to a UIComponent. Additionally ensure that if
- * the ValueExpression doesn't resolve to a UIComponent, then
- * the String component ID will be used as a fallback to
- * create the component.
- *
- * Signature used for test:
- * createComponent(jakarta.el.ValueExpression
- * componentExpression, FacesContext context, String
- * componentType String renderer) <-- Must receive 'null'
- *
- * @since 2.0
- */
- public void applicationWrapperCreateComponentExpressionFSSNullTest()
- throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperCreateComponentExpressionFSSTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperAddELResolverTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:144
- * @test_Strategy: Verify we can add an ELResolver to the application.
- *
- * @since 1.2
- */
- public void applicationWrapperAddELResolverTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperAddELResolverTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperAddGetRemoveELContextListenerTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:143;
- * JSF:JAVADOC:176; JSF:JAVADOC:193
- *
- * @test_Strategy: Ensure applicationWrapper.addELContextListener(),
- * applicationWrapper.getELContextListeners(), and
- * applicationWrapper.removeELContextListeners() behave as
- * expected when adding and removing ELContextListener
- * instances.
- *
- * @since 1.2
- */
- public void applicationWrapperAddGetRemoveELContextListenerTest()
- throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperAddGetRemoveELContextListenerTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetResourceHandlerTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:184
- * @test_Strategy: Ensure applicationWrapper.getResourceHandler() returns a
- * default ResourceHandler.
- * @since 2.0
- */
- public void applicationWrapperGetResourceHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperGetResourceHandlerTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetResourceBundleTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:183
- * @test_Strategy: Ensure that we are able to lookup the configured
- * ResourceBundle.
- */
- public void applicationWrapperGetResourceBundleTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperGetResourceBundleTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperSetResourceHandlerTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:200
- * @test_Strategy: Ensure applicationWrapper.setResourceHandler() can set a
- * none default ResourceHandler.
- *
- * @since 2.0
- */
- public void applicationWrapperSetResourceHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperSetResourceHandlerTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperSetResourceHandlerNPETest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:2680
- * @test_Strategy: Ensure ApplicationWrapper.setResourceHandler() throws a
- * NullPointerException , if resourceHandler is null
- *
- * @since 2.0
- */
- public void applicationWrapperSetResourceHandlerNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperSetResourceHandlerNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetProjectStageTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:181
- * @test_Strategy: Ensure applicationWrapper.getProjectStage can retrieve the
- * current ProjectStage.
- *
- * @since 2.0
- */
- public void applicationWrapperGetProjectStageTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperGetProjectStageTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperPublishEventTest1
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:191
- * @test_Strategy: Ensure applicationWrapper.publishEvent Does not throw any
- * Exceptions when called correctly. Test cases:
- * applicationWrapper.publishEvent(FacesContext, class,
- * source)
- *
- * @since 2.0
- */
- public void applicationWrapperPublishEventTest1() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperPublishEventTest1");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperPublishEventTest2
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:192
- *
- * @test_Strategy: Ensure applicationWrapper.publishEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test cases: applicationWrapper.publishEvent(FacesContext,
- * class, class, source)
- *
- * @since 2.0
- */
- public void applicationWrapperPublishEventTest2() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperPublishEventTest2");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperSubscribeToEventTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:205
- *
- * @test_Strategy: Ensure applicationWrapper.subscribeToEvent Does not throw
- * any Exceptions when called correctly.
- *
- * Test cases:
- * applicationWrapper.subscribeToEvent(systemEventClass,
- * sourceClass, listener)
- *
- * @since 2.0
- */
- public void applicationWrapperSubscribeToEventTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperSubscribeToEventTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperSubscribeToEventNullTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:205
- *
- * @test_Strategy: Ensure applicationWrapper.subscribeToEvent Does not throw
- * any Exceptions when called with null as sourceClass.
- *
- * Test cases: applicationWrapper.subscribeToEvent(Class,
- * null, SystemEventListener)
- *
- * @since 2.0
- */
- public void applicationWrapperSubscribeToEventNullTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperSubscribeToEventNullTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperSubscribeToEventNoSrcClassTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:206
- *
- * @test_Strategy: Ensure applicationWrapper.subscribeToEvent Does not throw
- * any Exceptions.
- *
- * Test cases: applicationWrapper.subscribeToEvent(Class,
- * SystemEventListener)
- *
- * @since 2.0
- */
- public void applicationWrapperSubscribeToEventNoSrcClassTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperSubscribeToEventNoSrcClassTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperUnsubscribeFromEventTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:207
- *
- * @test_Strategy: Ensure applicationWrapper.unSubscribeFromEvent Does not
- * throw any Exceptions when called.
- *
- * Test cases: applicationWrapper.unsubscribeFromEvent(Class,
- * Class SystemEventListener)
- *
- * @since 2.0
- */
- public void applicationWrapperUnsubscribeFromEventTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperUnsubscribeFromEventTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperUnsubscribeFromEventNoSrcClassTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:208
- *
- * @test_Strategy: Ensure applicationWrapper.UnsubscribeToEvent throws a
- * NullPointerException in any of the below test cases.
- *
- * Test cases: applicationWrapper.unsubscribeToEvent(Class,
- * SystemEventListener)
- *
- * @since 2.0
- */
- public void applicationWrapperUnsubscribeFromEventNoSrcClassTest()
- throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperUnsubscribeFromEventNoSrcClassTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperAddBehaviorTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:138
- *
- * @test_Strategy: Ensure applicationWrapper.AddBehavior does not throw an
- * exception and the correct Behavior is returned when checked
- * with applicationWrapper.getBehaviorIds();
- *
- * Test cases: applicationWrapper.addBehavior(String, String)
- *
- * @since 2.0
- */
- public void applicationWrapperAddBehaviorTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperAddBehaviorTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperCreateBehaviorTest
- *
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:147
- *
- * @test_Strategy: Ensure applicationWrapper.CreateBehavior does not throw an
- * exception and the correct Behavior is returned when checked
- * with applicationWrapper.getBehaviorIds();
- *
- * Test cases: applicationWrapper.createBehavior(String)
- *
- * @since 2.0
- */
- public void applicationWrapperCreateBehaviorTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperCreateBehaviorTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperCreateBehaviorFETest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:148
- * @test_Strategy: If the Behavior cannot be created throw a FacesException.
- *
- * @since 2.0
- */
- public void applicationWrapperCreateBehaviorFETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperCreateBehaviorFETest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperCreateComponentFETest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:150
- * @test_Strategy: Validate a FacesException is thrown if createComponent is
- * unable to create the specified component.
- */
- public void applicationWrapperCreateComponentFETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperCreateComponentFETest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperAddDefaultValidatorIdTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:142
- * @test_Strategy: Verify that when we set a default ValidatorId that we get
- * the same Id back.
- * @since 2.0
- */
- public void applicationWrapperAddDefaultValidatorIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "applicationWrapperAddDefaultValidatorIdTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetBehaviorIdsTest
- * @assertion_ids: JSF:JAVADOC:190; JJSF:JAVADOC:146; JSF:JAVADOC:169
- * @test_Strategy: Verify that we get back an Iterator of BehaviorIds.
- * @since 2.0
- */
- public void applicationWrapperGetBehaviorIdsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperGetBehaviorIdsTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperGetSetStateManagerTest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:146; JSF:JAVADOC:185;
- * JSF:JAVADOC:201
- * @test_Strategy: Ensure that: - A default StateManager is provided that
- * performs the functions described in the StateManager
- * description in the JavaServer Faces Specification. - Set
- * the StateManager instance that will be utilized during the
- * Restore View and Render Response phases of the request
- * processing lifecycle.
- */
- public void applicationWrapperGetSetStateManagerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperGetSetStateManagerTest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperSetStateManagerNPETest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:2682
- * @test_Strategy: Ensure ApplicationWrapper.setStateManager() throws a
- * NullPointerException , if StateManager is null
- *
- * @since 2.0
- */
- public void applicationWrapperSetStateManagerNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperSetStateManagerNPETest");
- invoke();
- }
-
- /**
- * @testName: applicationWrapperSetViewHandlerNPETest
- * @assertion_ids: JSF:JAVADOC:190; JSF:JAVADOC:2684
- * @test_Strategy: Ensure ApplicationWrapper.setViewHandler() throws a
- * NullPointerException , if ViewHandler is null
- *
- * @since 2.0
- */
- public void applicationWrapperSetViewHandlerNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "applicationWrapperSetViewHandlerNPETest");
- invoke();
- }
-
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/build.xml
deleted file mode 100644
index ecfca80ebb..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/build.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/faces-config.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/faces-config.xml
deleted file mode 100644
index c2294e8964..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/faces-config.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
- A simple resource bundle
- SimpleResourceBundle
-
- com.sun.ts.tests.jsf.common.resourcebundle.SimpleResourceBundle
-
- simpleRB
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/jsf_appl_applicationwrapper_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/jsf_appl_applicationwrapper_web.war.sun-web.xml
deleted file mode 100644
index 4ccc4b32be..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/jsf_appl_applicationwrapper_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_applicationwrapper_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/jsf_appl_applicationwrapper_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/jsf_appl_applicationwrapper_web.xml
deleted file mode 100644
index 966b67a80f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/applicationwrapper/jsf_appl_applicationwrapper_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.applicationwrapper.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/build.xml
deleted file mode 100644
index a0be0d20a3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/build.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/background.css b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/background.css
deleted file mode 100644
index 6f31df2e0e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/background.css
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
-Document : background
-Created on : Jan 31, 2008, 9:39:51 AM
-Author : dougd
-Description:
-Purpose of the stylesheet follows.
-*/
-
-root {
- display: block;
-}
-
-night {
- background: black;
- color: #80c0c0
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/blue.xhtml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/blue.xhtml
deleted file mode 100644
index ed720bb7f3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/blue.xhtml
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
-
-
-
-
- Navigation Point
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/compOne.xhtml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/compOne.xhtml
deleted file mode 100644
index c3087bb46e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/compOne.xhtml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
- A simple composite tag
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/duke-boxer.gif b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/duke-boxer.gif
deleted file mode 100644
index aeb1567ecf..0000000000
Binary files a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/duke-boxer.gif and /dev/null differ
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/hello.js b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/hello.js
deleted file mode 100644
index 15170bc81a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/hello.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * Echo out "Hello World!"
- */
-document.write("Hello World!");
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/neg_jsp_test.jsp b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/neg_jsp_test.jsp
deleted file mode 100644
index e648dcb2f7..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/neg_jsp_test.jsp
+++ /dev/null
@@ -1,35 +0,0 @@
-<%--
-
- Copyright (c) 2005, 2022 Oracle and/or its affiliates. All rights reserved.
-
- This program and the accompanying materials are made available under the
- terms of the Eclipse Public License v. 2.0, which is available at
- http://www.eclipse.org/legal/epl-2.0.
-
- This Source Code may also be made available under the following Secondary
- Licenses when the conditions for such availability set forth in the
- Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- version 2 with the GNU Classpath Exception, which is available at
- https://www.gnu.org/software/classpath/license.html.
-
- SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-
---%>
-
-<%@ taglib uri="jakarta.faces.core" prefix="f" %>
-<%@ taglib uri="jakarta.faces.html" prefix="h" %>
-
-
-
- isResourceRequest
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/neg_jspx_test.jspx b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/neg_jspx_test.jspx
deleted file mode 100644
index 0807abf08e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/neg_jspx_test.jspx
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
-#
-# This program and the accompanying materials are made available under the
-# terms of the Eclipse Public License v. 2.0, which is available at
-# http://www.eclipse.org/legal/epl-2.0.
-#
-# This Source Code may also be made available under the following Secondary
-# Licenses when the conditions for such availability set forth in the
-# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
-# version 2 with the GNU Classpath Exception, which is available at
-# https://www.gnu.org/software/classpath/license.html.
-#
-# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-#
-
-#
-# THis is not a real resource, used for Negative test only!
-#
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/neg_prop_test.properties b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/neg_prop_test.properties
deleted file mode 100644
index 7c1a8a82f0..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/neg_prop_test.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-#
-# Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
-#
-# This program and the accompanying materials are made available under the
-# terms of the Eclipse Public License v. 2.0, which is available at
-# http://www.eclipse.org/legal/epl-2.0.
-#
-# This Source Code may also be made available under the following Secondary
-# Licenses when the conditions for such availability set forth in the
-# Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
-# version 2 with the GNU Classpath Exception, which is available at
-# https://www.gnu.org/software/classpath/license.html.
-#
-# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-#
-
-#
-# This properties file is not used for anything but a negative tests
-#
-
-bogus.prop = "not used for anything"
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/neg_xhtml_test.xhtml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/neg_xhtml_test.xhtml
deleted file mode 100644
index 08b756029d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/neg_xhtml_test.xhtml
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-
-
-
-
-
-
- TODO supply a title
-
-
-
- DO NOTHING!
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/red.xhtml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/red.xhtml
deleted file mode 100644
index 6fe6e10a05..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/red.xhtml
+++ /dev/null
@@ -1,46 +0,0 @@
-
-
-
-
-
-
-
-
-
- Navigation Point
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/start.xhtml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/start.xhtml
deleted file mode 100644
index 8b17130114..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/start.xhtml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
-
-
-
-
-
- Navigation Point
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/stop.xhtml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/stop.xhtml
deleted file mode 100644
index 73b038fbe8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/common/resources/stop.xhtml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
-
-
-
-
- Navigation Point
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/TestServlet.java
deleted file mode 100644
index 260ed35806..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/TestServlet.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*
- * Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.configurablenavigationhandler;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Map.Entry;
-import java.util.Set;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.Application;
-import jakarta.faces.application.ConfigurableNavigationHandler;
-import jakarta.faces.application.NavigationCase;
-import jakarta.faces.context.FacesContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- // Test for getNavigationCase(FacesContext, String, String)
- public void configNavihandlerGetNavigationCaseTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- String fromAct = "#{bogus.postOne}";
-
- if (application != null) {
- ConfigurableNavigationHandler cnh = (ConfigurableNavigationHandler) application
- .getNavigationHandler();
-
- if (fromAct.equals(
- cnh.getNavigationCase(context, fromAct, "").getFromAction())) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL);
- }
- }
- }// End configNavihandlerGetNavigationCaseTest
-
- // Test for getNavigationCase(FacesContext, String, String) throws
- // NullPointerException
- public void configNavihandlerGetNavigationCaseNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application != null) {
- ConfigurableNavigationHandler cnh = (ConfigurableNavigationHandler) application
- .getNavigationHandler();
-
- try {
- cnh.getNavigationCase(null, "#{bogus.postOne}", "");
- out.println(JSFTestUtil.FAIL
- + ": Expected an exception to be thrown, but nothing was!");
-
- } catch (NullPointerException npe) {
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(
- JSFTestUtil.FAIL + ": Expected NullPointerException to be thrown!");
- e.printStackTrace();
- }
- }
- }// End configNavihandlerGetNavigationCaseNPETest
-
- // Test for getNavigationCases(FacesContext, String, String)
- public void configNavihandlerGetNavigationCasesTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- List goldActs = new ArrayList();
- goldActs.add("#{bogus.postOne}");
- goldActs.add("#{bogus.postTwo}");
-
- if (application != null) {
- ConfigurableNavigationHandler cnh = (ConfigurableNavigationHandler) application
- .getNavigationHandler();
-
- Map> navCases = cnh.getNavigationCases();
-
- Iterator>> itr = navCases.entrySet()
- .iterator();
-
- while (itr.hasNext()) {
- Entry> entry = itr.next();
-
- String key = (String) entry.getKey();
-
- Iterator navItr = entry.getValue().iterator();
- while (navItr.hasNext()) {
- NavigationCase navi = navItr.next();
- String result = navi.getFromAction();
-
- if (!(goldActs.contains(result))) {
- out.println(JSFTestUtil.FAIL + " Expected " + result
- + " to be in 'from-view-id: " + key);
- return;
- }
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- }// End configNavihandlerGetNavigationCasesTest
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/URLClient.java
deleted file mode 100644
index 9997fa2573..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/URLClient.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.configurablenavigationhandler;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_confignavihandler_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: configNavihandlerGetNavigationCaseTest
- * @assertion_ids: JSF:JAVADOC:209; JSF:JAVADOC:210
- * @test_Strategy: Validate the return of a NavigationCase by testing the
- * 'fromAction' tag.
- */
- public void configNavihandlerGetNavigationCaseTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "configNavihandlerGetNavigationCaseTest");
- invoke();
- }
-
- /**
- * @testName: configNavihandlerGetNavigationCaseNPETest
- * @assertion_ids: JSF:JAVADOC:209; JSF:JAVADOC:211
- * @test_Strategy: Validate that we get a NullPointerException when
- * FacesContext is null.
- */
- public void configNavihandlerGetNavigationCaseNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "configNavihandlerGetNavigationCaseNPETest");
- invoke();
- }
-
- /**
- * @testName: configNavihandlerGetNavigationCasesTest
- * @assertion_ids: JSF:JAVADOC:209; JSF:JAVADOC:212
- * @test_Strategy: Validate that we get a Map of NavigationCases.
- */
- public void configNavihandlerGetNavigationCasesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "configNavihandlerGetNavigationCasesTest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/build.xml
deleted file mode 100644
index aefecbb56f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/build.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/faces-config.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/faces-config.xml
deleted file mode 100644
index 8ddd3930c2..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/faces-config.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
-
- *
-
- #{bogus.postOne}
- /one.xhtml
-
-
- id
- #{noWhere.landOne}
-
-
-
-
- #{bogus.postTwo}
- /two.xhtml
-
-
- id
- #{noWhere.landTwo}
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/jsf_appl_confignavihandler_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/jsf_appl_confignavihandler_web.war.sun-web.xml
deleted file mode 100644
index f89e7ad92b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/jsf_appl_confignavihandler_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_confignavihandler_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/jsf_appl_confignavihandler_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/jsf_appl_confignavihandler_web.xml
deleted file mode 100644
index 0224e780d8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandler/jsf_appl_confignavihandler_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application_confignavihandler
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.configurablenavigationhandler.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/TestServlet.java
deleted file mode 100644
index 1f5d914d6e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/TestServlet.java
+++ /dev/null
@@ -1,148 +0,0 @@
-/*
- * Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.configurablenavigationhandlerwrapper;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Map.Entry;
-import java.util.Set;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.Application;
-import jakarta.faces.application.ConfigurableNavigationHandler;
-import jakarta.faces.application.ConfigurableNavigationHandlerWrapper;
-import jakarta.faces.application.NavigationCase;
-import jakarta.faces.context.FacesContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- // Test for getNavigationCase(FacesContext, String, String)
- public void configNavihandlerwprGetNavigationCaseTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- String fromAct = "#{bogus.postOne}";
-
- if (application != null) {
- ConfigurableNavigationHandler cnh = new TCKConfNaviHandler();
-
- if (fromAct.equals(
- cnh.getNavigationCase(context, fromAct, "").getFromAction())) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL);
- }
- }
- }// End configNavihandlerwprGetNavigationCaseTest
-
- // Test for getNavigationCase(FacesContext, String, String) throws
- // NullPointerException
- public void configNavihandlerwprGetNavigationCaseNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application != null) {
- ConfigurableNavigationHandler cnh = new TCKConfNaviHandler();
-
- try {
- cnh.getNavigationCase(null, "#{bogus.postOne}", "");
- out.println(JSFTestUtil.FAIL
- + ": Expected an exception to be thrown, but nothing was!");
-
- } catch (NullPointerException npe) {
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(
- JSFTestUtil.FAIL + ": Expected NullPointerException to be thrown!");
- e.printStackTrace();
- }
- }
- }// End configNavihandlerwprGetNavigationCaseNPETest
-
- // Test for getNavigationCases(FacesContext, String, String)
- public void configNavihandlerwprGetNavigationCasesTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- List goldActs = new ArrayList();
- goldActs.add("#{bogus.postOne}");
- goldActs.add("#{bogus.postTwo}");
-
- if (application != null) {
- ConfigurableNavigationHandler cnh = new TCKConfNaviHandler();
-
- Map> navCases = cnh.getNavigationCases();
-
- Iterator>> itr = navCases.entrySet()
- .iterator();
-
- while (itr.hasNext()) {
- Entry> entry = itr.next();
-
- String key = (String) entry.getKey();
-
- Iterator navItr = entry.getValue().iterator();
- while (navItr.hasNext()) {
- NavigationCase navi = navItr.next();
- String result = navi.getFromAction();
-
- if (!(goldActs.contains(result))) {
- out.println(JSFTestUtil.FAIL + " Expected " + result
- + " to be in 'from-view-id: " + key);
- return;
- }
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- }// End configNavihandlerwprGetNavigationCasesTest
-
- // ------------------------------------------------------------------ private
- // classes
-
- private class TCKConfNaviHandler
- extends ConfigurableNavigationHandlerWrapper {
- Application application = getApplication();
-
- @Override
- public ConfigurableNavigationHandler getWrapped() {
- return (ConfigurableNavigationHandler) application.getNavigationHandler();
- }
-
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/URLClient.java
deleted file mode 100644
index 89c6726be9..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/URLClient.java
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- * Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.configurablenavigationhandlerwrapper;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_confignavihandlerwpr_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /**
- * @testName: configNavihandlerwprGetNavigationCaseTest
- * @assertion_ids: JSF:JAVADOC:2515; JSF:JAVADOC:2519; JSF:JAVADOC:2516
- * @test_Strategy: Validate the return of a NavigationCase by testing the
- * 'fromAction' tag.
- *
- * @since 2.2
- */
- public void configNavihandlerwprGetNavigationCaseTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "configNavihandlerwprGetNavigationCaseTest");
- invoke();
- }
-
- /**
- * @testName: configNavihandlerwprGetNavigationCaseNPETest
- * @assertion_ids: JSF:JAVADOC:2515; JSF:JAVADOC:2519; JSF:JAVADOC:2517
- * @test_Strategy: Validate that we get a NullPointerException when
- * FacesContext is null.
- *
- * @since 2.2
- */
- public void configNavihandlerwprGetNavigationCaseNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "configNavihandlerwprGetNavigationCaseNPETest");
- invoke();
- }
-
- /**
- * @testName: configNavihandlerwprGetNavigationCasesTest
- * @assertion_ids: JSF:JAVADOC:2515; JSF:JAVADOC:2519; JSF:JAVADOC:2518
- * @test_Strategy: Validate that we get a Map of NavigationCases.
- */
- public void configNavihandlerwprGetNavigationCasesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "configNavihandlerwprGetNavigationCasesTest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/build.xml
deleted file mode 100644
index 82dbfe4e21..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/build.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/faces-config.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/faces-config.xml
deleted file mode 100644
index 8ddd3930c2..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/faces-config.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
-
- *
-
- #{bogus.postOne}
- /one.xhtml
-
-
- id
- #{noWhere.landOne}
-
-
-
-
- #{bogus.postTwo}
- /two.xhtml
-
-
- id
- #{noWhere.landTwo}
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/jsf_appl_confignavihandlerwpr_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/jsf_appl_confignavihandlerwpr_web.war.sun-web.xml
deleted file mode 100644
index 6b20aa9ec2..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/jsf_appl_confignavihandlerwpr_web.war.sun-web.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
- jsf_appl_confignavihandlerwpr_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/jsf_appl_confignavihandlerwpr_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/jsf_appl_confignavihandlerwpr_web.xml
deleted file mode 100644
index 6323892142..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/configurablenavigationhandlerwrapper/jsf_appl_confignavihandlerwpr_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application_confignavihandlerwrapper
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.configurablenavigationhandlerwrapper.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/TestServlet.java
deleted file mode 100644
index ab519e3957..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/TestServlet.java
+++ /dev/null
@@ -1,280 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.facesmessage;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.FacesMessage;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public final class TestServlet extends HttpTCKServlet {
-
- // ------------------------------------------------ Test Declarations -----
- // No-arg constructor
- public void facesMessageNoArgCtorTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- try {
- new FacesMessage();
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + " Unexected Exception creating new "
- + "FacesMessage instance.");
- e.printStackTrace();
- }
- }
-
- // arg constructor
- public void facesMessageCtor01Test(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- try {
- new FacesMessage(FacesMessage.SEVERITY_INFO, "summary", "detail");
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + " Unexpected Exception thrown by "
- + "constructor.");
- e.printStackTrace();
- }
- }
-
- // FacesMessage(String summary)
- public void facesMessageCtorSumTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- try {
- new FacesMessage("summary");
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + " Unexpected Exception thrown by "
- + "constructor.");
- e.printStackTrace();
- }
- }
-
- // FacesMessage(String summary, String detail)
- public void facesMessageCtorSumDetTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- try {
- new FacesMessage("summary", "detail");
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + " Unexpected Exception thrown by "
- + "constructor.");
- e.printStackTrace();
- }
- }
-
- // FacesMessage.getServerity()
- // FacesMessage.setSeverity(int)
- public void facesMessageGetSetSeverityTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesMessage facesMessage = new FacesMessage(FacesMessage.SEVERITY_INFO,
- "summary", "detail");
- // first, call getSeverity on an instance that was constructed passing
- // the severity information in
- if (facesMessage.getSeverity().getOrdinal() != FacesMessage.SEVERITY_INFO
- .getOrdinal()) {
- out.println(JSFTestUtil.FAIL + "Expected FacesMesssage.getServerity() "
- + "to return Message.SEVERITY_INFO." + JSFTestUtil.NL
- + "Actual severity returned: " + JSFTestUtil
- .getSeverityAsString(FacesMessage.SEVERITY_INFO.getOrdinal()));
- return;
- }
-
- facesMessage.setSeverity(FacesMessage.SEVERITY_FATAL);
-
- if (facesMessage.getSeverity().getOrdinal() != FacesMessage.SEVERITY_FATAL
- .getOrdinal()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected FacesMessage.getServerity() to return "
- + "Message.SEVERITY_FATAL." + JSFTestUtil.NL
- + "Actual severity returned: " + JSFTestUtil
- .getSeverityAsString(FacesMessage.SEVERITY_FATAL.getOrdinal()));
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // FacesMessage.getSummary()
- // FacesMessage.setSummary(String)
- public void facesMessageGetSetSummaryTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesMessage facesMessage = new FacesMessage(FacesMessage.SEVERITY_INFO,
- "summary", "detail");
-
- if (!"summary".equals(facesMessage.getSummary())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected FacesMessage.getSummary() to "
- + "return the summary value passed to the FacesMessage "
- + "constructor." + JSFTestUtil.NL + "Expected: 'summary'"
- + JSFTestUtil.NL + "Received: '" + facesMessage.getSummary() + "'");
- return;
- }
-
- facesMessage.setSummary("newsummary");
-
- if (!"newsummary".equals(facesMessage.getSummary())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected FacesMessage.getSummary() to "
- + "return the summary value set by "
- + "FacesMessage.setSummary(String)." + JSFTestUtil.NL
- + "Expected: 'newsummary'" + JSFTestUtil.NL + "Received: '"
- + facesMessage.getSummary() + "'");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // FacesMessage.getDetail()
- // FacesMessage.setDetail(String)
- public void facesMessageGetSetDetailTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesMessage facesMessage = new FacesMessage(FacesMessage.SEVERITY_INFO,
- "summary", "detail");
-
- if (!"detail".equals(facesMessage.getDetail())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected FacesMessage.getDetail() to "
- + "return the detail value passed to the FacesMessage"
- + " constructor." + JSFTestUtil.NL + "Expected: 'detail'"
- + JSFTestUtil.NL + "Received: '" + facesMessage.getDetail() + "'");
- return;
- }
-
- facesMessage.setDetail("newdetail");
-
- if (!"newdetail".equals(facesMessage.getDetail())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected FacesMessage.getDetail() to return the "
- + "detail value set by FacesMessage.setDetail(String)."
- + JSFTestUtil.NL + "Expected: 'newdetail'" + JSFTestUtil.NL
- + "Received: '" + facesMessage.getDetail() + "'");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // FacesMessage.rendered()
- // FacesMessage.isRendered()
- public void facesMessageIsRenderedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesMessage facesMessage = new FacesMessage(FacesMessage.SEVERITY_INFO,
- "summary", "detail");
-
- if (facesMessage.isRendered()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected return from FacesMessage.isRendered() "
- + "prior to FacesMessage.rendered()" + "was called!" + JSFTestUtil.NL
- + "Expected: 'false'" + JSFTestUtil.NL + "Received: '"
- + facesMessage.isRendered() + "'");
- return;
- }
-
- facesMessage.rendered();
-
- if (!facesMessage.isRendered()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + " Unexpected return from FacesMessage.isRendered() "
- + "after FacesMessage.rendered() was called!" + JSFTestUtil.NL
- + "Expected: 'true'" + JSFTestUtil.NL + "Received: '"
- + facesMessage.isRendered() + "'");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // FacesMessage.Severity.compareTo(Object)
- public void facesMessageSeverityCompareToTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- int z = 0;
-
- FacesMessage facesMessageOne = new FacesMessage(FacesMessage.SEVERITY_INFO,
- "summary", "detail");
-
- FacesMessage facesMessageTwo = new FacesMessage(FacesMessage.SEVERITY_FATAL,
- "summary", "detail");
-
- // compare to see that they are the same.
- if (z != facesMessageOne.getSeverity()
- .compareTo(facesMessageOne.getSeverity())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected test value to equal 0 when Severities "
- + "were compared");
- return;
- }
-
- // compare to see that they are the same.
- if (z == facesMessageOne.getSeverity()
- .compareTo(facesMessageTwo.getSeverity())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected test value to NOT equal 0 when Severities "
- + "were compared");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // FacesMessage.Severity.toString()
- public void facesMessageSeverityToStringTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesMessage facesMessageOne = new FacesMessage(FacesMessage.SEVERITY_INFO,
- "summary", "detail");
-
- if (!(facesMessageOne.getSeverity().toString().contains("INFO"))) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected FacesMessage.getSeverity().toString() "
- + "to contain 'INFO'.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/URLClient.java
deleted file mode 100644
index 83ca3bf8e9..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/URLClient.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.facesmessage;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_facesmessage_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: facesMessageNoArgCtorTest
- * @assertion_ids: JSF:JAVADOC:215
- * @test_Strategy: Valdiate a FacesMessage instance can be created using a
- * no-arg constructor with no Exceptions thrown.
- */
- public void facesMessageNoArgCtorTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesMessageNoArgCtorTest");
- invoke();
- }
-
- /**
- * @testName: facesMessageCtor01Test
- * @assertion_ids: JSF:JAVADOC:218
- * @test_Strategy: Validate FacesMessage(int, String, String) creates a new
- * FacesMessage instance with no Exceptions thrown.
- */
- public void facesMessageCtor01Test() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesMessageCtor01Test");
- invoke();
- }
-
- /**
- * @testName: facesMessageCtorSumTest
- * @assertion_ids: JSF:JAVADOC:216
- * @test_Strategy: Validate FacesMessage(String summary) creates a new
- * FacesMessage instance with no Exceptions thrown.
- */
- public void facesMessageCtorSumTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesMessageCtorSumTest");
- invoke();
- }
-
- /**
- * @testName: facesMessageCtorSumDetTest
- * @assertion_ids: JSF:JAVADOC:217
- * @test_Strategy: Validate FacesMessage(String summary, String detail)
- * creates a new FacesMessage instance with no Exceptions
- * thrown.
- */
- public void facesMessageCtorSumDetTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesMessageCtorSumDetTest");
- invoke();
- }
-
- /**
- * @testName: facesMessageGetSetSeverityTest
- * @assertion_ids: JSF:JAVADOC:220; JSF:JAVADOC:225; JSF:JAVADOC:229
- * @test_Strategy: Validate the proper severity is returned in the following
- * cases: - FacesMessage created passing severity information
- * via the constructor. - FacesMessage.setSeverity(int) is
- * called.
- */
- public void facesMessageGetSetSeverityTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesMessageGetSetSeverityTest");
- invoke();
- }
-
- /**
- * @testName: facesMessageGetSetSummaryTest
- * @assertion_ids: JSF:JAVADOC:221; JSF:JAVADOC:227
- * @test_Strategy: Validate the proper summary is returned in the following
- * cases: - FacesMessage created passing summary information
- * via the constructor. - FacesMessage.setSummary(String) is
- * called.
- */
- public void facesMessageGetSetSummaryTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesMessageGetSetSummaryTest");
- invoke();
- }
-
- /**
- * @testName: facesMessageGetSetDetailTest
- * @assertion_ids: JSF:JAVADOC:219; JSF:JAVADOC:224
- * @test_Strategy: Validate the proper detail is returned in the following
- * cases: - FacesMessage created passing detail information
- * via the constructor. - FacesMessage.setDetail(String) is
- * called.
- */
- public void facesMessageGetSetDetailTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesMessageGetSetDetailTest");
- invoke();
- }
-
- /**
- * @testName: facesMessageIsRenderedTest
- * @assertion_ids: JSF:JAVADOC:222; JSF:JAVADOC:223
- * @test_Strategy: Validate that FacesMessage.isRendered() returns the correct
- * boolean values pre/post FacesMessage.rendered() being
- * called.
- */
- public void facesMessageIsRenderedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesMessageIsRenderedTest");
- invoke();
- }
-
- /**
- * @testName: facesMessageSeverityCompareToTest
- * @assertion_ids: JSF:JAVADOC:228
- * @test_Strategy: Validate that FacesMessage.Severity.compareTo returns the
- * correct Int value "0" based on the test conditions.
- */
- public void facesMessageSeverityCompareToTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesMessageSeverityCompareToTest");
- invoke();
- }
-
- /**
- * @testName: facesMessageSeverityToStringTest
- * @assertion_ids: JSF:JAVADOC:230
- * @test_Strategy: Validate that FacesMessage.Severity.toString returns the
- * correct value.
- */
- public void facesMessageSeverityToStringTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesMessageSeverityToStringTest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/build.xml
deleted file mode 100644
index 6604b1a92f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/build.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/jsf_appl_facesmessage_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/jsf_appl_facesmessage_web.war.sun-web.xml
deleted file mode 100644
index 2ca79392ad..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/jsf_appl_facesmessage_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_facesmessage_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/jsf_appl_facesmessage_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/jsf_appl_facesmessage_web.xml
deleted file mode 100644
index 87e56b5577..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/facesmessage/jsf_appl_facesmessage_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application_facesmessage
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.facesmessage.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/TestServlet.java
deleted file mode 100644
index d8c47281d6..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/TestServlet.java
+++ /dev/null
@@ -1,413 +0,0 @@
-/*
- * Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.navigationcase;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.net.URL;
-import java.util.HashSet;
-import java.util.Set;
-
-import com.sun.ts.tests.jsf.common.navigation.TCKNavigationCase;
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.Application;
-import jakarta.faces.application.ConfigurableNavigationHandler;
-import jakarta.faces.application.NavigationCase;
-import jakarta.faces.context.FacesContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- // Test for .getNavigationCase(FacesContext, String, String)
- public void navigationCaseEqualsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- Set myNav = new HashSet();
-
- String viewId = "/stop.xhtml";
- context.getViewRoot().setViewId(viewId);
-
- // Golden NavigationCase.
- NavigationCase testCase = TCKNavigationCase.getCase("blue");
- myNav.add(testCase);
-
- NavigationCase result = this.getResultCase(context, application, viewId,
- myNav, "#{color.result}", "Blue");
-
- if (testCase.equals(result)) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "NavigationCases should be equal to each other, when calling "
- + "NavigationCase.equals().");
- }
-
- }// End navigationCaseEqualsTest
-
- // Test for .getActionURL(FacesContext)
- public void navigationCaseGetActionURLTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- Set myNav = new HashSet();
-
- String viewId = "/stop.xhtml";
- context.getViewRoot().setViewId(viewId);
-
- // Golden NavigationCase.
- NavigationCase testCase = TCKNavigationCase.getCase("blue");
- myNav.add(testCase);
-
- URL golden = testCase.getActionURL(context);
- URL result = this.getResultCase(context, application, viewId, myNav,
- "#{color.result}", "Blue").getActionURL(context);
-
- if (golden.sameFile(result)) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "NavigationCase's URLs should be equal to each other, when calling "
- + "NavigationCase.getActionURL()." + JSFTestUtil.NL + "Expected: "
- + golden.toString() + JSFTestUtil.NL + "Received: "
- + result.toString());
- }
-
- }// End navigationCaseGetActionURLTest
-
- // Test for .getRedirectURL(FacesContext)
- public void navigationCaseGetRedirectURLTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- context.getViewRoot().setViewId("/stop.xhtml");
-
- Set myNav = new HashSet();
-
- String viewId = "/stop.xhtml";
- context.getViewRoot().setViewId(viewId);
-
- // Golden NavigationCase.
- NavigationCase testCase = TCKNavigationCase.getCase("blue");
- myNav.add(testCase);
-
- URL golden = testCase.getRedirectURL(context);
- URL result = this.getResultCase(context, application, viewId, myNav,
- "#{color.result}", "Blue").getRedirectURL(context);
-
- if (golden.sameFile(result)) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "NavigationCase's URLs should be equal to each other, when calling "
- + "NavigationCase.getRedirectURL()." + JSFTestUtil.NL + "Expected: "
- + golden.toString() + JSFTestUtil.NL + "Received: "
- + result.toString());
- }
-
- }// End navigationCaseGetRedirectURLTest
-
- // Test for .getBookmarkableURL(FacesContext)
- public void navigationCaseGetBookmarkableURLTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- Set myNav = new HashSet();
-
- String viewId = "/stop.xhtml";
- context.getViewRoot().setViewId(viewId);
-
- // Golden NavigationCase.
- NavigationCase testCase = TCKNavigationCase.getCase("blue");
- myNav.add(testCase);
-
- URL golden = testCase.getBookmarkableURL(context);
- URL result = this.getResultCase(context, application, viewId, myNav,
- "#{color.result}", "Blue").getBookmarkableURL(context);
-
- if (golden.sameFile(result)) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "NavigationCase's URLs should be equal to each other, when calling "
- + "getBookMarkableURL()." + JSFTestUtil.NL + "Expected: "
- + golden.toString() + JSFTestUtil.NL + "Received: "
- + result.toString());
- }
-
- }// End navigationCaseGetBookmarkableURLTest
-
- // Test for .getCondition(FacesContext)
- public void navigationCaseGetConditionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- Set myNav = new HashSet();
-
- String viewId = "/stop.xhtml";
- context.getViewRoot().setViewId(viewId);
-
- // Golden NavigationCase.
- NavigationCase testCase = TCKNavigationCase.getCase("blue");
- myNav.add(testCase);
-
- NavigationCase result = this.getResultCase(context, application, viewId,
- myNav, "#{color.result}", "Blue");
-
- if (result.getCondition(context)) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected: NavigationCase.getCondition(FacesContext) to return 'true'");
- }
-
- }// End navigationCaseGetConditionTest
-
- // Test for .hasCondition(FacesContext)
- public void navigationCaseHasConditionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- Set myNav = new HashSet();
-
- String viewId = "/stop.xhtml";
- context.getViewRoot().setViewId(viewId);
-
- // Golden NavigationCase.
- NavigationCase testCase = TCKNavigationCase.getCase("blue");
- myNav.add(testCase);
-
- NavigationCase result = this.getResultCase(context, application, viewId,
- myNav, "#{color.result}", "Blue");
-
- if (result.hasCondition()) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected: NavigationCase.hasCondition(FacesContext) to return 'true'");
- }
-
- }// End navigationCaseHasConditionTest
-
- // Test for .getFromAction()
- public void navigationGetFromActionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- Set myNav = new HashSet();
-
- String viewId = "/stop.xhtml";
- context.getViewRoot().setViewId(viewId);
-
- // Golden NavigationCase.
- NavigationCase testCase = TCKNavigationCase.getCase("blue");
- myNav.add(testCase);
-
- String golden = testCase.getFromAction();
- String result = this.getResultCase(context, application, viewId, myNav,
- "#{color.result}", "Blue").getFromAction();
-
- if (golden.equals(result)) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "NavigationCase's from-actions should be equal to each other, when calling "
- + "getFromAction()." + JSFTestUtil.NL + "Expected: " + golden
- + JSFTestUtil.NL + "Received: " + result);
- }
-
- }// End navigationGetFromActionTest
-
- // Test for .getFromOutcome()
- public void navigationGetFromOutcomeTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- Set myNav = new HashSet();
-
- String viewId = "/stop.xhtml";
- context.getViewRoot().setViewId(viewId);
-
- // Golden NavigationCase.
- NavigationCase testCase = TCKNavigationCase.getCase("blue");
- myNav.add(testCase);
-
- String golden = testCase.getFromOutcome();
- String result = this.getResultCase(context, application, viewId, myNav,
- "#{color.result}", "Blue").getFromOutcome();
-
- if (golden.equals(result)) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "NavigationCase's from-actions should be equal to each other, when calling "
- + "getFromOutcome()." + JSFTestUtil.NL + "Expected: " + golden
- + JSFTestUtil.NL + "Received: " + result);
- }
-
- }// End navigationGetFromOutcomeTest
-
- // Test for .getFromViewId()
- public void navigationGetFromViewIdTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- Set myNav = new HashSet();
-
- String viewId = "/stop.xhtml";
- context.getViewRoot().setViewId(viewId);
-
- // Golden NavigationCase.
- NavigationCase testCase = TCKNavigationCase.getCase("blue");
- myNav.add(testCase);
-
- String golden = testCase.getFromViewId();
- String result = this.getResultCase(context, application, viewId, myNav,
- "#{color.result}", "Blue").getFromViewId();
-
- if (golden.equals(result)) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "NavigationCase's from-viewIds should be equal to each other, when calling "
- + "getFromViewId()." + JSFTestUtil.NL + "Expected: " + golden
- + JSFTestUtil.NL + "Received: " + result);
- }
-
- }// End navigationGetFromViewIdTest
-
- // Test for .getToViewId(FacesContext)
- public void navigationGetToViewIdTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- Set myNav = new HashSet();
-
- String viewId = "/stop.xhtml";
- context.getViewRoot().setViewId(viewId);
-
- // Golden NavigationCase.
- NavigationCase testCase = TCKNavigationCase.getCase("blue");
- myNav.add(testCase);
-
- String golden = testCase.getToViewId(context);
- String result = this.getResultCase(context, application, viewId, myNav,
- "#{color.result}", "Blue").getToViewId(context);
-
- if (golden.equals(result)) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "NavigationCase's to-viewIds should be equal to each other, when calling "
- + "getToViewId(FacesContext)." + JSFTestUtil.NL + "Expected: "
- + golden + JSFTestUtil.NL + "Received: " + result);
- }
-
- }// End navigationGetToViewIdTest
-
- // Test for .isRedirect()
- public void navigationIsRedirectTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- Set myNav = new HashSet();
-
- String viewId = "/stop.xhtml";
- context.getViewRoot().setViewId(viewId);
-
- // Golden NavigationCase.
- NavigationCase testCase = TCKNavigationCase.getCase("green");
- myNav.add(testCase);
-
- NavigationCase result = this.getResultCase(context, application, viewId,
- myNav, "#{color.result}", "");
-
- if (result.isRedirect()) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected: NavigationCase.isRedirect() to return 'true'");
- }
-
- }// End navigationIsRedirectTest
-
- // Test for .isIncludeViewParams()
- public void navigationIsIncludeViewParamsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = FacesContext.getCurrentInstance();
- Application application = getApplication();
- Set myNav = new HashSet();
-
- String viewId = "/stop.xhtml";
- context.getViewRoot().setViewId(viewId);
-
- // Golden NavigationCase.
- NavigationCase testCase = TCKNavigationCase.getCase("green");
- myNav.add(testCase);
-
- NavigationCase result = this.getResultCase(context, application, viewId,
- myNav, "#{color.result}", "");
-
- if (result.isIncludeViewParams()) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected: NavigationCase.isIncludeViewParams() to return 'true'");
- }
-
- }// End navigationIsIncludeViewParamsTest
-
- // ------------------- private/protected methods ------------------
- private NavigationCase getResultCase(FacesContext context,
- Application application, String viewId, Set navSet,
- String fromAction, String fromOutCome) {
- NavigationCase result = null;
-
- if (application != null && context != null && navSet != null) {
- ConfigurableNavigationHandler cnh = (ConfigurableNavigationHandler) application
- .getNavigationHandler();
-
- // Add NavigationCase to NavigationHandler's Map.
- cnh.getNavigationCases().put(viewId, navSet);
-
- // retrieve newly added NavigationCase.
- result = cnh.getNavigationCase(context, fromAction, fromOutCome);
- }
-
- return result;
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/URLClient.java
deleted file mode 100644
index d187eb44ec..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/URLClient.java
+++ /dev/null
@@ -1,255 +0,0 @@
-/*
- * Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.navigationcase;
-
-import java.io.PrintWriter;
-
-import com.gargoylesoftware.htmlunit.WebClient;
-import com.gargoylesoftware.htmlunit.html.HtmlInput;
-import com.gargoylesoftware.htmlunit.html.HtmlPage;
-import com.gargoylesoftware.htmlunit.html.HtmlSubmitInput;
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-import com.sun.ts.tests.jsf.common.client.BaseHtmlUnitClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_navigationcase_web";
-
- private static final String VIEWID = "/faces/stop.xhtml";
-
- private static final String BUTTON_NAME = "Blue";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
- /**
- * @testName: navigationCaseEqualsTest
- * @assertion_ids: JSF:JAVADOC:253; JSF:JAVADOC:251; JSF:JAVADOC:231
- * @test_Strategy: Validate we can add a NavigationCase to the
- * NavigationHandler's Map and retrieve the correct value back
- * from NavigationCase.equals().
- */
- public void navigationCaseEqualsTest() throws Fault {
- this.preConfig(VIEWID, BUTTON_NAME);
-
- TEST_PROPS.setProperty(APITEST, "navigationCaseEqualsTest");
- invoke();
- }
-
- /**
- * @testName: navigationCaseGetActionURLTest
- * @assertion_ids: JSF:JAVADOC:253; JSF:JAVADOC:251; JSF:JAVADOC:232
- * @test_Strategy: Validate we get an absolute URL to this NavigationCase
- * instance.
- */
- public void navigationCaseGetActionURLTest() throws Fault {
- this.preConfig(VIEWID, BUTTON_NAME);
-
- TEST_PROPS.setProperty(APITEST, "navigationCaseGetActionURLTest");
- invoke();
- }
-
- /**
- * @testName: navigationCaseGetRedirectURLTest
- * @assertion_ids: JSF:JAVADOC:253; JSF:JAVADOC:251; JSF:JAVADOC:242
- * @test_Strategy: Validate we can add a NavigationCase to the
- * NavigationHandler's Map and retrieve the correct value back
- * from NavigationCase.getRedirect().
- */
- public void navigationCaseGetRedirectURLTest() throws Fault {
- this.preConfig(VIEWID, BUTTON_NAME);
-
- TEST_PROPS.setProperty(APITEST, "navigationCaseGetRedirectURLTest");
- invoke();
- }
-
- /**
- * @testName: navigationCaseGetBookmarkableURLTest
- * @assertion_ids: JSF:JAVADOC:253; JSF:JAVADOC:251; JSF:JAVADOC:234
- * @test_Strategy: Validate we can add a NavigationCase to the
- * NavigationHandler's Map and retrieve the correct value back
- * from NavigationCase.getBookmarkableURL().
- */
- public void navigationCaseGetBookmarkableURLTest() throws Fault {
- this.preConfig(VIEWID, BUTTON_NAME);
-
- TEST_PROPS.setProperty(APITEST, "navigationCaseGetBookmarkableURLTest");
- invoke();
- }
-
- /**
- * @testName: navigationCaseGetConditionTest
- * @assertion_ids: JSF:JAVADOC:253; JSF:JAVADOC:251; JSF:JAVADOC:236
- * @test_Strategy: Validate we can add a NavigationCase to the
- * NavigationHandler's Map and retrieve the correct value back
- * from NavigationCase.getCondition().
- */
- public void navigationCaseGetConditionTest() throws Fault {
- this.preConfig(VIEWID, BUTTON_NAME);
-
- TEST_PROPS.setProperty(APITEST, "navigationCaseGetConditionTest");
- invoke();
- }
-
- /**
- * @testName: navigationCaseHasConditionTest
- * @assertion_ids: JSF:JAVADOC:253; JSF:JAVADOC:251; JSF:JAVADOC:247
- * @test_Strategy: Validate we can add a NavigationCase to the
- * NavigationHandler's Map and retrieve the correct value back
- * from NavigationCase.hasCondition().
- */
- public void navigationCaseHasConditionTest() throws Fault {
- this.preConfig(VIEWID, BUTTON_NAME);
-
- TEST_PROPS.setProperty(APITEST, "navigationCaseHasConditionTest");
- invoke();
- }
-
- /**
- * @testName: navigationGetFromActionTest
- * @assertion_ids: JSF:JAVADOC:253; JSF:JAVADOC:251; JSF:JAVADOC:238
- * @test_Strategy: Validate we can add a NavigationCase to the
- * NavigationHandler's Map and retrieve the correct value back
- * from NavigationCase.getFromAction();
- */
- public void navigationGetFromActionTest() throws Fault {
- this.preConfig(VIEWID, BUTTON_NAME);
-
- TEST_PROPS.setProperty(APITEST, "navigationGetFromActionTest");
- invoke();
- }
-
- /**
- * @testName: navigationGetFromOutcomeTest
- * @assertion_ids: JSF:JAVADOC:253; JSF:JAVADOC:251; JSF:JAVADOC:239
- * @test_Strategy: Validate we can add a NavigationCase to the
- * NavigationHandler's Map and retrieve the correct value back
- * from NavigationCase.getFromOutcome();
- */
- public void navigationGetFromOutcomeTest() throws Fault {
- this.preConfig(VIEWID, BUTTON_NAME);
-
- TEST_PROPS.setProperty(APITEST, "navigationGetFromOutcomeTest");
- invoke();
- }
-
- /**
- * @testName: navigationGetFromViewIdTest
- * @assertion_ids: JSF:JAVADOC:253; JSF:JAVADOC:251; JSF:JAVADOC:240
- * @test_Strategy: Validate we can add a NavigationCase to the
- * NavigationHandler's Map and retrieve the correct value back
- * from NavigationCase.getFromViewId();
- */
- public void navigationGetFromViewIdTest() throws Fault {
- this.preConfig(VIEWID, BUTTON_NAME);
-
- TEST_PROPS.setProperty(APITEST, "navigationGetFromViewIdTest");
- invoke();
- }
-
- /**
- * @testName: navigationGetToViewIdTest
- * @assertion_ids: JSF:JAVADOC:246; JSF:JAVADOC:251; JSF:JAVADOC:240
- * @test_Strategy: Validate we can add a NavigationCase to the
- * NavigationHandler's Map and retrieve the correct value back
- * from NavigationCase.getFromViewId();
- */
- public void navigationGetToViewIdTest() throws Fault {
- this.preConfig(VIEWID, BUTTON_NAME);
-
- TEST_PROPS.setProperty(APITEST, "navigationGetToViewIdTest");
- invoke();
- }
-
- /**
- * @testName: navigationIsRedirectTest
- * @assertion_ids: JSF:JAVADOC:253; JSF:JAVADOC:251; JSF:JAVADOC:250
- * @test_Strategy: Validate we can add a NavigationCase to the
- * NavigationHandler's Map and retrieve the correct value back
- * from NavigationCase.isRedirect();
- */
- public void navigationIsRedirectTest() throws Fault {
- this.preConfig(VIEWID, BUTTON_NAME);
-
- TEST_PROPS.setProperty(APITEST, "navigationIsRedirectTest");
- invoke();
- }
-
- /**
- * @testName: navigationIsIncludeViewParamsTest
- * @assertion_ids: JSF:JAVADOC:253; JSF:JAVADOC:251; JSF:JAVADOC:249
- * @test_Strategy: Validate we can add a NavigationCase to the
- * NavigationHandler's Map and retrieve the correct value back
- * from NavigationCase.isIncludeViewParams();
- */
- public void navigationIsIncludeViewParamsTest() throws Fault {
- this.preConfig(VIEWID, BUTTON_NAME);
-
- TEST_PROPS.setProperty(APITEST, "navigationIsIncludeViewParamsTest");
- invoke();
- }
-
- // --------------------- private/protected methods -------------
-
- private void preConfig(String viewRoot, String buttonId) throws Fault {
- BaseHtmlClientWrapper bw = new BaseHtmlClientWrapper();
- HtmlPage page;
- HtmlSubmitInput button;
-
- try {
- page = (HtmlPage) new WebClient().getPage(
- "http://" + _hostname + ":" + _port + CONTEXT_ROOT + viewRoot);
-
- button = (HtmlSubmitInput) bw.getInputIncludingId(page, buttonId);
- button.click();
-
- } catch (Exception e) {
- throw new Fault(e);
- }
- }
-
- // ----------------------------- Inner Classes ----------------------
-
- protected class BaseHtmlClientWrapper extends BaseHtmlUnitClient {
-
- private static final long serialVersionUID = 1L;
-
- protected HtmlInput getInputIncludingId(HtmlPage root, String id) {
- return super.getInputIncludingId(root, id);
- }
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/build.xml
deleted file mode 100644
index 6cbd64fc2c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/build.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/faces-config.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/faces-config.xml
deleted file mode 100644
index 6086a2d64e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/faces-config.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/jsf_appl_navigationcase_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/jsf_appl_navigationcase_web.war.sun-web.xml
deleted file mode 100644
index 3fb3d9e6ae..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/jsf_appl_navigationcase_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_navigationcase_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/jsf_appl_navigationcase_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/jsf_appl_navigationcase_web.xml
deleted file mode 100644
index dcf7a7cc85..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationcase/jsf_appl_navigationcase_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application_navigationcase
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.navigationcase.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/TestServlet.java
deleted file mode 100644
index 0ede20eddf..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/TestServlet.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.navigationhandler;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.Application;
-import jakarta.faces.application.NavigationHandler;
-import jakarta.faces.context.FacesContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- // Test for HandleNavigationCase(FacesContext, String, String) throws
- // NullPointerException
- public void navigationHandlerHandleNavigationCaseNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- if (application == null) {
- out.println(JSFTestUtil.APP_NULL_MSG);
- return;
- }
-
- NavigationHandler nh = application.getNavigationHandler();
-
- JSFTestUtil.checkForNPE(nh, "handleNavigation",
- new Class>[] { FacesContext.class, String.class, String.class },
- new Object[] { null, "#{bogus.postOne}", "" }, out);
-
- }// End navigationHandlerHandleNavigationCaseNPETest
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/URLClient.java
deleted file mode 100644
index 5a79b647c8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/URLClient.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2011, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.navigationhandler;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_navigationhandler_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: navigationHandlerHandleNavigationCaseNPETest
- * @assertion_ids: JSF:JAVADOC:255; JSF:JAVADOC:254
- * @test_Strategy: Validate that we get a NullPointerException when
- * FacesContext is null.
- */
- public void navigationHandlerHandleNavigationCaseNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "navigationHandlerHandleNavigationCaseNPETest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/build.xml
deleted file mode 100644
index 6bdb464b5e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/build.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/faces-config.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/faces-config.xml
deleted file mode 100644
index 8ddd3930c2..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/faces-config.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
-
- *
-
- #{bogus.postOne}
- /one.xhtml
-
-
- id
- #{noWhere.landOne}
-
-
-
-
- #{bogus.postTwo}
- /two.xhtml
-
-
- id
- #{noWhere.landTwo}
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/jsf_appl_navigationhandler_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/jsf_appl_navigationhandler_web.war.sun-web.xml
deleted file mode 100644
index 0df45ea148..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/jsf_appl_navigationhandler_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_navigationhandler_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/jsf_appl_navigationhandler_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/jsf_appl_navigationhandler_web.xml
deleted file mode 100644
index 0f007a3f5f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/navigationhandler/jsf_appl_navigationhandler_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application_navigationhandler
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.navigationhandler.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/TestServlet.java
deleted file mode 100644
index 2110a37fc3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/TestServlet.java
+++ /dev/null
@@ -1,129 +0,0 @@
-/*
- * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.protectedviewex;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.ProtectedViewException;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- // ------------------------------------------------------------------- Tests
-
- public void protectViewExceptionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Throwable tckException = new TCKException();
-
- // protectedViewException(java.lang.String message)
- ProtectedViewException exOne = new ProtectedViewException("Vocals");
-
- if (!(this.checkMessage(exOne, "Vocals", out))) {
- return;
- }
-
- // ProtectedViewException(java.lang.String message,
- // java.lang.Throwable cause)
- ProtectedViewException exTwo = new ProtectedViewException("Vocals",
- tckException);
-
- if (!(this.checkMessage(exOne, "Vocals", out)
- && this.checkCause(exTwo, "TCKException", out))) {
- return;
- }
-
- // ProtectedViewException(java.lang.Throwable rootCause)
- ProtectedViewException exThree = new ProtectedViewException(tckException);
-
- if (!(this.checkCause(exThree, "TCKException", out))) {
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ---------------------------------------------- private methods
-
- private Boolean checkMessage(ProtectedViewException vee, String expectedMess,
- PrintWriter out) {
- String resultMess = vee.getMessage();
-
- if (resultMess == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ViewExpiredException.getMessage() returned null when "
- + "not expected too!");
-
- return false;
- }
-
- if (!resultMess.contains(expectedMess)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Message does not contain initially set message!" + JSFTestUtil.NL
- + "Expected: " + expectedMess + JSFTestUtil.NL + "Received: "
- + resultMess);
-
- return false;
- }
-
- return true;
- }
-
- private Boolean checkCause(ProtectedViewException vee, String expectedCause,
- PrintWriter out) {
- String resultCause = vee.getCause().getClass().getSimpleName();
-
- if (resultCause == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ViewExpiredException.getCause() returned null when "
- + "not expected too!");
- return false;
-
- }
-
- if (!resultCause.contains(expectedCause)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Cause does not contain Initially set cause!" + JSFTestUtil.NL
- + "Expected: " + expectedCause + JSFTestUtil.NL + "Received: "
- + resultCause);
- return false;
-
- }
-
- return true;
- }
-
- // ----------------------------------------------------------- private
- // classes
-
- private class TCKException extends Throwable {
- // this class does not thing other then server as a none SE Exception
- // for this testcase.
-
- }
-
-} // End TestServlet
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/URLClient.java
deleted file mode 100644
index b40c0be592..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/URLClient.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.protectedviewex;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_protectedviewex_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
- /**
- * @testName: protectViewExceptionTest
- * @assertion_ids: JSF:JAVADOC:2685; JSF:JAVADOC:2686; JSF:JAVADOC:2687;
- * JSF:JAVADOC:2688
- * @test_Strategy: Validated that we are able to call the following
- * constructors, and then call getViewId() & getMessage &
- * getCause to confirm the proper data had been set or not
- * set.
- *
- * - ProtectedViewException(java.lang.Throwable rootCause) -
- * ProtectedViewException(java.lang.String message,
- * java.lang.Throwable cause) - public
- * ProtectedViewException(java.lang.String message) - public
- * ProtectedViewException()
- *
- * @since 2.0
- */
- public void protectViewExceptionTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "protectViewExceptionTest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/build.xml
deleted file mode 100644
index 59c0492e23..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/build.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/jsf_appl_protectedviewex_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/jsf_appl_protectedviewex_web.war.sun-web.xml
deleted file mode 100644
index 3ac785aa32..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/jsf_appl_protectedviewex_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_protectedviewex_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/jsf_appl_protectedviewex_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/jsf_appl_protectedviewex_web.xml
deleted file mode 100644
index 6add30bd4c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/protectedviewex/jsf_appl_protectedviewex_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application_protectedviewex
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.protectedviewex.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/TestServlet.java
deleted file mode 100644
index edaea51dd4..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/TestServlet.java
+++ /dev/null
@@ -1,453 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.resource;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.PrintWriter;
-import java.util.Map;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.Resource;
-import jakarta.faces.application.ResourceHandler;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
- private static final String RESOURCE_NAME = "duke-boxer.gif";
-
- private static final String LIBRARY_NAME = "images";
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- config.getServletContext();
- }
-
- // ------------------------------------------------------------------- Tests
- // Test for Resource.getContentType()
- public void resourceGetContentTypeTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- Resource resource = handler.createResource(RESOURCE_NAME);
-
- if (!"image/gif".equals(resource.getContentType())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL + "Expected: image/gif"
- + JSFTestUtil.NL + "Received: " + resource.getContentType());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Test for Resource.setContentType()
- public void resourceSetContentTypeTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- Resource resource = handler.createResource(RESOURCE_NAME);
- resource.setContentType("plain/text");
-
- if (!"plain/text".equals(resource.getContentType())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL + "Expected: plain/text"
- + JSFTestUtil.NL + "Received: " + resource.getContentType());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Resource.getInputStream
- public void resourceGetInputStreamTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- Resource resource = handler.createResource(RESOURCE_NAME);
-
- if (!(resource.getInputStream().read() > 0)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Resource.getInputStream returned zero bits!");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Resource.getLibraryName
- public void resourceGetLibraryNameTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // create the resource
- Resource resource = handler.createResource(RESOURCE_NAME, LIBRARY_NAME);
-
- if (!LIBRARY_NAME.equals(resource.getLibraryName())) {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Expected: " + LIBRARY_NAME
- + JSFTestUtil.NL + "Recieved: " + resource.getLibraryName());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Resource.getLibraryName
- public void resourceGetLibraryNameNullTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // create the resource
- Resource resource = handler.createResource(RESOURCE_NAME, null);
-
- if (!(null == resource.getLibraryName())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL + "Expected: null"
- + JSFTestUtil.NL + "Recieved: " + resource.getLibraryName());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Resource.setLibraryName
- public void resourceSetLibraryNameTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // create the resource
- Resource resource = handler.createResource(RESOURCE_NAME, LIBRARY_NAME);
-
- resource.setLibraryName("Sun");
-
- if (!"Sun".equals(resource.getLibraryName())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL + "Unexpected Library Name!"
- + JSFTestUtil.NL + "Expected: Sun" + JSFTestUtil.NL + "Recieved: "
- + resource.getLibraryName());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Resource.getRequestPath
- public void resourceGetRequestPathTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // create the resource
- Resource resource = handler.createResource(RESOURCE_NAME);
-
- String expected = "/jsf_appl_resource_web/TestServlet/"
- + "jakarta.faces.resource/" + RESOURCE_NAME;
-
- if (!expected.equals(resource.getRequestPath())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL + "Expected: " + expected
- + JSFTestUtil.NL + "Recieved: " + resource.getRequestPath());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Resource.getRequestPath with Library
- public void resourceGetRequestPathLibTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // create the resource.
- Resource resource = handler.createResource(RESOURCE_NAME, LIBRARY_NAME);
-
- String expected = "/jsf_appl_resource_web/TestServlet/"
- + "jakarta.faces.resource/" + RESOURCE_NAME + "?ln=" + LIBRARY_NAME;
-
- if (!expected.equals(resource.getRequestPath())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL + "Expected: " + expected
- + JSFTestUtil.NL + "Recieved: " + resource.getRequestPath());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Resource.getURL
- public void resourceGetURLTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // create the resource & set expected test result.
- Resource resource = handler.createResource(RESOURCE_NAME);
- int expected = 2947;
-
- InputStream is = resource.getURL().openStream();
- int result = 0;
- while (is.read() != -1) {
- result++;
- }
-
- if (!(expected == result)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL + "Expected: " + expected
- + JSFTestUtil.NL + "Recieved: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Resource.toString
- public void resourceToStringTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // create the resource & set expected test result.
- Resource resource = handler.createResource(RESOURCE_NAME);
- String expected = "/jsf_appl_resource_web/TestServlet/"
- + "jakarta.faces.resource/" + RESOURCE_NAME;
-
- if (!expected.equals(resource.toString())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected Conversions '.toString'!" + JSFTestUtil.NL
- + "Expected: " + expected + JSFTestUtil.NL + "Recieved: "
- + resource.toString());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Resource.userAgentNeedsUpdate
- public void resourceUserAgentNeedsUpdateTrueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // create the resource
- Resource resource = handler.createResource(RESOURCE_NAME);
- boolean result = resource.userAgentNeedsUpdate(getFacesContext());
-
- if (!result) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected value for 'userAgentNeedsUpdate'!" + JSFTestUtil.NL
- + "Expected: " + true + JSFTestUtil.NL + "Recieved: " + result);
-
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Resource.getResponseHeaders
- public void resourceGetResponseHeadersTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // create the resource
- Resource resource = handler.createResource(RESOURCE_NAME);
-
- try {
- Object result = resource.getResponseHeaders();
-
- if (!(result instanceof Map)) {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Expected: Class Type Map"
- + JSFTestUtil.NL + "Recieved: " + result.getClass().getName());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println("Test FAILED. Unexpected Exception thrown!");
- e.printStackTrace();
- }
-
- }
-
- // Test for Resource.getResourceName
- public void resourceGetResourceNameTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // create the resource &
- Resource resource = handler.createResource(RESOURCE_NAME);
-
- if (!RESOURCE_NAME.equals(resource.getResourceName())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected value for resource name" + JSFTestUtil.NL + "Expected: "
- + RESOURCE_NAME + JSFTestUtil.NL + "Recieved: "
- + resource.getResourceName());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Resource.setResourceName
- public void resourceSetResourceNameTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // create the resource & reset the resource name.
- Resource resource = handler.createResource(RESOURCE_NAME);
- resource.setResourceName("Dukie");
-
- if (!"Dukie".equals(resource.getResourceName())) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected value for resource name" + JSFTestUtil.NL
- + "Expected: Dukie" + JSFTestUtil.NL + "Recieved: "
- + resource.getResourceName());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for Resource.setResourceName NPE
- public void resourceSetResourceNameNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // create the resource & reset the resource name.
- Resource resource = handler.createResource(RESOURCE_NAME);
-
- JSFTestUtil.checkForNPE(resource, "setResourceName",
- new Class>[] { String.class }, new Object[] { null }, out);
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/URLClient.java
deleted file mode 100644
index bf849759f6..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/URLClient.java
+++ /dev/null
@@ -1,250 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.resource;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_resource_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: resourceGetContentTypeTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:258
- * @test_Strategy: Validate that the correct MIME type is returned.
- *
- * @since 2.0
- */
- public void resourceGetContentTypeTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceGetContentTypeTest");
- invoke();
- }
-
- /**
- * @testName: resourceGetInputStreamTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:259
- * @test_Strategy: Validate That an InputStream is returned if the request is
- * a resource request.
- *
- * @since 2.0
- */
- public void resourceGetInputStreamTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceGetInputStreamTest");
- invoke();
- }
-
- /**
- * @testName: resourceGetLibraryNameTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:261
- * @test_Strategy: Validate that the correct Library name is returned when the
- * following have been set on the resource.
- *
- * -resourceName -libraryName
- *
- * @since 2.0
- */
- public void resourceGetLibraryNameTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceGetLibraryNameTest");
- invoke();
- }
-
- /**
- * @testName: resourceSetContentTypeTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:267
- * @test_Strategy: Validate that the correct MIME type gets set.
- *
- * @since 2.0
- */
- public void resourceSetContentTypeTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceSetContentTypeTest");
- invoke();
- }
-
- /**
- * @testName: resourceSetLibraryNameTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:268
- * @test_Strategy: Validate that the correct Library name is returned when the
- * following have been set on the resource. And the name has
- * been reset.
- *
- * -resourceName -libraryName
- *
- * @since 2.0
- */
- public void resourceSetLibraryNameTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceSetLibraryNameTest");
- invoke();
- }
-
- /**
- * @testName: resourceGetLibraryNameNullTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:261
- * @test_Strategy: Validate that the correct Library name is returned when the
- * following have been set on resource.
- *
- * -resourceName -libraryName(set to null)
- *
- * @since 2.0
- */
- public void resourceGetLibraryNameNullTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceGetLibraryNameNullTest");
- invoke();
- }
-
- /**
- * @testName: resourceGetRequestPathTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:262
- * @test_Strategy: Validate that the correct resource path is returned.
- *
- * @since 2.0
- */
- public void resourceGetRequestPathTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceGetRequestPathTest");
- invoke();
- }
-
- /**
- * @testName: resourceGetRequestPathLibTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:262
- * @test_Strategy: Validate that the correct resource path is returned when a
- * libraryName is given during the creation of the resource.
- *
- * @since 2.0
- */
- public void resourceGetRequestPathLibTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceGetRequestPathLibTest");
- invoke();
- }
-
- /**
- * @testName: resourceGetURLTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:265
- * @test_Strategy: Validate that the correct URL is returned.
- *
- * @since 2.0
- */
- public void resourceGetURLTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceGetURLTest");
- invoke();
- }
-
- /**
- * @testName: resourceToStringTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:271
- * @test_Strategy: Validate that the correct String represention is returned.
- *
- * @since 2.0
- */
- public void resourceToStringTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceToStringTest");
- invoke();
- }
-
- /**
- * @testName: resourceUserAgentNeedsUpdateTrueTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:272
- * @test_Strategy: Validate that the user-agent requesting the resource needs
- * an update. (Return true)
- *
- * @since 2.0
- */
- public void resourceUserAgentNeedsUpdateTrueTest() throws Fault {
- TEST_PROPS.setProperty(REQUEST_HEADERS,
- "If-Modified-Since: Sat, 29 Oct 1994 19:43:31 GMT");
- TEST_PROPS.setProperty(APITEST, "resourceUserAgentNeedsUpdateTrueTest");
- invoke();
- }
-
- /**
- * @testName: resourceGetResponseHeadersTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:264
- * @test_Strategy: Validate that a Map Object is returned.
- *
- * @since 2.0
- */
- public void resourceGetResponseHeadersTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceGetResponseHeadersTest");
- invoke();
- }
-
- /**
- * @testName: resourceGetResourceNameTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:263
- * @test_Strategy: Validate that the correct Resource Name is returned.
- *
- * @since 2.0
- */
- public void resourceGetResourceNameTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceGetResourceNameTest");
- invoke();
- }
-
- /**
- * @testName: resourceSetResourceNameTest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:269
- * @test_Strategy: Validate that the correct Resource Name is returned after
- * setting it.
- *
- * @since 2.0
- */
- public void resourceSetResourceNameTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceSetResourceNameTest");
- invoke();
- }
-
- /**
- * @testName: resourceSetResourceNameNPETest
- * @assertion_ids: JSF:JAVADOC:266; JSF:JAVADOC:270
- * @test_Strategy: Validate when a null is passed in, a NullPointerException
- * is thrown.
- *
- * @since 2.0
- */
- public void resourceSetResourceNameNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceSetResourceNameNPETest");
- invoke();
- }
-
- //
- // TODO: Need to add getInputStreamIOETest...
- //
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/build.xml
deleted file mode 100644
index a51a8bd81c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/jsf_appl_resource_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/jsf_appl_resource_web.war.sun-web.xml
deleted file mode 100644
index 7a28b9fb0d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/jsf_appl_resource_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_resource_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/jsf_appl_resource_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/jsf_appl_resource_web.xml
deleted file mode 100644
index 1ca57fdcef..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resource/jsf_appl_resource_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application_resource
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.resource.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/TestServlet.java
deleted file mode 100644
index c2486b9227..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/TestServlet.java
+++ /dev/null
@@ -1,372 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
-* $Id$
-*/
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.resourcehandler;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.Enumeration;
-import java.util.Hashtable;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.ResourceHandler;
-import jakarta.faces.context.FacesContext;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- config.getServletContext();
- }
-
- // ------------------------------------------------------------------- Tests
- // ResourceHandler.createResource(resourceName)
- public void resourceHandlerCreateResourceNTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- try {
- handler.createResource("background.css");
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Resource not created by Handler");
- e.printStackTrace();
- }
- }
-
- // ResourceHandler.createResource(null)
- // ResourceHandler.createResource(null, libraryName)
- // ResourceHandler.createResource(null, libraryName, contentType)
- public void resourceHandlerCreateResourceNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // ResourceHandler.createResource(null)
- JSFTestUtil.checkForNPE(handler, "createResource",
- new Class>[] { String.class }, new Object[] { null }, out);
-
- // ResourceHandler.createResource(null, libraryName)
- JSFTestUtil.checkForNPE(handler, "createResource",
- new Class>[] { String.class, String.class },
- new Object[] { null, "style-sheets" }, out);
-
- // ResourceHandler.createResource(null, libraryName, contentType)
- JSFTestUtil.checkForNPE(handler, "createResource",
- new Class>[] { String.class, String.class, String.class },
- new Object[] { null, "style-sheets", "text/css" }, out);
- }
-
- // ResourceHandler.createResource(resourceName libraryName)
- public void resourceHandlerCreateResourceNLTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- try {
- handler.createResource("background.css", "style-sheets");
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "library/resource not created by Handler");
- e.printStackTrace();
- }
-
- }
-
- // ResourceHandler.createResource(resourceName libraryName contentType)
- public void resourceHandlerCreateResourceNLCTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- try {
- handler.createResource("background.css", "style-sheets", "text/css");
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "library/resource not created by Handler");
- e.printStackTrace();
- }
-
- }
-
- // ResourceHandler.createResource(resourceName libraryName null)
- public void resourceHandlerCreateResourceContentNullTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- try {
- handler.createResource("background.css", "style-sheets", null);
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ResourceHandler did not except 'null' value for " + "contentType");
- e.printStackTrace();
- }
- }
-
- // ResourceHandler.createResource(resourceName null contentType)
- public void resourceHandlerCreateResourceLibNullTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- try {
- handler.createResource("background.css", null, "text/css");
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ResourceHandler did not except 'null' value for " + "libraryName");
- e.printStackTrace();
- }
- }
-
- // ResourceHandler.createResource(resourceName null null)
- public void resourceHandlerCreateResourceBothNullTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- try {
- handler.createResource("background.css", null, null);
- out.println("Test PASSED.");
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ResourceHandler did not except 'null' value for "
- + "libraryName & contentType");
- e.printStackTrace();
- }
-
- }
-
- // ResourceHandler.handleResourceRequest()
- public void resourceHandlerHandleResourceRequestTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- try {
- handler.handleResourceRequest(FacesContext.getCurrentInstance());
- out.println("Test PASSED.");
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Call to handleResourceRequest failed see below...");
- e.printStackTrace();
- }
- }
-
- // ResourceHandler.getRendererTypeForResourceName()
- public void resourceHandlergetRendererTypeForResourceNameTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- // Expected values in the form of:
- Hashtable expectedValues = new Hashtable();
- expectedValues.put("background.css", "jakarta.faces.resource.Stylesheet");
- expectedValues.put("hello.js", "jakarta.faces.resource.Script");
-
- Enumeration myKeys = expectedValues.keys();
- while (myKeys.hasMoreElements()) {
- String testValue = (String) myKeys.nextElement();
- String expected = expectedValues.get(testValue);
-
- try {
- String result = handler.getRendererTypeForResourceName(testValue);
-
- if (!expected.equals(result)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL + "Expected: "
- + expected + JSFTestUtil.NL + "Received: " + result);
- return;
- }
-
- out.println("Test PASSED.");
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + "Unexpectedly!");
- e.printStackTrace();
- }
- }
- }
-
- // ResourceHandler.libraryExists()
- public void resourceHandlerlibraryExistsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- if (!handler.libraryExists("style-sheets")) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected library named 'style-sheets' to exist!");
- return;
- }
-
- if (handler.libraryExists("bogus-library-name")) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected library named 'bogus-library-name' NOT " + "to exist!");
- return;
- }
-
- out.println("Test PASSED.");
-
- }
-
- // ResourceHandler.isResourceRendered()
- public void resourceHandlerIsResourceRenderedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- if (handler.isResourceRendered(getFacesContext(), "notrendered",
- "notrendered")) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected library 'notrendered' not to be rendered!");
- }
-
- out.println("Test PASSED.");
-
- }
-
- // ResourceHandler.markResourceRendered
- public void resourceHandlerMarkResourceRenderedTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = getFacesContext().getApplication()
- .getResourceHandler();
-
- if (handler == null) {
- out.println(JSFTestUtil.RESHANDLER_NULL_MSG);
- return;
- }
-
- try {
- handler.createResource("background.css", "style-sheets", "text/css");
- handler.isResourceRendered(getFacesContext(), "background.css",
- "style-sheets");
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "library/resource not created by Handler");
- e.printStackTrace();
- }
-
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/URLClient.java
deleted file mode 100644
index a920c7ebd1..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/URLClient.java
+++ /dev/null
@@ -1,213 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.resourcehandler;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_resourcehandler_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Test Declarations */
-
- /**
- * @testName: resourceHandlerCreateResourceNTest
- * @assertion_ids: JSF:JAVADOC:288; JSF:JAVADOC:289; JSF:JAVADOC:277
- * @test_Strategy: Validate that a Resource is created when: - Passing name
- * Only.(N)
- *
- * createResource(String resourceName)
- *
- * @since 2.0
- */
- public void resourceHandlerCreateResourceNTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceHandlerCreateResourceNTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerCreateResourceNLTest
- * @assertion_ids: JSF:JAVADOC:288; JSF:JAVADOC:289; JSF:JAVADOC:279
- * @test_Strategy: Validate that a Resource is created when: - Passing name
- * and libraryName.(NL)
- *
- * createResource(String resourceName, String libraryName)
- *
- * @since 2.0
- */
- public void resourceHandlerCreateResourceNLTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceHandlerCreateResourceNLTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerCreateResourceNLCTest
- * @assertion_ids: JSF:JAVADOC:288; JSF:JAVADOC:289; JSF:JAVADOC:281
- * @test_Strategy: Validate that a Resource is created when: - Passing name,
- * libraryName, contentType.(NLC)
- *
- * createResource(String resourceName, String libraryName,
- * String contentType)
- *
- * @since 2.0
- */
- public void resourceHandlerCreateResourceNLCTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceHandlerCreateResourceNLCTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerCreateResourceNPETest
- * @assertion_ids: JSF:JAVADOC:278;JSF:JAVADOC:280;JSF:JAVADOC:282
- * @test_Strategy: Validate that a NullPointerException is thrown when: -
- * Passing 'null'. Method(s) Covered:
- * ResourceHandler.createResource(null)
- * ResourceHandler.createResource(null, libraryName)
- * ResourceHandler.createResource(null, libraryName,
- * contentType)
- *
- * @since 2.0
- */
- public void resourceHandlerCreateResourceNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceHandlerCreateResourceNPETest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerCreateResourceContentNullTest
- * @assertion_ids: JSF:JAVADOC:288; JSF:JAVADOC:289; JSF:JAVADOC:281
- * @test_Strategy: Validate that null can be passed into ContentType.
- *
- * @since 2.0
- */
- public void resourceHandlerCreateResourceContentNullTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "resourceHandlerCreateResourceContentNullTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerCreateResourceLibNullTest
- * @assertion_ids: JSF:JAVADOC:288; JSF:JAVADOC:289; JSF:JAVADOC:281
- * @test_Strategy: Validate that null can be passed into LibraryName.
- *
- * @since 2.0
- */
- public void resourceHandlerCreateResourceLibNullTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceHandlerCreateResourceLibNullTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerCreateResourceBothNullTest
- * @assertion_ids: JSF:JAVADOC:288; JSF:JAVADOC:289; JSF:JAVADOC:281
- * @test_Strategy: Validate that null can be passed into ContentType &
- * LibraryName.
- *
- * @since 2.0
- */
- public void resourceHandlerCreateResourceBothNullTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "resourceHandlerCreateResourceBothNullTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerHandleResourceRequestTest
- * @assertion_ids: JSF:JAVADOC:288; JSF:JAVADOC:289; JSF:JAVADOC:284
- * @test_Strategy: Validate that a call to handleResourceRequest(FacesContext)
- * does not throw an Exception.
- *
- * @since 2.0
- */
- public void resourceHandlerHandleResourceRequestTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceHandlerHandleResourceRequestTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlergetRendererTypeForResourceNameTest
- * @assertion_ids: JSF:JAVADOC:288; JSF:JAVADOC:289; JSF:JAVADOC:283
- * @test_Strategy: Validate that a call to
- * getRendererTypeForResourceName(ResourceName) returns the
- * correct RenderedType.
- *
- * @since 2.0
- */
- public void resourceHandlergetRendererTypeForResourceNameTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "resourceHandlergetRendererTypeForResourceNameTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerlibraryExistsTest
- * @assertion_ids: JSF:JAVADOC:288; JSF:JAVADOC:289; JSF:JAVADOC:287
- * @test_Strategy: Validate that a call to libraryExists(libraryName) returns
- * true. If the Library exists and false if not.
- *
- * @since 2.0
- */
- public void resourceHandlerlibraryExistsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceHandlerlibraryExistsTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerIsResourceRenderedTest
- * @assertion_ids: PENDING
- *
- * @since 2.0
- */
- public void resourceHandlerIsResourceRenderedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceHandlerIsResourceRenderedTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerMarkResourceRenderedTest
- * @assertion_ids: PENDING
- *
- * @since 2.0
- */
- public void resourceHandlerMarkResourceRenderedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceHandlerMarkResourceRenderedTest");
- invoke();
- }
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/build.xml
deleted file mode 100644
index b1e92292aa..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/jsf_appl_resourcehandler_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/jsf_appl_resourcehandler_web.war.sun-web.xml
deleted file mode 100644
index c8dd930edf..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/jsf_appl_resourcehandler_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_resourcehandler_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/jsf_appl_resourcehandler_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/jsf_appl_resourcehandler_web.xml
deleted file mode 100644
index 26948b3fbc..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandler/jsf_appl_resourcehandler_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application_resourcehandler
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.resourcehandler.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/URLClient.java
deleted file mode 100644
index fb10427d80..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/URLClient.java
+++ /dev/null
@@ -1,164 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.resourcehandlerEx;
-
-import java.io.PrintWriter;
-import java.util.Formatter;
-
-import com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException;
-import com.gargoylesoftware.htmlunit.html.HtmlAnchor;
-import com.gargoylesoftware.htmlunit.html.HtmlPage;
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.BaseHtmlUnitClient;
-
-public final class URLClient extends BaseHtmlUnitClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_resourcehandlerEx_web";
-
- private static final String NOT_FOUND = "404 Not Found";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
-
- Status s = theTests.run(args, new PrintWriter(System.out, true),
- new PrintWriter(System.err, true));
- s.exit();
- }
-
- public Status run(String[] args, PrintWriter out, PrintWriter err) {
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /**
- * @testName: resourceHandlerExcludePropertiesTest
- * @assertion_ids: JSF:JAVADOC:284
- * @test_Strategy: Validate that a .properties(RESOURCE_EXCLUDES_DEFAULT_VALUE
- * constant) files when package as a resource returns a 404
- * when called.
- *
- * @since 2.0
- */
- public void resourceHandlerExcludePropertiesTest() throws Fault {
- HtmlPage page = getPage(
- CONTEXT_ROOT + "/faces/resourceHandlerExcludeTest.xhtml");
- HtmlAnchor outputLink = (HtmlAnchor) getElementOfTypeIncludingId(page, "a",
- "properties");
- this.testLink(outputLink);
- }
-
- /**
- * @testName: resourceHandlerExcludeClassTest
- * @assertion_ids: JSF:JAVADOC:284
- * @test_Strategy: Validate that a .class(RESOURCE_EXCLUDES_DEFAULT_VALUE
- * constant) files when package as a resource returns a 404
- * when called.
- *
- * @since 2.0
- */
- public void resourceHandlerExcludeClassTest() throws Fault {
- HtmlPage page = getPage(
- CONTEXT_ROOT + "/faces/resourceHandlerExcludeTest.xhtml");
- HtmlAnchor outputLink = (HtmlAnchor) getElementOfTypeIncludingId(page, "a",
- "class");
- this.testLink(outputLink);
- }
-
- /**
- * @testName: resourceHandlerExcludeJSPXTest
- * @assertion_ids: JSF:JAVADOC:284
- * @test_Strategy: Validate that a .jspx(RESOURCE_EXCLUDES_DEFAULT_VALUE
- * constant) files when package as a resource returns a 404
- * when called.
- *
- * @since 2.0
- */
- public void resourceHandlerExcludeJSPXTest() throws Fault {
- HtmlPage page = getPage(
- CONTEXT_ROOT + "/faces/resourceHandlerExcludeTest.xhtml");
- HtmlAnchor outputLink = (HtmlAnchor) getElementOfTypeIncludingId(page, "a",
- "jspx");
- this.testLink(outputLink);
- }
-
- /**
- * @testName: resourceHandlerExcludeJSPTest
- * @assertion_ids: JSF:JAVADOC:284
- * @test_Strategy: Validate that a .jsp(RESOURCE_EXCLUDES_DEFAULT_VALUE
- * constant) files when package as a resource returns a 404
- * when called.
- *
- * @since 2.0
- */
- public void resourceHandlerExcludeJSPTest() throws Fault {
- HtmlPage page = getPage(
- CONTEXT_ROOT + "/faces/resourceHandlerExcludeTest.xhtml");
- HtmlAnchor outputLink = (HtmlAnchor) getElementOfTypeIncludingId(page, "a",
- "jsp");
- this.testLink(outputLink);
- }
-
- /**
- * @testName: resourceHandlerExcludeXHTMLTest
- * @assertion_ids: JSF:JAVADOC:284
- * @test_Strategy: Validate that a .xhtml(RESOURCE_EXCLUDES_DEFAULT_VALUE
- * constant) files when package as a resource returns a 404
- * when called.
- *
- * @since 2.0
- */
- public void resourceHandlerExcludeXHTMLTest() throws Fault {
- HtmlPage page = getPage(
- CONTEXT_ROOT + "/faces/resourceHandlerExcludeTest.xhtml");
- HtmlAnchor outputLink = (HtmlAnchor) getElementOfTypeIncludingId(page, "a",
- "xhtml");
- this.testLink(outputLink);
- }
-
- // --------------------------------------------------------- private methods
- private void testLink(HtmlAnchor a) throws Fault {
- StringBuilder messages = new StringBuilder(128);
- Formatter formatter = new Formatter(messages);
-
- try {
- a.click().getWebResponse().getStatusCode();
-
- } catch (Exception e) {
- if (e instanceof FailingHttpStatusCodeException) {
- String returned = e.getMessage();
- if (!returned.contains(NOT_FOUND)) {
- System.out.println("MESSAGE: " + e.getMessage());
- formatter.format("Unexpected return status code! %n"
- + "Expected: '%s'%n" + "Received: '%s'%n", NOT_FOUND, returned);
- handleTestStatus(messages);
- return;
- }
-
- } else {
- formatter.format("Unexpected Exception! %n" + e.toString());
- handleTestStatus(messages);
- return;
- }
- }
- }
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/build.xml
deleted file mode 100644
index 6ff3ba9349..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/jsf_appl_resourcehandlerEx_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/jsf_appl_resourcehandlerEx_web.war.sun-web.xml
deleted file mode 100644
index 5032557835..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/jsf_appl_resourcehandlerEx_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_resourcehandlerEx_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/jsf_appl_resourcehandlerEx_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/jsf_appl_resourcehandlerEx_web.xml
deleted file mode 100644
index 421db60668..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/jsf_appl_resourcehandlerEx_web.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
- jsf_application_resourcehandlerEx
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/neg_class_test.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/neg_class_test.java
deleted file mode 100644
index 0b0360cbaf..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerEx/neg_class_test.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.resourcehandlerEx;
-
-public class neg_class_test {
-
- // THIS CLASS DOES NOTHING ITS USED FOR THE SUFFIX ONLY.
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/TestServlet.java
deleted file mode 100644
index c5decca72f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/TestServlet.java
+++ /dev/null
@@ -1,281 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.resourcehandlerwrapper;
-
-//import com.sun.ts.tests.jsf.api.jakarta_faces.application.application.*;
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.Resource;
-import jakarta.faces.application.ResourceHandler;
-import jakarta.faces.application.ResourceHandlerWrapper;
-import jakarta.faces.context.FacesContext;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- private static final String RESOURCENAME = "background.css";
-
- private static final String LIBNAME = "style-sheets";
-
- private static final String MIME = "text/css";
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- config.getServletContext();
- }
-
- public void destroy() {
- super.destroy();
- }
-
- // ------------------------------------------------------------------- Tests
- // ResourceHandler.createResource(resourceName)
- public void resourceHandlerWrapperCreateResourceNTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- MyRHWrapper whandler = new MyRHWrapper();
-
- if (whandler != null) {
- Resource resource = whandler.createResource(RESOURCENAME);
- this.checkResourceName(resource, RESOURCENAME, out);
-
- }
- }
-
- // ResourceHandler.createResource(resourceName, libraryName)
- public void resourceHandlerWrapperCreateResourceNLTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- MyRHWrapper whandler = new MyRHWrapper();
-
- if (whandler != null) {
- Resource resource = whandler.createResource(RESOURCENAME, LIBNAME);
- this.checkResourceName(resource, RESOURCENAME, out);
- this.checkResourceLibName(resource, LIBNAME, out);
-
- }
- }
-
- // ResourceHandler.createResource(resourceName, libraryName, contentType)
- public void resourceHandlerWrapperCreateResourceNLTTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- MyRHWrapper whandler = new MyRHWrapper();
-
- if (whandler != null) {
- Resource resource = whandler.createResource(RESOURCENAME, LIBNAME, MIME);
- this.checkResourceName(resource, RESOURCENAME, out);
- this.checkResourceLibName(resource, LIBNAME, out);
- this.checkResourceType(resource, MIME, out);
-
- }
- }
-
- // ResourceHandler.createResource(resourceName, null, null)
- public void resourceHandlerWrapperCreateResourceNullTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler whandler = new MyRHWrapper();
-
- if (whandler != null) {
- Resource resource = whandler.createResource(RESOURCENAME, null, null);
- this.checkResourceName(resource, RESOURCENAME, out);
- this.checkResourceLibName(resource, null, out);
- this.checkResourceType(resource, MIME, out);
-
- }
- }
-
- // ResourceHandler.getRendererTypeForResourceName(resourceName)
- public void resourceHandlerWrappergetRendererTypeTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- MyRHWrapper whandler = new MyRHWrapper();
- String expected = "jakarta.faces.resource.Stylesheet";
-
- if (whandler != null) {
- whandler.createResource(RESOURCENAME);
- String result = whandler.getRendererTypeForResourceName(RESOURCENAME);
-
- if (expected.equals(result)) {
- out.println(JSFTestUtil.PASS);
-
- } else {
- out.println("Test FAILED. Unexpected renderer-type!" + JSFTestUtil.NL
- + "Expected: " + expected + JSFTestUtil.NL + "Received: " + result);
- }
-
- }
- }
-
- // ResourceHandlerWrapper.handleResourceRequest()
- public void resourceHandlerWrapperHandleResourceRequestTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = new MyRHWrapper();
-
- if (handler != null) {
- try {
- handler.handleResourceRequest(FacesContext.getCurrentInstance());
- out.println("Test PASSED.");
-
- } catch (Exception e) {
- out.println("Test FAILED.");
- out.println("Call to handleResourceRequest failed " + "see below...");
- e.printStackTrace();
- }
- }
- }
-
- // ResourceHandlerWrapper.libraryExists()
- public void resourceHandlerWrapperLibraryExistsTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceHandler handler = new MyRHWrapper();
-
- boolean tp = true;
- if (handler != null) {
- if (handler.libraryExists(LIBNAME)) {
- // do nothing the test passed.
- } else {
- tp = false;
- out.println(
- "FAILURE: Expected library named " + LIBNAME + " to exist!");
- }
-
- if (!(handler.libraryExists("bogus-library-name"))) {
- // do nothing the test passed.
- } else {
- tp = false;
- out.println("FAILURE: Expected library named "
- + "'bogus-library-name' NOT to exist!");
- }
-
- if (tp) {
- out.println("Test PASSED.");
- } else {
- out.println(JSFTestUtil.FAIL + " See above message(s)");
- }
-
- }
- }
-
- // ------------------------------------------------------- private methods
- /*
- * Check Resource Name
- */
- private void checkResourceName(Resource res, String name, PrintWriter pw) {
-
- if (name.equals(res.getResourceName())) {
- pw.println("Resource Name Test PASSED");
- } else {
- pw.println("Resource Name Test FAILED.");
- pw.println("Expected Resource Name: " + RESOURCENAME);
- pw.println("Received Resource Name: " + res.getResourceName());
- }
-
- }
-
- /*
- * Check Resource libraryName
- */
- private void checkResourceLibName(Resource res, String libName,
- PrintWriter pw) {
-
- String resource = (null == res.getLibraryName()) ? "null"
- : res.getLibraryName();
-
- String ln = (null == libName) ? "null" : libName;
-
- if (ln.equals(resource)) {
- pw.println("Library Name Test PASSED");
- } else {
- pw.println("Library Name Test FAILED.");
- pw.println("Expected Library Name: " + ln);
- pw.println("Received Library Name: " + resource);
- }
-
- }
-
- /*
- * Check Resource Type
- */
- private void checkResourceType(Resource res, String type, PrintWriter pw) {
-
- String resource = (null == res.getContentType()) ? "null"
- : res.getContentType();
-
- String tn = (null == type) ? "null" : type;
-
- if (tn.equals(resource)) {
- pw.println("Content Type Test PASSED");
- } else {
- pw.println("Content Type Test FAILED");
- pw.println("Expected Content Type: " + tn);
- pw.println("Received Content Type: " + resource);
- }
-
- }
-
- // ------------------------------------------------------- private classes
- /*
- * Over ride the getWrapped method on the ResourceHandlerWrapped.
- */
- private class MyRHWrapper extends ResourceHandlerWrapper {
-
- ResourceHandler wrapped = this.getWrapped();
-
- @Override
- public ResourceHandler getWrapped() {
- return getFacesContext().getApplication().getResourceHandler();
- }
-
- @Override
- public String getRendererTypeForResourceName(String arg0) {
- return wrapped.getRendererTypeForResourceName(arg0);
- }
-
- @Override
- public boolean libraryExists(String arg0) {
- return wrapped.libraryExists(arg0);
- }
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/URLClient.java
deleted file mode 100644
index 1d7ccc7ddb..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/URLClient.java
+++ /dev/null
@@ -1,143 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.resourcehandlerwrapper;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_resourcehandlerwrapper_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
- /**
- * @testName: resourceHandlerWrapperCreateResourceNTest
- * @assertion_ids: JSF:JAVADOC:293; JSF:JAVADOC:289; JSF:JAVADOC:298
- * @test_Strategy: Validate that a Resource is created when the following is
- * passed in. -resourceName
- *
- * @since 2.0
- */
- public void resourceHandlerWrapperCreateResourceNTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "resourceHandlerWrapperCreateResourceNTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerWrapperCreateResourceNLTest
- * @assertion_ids: JSF:JAVADOC:293; JSF:JAVADOC:290; JSF:JAVADOC:298
- * @test_Strategy: Validate that a Resource is created when the following is
- * passed in. -resourceName -libraryName
- *
- * @since 2.0
- */
- public void resourceHandlerWrapperCreateResourceNLTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "resourceHandlerWrapperCreateResourceNLTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerWrapperCreateResourceNLTTest
- * @assertion_ids: JSF:JAVADOC:293; JSF:JAVADOC:291; JSF:JAVADOC:298
- * @test_Strategy: Validate that a Resource is created when the following is
- * passed in. -resourceName -libraryName -contentType
- *
- * @since 2.0
- */
- public void resourceHandlerWrapperCreateResourceNLTTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "resourceHandlerWrapperCreateResourceNLTTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerWrapperCreateResourceNullTest
- * @assertion_ids: JSF:JAVADOC:293; JSF:JAVADOC:291; JSF:JAVADOC:298
- * @test_Strategy: Validate that a Resource is created when the following is
- * passed in. -resourceName -null -null
- *
- * @since 2.0
- */
- public void resourceHandlerWrapperCreateResourceNullTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "resourceHandlerWrapperCreateResourceNullTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerWrappergetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:293; JSF:JAVADOC:292; JSF:JAVADOC:298
- * @test_Strategy: Validate that the correct renderer-type is returned
- *
- * @since 2.0
- */
- public void resourceHandlerWrappergetRendererTypeTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "resourceHandlerWrappergetRendererTypeTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerWrapperHandleResourceRequestTest
- * @assertion_ids: JSF:JAVADOC:293; JSF:JAVADOC:294; JSF:JAVADOC:298
- * @test_Strategy: Validate that ResourceWrapperHandle
- *
- * @since 2.0
- */
- public void resourceHandlerWrapperHandleResourceRequestTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "resourceHandlerWrapperHandleResourceRequestTest");
- invoke();
- }
-
- /**
- * @testName: resourceHandlerWrapperLibraryExistsTest
- * @assertion_ids: JSF:JAVADOC:293; JSF:JAVADOC:297; JSF:JAVADOC:298
- * @test_Strategy: Validate that a call to libraryExists(libraryName) returns
- * false if the library does not exist..
- *
- * @since 2.0
- */
- public void resourceHandlerWrapperLibraryExistsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceHandlerWrapperLibraryExistsTest");
- invoke();
- }
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/build.xml
deleted file mode 100644
index ce560b3f07..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/jsf_appl_resourcehandlerwrapper_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/jsf_appl_resourcehandlerwrapper_web.war.sun-web.xml
deleted file mode 100644
index 1c68b841eb..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/jsf_appl_resourcehandlerwrapper_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_resourcehandlerwrapper_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/jsf_appl_resourcehandlerwrapper_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/jsf_appl_resourcehandlerwrapper_web.xml
deleted file mode 100644
index e55c336b22..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcehandlerwrapper/jsf_appl_resourcehandlerwrapper_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application_resourcehandlerwrapper
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.resourcehandlerwrapper.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/TestServlet.java
deleted file mode 100644
index d973697826..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/TestServlet.java
+++ /dev/null
@@ -1,182 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.resourcewrapper;
-
-//import com.sun.ts.tests.jsf.api.jakarta_faces.application.application.*;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.PrintWriter;
-import java.util.Map;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.Resource;
-import jakarta.faces.application.ResourceHandler;
-import jakarta.faces.application.ResourceWrapper;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- /*
- * private test values. (These are the expected results!)
- */
- private static final String RESOURCE_NAME = "duke-boxer.gif";
-
- private static final String LIBRARY_NAME = "images";
-
- private static final String RESOURCE_PATH = "/jsf_appl_resourcewrapper_web/TestServlet/jakarta.faces.resource/"
- + RESOURCE_NAME;
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- config.getServletContext();
- }
-
- public void destroy() {
- super.destroy();
- }
-
- // ------------------------------------------------------------------- Tests
- public void resourceWrapperGetInputStreamTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceWrapper wrapped = new TCKResourceWrapper();
-
- if (wrapped.getInputStream().read() > 0) {
- out.println("Test PASSED.");
-
- } else {
- out.println("Test FAILED.");
- out.println("InputSteam Empty");
- }
-
- }
-
- public void resourceWrapperGetURLTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceWrapper wrapped = new TCKResourceWrapper();
-
- int expected = 2947;
-
- InputStream is = wrapped.getURL().openStream();
- int result = 0;
- while (is.read() != -1) {
- result++;
- }
-
- if (expected == result) {
- out.println(JSFTestUtil.PASS);
- } else {
- out.println("Test FAILED. Unexpected URL Path!");
- out.println("Expected Resource Size: " + expected + " bits");
- out.println("Recieved Resource Size: " + result + " bits");
- }
-
- }
-
- public void resourceWrapperGetRequestPathTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceWrapper wrapped = new TCKResourceWrapper();
-
- if (RESOURCE_PATH.equals(wrapped.getRequestPath())) {
- out.println("Test PASSED.");
-
- } else {
- out.println("Test FAILED. Invalid RequestPath Returned.");
- out.println("Expected: " + RESOURCE_PATH);
- out.println("Received: " + wrapped.getRequestPath());
- }
-
- }
-
- public void resourceWrapperGetRequestPathLibTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceWrapper wrapped = new TCKResourceLibWrapper();
-
- String expected = RESOURCE_PATH + "?ln=" + LIBRARY_NAME;
-
- if (expected.equals(wrapped.getRequestPath())) {
- out.println("Test PASSED.");
-
- } else {
- out.println("Test FAILED. Invalid RequestPath Returned.");
- out.println("Expected: " + expected);
- out.println("Received: " + wrapped.getRequestPath());
- }
-
- }
-
- public void resourceWrapperGetResponseHeadersTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ResourceWrapper wrapped = new TCKResourceWrapper();
-
- Map rMap = wrapped.getResponseHeaders();
-
- if (!(rMap == null)) {
- out.println("Test PASSED.");
-
- } else {
- out.println("Test FAILED. Zero Length ResponseHeader Returned.");
- }
- }
-
- // ------------------------------------------------------- private classes
- /*
- * ResourceWrapped.
- */
- private class TCKResourceWrapper extends ResourceWrapper {
-
- @Override
- public Resource getWrapped() {
- ResourceHandler rh = getFacesContext().getApplication()
- .getResourceHandler();
-
- Resource resource = rh.createResource(RESOURCE_NAME);
-
- return resource;
- }
- }
-
- private class TCKResourceLibWrapper extends ResourceWrapper {
-
- @Override
- public Resource getWrapped() {
- ResourceHandler rh = getFacesContext().getApplication()
- .getResourceHandler();
-
- Resource resource = rh.createResource(RESOURCE_NAME, LIBRARY_NAME);
-
- return resource;
- }
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/URLClient.java
deleted file mode 100644
index 5c51045f97..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/URLClient.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.resourcewrapper;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_resourcewrapper_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
- /**
- * @testName: resourceWrapperGetInputStreamTest
- * @assertion_ids: JSF:JAVADOC:299; JSF:JAVADOC:305
- * @test_Strategy: Validate that a call to ResourceWrapper.getInputStream
- * returns with no errors.
- *
- * @since 2.0
- */
- public void resourceWrapperGetInputStreamTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceWrapperGetInputStreamTest");
- invoke();
- }
-
- /**
- * @testName: resourceWrapperGetRequestPathTest
- * @assertion_ids: JSF:JAVADOC:301; JSF:JAVADOC:304; JSF:JAVADOC:305
- * @test_Strategy: Validate that the correct path is returned.
- *
- * @since 2.0
- */
- public void resourceWrapperGetRequestPathTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceWrapperGetRequestPathTest");
- invoke();
- }
-
- /**
- * @testName: resourceWrapperGetRequestPathLibTest
- * @assertion_ids: JSF:JAVADOC:301; JSF:JAVADOC:304; JSF:JAVADOC:305
- * @test_Strategy: Validate that the correct path is returned.
- *
- * @since 2.0
- */
- public void resourceWrapperGetRequestPathLibTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceWrapperGetRequestPathLibTest");
- invoke();
- }
-
- /**
- * @testName: resourceWrapperGetURLTest
- * @assertion_ids: JSF:JAVADOC:303; JSF:JAVADOC:304; JSF:JAVADOC:305
- * @test_Strategy: Validate that the correct URL is returned.
- *
- * @since 2.0
- */
- public void resourceWrapperGetURLTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceWrapperGetURLTest");
- invoke();
- }
-
- /**
- * @testName: resourceWrapperGetResponseHeadersTest
- * @assertion_ids: JSF:JAVADOC:302; JSF:JAVADOC:304; JSF:JAVADOC:305
- * @test_Strategy: Validate that a Map Object is returned.
- *
- * @since 2.0
- */
- public void resourceWrapperGetResponseHeadersTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "resourceWrapperGetResponseHeadersTest");
- invoke();
- }
-
- //
- // TODO: Add resourceWrapperInputStreamIOETest()
- //
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/build.xml
deleted file mode 100644
index 7c38931f8f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/jsf_appl_resourcewrapper_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/jsf_appl_resourcewrapper_web.war.sun-web.xml
deleted file mode 100644
index 961e790ceb..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/jsf_appl_resourcewrapper_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_resourcewrapper_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/jsf_appl_resourcewrapper_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/jsf_appl_resourcewrapper_web.xml
deleted file mode 100644
index 34578ce9f8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/resourcewrapper/jsf_appl_resourcewrapper_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application_resourcewrapper
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.resourcewrapper.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/TestServlet.java
deleted file mode 100644
index ff8e2eb48a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/TestServlet.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.statemanager;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.util.Locale;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.application.StateManager;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.context.ResponseWriter;
-import jakarta.faces.render.RenderKit;
-import jakarta.faces.render.RenderKitFactory;
-import jakarta.faces.validator.LengthValidator;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- *
- * @param config
- * this Servlet's configuration
- * @throws jakarta.servlet.ServletException
- * if an error occurs
- */
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- }
-
- // ---------------------------------------------------------------- Test
- // Methods
-
- // Validation of return value will be performed on the client side.
- public void stateManagerIsSavingStateInClientTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- out.println(getApplication().getStateManager()
- .isSavingStateInClient(getFacesContext()));
- }
-
- // Validate NPE is thrown when context is null
- public void stateManagerIsSavingStateInClientNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
-
- try {
- getApplication().getStateManager().isSavingStateInClient(null);
- out.println("Test FAILED No Exception Thrown!");
-
- } catch (NullPointerException npe) {
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println("Test FAILED Unexpected Exception thrown." + JSFTestUtil.NL
- + "Expected: NullPointerException" + JSFTestUtil.NL + "Received: "
- + JSFTestUtil.NL + e.toString());
- }
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/URLClient.java
deleted file mode 100644
index 950677002e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/URLClient.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.statemanager;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_statemgrs_web.xml";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out, true),
- new PrintWriter(System.err, true));
- s.exit();
- }
-
- public Status run(String[] args, PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
- /**
- * @testName: stateManagerIsSavingStateInClientTest
- * @assertion_ids: JSF:JAVADOC:308
- * @test_Strategy: Ensure isStateSavingInClient() returns the expected value
- * based on the context initialization parameter.
- */
- public void stateManagerIsSavingStateInClientTest() throws Fault {
- TEST_PROPS.setProperty(REQUEST, "GET /jsf_appl_statemgrs_web/TestServlet?"
- + "testname=stateManagerIsSavingStateInClientTest HTTP/1.0");
- TEST_PROPS.setProperty(SEARCH_STRING, "false");
- invoke();
- TEST_PROPS.setProperty(REQUEST, "GET /jsf_appl_statemgrc_web/TestServlet?"
- + "testname=stateManagerIsSavingStateInClientTest HTTP/1.0");
- TEST_PROPS.setProperty(SEARCH_STRING, "true");
- invoke();
- }
-
- /**
- * @testName: stateManagerIsSavingStateInClientNPETest
- * @assertion_ids: JSF:JAVADOC:309
- * @test_Strategy: Ensure isStateSavingInClient() throws a
- * NullPointerException when Context is null.
- */
- public void stateManagerIsSavingStateInClientNPETest() throws Fault {
- TEST_PROPS.setProperty(REQUEST,
- "GET /jsf_appl_statemgrs_web/TestServlet?testname="
- + "stateManagerIsSavingStateInClientNPETest HTTP/1.0");
- TEST_PROPS.setProperty(SEARCH_STRING, "Test PASSED");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/build.xml
deleted file mode 100644
index 0d639d4744..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/build.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/jsf_appl_statemgrc_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/jsf_appl_statemgrc_web.war.sun-web.xml
deleted file mode 100644
index 845f6aafaa..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/jsf_appl_statemgrc_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_statemgrc_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/jsf_appl_statemgrc_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/jsf_appl_statemgrc_web.xml
deleted file mode 100644
index b927bea2c5..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/jsf_appl_statemgrc_web.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jsf_application_statemgr
-
- jakarta.faces.STATE_SAVING_METHOD
- client
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.statemanager.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/jsf_appl_statemgrs_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/jsf_appl_statemgrs_web.war.sun-web.xml
deleted file mode 100644
index e05697694d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/jsf_appl_statemgrs_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_statemgrs_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/jsf_appl_statemgrs_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/jsf_appl_statemgrs_web.xml
deleted file mode 100644
index 7d3985e130..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanager/jsf_appl_statemgrs_web.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jsf_application_statemgr
-
- jakarta.faces.STATE_SAVING_METHOD
- server
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.statemanager.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/TestServlet.java
deleted file mode 100644
index 495117e975..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/TestServlet.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.statemanagerwrapper;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.StringWriter;
-import java.util.Locale;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.application.StateManager;
-import jakarta.faces.application.StateManagerWrapper;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.context.ResponseWriter;
-import jakarta.faces.render.RenderKit;
-import jakarta.faces.render.RenderKitFactory;
-import jakarta.faces.validator.LengthValidator;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- *
- * @param config
- * this Servlet's configuration
- * @throws jakarta.servlet.ServletException
- * if an error occurs
- */
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- }
-
- // ---------------------------------------------------------------- Test
- // Methods
-
- // Validation of return value will be performed on the client side.
- public void stateManagerIsSavingStateInClientTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- StateManager manager = new SimpleStateManagerWrapper(
- getApplication().getStateManager());
- out.println(manager.isSavingStateInClient(getFacesContext()));
- }
-
-
- // ----------------------------------------------------------- Inner Classes
-
- private static class SimpleStateManagerWrapper extends StateManagerWrapper {
-
- StateManager manager;
-
- // -------------------------------------------------------- Constructors
-
- SimpleStateManagerWrapper(StateManager manager) {
-
- super(manager);
- if (manager == null) {
- throw new IllegalArgumentException(
- "StateManager argument cannot be null.");
- }
- this.manager = manager;
-
- } // END SimpleStateManagerWrapper
-
- // ------------------------------------ Methods from StateManagerWrapper
-
- public StateManager getWrapped() {
-
- return manager;
-
- } // END getWrapped
-
- } // END SimpleStateManagerWrapper
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/URLClient.java
deleted file mode 100644
index e727c00389..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/URLClient.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.statemanagerwrapper;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_statemgrwraps_web.xml";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out, true),
- new PrintWriter(System.err, true));
- s.exit();
- }
-
- public Status run(String[] args, PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: stateManagerIsSavingStateInClientTest
- * @assertion_ids: JSF:JAVADOC:326
- * @test_Strategy: Ensure the default behavior of
- * StateManagerWraper.isStateSavingInClient() calls through to
- * the wrapped StateManager instance and returns the expected
- * value based on the context initialization parameter.
- * @since 1.2
- */
- public void stateManagerIsSavingStateInClientTest() throws Fault {
- TEST_PROPS.setProperty(REQUEST,
- "GET /jsf_appl_statemgrwraps_web/TestServlet?testname=stateManagerIsSavingStateInClientTest HTTP/1.0");
- TEST_PROPS.setProperty(SEARCH_STRING, "false");
- invoke();
- TEST_PROPS.setProperty(REQUEST,
- "GET /jsf_appl_statemgrwrapc_web/TestServlet?testname=stateManagerIsSavingStateInClientTest HTTP/1.0");
- TEST_PROPS.setProperty(SEARCH_STRING, "true");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/build.xml
deleted file mode 100644
index 35388ec29f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/build.xml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/jsf_appl_statemgrwrapc_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/jsf_appl_statemgrwrapc_web.war.sun-web.xml
deleted file mode 100644
index ecfc0fbbc5..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/jsf_appl_statemgrwrapc_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_statemgrwrapc_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/jsf_appl_statemgrwrapc_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/jsf_appl_statemgrwrapc_web.xml
deleted file mode 100644
index ce491be64c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/jsf_appl_statemgrwrapc_web.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jsf_application_statemgrwrap
-
- jakarta.faces.STATE_SAVING_METHOD
- client
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.statemanagerwrapper.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/jsf_appl_statemgrwraps_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/jsf_appl_statemgrwraps_web.war.sun-web.xml
deleted file mode 100644
index 9a846873e0..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/jsf_appl_statemgrwraps_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_statemgrwraps_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/jsf_appl_statemgrwraps_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/jsf_appl_statemgrwraps_web.xml
deleted file mode 100644
index 89b3b30a97..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/statemanagerwrapper/jsf_appl_statemgrwraps_web.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jsf_application_statemgrwrap
-
- jakarta.faces.STATE_SAVING_METHOD
- server
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.statemanagerwrapper.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/TestServlet.java
deleted file mode 100644
index 86e72e15e7..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/TestServlet.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
- * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.viewexpiredex;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.ViewExpiredException;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends HttpTCKServlet {
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- config.getServletContext();
- }
-
- public void destroy() {
- super.destroy();
- }
-
- // ------------------------------------------------------------------- Tests
-
- public void viewExpiredExceptionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Throwable tckException = new TCKException();
-
- // ViewExpiredException(java.lang.String viewId)
- ViewExpiredException vOne = new ViewExpiredException("Geddy");
- if (this.checkViewId(vOne, "Geddy", out)) {
- // do nothing test passed.
-
- } else {
- return;
-
- }
-
- // ViewExpiredException(java.lang.String message,
- // java.lang.String viewId)
- ViewExpiredException vTwo = new ViewExpiredException("Vocals", "Geddy");
- if (this.checkViewId(vTwo, "Geddy", out)
- && this.checkMessage(vTwo, "Vocals", out)) {
- // do nothing test passed.
-
- } else {
- return;
- }
-
- // ViewExpiredException(java.lang.Throwable cause,
- // java.lang.String viewId)
- ViewExpiredException vThree = new ViewExpiredException(tckException,
- "Geddy");
-
- if (this.checkViewId(vThree, "Geddy", out)
- && this.checkCause(vThree, "TCKException", out)) {
- // do nothing test passed.
-
- } else {
- return;
- }
-
- // ViewExpiredException(java.lang.String message,
- // java.lang.Throwable cause,
- // java.lang.String viewId)
- ViewExpiredException vFour = new ViewExpiredException("Vocals",
- tckException, "Geddy");
-
- if (this.checkViewId(vFour, "Geddy", out)
- && this.checkMessage(vFour, "Vocals", out)
- && this.checkCause(vFour, "TCKException", out)) {
- // do nothing test passed.
-
- } else {
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ----------------------------------------------------------- private
- // methods
-
- private Boolean checkViewId(ViewExpiredException vee, String expectedId,
- PrintWriter out) {
- String resultViewId = vee.getViewId();
- Boolean result = true;
-
- if (resultViewId == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ViewExpiredException.getViewId() returned null when "
- + "not expected too!");
- result = false;
-
- } else if (!resultViewId.contains(expectedId)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ViewId does not contain initially set viewId!" + JSFTestUtil.NL
- + "Expected: " + expectedId + JSFTestUtil.NL + "Received: "
- + resultViewId);
- result = false;
- }
-
- return result;
- }
-
- private Boolean checkMessage(ViewExpiredException vee, String expectedMess,
- PrintWriter out) {
- String resultMess = vee.getMessage();
- Boolean result = true;
-
- if (resultMess == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ViewExpiredException.getMessage() returned null when "
- + "not expected too!");
- result = false;
-
- } else if (!resultMess.contains(expectedMess)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Message does not contain initially set message!" + JSFTestUtil.NL
- + "Expected: " + expectedMess + JSFTestUtil.NL + "Received: "
- + resultMess);
- result = false;
-
- }
-
- return result;
- }
-
- private Boolean checkCause(ViewExpiredException vee, String expectedCause,
- PrintWriter out) {
- String resultCause = vee.getCause().getClass().getSimpleName();
- Boolean result = true;
-
- if (resultCause == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ViewExpiredException.getCause() returned null when "
- + "not expected too!");
- result = false;
-
- }
- if (!resultCause.contains(expectedCause)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Cause does not contain Initially set cause!" + JSFTestUtil.NL
- + "Expected: " + expectedCause + JSFTestUtil.NL + "Received: "
- + resultCause);
- result = false;
-
- }
-
- return result;
- }
-
- // ----------------------------------------------------------- private
- // classes
-
- private class TCKException extends Throwable {
- // this class does not thing other then server as a none SE Exception
- // for this testcase.
-
- }
-
-} // End TestServlet
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/URLClient.java
deleted file mode 100644
index 8326983fc2..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/URLClient.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.viewexpiredex;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_viewexpiredex_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
- /**
- * @testName: viewExpiredExceptionTest
- * @assertion_ids: JSF:JAVADOC:335; JSF:JAVADOC:336; JSF:JAVADOC:337;
- * JSF:JAVADOC:338; JSF:JAVADOC:339; JSF:JAVADOC:340;
- * JSF:JAVADOC:341
- * @test_Strategy: Validated that we are able to call the following
- * constructors, and then call getViewId(), getMessage, &
- * getCause to confirm the proper data had been set or not
- * set.
- *
- * - ViewExpiredException() -
- * ViewExpiredException(java.lang.String viewId) -
- * ViewExpiredException(java.lang.String message,
- * java.lang.String viewId) -
- * ViewExpiredException(java.lang.Throwable cause,
- * java.lang.String viewId) -
- * ViewExpiredException(java.lang.String message,
- * java.lang.Throwable cause, java.lang.String viewId)
- *
- * @since 2.0
- */
- public void viewExpiredExceptionTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewExpiredExceptionTest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/build.xml
deleted file mode 100644
index ce75dbae11..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/build.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/jsf_appl_viewexpiredex_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/jsf_appl_viewexpiredex_web.war.sun-web.xml
deleted file mode 100644
index 3d124cf0ba..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/jsf_appl_viewexpiredex_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_viewexpiredex_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/jsf_appl_viewexpiredex_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/jsf_appl_viewexpiredex_web.xml
deleted file mode 100644
index 8dc0d3f976..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewexpiredex/jsf_appl_viewexpiredex_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_application_viewexpiredex
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.viewexpiredex.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/TestServlet.java
deleted file mode 100644
index ee00eb8ca6..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/TestServlet.java
+++ /dev/null
@@ -1,819 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.viewhandler;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Enumeration;
-import java.util.Iterator;
-import java.util.Locale;
-import java.util.Set;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.application.Application;
-import jakarta.faces.application.ViewHandler;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.ExternalContext;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.context.FacesContextFactory;
-import jakarta.faces.lifecycle.Lifecycle;
-import jakarta.faces.lifecycle.LifecycleFactory;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletRequestWrapper;
-import jakarta.servlet.http.HttpServletResponse;
-
-public final class TestServlet extends HttpTCKServlet {
-
- ServletContext servletContext;
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- servletContext = config.getServletContext();
- }
-
- // ------------------------------------------- Test Methods ----
-
- // ViewHandler.calculateLocale(FacesContext)
- public void viewHandlerCalculateLocaleTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String result = doTestCaseOne(request, response);
- if (result != null) {
- out.println(result);
- return;
- }
-
- result = doTestCaseTwo(request, response);
- if (result != null) {
- out.println(result);
- return;
- }
-
- result = doTestCaseThree(request, response);
- if (result != null) {
- out.println(result);
- return;
- }
-
- result = doTestCaseFour(request, response);
- if (result != null) {
- out.println(result);
- return;
- }
-
- result = doTestCaseFive(request, response);
- if (result != null) {
- out.println(result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ViewRoot.createView(FacesContext, String)
- public void viewHandlerCreateViewTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String viewId = "/viewId";
- UIViewRoot root = getApplication().getViewHandler()
- .createView(getFacesContext(), viewId);
- if (root == null) {
- out.println(
- JSFTestUtil.FAIL + " ViewHandler.createView() returned null.");
- return;
- }
-
- if (!viewId.equals(root.getViewId())) {
- out.println(JSFTestUtil.FAIL + " Expected the UIViewRoot created using"
- + " ViewHandler.createView() to have the same view ID"
- + " as that passed to createView.");
- out.println("Execpted: " + viewId);
- out.println("Received: " + root.getViewId());
- return;
- }
-
- Locale locale = root.getLocale();
- String renderKitId = root.getRenderKitId();
-
- getFacesContext().setViewRoot(root);
-
- String newViewId = "/newViewId";
-
- UIViewRoot root2 = getApplication().getViewHandler()
- .createView(getFacesContext(), newViewId);
- if (root2 == null) {
- out.println(
- JSFTestUtil.FAIL + " ViewHandler.createView() returned null.");
- return;
- }
-
- if (!newViewId.equals(root2.getViewId())) {
- out.println(JSFTestUtil.FAIL + " Expected the UIViewRoot created using"
- + " ViewHandler.createView() to have the same view ID"
- + " as that passed to createView.");
- out.println("Execpted: " + newViewId);
- out.println("Received: " + root2.getViewId());
- return;
- }
-
- if (root2 == root) {
- out.println(JSFTestUtil.FAIL + " createView() returned same view instance"
- + " previously created and stored within the FacesContext");
- out.println("Original view root: " + root);
- out.println("New view root: " + root2);
- return;
- }
-
- if (locale != root2.getLocale()) {
- out.println(JSFTestUtil.FAIL + " Expected the Locale from the original"
- + " view root to be copied to the new view root instance.");
- return;
- }
-
- if (renderKitId != root.getRenderKitId()) {
- out.println(
- JSFTestUtil.FAIL + " Expected the RenderKitID from the original"
- + " view root to be copied to the new view root instance.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ViewRoot.renderView(FacesContext, UIViewRoot) throws NPE if either
- // argument is null
- public void viewHandlerRenderViewNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getApplication().getViewHandler().getClass(),
- "renderView", new Class>[] { FacesContext.class, UIViewRoot.class },
- new Object[] { null, new UIViewRoot() }, out);
-
- JSFTestUtil.checkForNPE(getApplication().getViewHandler().getClass(),
- "renderView", new Class>[] { FacesContext.class, UIViewRoot.class },
- new Object[] { getFacesContext(), null }, out);
- }
-
- // COMMENTED OUT DUE TO CHANGE IN VIEW HANDLER. Basic logic still
- // holds for future specification test.
- // ViewRoot.getViewIdPath()
- // public void viewHandlerGetViewIdPathTest(HttpServletRequest request,
- // HttpServletResponse response)
- // throws ServletException, IOException {
- // PrintWriter out = response.getWriter();
- // TCKServletPathWrapper wrapper =
- // new TCKServletPathWrapper(request);
- // FacesContext context = initFacesContext(wrapper, response);
- //
- // ViewHandler handler = getApplication().getViewHandler();
- //
- // if (handler == null) {
- // out.println(FAIL + " Unable to obtain ViewHandler instance.");
- // return;
- // }
- //
- // String result;
- //
- // if ("prefix".equals(request.getParameter("mapping"))) {
- // // Simulate an incoming prefix path mapped request
- // wrapper.setServletPath("/mapping");
- // wrapper.setPathInfo("/myapp/test.xhtml");
- //
- // result = handler.getViewIdPath(context, "/view.xhtml");
- //
- // if (!"/mapping/view.xhtml".equals(result)) {
- // out.println(FAIL + " Unexpected result returned when using" +
- // " a simulated prefix path mapped request.");
- // out.println("Expected: /mapping/view.xhtml");
- // out.println("Received: " + result);
- // return;
- // }
- // }
- //
- // if ("suffix1".equals(request.getParameter("mapping"))) {
- // // Simulate an incoming extension mapped request -- NOTE:
- // // the view ID has an extension, it should be replaced
- // // with the extension mapping defined in the deployment
- // // descriptor.
- // wrapper.setServletPath("/myapp/view.faces");
- // wrapper.setPathInfo(null);
- //
- // result = handler.getViewIdPath(context, "/view.xhtml");
- //
- // if (!"/view.faces".equals(result)) {
- // out.println("Test FAILED[1]. Unexpected result returned when using" +
- // " a simulated extension mapped request.");
- // out.println("Expected: /view.faces");
- // out.println("Received: " + result);
- // return;
- // }
- // }
- //
- // if ("suffix2".equals(request.getParameter("mapping"))) {
- // // Simulate an incoming extension mapped request -- NOTE:
- // // the view ID has no extension, so it should be appended.
- // wrapper.setServletPath("/myapp/view.faces");
- // wrapper.setPathInfo(null);
- //
- // result = handler.getViewIdPath(context, "/view");
- //
- // if (!"/view.faces".equals(result)) {
- // out.println("Test FAILED[2]. Unexpected result returned when using" +
- // " a simulated extension mapped request.");
- // out.println("Expected: /view.faces");
- // out.println("Received: " + result);
- // return;
- // }
- // }
- //
- // out.println(PASS);
- // }
-
- // ViewHandler.calculateLocale(FacesContext) throws NullPointerException
- public void viewHandlerCalculateLocaleNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getApplication().getViewHandler().getClass(),
- "calculateLocale", new Class>[] { FacesContext.class },
- new Object[] { null }, out);
- }
-
- // ViewHandler.createView(FacesContext, String) throws NullPointerException
- public void viewHandlerCreateViewNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getApplication().getViewHandler().getClass(),
- "createView", new Class>[] { FacesContext.class, String.class },
- new Object[] { null, "/viewId" }, out);
- }
-
- // ViewHandler.calculateRenderKitId(FacesContext) throws
- // NullPointerException
- public void viewHandlerCalculateRenderKitIdNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getApplication().getViewHandler().getClass(),
- "calculateRenderKitId", new Class>[] { FacesContext.class },
- new Object[] { null }, out);
- }
-
- // ViewHandler.getResourceURL(FacesContext, String) throws
- // NullPointerException
- public void viewHandlerGetResourceURLNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getApplication().getViewHandler().getClass(),
- "getResourceURL", new Class>[] { FacesContext.class, String.class },
- new Object[] { null, "testString" }, out);
-
- JSFTestUtil.checkForNPE(getApplication().getViewHandler().getClass(),
- "getResourceURL", new Class>[] { FacesContext.class, String.class },
- new Object[] { getFacesContext(), null }, out);
- }
-
- // ViewHandler.getActionURL(FacesContext, String) throws
- // NullPointerException
- public void viewHandlerGetActionURLNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getApplication().getViewHandler().getClass(),
- "getActionURL", new Class>[] { FacesContext.class, String.class },
- new Object[] { null, "testString" }, out);
-
- JSFTestUtil.checkForNPE(getApplication().getViewHandler().getClass(),
- "getActionURL", new Class>[] { FacesContext.class, String.class },
- new Object[] { getFacesContext(), null }, out);
- }
-
- // ViewHandler.restoreView(FacesContext, String) throws NullPointerException
- public void viewHandlerRestoreViewNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getApplication().getViewHandler().getClass(),
- "restoreView", new Class>[] { FacesContext.class, String.class },
- new Object[] { null, "testString" }, out);
- }
-
- // ViewHandler.writeState(FacesContext) throws NullPointerException
- public void viewHandlerWriteStateNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getApplication().getViewHandler().getClass(),
- "writeState", new Class>[] { FacesContext.class },
- new Object[] { null }, out);
- }
-
- // ViewHandler.calculateCharacterEncoding(FacesContext)
- public void viewHandlerCalculateCharEncodingHDRTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- ViewHandler handler = getApplication().getViewHandler();
- String golden = "Thomas";
- String result = handler.calculateCharacterEncoding(context);
-
- if (golden.equals(result)) {
- out.println(JSFTestUtil.PASS);
-
- } else {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Unexpected value returned from "
- + "ViewHandler.calculateCharacterEncoding(FacesContext)!"
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Received: " + result);
- }
-
- } // End viewHandlerCalculateCharEncodingHDRTest
-
- // ViewHandler.calculateCharacterEncoding(FacesContext)
- public void viewHandlerCalculateCharEncodingNULLTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- ViewHandler handler = getApplication().getViewHandler();
- String result = handler.calculateCharacterEncoding(context);
-
- if (null == handler.calculateCharacterEncoding(context)) {
- out.println(JSFTestUtil.PASS);
-
- } else {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Unexpected value returned from "
- + "ViewHandler.calculateCharacterEncoding(FacesContext)!"
- + JSFTestUtil.NL + "Expected: " + null + JSFTestUtil.NL
- + "Received: " + result);
- }
-
- } // End viewHandlerCalculateCharEncodingNULLTest
-
- // ViewHandler.calculateCharacterEncoding(FacesContext)
- public void viewHandlerCalculateCharEncodingEXTTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- ViewHandler handler = getApplication().getViewHandler();
- ExternalContext ec = (ExternalContext) context.getExternalContext();
-
- String golden = "Thomas";
- ec.getSessionMap().put("jakarta.faces.request.charset", golden);
-
- String result = handler.calculateCharacterEncoding(context);
-
- if (golden.equals(result)) {
- out.println(JSFTestUtil.PASS);
-
- } else {
- out.println(
- JSFTestUtil.FAIL + JSFTestUtil.NL + "Unexpected value returned from "
- + "ViewHandler.calculateCharacterEncoding(FacesContext)!"
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Received: " + result);
- }
-
- } // End viewHandlerCalculateCharEncodingEXTTest
-
- // ViewHandler.calculateRenderKitId(FacesContext)
- public void viewHandlerCalculateRenderKitIdTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- ViewHandler handler = getApplication().getViewHandler();
- String result = handler.calculateRenderKitId(context);
-
- if (result == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ViewHandler.calculateRenderKitId(FacesContext)"
- + "Must not return Null value!");
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // End viewHandlerCalculateRenderKitIdTest
-
- // ViewHandler.addProtectedView(String)
- // ViewHandler.getProtectedViewsUnmodifiable()
- // ViewHandler.removeProtectedViews()
- public void viewHandlerAddGetRemoveProtectedViewsTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Boolean resOne = false;
- Boolean resTwo = false;
-
- String golden = "www.TCKView.com";
- ViewHandler handler = getApplication().getViewHandler();
-
- // Test set and get methods
- handler.addProtectedView(golden);
- Set setOne = handler.getProtectedViewsUnmodifiable();
- Iterator i = setOne.iterator();
-
- while (i.hasNext()) {
- if (!(i.next().contains(golden))) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unable to find a protected view in returned set containing: !"
- + golden);
-
- return;
-
- } else {
- resOne = true;
- }
- }
-
- // Test remove and get methods
- handler.removeProtectedView(golden);
- Set setTwo = handler.getProtectedViewsUnmodifiable();
-
- if (setTwo.isEmpty() || setTwo == null) {
- resTwo = true;
-
- } else {
-
- Iterator ii = setTwo.iterator();
-
- while (ii.hasNext()) {
- if (ii.next().contains(golden)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Was able to find a protected view in returned set containing: "
- + golden + JSFTestUtil.NL
- + "This should have been removed when removeProtectedView() was called!");
-
- return;
-
- } else {
- resTwo = true;
- }
- }
- }
-
- if (resOne && resTwo) {
- out.println(JSFTestUtil.PASS);
- }
-
- } // End viewHandlerAddGetProtectedViewsTest
-
- public void viewHandlerDeriveLogicalViewIDTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String viewId = "/viewId";
- FacesContext context = getFacesContext();
- ViewHandler vh = getApplication().getViewHandler();
-
- // Get viewId
- String derivedId = vh.deriveLogicalViewId(context, viewId);
-
- if (!viewId.equals(derivedId)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpectecd value from ViewHandler.deriveViewId()" + JSFTestUtil.NL
- + "Execpted: " + viewId + JSFTestUtil.NL + "Received: " + derivedId);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- }// End viewHandlerDeriveLogicalViewIDTest
-
- // ------------------------------------------------ Private Methods
-
- private String doTestCaseFive(HttpServletRequest request,
- HttpServletResponse response) {
- Collection localeCollection = new ArrayList();
- localeCollection.add(Locale.ENGLISH);
- localeCollection.add(new Locale("fr", "CA"));
- Locale[] prefLocales = { new Locale("en", "GB"), new Locale("fr", "CA") };
-
- FacesContext context = initTestEnvironment(localeCollection,
- new Locale("fr", "CA"), "en-GB, fr-CA", prefLocales, request, response);
- if (context == null) {
- return "Test FAILED[1]. Unable to initialize FacesContext.";
- }
-
- ViewHandler handler = getApplication().getViewHandler();
- if (handler == null) {
- return "Test FAILED[1]. Unable to obtain ViewHandler from "
- + "Application.";
- }
-
- Locale result = handler.calculateLocale(context);
- if (!result.equals(Locale.ENGLISH)) {
- StringBuffer buff = new StringBuffer(50);
- buff.append("Test FAILED[1]. Expected the result of ");
- buff.append("ViewHandler.calculateLocale() to return ");
- buff.append("en given the following conditions:\n");
- buff.append("Supported Locales: en, fr_CA\n");
- buff.append("Default Locale: fr_CA\n");
- buff.append("Client preferred Locales: en-GB, fr-CA\n");
- buff.append("Locale returned: " + result);
- return buff.toString();
- }
-
- return null;
- }
-
- private String doTestCaseTwo(HttpServletRequest request,
- HttpServletResponse response) {
- Collection localeCollection = new ArrayList();
- localeCollection.add(Locale.ENGLISH);
- Locale[] prefLocales = { new Locale("de", ""), new Locale("fr", "") };
-
- FacesContext context = initTestEnvironment(localeCollection, Locale.ENGLISH,
- "de, fr", prefLocales, request, response);
- if (context == null) {
- return "Test FAILED[2]. Unable to initialize FacesContext.";
- }
-
- ViewHandler handler = getApplication().getViewHandler();
- if (handler == null) {
- return "Test FAILED[2]. Unable to obtain ViewHandler from "
- + "Application.";
- }
-
- Locale result = handler.calculateLocale(context);
- if (!result.equals(Locale.ENGLISH)) {
- StringBuffer buff = new StringBuffer(50);
- buff.append("Test FAILED[2]. Expected the result of ");
- buff.append("ViewHandler.calculateLocale() to return ");
- buff.append("en given the following conditions:\n");
- buff.append("Supported Locales: en\n");
- buff.append("Default Locale: en\n");
- buff.append("Client preferred Locales: de, fr\n");
- buff.append("Locale returned: " + result);
- return buff.toString();
- }
-
- return null;
- }
-
- private String doTestCaseThree(HttpServletRequest request,
- HttpServletResponse response) {
- Collection localeCollection = new ArrayList();
- localeCollection.add(Locale.ENGLISH);
- localeCollection.add(new Locale("fr", ""));
- localeCollection.add(new Locale("en", "US"));
- Locale[] prefLocales = { new Locale("ja", ""), new Locale("en", "GB"),
- new Locale("en", "US"), new Locale("en", "CA"), new Locale("fr", "") };
-
- FacesContext context = initTestEnvironment(localeCollection, Locale.CHINESE,
- "ja, en-GB, en-US, en-CA, fr", prefLocales, request, response);
- if (context == null) {
- return "Test FAILED[3]. Unable to initialize FacesContext.";
- }
-
- ViewHandler handler = getApplication().getViewHandler();
- if (handler == null) {
- return "Test FAILED[3]. Unable to obtain ViewHandler from "
- + "Application.";
- }
-
- Locale result = handler.calculateLocale(context);
- if (!result.equals(Locale.ENGLISH)) {
- StringBuffer buff = new StringBuffer(50);
- buff.append("Test FAILED[3]. Expected the result of ");
- buff.append("ViewHandler.calculateLocale() to return ");
- buff.append("en given the following conditions:\n");
- buff.append("Supported Locales: en, fr, en_US\n");
- buff.append("Default Locale: en\n");
- buff.append("Client preferred Locales: ja, en-GB, en-US, en-CA, fr\n");
- buff.append("Locale returned: " + result);
- return buff.toString();
- }
-
- return null;
- }
-
- private String doTestCaseFour(HttpServletRequest request,
- HttpServletResponse response) {
- Collection localeCollection = new ArrayList();
- localeCollection.add(new Locale("fr", "CA"));
- localeCollection.add(new Locale("sv", ""));
- localeCollection.add(Locale.ENGLISH);
- Locale[] prefLocales = { new Locale("fr", ""), new Locale("sv", ""), };
-
- FacesContext context = initTestEnvironment(localeCollection, Locale.GERMAN,
- "fr, sv", prefLocales, request, response);
- if (context == null) {
- return "Test FAILED[4]. Unable to initialize FacesContext.";
- }
-
- ViewHandler handler = getApplication().getViewHandler();
- if (handler == null) {
- return "Test FAILED[4]. Unable to obtain ViewHandler from "
- + "Application.";
- }
-
- Locale result = handler.calculateLocale(context);
- if (!result.equals(new Locale("sv", ""))) {
- StringBuffer buff = new StringBuffer(50);
- buff.append("Test FAILED[4]. Expected the result of ");
- buff.append("ViewHandler.calculateLocale() to return ");
- buff.append("sv given the following conditions:\n");
- buff.append("Supported Locales: fr_CA, sv, en\n");
- buff.append("Default Locale: de\n");
- buff.append("Client preferred Locales: fr, sv\n");
- buff.append("Locale returned: " + result);
- return buff.toString();
- }
-
- return null;
- }
-
- private String doTestCaseOne(HttpServletRequest request,
- HttpServletResponse response) {
- Collection localeCollection = new ArrayList();
- localeCollection.add(new Locale("ja", ""));
- Locale[] prefLocales = { new Locale("en", ""), };
-
- FacesContext context = initTestEnvironment(localeCollection, null, "en",
- prefLocales, request, response);
- if (context == null) {
- return "Test FAILED[5]. Unable to initialize FacesContext.";
- }
-
- ViewHandler handler = getApplication().getViewHandler();
- if (handler == null) {
- return "Test FAILED[5]. Unable to obtain ViewHandler from "
- + "Application.";
- }
-
- Locale result = handler.calculateLocale(context);
- if (!result.equals(Locale.getDefault())) {
- StringBuffer buff = new StringBuffer(50);
- buff.append("Test FAILED[5]. Expected the result of ");
- buff.append("ViewHandler.calculateLocale() to return ");
- buff.append(Locale.getDefault());
- buff.append(" given the following conditions:\n");
- buff.append("Supported Locales: ja\n");
- buff.append("Default Locale: null\n");
- buff.append("Client preferred Locales: en\n");
- buff.append("Locale returned: " + result);
- return buff.toString();
- }
-
- return null;
- }
-
- private FacesContext initTestEnvironment(Collection locales,
- Locale defaultLocale, String preferredLocales, Locale[] lPreferredLocales,
- HttpServletRequest request, HttpServletResponse response) {
- Application application = getApplication();
- application.setSupportedLocales(locales);
- if (defaultLocale != null) {
- application.setDefaultLocale(defaultLocale);
- }
-
- // Create a new FacesContext using the TCKHttpServletRequestWrapper
- TCKHttpServletRequestWrapper wrapper = new TCKHttpServletRequestWrapper(
- request);
- wrapper.setAcceptHeaderValues(preferredLocales);
- wrapper.setLocales(lPreferredLocales);
- return initFacesContext(wrapper, response);
- }
-
- private FacesContext initFacesContext(HttpServletRequest request,
- HttpServletResponse response) {
- LifecycleFactory lifeFactory = (LifecycleFactory) FactoryFinder
- .getFactory(FactoryFinder.LIFECYCLE_FACTORY);
- Lifecycle lifecycle = lifeFactory
- .getLifecycle(LifecycleFactory.DEFAULT_LIFECYCLE);
-
- FacesContextFactory facesFactory = (FacesContextFactory) FactoryFinder
- .getFactory(FactoryFinder.FACES_CONTEXT_FACTORY);
- return facesFactory.getFacesContext(servletContext, request, response,
- lifecycle);
- }
-
- // -------------------------------------------------- Private Classes ------
-
- private static class TCKHttpServletRequestWrapper
- extends HttpServletRequestWrapper {
-
- private String values;
-
- private Locale[] locales;
-
- public TCKHttpServletRequestWrapper(HttpServletRequest request) {
- super(request);
- }
-
- public String getHeader(String name) {
- if ("accept-language".equalsIgnoreCase(name)) {
- return values;
- }
- return super.getHeader(name);
- }
-
- public Enumeration getHeaders(String name) {
- if ("accept-language".equalsIgnoreCase(name)) {
- return new Enumeration() {
- boolean hasMore = true;
-
- public boolean hasMoreElements() {
- return hasMore;
- }
-
- public Object nextElement() {
- hasMore = false;
- return values;
- }
- };
- }
- return super.getHeaders(name);
- }
-
- public Enumeration getLocales() {
-
- return new Enumeration() {
- int length = locales.length;
-
- int count = 0;
-
- public boolean hasMoreElements() {
- return (count < length);
- }
-
- public Object nextElement() {
- return locales[count++];
- }
- };
- }
-
- public void setAcceptHeaderValues(String values) {
- this.values = values;
- }
-
- public void setLocales(Locale[] locales) {
- this.locales = locales;
- }
-
- }
-
- private static class TCKServletPathWrapper extends HttpServletRequestWrapper {
-
- private String servletPath;
-
- private String pathInfo;
-
- public TCKServletPathWrapper(HttpServletRequest request) {
- super(request);
- }
-
- public String getServletPath() {
- return servletPath;
- }
-
- public String getPathInfo() {
- return pathInfo;
- }
-
- public void setServletPath(String servletPath) {
- this.servletPath = servletPath;
- }
-
- public void setPathInfo(String pathInfo) {
- this.pathInfo = pathInfo;
- }
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/URLClient.java
deleted file mode 100644
index 72c1f9c383..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/URLClient.java
+++ /dev/null
@@ -1,296 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.viewhandler;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_viewhandler_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: viewHandlerCalculateLocaleTest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:343
- *
- * @test_Strategy: Verify the behavior of calculateLocale() under the
- * following conditions: 1. Configured Locales: ja Default
- * Locale: null Client preferred locales: en Expected result:
- * value of Locale.getDefault()
- *
- * 2. Configured Locales: en Default Locale: en Client
- * preferred locales: de, fr Expected result: en
- *
- * 3. Configured Locales: en, fr, en_US Default Locale: en
- * Client preferred locales: ja, en-GB, en-US, en-CA, fr
- * Expected result: en
- *
- * 4. Configured Locales: fr_CA, sv, en Default Local: de
- * Client preferred locales: fr, sv Expected result: sv
- *
- * 5. Configured Locales: en, fr_CA Default Locale: fr_CA
- * Client preferred locales: en_GB, fr_CA Expected result: en
- */
- public void viewHandlerCalculateLocaleTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCalculateLocaleTest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerCreateViewTest
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:347
- * @test_Strategy: Verify a new UIViewRoot instance can be obtained by calling
- * createView(). Additionally verify if a UIViewRoot already
- * exists in the FacesContext, the locale and renderkit ID is
- * copied from the old instance to the new instance.
- */
- public void viewHandlerCreateViewTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCreateViewTest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerRenderViewNPETest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:364
- *
- * @test_Strategy: Verify a NullPointerException is thrown if either argument
- * to renderView() is null.
- */
- public void viewHandlerRenderViewNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerRenderViewNPETest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerCalculateLocaleNPETest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:344
- *
- * @test_Strategy: Verify a NullPointerException is thrown if a null argument
- * is passed to calculateLocale.
- */
- public void viewHandlerCalculateLocaleNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCalculateLocaleNPETest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerCreateViewNPETest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:348
- *
- * @test_Strategy: Verify a NullPointerException is thrown if a null value for
- * the FacesContext argument is passed.
- */
- public void viewHandlerCreateViewNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCreateViewNPETest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerCalculateRenderKitIdNPETest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:346
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void viewHandlerCalculateRenderKitIdNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCalculateRenderKitIdNPETest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerGetResourceURLNPETest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:357
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when either
- * arg is null. (FacesContext, String)
- */
- public void viewHandlerGetResourceURLNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerGetResourceURLNPETest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerRestoreViewNPETest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:366
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void viewHandlerRestoreViewNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerRestoreViewNPETest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerWriteStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:371
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void viewHandlerWriteStateNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerWriteStateNPETest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerGetActionURLNPETest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:352
- *
- * @test_Strategy: Verify a NullPointerException is thrown if either argument
- * to renderView() is null.
- */
- public void viewHandlerGetActionURLNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerGetActionURLNPETest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerCalculateCharEncodingHDRTest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:342
- *
- * @test_Strategy: Validate If the Content-Type request header has a charset
- * parameter, that it is extracted and returned as the
- * encoding.
- *
- * @since: 1.2
- */
- public void viewHandlerCalculateCharEncodingHDRTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCalculateCharEncodingHDRTest");
- super.setMyCharacterSet("charset=Thomas");
- invoke();
- }
-
- /**
- * @testName: viewHandlerCalculateCharEncodingNULLTest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:342
- *
- * @test_Strategy: Validate that null is returned if charset is not set via
- * the request header or through lookup on external context.
- *
- * @since: 1.2
- */
- public void viewHandlerCalculateCharEncodingNULLTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCalculateCharEncodingNULLTest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerCalculateCharEncodingEXTTest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:342
- *
- * @test_Strategy: Validate check for the existence of a session by calling
- * ExternalContext.getSession(boolean) passing false as the
- * argument. If that method returns true, get the session Map
- * by calling ExternalContext.getSessionMap() and look for a
- * value under the key given by the value of the symbolic
- * constant CHARACTER_ENCODING_KEY. If present, return the
- * value, converted to String.
- *
- * @since: 1.2
- */
- public void viewHandlerCalculateCharEncodingEXTTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCalculateCharEncodingEXTTest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerCalculateRenderKitIdTest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:345
- *
- * @test_Strategy: Validate that we get a String returned for a valid
- * RenderKit ID and that we never receive 'null'.
- *
- * @since: 1.2
- */
- public void viewHandlerCalculateRenderKitIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCalculateRenderKitIdTest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerAddGetRemoveProtectedViewsTest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:2689; JSF:JAVADOC:2690;
- * JSF:JAVADOC:2691
- *
- * @test_Strategy: Validate that a protected view can be set and that the
- * given protected view is in the Set that is returned from
- * getProtectedViewsUnmodifiable().
- *
- * @since: 2.2
- */
- public void viewHandlerAddGetRemoveProtectedViewsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "viewHandlerAddGetRemoveProtectedViewsTest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerDeriveLogicalViewIDTest
- *
- * @assertion_ids: JSF:JAVADOC:368; JSF:JAVADOC:2533
- *
- * @test_Strategy: Validate that we Derive and return the viewId from the
- * current request. (with no physical view)
- *
- * @since: 2.2
- */
- public void viewHandlerDeriveLogicalViewIDTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerDeriveLogicalViewIDTest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/build.xml
deleted file mode 100644
index 4091d1bba5..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/build.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/jsf_appl_viewhandler_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/jsf_appl_viewhandler_web.war.sun-web.xml
deleted file mode 100644
index e5d1a2e6d9..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/jsf_appl_viewhandler_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_viewhandler_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/jsf_appl_viewhandler_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/jsf_appl_viewhandler_web.xml
deleted file mode 100644
index 58ade4cdff..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandler/jsf_appl_viewhandler_web.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jsf_appl_viewhandler
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.viewhandler.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /mapping/*
-
-
- Faces Servlet
- *.faces
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/TestServlet.java
deleted file mode 100644
index b2afe5bc6b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/TestServlet.java
+++ /dev/null
@@ -1,651 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.viewhandlerwrapper;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Enumeration;
-import java.util.Locale;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.application.Application;
-import jakarta.faces.application.ViewHandler;
-import jakarta.faces.application.ViewHandlerWrapper;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.context.FacesContextFactory;
-import jakarta.faces.lifecycle.Lifecycle;
-import jakarta.faces.lifecycle.LifecycleFactory;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletRequestWrapper;
-import jakarta.servlet.http.HttpServletResponse;
-
-public final class TestServlet extends HttpTCKServlet {
-
- ServletContext servletContext;
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- servletContext = config.getServletContext();
- }
-
- // ------------------------------------------- Test Methods ----
-
- // ViewHandler.calculateLocale(FacesContext)
- public void viewHandlerCalculateLocaleTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String result = doTestCaseOne(request, response);
- out.println("Running test_case one.");
- if (result != null) {
- out.println(result);
- return;
- }
-
- result = doTestCaseTwo(request, response);
- if (result != null) {
- out.println(result);
- return;
- }
-
- result = doTestCaseThree(request, response);
- if (result != null) {
- out.println(result);
- return;
- }
-
- result = doTestCaseFour(request, response);
- if (result != null) {
- out.println(result);
- return;
- }
-
- result = doTestCaseFive(request, response);
- if (result != null) {
- out.println(result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ViewRoot.createView(FacesContext, String)
- public void viewHandlerCreateViewTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String viewId = "/viewId";
- UIViewRoot root = new SimpleViewHandlerWrapper(
- getApplication().getViewHandler()).createView(getFacesContext(),
- viewId);
- if (root == null) {
- out.println(
- JSFTestUtil.FAIL + " ViewHandler.createView() returned null.");
- return;
- }
-
- if (!viewId.equals(root.getViewId())) {
- out.println(JSFTestUtil.FAIL + " Expected the UIViewRoot created using"
- + " ViewHandler.createView() to have the same view ID"
- + " as that passed to createView.");
- out.println("Execpted: " + viewId);
- out.println("Received: " + root.getViewId());
- return;
- }
-
- Locale locale = root.getLocale();
- String renderKitId = root.getRenderKitId();
-
- getFacesContext().setViewRoot(root);
-
- String newViewId = "/newViewId";
-
- UIViewRoot root2 = new SimpleViewHandlerWrapper(
- getApplication().getViewHandler()).createView(getFacesContext(),
- newViewId);
- if (root2 == null) {
- out.println(
- JSFTestUtil.FAIL + " ViewHandler.createView() returned null.");
- return;
- }
-
- if (!newViewId.equals(root2.getViewId())) {
- out.println(JSFTestUtil.FAIL + " Expected the UIViewRoot created using"
- + " ViewHandler.createView() to have the same view ID"
- + " as that passed to createView.");
- out.println("Execpted: " + newViewId);
- out.println("Received: " + root2.getViewId());
- return;
- }
-
- if (root2 == root) {
- out.println(JSFTestUtil.FAIL + " createView() returned same view instance"
- + " previously created and stored within the FacesContext");
- out.println("Original view root: " + root);
- out.println("New view root: " + root2);
- return;
- }
-
- if (locale != root2.getLocale()) {
- out.println(JSFTestUtil.FAIL + " Expected the Locale from the original"
- + " view root to be copied to the new view root instance.");
- return;
- }
-
- if (renderKitId != root.getRenderKitId()) {
- out.println(
- JSFTestUtil.FAIL + " Expected the RenderKitID from the original"
- + " view root to be copied to the new view root instance.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ViewRoot.renderView(FacesContext, UIViewRoot) throws NPE if either
- // argument is null
- public void viewHandlerRenderViewNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- try {
- new SimpleViewHandlerWrapper(getApplication().getViewHandler())
- .renderView(null, new UIViewRoot());
- out.println(
- JSFTestUtil.FAIL + " No Exception thrown when a null FacesContext"
- + "was passed to ViewHandler.renderView().");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println(JSFTestUtil.FAIL + " Exception thrown when a null "
- + "FacesContext was provided to ViewHandler.render"
- + "View(), but it was not an instance of "
- + "NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- try {
- new SimpleViewHandlerWrapper(getApplication().getViewHandler())
- .renderView(getFacesContext(), null);
- out.println(
- JSFTestUtil.FAIL + " No Exception thrown when a null view root"
- + "was passed to ViewHandler.renderView().");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println(JSFTestUtil.FAIL + " Exception thrown when a null "
- + "view root was provided to ViewHandler.render"
- + "View(), but it was not an instance of "
- + "NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // COMMENTED OUT DUE TO CHANGE IN VIEW HANDLER. Basic logic still
- // holds for future specification test.
- // ViewRoot.getViewIdPath()
- // public void viewHandlerGetViewIdPathTest(HttpServletRequest request,
- // HttpServletResponse response)
- // throws ServletException, IOException {
- // PrintWriter out = response.getWriter();
- // TCKServletPathWrapper wrapper =
- // new TCKServletPathWrapper(request);
- // FacesContext context = initFacesContext(wrapper, response);
- //
- // ViewHandler handler = getApplication().getViewHandler();
- //
- // if (handler == null) {
- // out.println(FAIL + " Unable to obtain ViewHandler instance.");
- // return;
- // }
- //
- // String result;
- //
- // if ("prefix".equals(request.getParameter("mapping"))) {
- // // Simulate an incoming prefix path mapped request
- // wrapper.setServletPath("/mapping");
- // wrapper.setPathInfo("/myapp/test.xhtml");
- //
- // result = handler.getViewIdPath(context, "/view.xhtml");
- //
- // if (!"/mapping/view.xhtml".equals(result)) {
- // out.println(FAIL + " Unexpected result returned when using" +
- // " a simulated prefix path mapped request.");
- // out.println("Expected: /mapping/view.xhtml");
- // out.println("Received: " + result);
- // return;
- // }
- // }
- //
- // if ("suffix1".equals(request.getParameter("mapping"))) {
- // // Simulate an incoming extension mapped request -- NOTE:
- // // the view ID has an extension, it should be replaced
- // // with the extension mapping defined in the deployment
- // // descriptor.
- // wrapper.setServletPath("/myapp/view.faces");
- // wrapper.setPathInfo(null);
- //
- // result = handler.getViewIdPath(context, "/view.xhtml");
- //
- // if (!"/view.faces".equals(result)) {
- // out.println("Test FAILED[1]. Unexpected result returned when using" +
- // " a simulated extension mapped request.");
- // out.println("Expected: /view.faces");
- // out.println("Received: " + result);
- // return;
- // }
- // }
- //
- // if ("suffix2".equals(request.getParameter("mapping"))) {
- // // Simulate an incoming extension mapped request -- NOTE:
- // // the view ID has no extension, so it should be appended.
- // wrapper.setServletPath("/myapp/view.faces");
- // wrapper.setPathInfo(null);
- //
- // result = handler.getViewIdPath(context, "/view");
- //
- // if (!"/view.faces".equals(result)) {
- // out.println("Test FAILED[2]. Unexpected result returned when using" +
- // " a simulated extension mapped request.");
- // out.println("Expected: /view.faces");
- // out.println("Received: " + result);
- // return;
- // }
- // }
- //
- // out.println(PASS);
- // }
-
- // ViewHandler.calculateLocale(FacesContext) throws NPE if FacesContext
- // is null.
- public void viewHandlerCalculateLocaleNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- try {
- new SimpleViewHandlerWrapper(getApplication().getViewHandler())
- .calculateLocale(null);
- out.println(JSFTestUtil.FAIL + " No Exception thrown when a null argument"
- + "was passed to ViewHandler.calculateLocale().");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println(JSFTestUtil.FAIL + " Exception thrown when a null "
- + "argument was provided to ViewHandler.calculate"
- + "Locale(), but it was not an instance of "
- + "NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ViewHandler.createView(FacesContext, String) throws NPE if FacesContext
- // is null.
- public void viewHandlerCreateViewNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- try {
- new SimpleViewHandlerWrapper(getApplication().getViewHandler())
- .createView(null, "/viewId");
- out.println(JSFTestUtil.FAIL + " No Exception thrown when a null argument"
- + "was passed to ViewHandler.calculateLocale().");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println(JSFTestUtil.FAIL + " Exception thrown when a null "
- + "argument was provided to ViewHandler.calculate"
- + "Locale(), but it was not an instance of "
- + "NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ------------------------------------------------ Private Methods --------
-
- private String doTestCaseFive(HttpServletRequest request,
- HttpServletResponse response) {
- Collection localeCollection = new ArrayList();
- localeCollection.add(Locale.ENGLISH);
- localeCollection.add(new Locale("fr", "CA"));
- Locale[] prefLocales = { new Locale("en", "GB"), new Locale("fr", "CA") };
-
- FacesContext context = initTestEnvironment(localeCollection,
- new Locale("fr", "CA"), "en-GB, fr-CA", prefLocales, request, response);
- if (context == null) {
- return "Test FAILED[1]. Unable to initialize FacesContext.";
- }
-
- ViewHandler handler = new SimpleViewHandlerWrapper(
- getApplication().getViewHandler());
-
- Locale result = handler.calculateLocale(context);
- if (!result.equals(Locale.ENGLISH)) {
- StringBuffer buff = new StringBuffer(50);
- buff.append("Test FAILED[1]. Expected the result of ");
- buff.append("ViewHandler.calculateLocale() to return ");
- buff.append("en given the following conditions:\n");
- buff.append("Supported Locales: en, fr_CA\n");
- buff.append("Default Locale: fr_CA\n");
- buff.append("Client preferred Locales: en-GB, fr-CA\n");
- buff.append("Locale returned: " + result);
- return buff.toString();
- }
-
- return null;
- }
-
- private String doTestCaseTwo(HttpServletRequest request,
- HttpServletResponse response) {
- Collection localeCollection = new ArrayList();
- localeCollection.add(Locale.ENGLISH);
- Locale[] prefLocales = { new Locale("de", ""), new Locale("fr", "") };
-
- FacesContext context = initTestEnvironment(localeCollection, Locale.ENGLISH,
- "de, fr", prefLocales, request, response);
- if (context == null) {
- return "Test FAILED[2]. Unable to initialize FacesContext.";
- }
-
- ViewHandler handler = new SimpleViewHandlerWrapper(
- getApplication().getViewHandler());
-
- Locale result = handler.calculateLocale(context);
- if (!result.equals(Locale.ENGLISH)) {
- StringBuffer buff = new StringBuffer(50);
- buff.append("Test FAILED[2]. Expected the result of ");
- buff.append("ViewHandler.calculateLocale() to return ");
- buff.append("en given the following conditions:\n");
- buff.append("Supported Locales: en\n");
- buff.append("Default Locale: en\n");
- buff.append("Client preferred Locales: de, fr\n");
- buff.append("Locale returned: " + result);
- return buff.toString();
- }
-
- return null;
- }
-
- private String doTestCaseThree(HttpServletRequest request,
- HttpServletResponse response) {
- Collection localeCollection = new ArrayList();
- localeCollection.add(Locale.ENGLISH);
- localeCollection.add(new Locale("fr", ""));
- localeCollection.add(new Locale("en", "US"));
- Locale[] prefLocales = { new Locale("ja", ""), new Locale("en", "GB"),
- new Locale("en", "US"), new Locale("en", "CA"), new Locale("fr", "") };
-
- FacesContext context = initTestEnvironment(localeCollection, Locale.CHINESE,
- "ja, en-GB, en-US, en-CA, fr", prefLocales, request, response);
- if (context == null) {
- return "Test FAILED[3]. Unable to initialize FacesContext.";
- }
-
- ViewHandler handler = new SimpleViewHandlerWrapper(
- getApplication().getViewHandler());
-
- Locale result = handler.calculateLocale(context);
- if (!result.equals(Locale.ENGLISH)) {
- StringBuffer buff = new StringBuffer(50);
- buff.append("Test FAILED[3]. Expected the result of ");
- buff.append("ViewHandler.calculateLocale() to return ");
- buff.append("en given the following conditions:\n");
- buff.append("Supported Locales: en, fr, en_US\n");
- buff.append("Default Locale: en\n");
- buff.append("Client preferred Locales: ja, en-GB, en-US, en-CA, fr\n");
- buff.append("Locale returned: " + result);
- return buff.toString();
- }
-
- return null;
- }
-
- private String doTestCaseFour(HttpServletRequest request,
- HttpServletResponse response) {
- Collection localeCollection = new ArrayList();
- localeCollection.add(new Locale("fr", "CA"));
- localeCollection.add(new Locale("sv", ""));
- localeCollection.add(Locale.ENGLISH);
- Locale[] prefLocales = { new Locale("fr", ""), new Locale("sv", ""), };
-
- FacesContext context = initTestEnvironment(localeCollection, Locale.GERMAN,
- "fr, sv", prefLocales, request, response);
- if (context == null) {
- return "Test FAILED[4]. Unable to initialize FacesContext.";
- }
-
- ViewHandler handler = new SimpleViewHandlerWrapper(
- getApplication().getViewHandler());
-
- Locale result = handler.calculateLocale(context);
- if (!result.equals(new Locale("sv", ""))) {
- StringBuffer buff = new StringBuffer(50);
- buff.append("Test FAILED[4]. Expected the result of ");
- buff.append("ViewHandler.calculateLocale() to return ");
- buff.append("sv given the following conditions:\n");
- buff.append("Supported Locales: fr_CA, sv, en\n");
- buff.append("Default Locale: de\n");
- buff.append("Client preferred Locales: fr, sv\n");
- buff.append("Locale returned: " + result);
- return buff.toString();
- }
-
- return null;
- }
-
- private String doTestCaseOne(HttpServletRequest request,
- HttpServletResponse response) {
- Collection localeCollection = new ArrayList();
- localeCollection.add(new Locale("ja", ""));
- Locale[] prefLocales = { new Locale("en", ""), };
-
- FacesContext context = initTestEnvironment(localeCollection, null, "en",
- prefLocales, request, response);
- if (context == null) {
- return "Test FAILED[5]. Unable to initialize FacesContext.";
- }
-
- ViewHandler handler = new SimpleViewHandlerWrapper(
- getApplication().getViewHandler());
-
- Locale result = handler.calculateLocale(context);
- if (!result.equals(Locale.getDefault())) {
- StringBuffer buff = new StringBuffer(50);
- buff.append("Test FAILED[5]. Expected the result of ");
- buff.append("ViewHandler.calculateLocale() to return ");
- buff.append(Locale.getDefault());
- buff.append(" given the following conditions:\n");
- buff.append("Supported Locales: ja\n");
- buff.append("Default Locale: null\n");
- buff.append("Client preferred Locales: en\n");
- buff.append("Locale returned: " + result);
- return buff.toString();
- }
-
- return null;
- }
-
- private FacesContext initTestEnvironment(Collection locales,
- Locale defaultLocale, String preferredLocales, Locale[] lPreferredLocales,
- HttpServletRequest request, HttpServletResponse response) {
- Application application = getApplication();
- application.setSupportedLocales(locales);
- if (defaultLocale != null) {
- application.setDefaultLocale(defaultLocale);
- }
-
- // Create a new FacesContext using the TCKHttpServletRequestWrapper
- TCKHttpServletRequestWrapper wrapper = new TCKHttpServletRequestWrapper(
- request);
- wrapper.setAcceptHeaderValues(preferredLocales);
- wrapper.setLocales(lPreferredLocales);
- return initFacesContext(wrapper, response);
- }
-
- private FacesContext initFacesContext(HttpServletRequest request,
- HttpServletResponse response) {
- LifecycleFactory lifeFactory = (LifecycleFactory) FactoryFinder
- .getFactory(FactoryFinder.LIFECYCLE_FACTORY);
- Lifecycle lifecycle = lifeFactory
- .getLifecycle(LifecycleFactory.DEFAULT_LIFECYCLE);
-
- FacesContextFactory facesFactory = (FacesContextFactory) FactoryFinder
- .getFactory(FactoryFinder.FACES_CONTEXT_FACTORY);
- return facesFactory.getFacesContext(servletContext, request, response,
- lifecycle);
- }
-
- // -------------------------------------------------- Private Classes ------
-
- private static class TCKHttpServletRequestWrapper
- extends HttpServletRequestWrapper {
-
- private String values;
-
- private Locale[] locales;
-
- public TCKHttpServletRequestWrapper(HttpServletRequest request) {
- super(request);
- }
-
- public String getHeader(String name) {
- if ("accept-language".equalsIgnoreCase(name)) {
- return values;
- }
- return super.getHeader(name);
- }
-
- public Enumeration getHeaders(String name) {
- if ("accept-language".equalsIgnoreCase(name)) {
- return new Enumeration() {
- boolean hasMore = true;
-
- public boolean hasMoreElements() {
- return hasMore;
- }
-
- public Object nextElement() {
- hasMore = false;
- return values;
- }
- };
- }
- return super.getHeaders(name);
- }
-
- public Enumeration getLocales() {
-
- return new Enumeration() {
- int length = locales.length;
-
- int count = 0;
-
- public boolean hasMoreElements() {
- return (count < length);
- }
-
- public Object nextElement() {
- return locales[count++];
- }
- };
- }
-
- public void setAcceptHeaderValues(String values) {
- this.values = values;
- }
-
- public void setLocales(Locale[] locales) {
- this.locales = locales;
- }
-
- }
-
- private static class TCKServletPathWrapper extends HttpServletRequestWrapper {
-
- private String servletPath;
-
- private String pathInfo;
-
- public TCKServletPathWrapper(HttpServletRequest request) {
- super(request);
- }
-
- public String getServletPath() {
- return servletPath;
- }
-
- public String getPathInfo() {
- return pathInfo;
- }
-
- public void setServletPath(String servletPath) {
- this.servletPath = servletPath;
- }
-
- public void setPathInfo(String pathInfo) {
- this.pathInfo = pathInfo;
- }
- }
-
- private static class SimpleViewHandlerWrapper extends ViewHandlerWrapper {
-
- ViewHandler handler;
-
- // -------------------------------------------------------- Constructors
-
- SimpleViewHandlerWrapper(ViewHandler handler) {
-
- if (handler == null) {
- throw new IllegalArgumentException(
- "ViewHandler argument cannot be null");
- }
- this.handler = handler;
-
- } // SimpleViewHandlerWrapper
-
- // ------------------------------------- Methods from ViewHandlerWrapper
-
- public ViewHandler getWrapped() {
-
- return handler;
-
- } // END getWrapped
-
- } // END SimpleViewHandlerWrapper
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/URLClient.java
deleted file mode 100644
index 04f2401b9b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/URLClient.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.application.viewhandlerwrapper;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_appl_viewhandlerwrap_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: viewHandlerCalculateLocaleTest
- * @assertion_ids: JSF:JAVADOC:373
- * @test_Strategy: Verify the behavior of calculateLocale() under the
- * following conditions: 1. Configured Locales: ja Default
- * Locale: null Client preferred locales: en Expected result:
- * value of Locale.getDefault()
- *
- * 2. Configured Locales: en Default Locale: en Client
- * preferred locales: de, fr Expected result: en
- *
- * 3. Configured Locales: en, fr, en_US Default Locale: en
- * Client preferred locales: ja, en-GB, en-US, en-CA, fr
- * Expected result: en
- *
- * 4. Configured Locales: fr_CA, sv, en Default Local: de
- * Client preferred locales: fr, sv Expected result: sv
- *
- * 5. Configured Locales: en, fr_CA Default Locale: fr_CA
- * Client preferred locales: en_GB, fr_CA Expected result: en
- * @since 1.2
- */
- public void viewHandlerCalculateLocaleTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCalculateLocaleTest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerCreateViewTest
- * @assertion_ids: JSF:JAVADOC:375
- * @test_Strategy: Verify a new UIViewRoot instance can be obtained by calling
- * createView(). Additionally verify if a UIViewRoot already
- * exists in the FacesContext, the locale and renderkit ID is
- * copied from the old instance to the new instance.
- * @since 1.2
- */
- public void viewHandlerCreateViewTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCreateViewTest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerRenderViewNPETest
- * @assertion_ids: JSF:JAVADOC:385
- * @test_Strategy: Verify a NullPointerException is thrown if either argument
- * to renderView() is null.
- * @since 1.2
- */
- public void viewHandlerRenderViewNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerRenderViewNPETest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerCalculateLocaleNPETest
- * @assertion_ids: JSF:JAVADOC:344
- * @test_Strategy: Verify a NullPointerException is thrown if a null argument
- * is passed to calculateLocale.
- * @since 1.2
- */
- public void viewHandlerCalculateLocaleNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCalculateLocaleNPETest");
- invoke();
- }
-
- /**
- * @testName: viewHandlerCreateViewNPETest
- * @assertion_ids: JSF:JAVADOC:348
- * @test_Strategy: Verify a NullPointerException is thrown if a null value for
- * the FacesContext argument is passed.
- * @since 1.2
- */
- public void viewHandlerCreateViewNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "viewHandlerCreateViewNPETest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/build.xml
deleted file mode 100644
index 71edce5b23..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/build.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/jsf_appl_viewhandlerwrap_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/jsf_appl_viewhandlerwrap_web.war.sun-web.xml
deleted file mode 100644
index 73fd54721a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/jsf_appl_viewhandlerwrap_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_appl_viewhandlerwrap_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/jsf_appl_viewhandlerwrap_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/jsf_appl_viewhandlerwrap_web.xml
deleted file mode 100644
index 7bfd9aaf99..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/application/viewhandlerwrapper/jsf_appl_viewhandlerwrap_web.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jsf_appl_viewhandlerwrap
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.application.viewhandlerwrapper.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /mapping/*
-
-
- Faces Servlet
- *.faces
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/annotation/CustomOutput.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/annotation/CustomOutput.java
deleted file mode 100644
index 63bc6b2fee..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/annotation/CustomOutput.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.annotation;
-
-import jakarta.faces.application.ResourceDependency;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.event.AbortProcessingException;
-import jakarta.faces.event.ComponentSystemEvent;
-import jakarta.faces.event.ComponentSystemEventListener;
-import jakarta.faces.event.ListenerFor;
-import jakarta.faces.event.PostAddToViewEvent;
-
-@ListenerFor(systemEventClass = PostAddToViewEvent.class, sourceClass = CustomOutput.class)
-@ResourceDependency(name = "#{'hello.js'}", library = "test", target = "#{'body'}")
-@ResourceDependency(name = "black-n-blue.css", library = "#{'test'}", target = "body")
-@ResourceDependency(name = "black-n-red.css", library = "", target = "")
-public class CustomOutput extends UIOutput
- implements ComponentSystemEventListener {
-
- private boolean processEventInvoked;
-
- private ComponentSystemEvent event;
-
- public void processEvent(ComponentSystemEvent event)
- throws AbortProcessingException {
- processEventInvoked = true;
- this.event = event;
- }
-
- public void reset() {
- processEventInvoked = false;
- event = null;
- }
-
- public boolean isProcessEventInvoked() {
- return processEventInvoked;
- }
-
- public ComponentSystemEvent getEvent() {
- return event;
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/annotation/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/annotation/TestServlet.java
deleted file mode 100644
index 21a8ef570e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/annotation/TestServlet.java
+++ /dev/null
@@ -1,238 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.annotation;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.Application;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.FacesContext;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link ClientBehaviorBase} instance.
- *
- *
- * @return a new {@link ClientBehaviorBase} instance.
- */
- protected abstract ClientBehaviorBase createBehavior();
-
- // --------------------------------------- Test Methods
-
- // ClientBehaviorBase.decode(FacesContext, UIComponent) throws
- // NullPointerException
- public void clientBehaviorDecodeNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // .decode(null, UIComponent)
- JSFTestUtil.checkForNPE(createBehavior().getClass(), "decode",
- new Class>[] { FacesContext.class, UIComponent.class },
- new Object[] { null, new UIInput() }, out);
-
- // .decode(FacesContext, null)
- JSFTestUtil.checkForNPE(createBehavior().getClass(), "decode",
- new Class>[] { FacesContext.class, UIComponent.class },
- new Object[] { getFacesContext(), null }, out);
-
- } // END behaviorBroadcastNPETest
-
- // ClientBehaviorBase.getScript(ClientBehaviorContext) throws
- // NullPointerException
- public void clientBehaviorGetScriptNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // .getScript(null)
- JSFTestUtil.checkForNPE(createBehavior().getClass(), "getScript",
- new Class>[] { ClientBehaviorContext.class }, new Object[] { null },
- out);
-
- } // END behaviorBroadcastNPETest
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/behavior/common/TCKClientBehaviorContext.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/behavior/common/TCKClientBehaviorContext.java
deleted file mode 100644
index d55d48169a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/behavior/common/TCKClientBehaviorContext.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * Copyright (c) 2013, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.behavior.common;
-
-import java.util.Collection;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.behavior.ClientBehaviorContext;
-import jakarta.faces.context.FacesContext;
-
-public class TCKClientBehaviorContext extends ClientBehaviorContext {
-
- @Override
- public FacesContext getFacesContext() {
- return null;
- }
-
- @Override
- public UIComponent getComponent() {
- return null;
- }
-
- @Override
- public String getEventName() {
- return null;
- }
-
- @Override
- public String getSourceId() {
- return null;
- }
-
- @Override
- public Collection getParameters() {
- return null;
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/behavior/common/behavior.common.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/behavior/common/behavior.common.xml
deleted file mode 100644
index c93a872b30..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/behavior/common/behavior.common.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/build.xml
deleted file mode 100644
index d0049bdfdd..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/build.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseActionSource2TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseActionSource2TestServlet.java
deleted file mode 100644
index c1cf85a5f6..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseActionSource2TestServlet.java
+++ /dev/null
@@ -1,102 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.common;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.el.ExpressionFactory;
-import jakarta.el.MethodExpression;
-import jakarta.faces.component.ActionSource2;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-import jakarta.servlet.jsp.JspFactory;
-
-public abstract class BaseActionSource2TestServlet
- extends BaseActionSourceTestServlet {
-
- private ServletContext servletContext;
-
- /**
- *
- * Initialize this Servlet instance.
- *
- *
- * @param config
- * the configuration for this Servlet
- *
- * @throws jakarta.servlet.ServletException
- * indicates initialization failure
- */
- public void init(ServletConfig config) throws ServletException {
-
- servletContext = config.getServletContext();
- super.init(config);
-
- } // init
-
- // ------------------------------------------------------------ Test Methods
-
- public void actionSource2GetSetActionExpressionTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- request.setAttribute("bean", new SimpleBean());
- ExpressionFactory factory = JspFactory.getDefaultFactory()
- .getJspApplicationContext(servletContext).getExpressionFactory();
- MethodExpression expression = factory.createMethodExpression(
- getFacesContext().getELContext(), "#{bean.action}",
- java.lang.String.class, new Class[] {});
-
- ActionSource2 source2 = (ActionSource2) createComponent();
-
- source2.setActionExpression(expression);
-
- if (source2.getActionExpression() != expression) {
- out.println(JSFTestUtil.FAIL + " Unexpected return value from"
- + " getActionExpression() after having just called"
- + " setActionExpression().");
- out.println("Expected: " + expression);
- out.println("Received: " + source2.getActionExpression());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END actionSource2GetSetMethodExpressionTest
-
- // ----------------------------------------------------------- Inner Classes
-
- private static class SimpleBean {
-
- public String getAction() {
-
- return "action";
-
- } // END getAction
-
- } // END SimpleBean
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseActionSourceTestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseActionSourceTestServlet.java
deleted file mode 100644
index 4b3b6c5339..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseActionSourceTestServlet.java
+++ /dev/null
@@ -1,362 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.common;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.Arrays;
-import java.util.List;
-
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.ActionSource2;
-import jakarta.faces.event.MethodExpressionActionListener;
-import jakarta.faces.context.FacesContext;
-import jakarta.el.MethodExpression;
-import jakarta.el.ELContext;
-import jakarta.faces.event.AbortProcessingException;
-import jakarta.faces.event.ActionEvent;
-import jakarta.faces.event.ActionListener;
-import jakarta.faces.event.PhaseId;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-/**
- *
- * Base tests for methods defined in {@link ActionListener}.
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- *
- * @param config
- * this Servlet's configuration
- * @throws ServletException
- * if an error occurs
- */
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- }
-
- // ------------------------------------------- Test Methods ----
-
- // ActionSource.{get,add,remove}ActionListener(s)()
- public void actionSourceAddGetRemoveActListTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ActionSource2 source = (ActionSource2) createComponent();
-
- ActionListener[] listeners = source.getActionListeners();
-
- if (listeners == null) {
- out.println("Test FAILED[1]. getActionListeners() returned null.");
- return;
- }
-
- // remove any existing listeners
- for (int i = 0; i < listeners.length; i++) {
- source.removeActionListener(listeners[i]);
- }
-
- listeners = source.getActionListeners();
-
- if (listeners == null) {
- out.println("Test FAILED[2]. getActionListeners() returned null.");
- return;
- }
-
- if (listeners.length != 0) {
- out.println(JSFTestUtil.FAIL + " Expected getActionListeners() to return"
- + "a empty array after removing all ActionListeners.");
- out.println("Array length: " + listeners.length);
- return;
- }
-
- ActionListener listenerA1 = new TCKActionListener("A1");
- ActionListener listenerA2 = new TCKActionListener("A2");
-
- source.addActionListener(listenerA1);
- source.addActionListener(listenerA2);
-
- listeners = source.getActionListeners();
-
- if (listeners == null) {
- out.println("Test FAILED[3]. getActionListeners() returned null.");
- return;
- }
-
- // Have to check greater than or equal to 2 as a default listener
- // could be present. Will remove everything later and then check
- // for exact
- if (listeners.length != 2) {
- out.println(JSFTestUtil.FAIL + " Expected getActionListeners() to return"
- + " an array with 2 elements after adding two Listeners.");
- out.println("Array length: " + listeners.length);
- return;
- }
-
- List lListeners = Arrays.asList(listeners);
- if (!lListeners.contains(listenerA1)) {
- out.println(JSFTestUtil.FAIL + " Unable to find listenerA1 in the array"
- + " returned by getActionListeners().");
- return;
- }
-
- if (!lListeners.contains(listenerA2)) {
- out.println("Test FAILED[1]. Unable to find listenerA2 in the array"
- + " returned by getActionListeners().");
- return;
- }
-
- source.removeActionListener(listenerA1);
-
- lListeners = Arrays.asList(source.getActionListeners());
- if (lListeners.contains(listenerA1)) {
- out.println(
- JSFTestUtil.FAIL + " removeActionListener() was called passing"
- + " listenerA1, but getActionListeners() still returned"
- + " listenerA1.");
- return;
- }
-
- if (!lListeners.contains(listenerA2)) {
- out.println("Test FAILED[2]. Unable to find listenerA2 in the array"
- + " returned by getActionListeners().");
- return;
- }
-
- source.removeActionListener(listenerA2);
-
- if (source.getActionListeners().length != 0) {
- out.println(JSFTestUtil.FAIL + " getActionListeners() returned a "
- + "non-emtpy array after removing all test listeners.");
- out.println("Array length: " + source.getActionListeners().length);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ActionSource.addActionListener() throws NullPointerException if
- // ActionListener is null.
- public void actionSourceAddActListNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ActionSource2 source = (ActionSource2) createComponent();
-
- JSFTestUtil.checkForNPE(source.getClass(), "addActionListener",
- new Class>[] { ActionListener.class }, new Object[] { null }, out);
- }
-
- // ActionSource.removeActionListener() throws NullPointerException if
- // ActionListener is null.
- public void actionSourceRemoveActListNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ActionSource2 source = (ActionSource2) createComponent();
-
- JSFTestUtil.checkForNPE(source.getClass(), "removeActionListener",
- new Class>[] { ActionListener.class }, new Object[] { null }, out);
- }
-
- // ActionSource.{set,get}Action()
- public void actionSourceGetSetActionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ActionSource2 source = (ActionSource2) createComponent();
- request.setAttribute("actionSource", "value");
- FacesContext context = getFacesContext();
-
- ELContext elcontext = context.getELContext();
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(elcontext,
- "#{requestScope.actionSource}", null, new Class[] { });
-
- source.setActionExpression(binding);
- Object result = source.getActionExpression();
- if (binding != result) {
- out.println(JSFTestUtil.FAIL + " getAction() failed to return the value"
- + " set via setAction().");
- out.println("Expected: " + binding);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ActionSource.{set,get}ActionListener()
- public void actionSourceGetSetActListTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- request.setAttribute("actionListener", new ActionListener() {
- public void processAction(ActionEvent event)
- throws AbortProcessingException {
- // no-op
- }
- });
-
- FacesContext context = getFacesContext();
- ELContext elcontext = context.getELContext();
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(elcontext,
- "#{requestScope.actionListener.processAction}", null, new Class[] { ActionEvent.class });
-
- ActionSource2 source = (ActionSource2) createComponent();
-
- MethodExpressionActionListener listener = new MethodExpressionActionListener(binding);
- source.addActionListener(listener);
- ActionListener[] result = source.getActionListeners();
- if (result[0] != listener) {
- out.println(JSFTestUtil.FAIL + " getActionListener() failed to return "
- + "the value set via setActionListener().");
- out.println("Expected: " + binding);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ActionSource.{set,is}Immediate
- public void actionSourceSetIsImmediateTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ActionSource2 source = (ActionSource2) createComponent();
-
- if (source.isImmediate()) {
- out.println(JSFTestUtil.FAIL + " Expected isImmediate() to return"
- + " false as the default value");
- return;
- }
-
- source.setImmediate(true);
- if (!source.isImmediate()) {
- out.println(JSFTestUtil.FAIL + " Expected isImmediate() to return"
- + " true after having explicitly set it as such via"
- + " setImmediate()");
- return;
- }
-
- source.setImmediate(false);
- if (source.isImmediate()) {
- out.println(JSFTestUtil.FAIL + " Expected isImmediate() to return"
- + " false after having explicitly set it as such via"
- + " setImmediate()");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ------------------------------------------------------------- Private
- // Classes
-
- private static class TCKActionListener implements ActionListener {
-
- PhaseId phaseId;
-
- String id;
-
- public TCKActionListener() {
- this.phaseId = PhaseId.ANY_PHASE;
- }
-
- public TCKActionListener(String id) {
- this(id, PhaseId.ANY_PHASE);
- }
-
- public TCKActionListener(String id, PhaseId phaseId) {
- this.id = id;
- this.phaseId = phaseId;
- }
-
- public String getId() {
- return (this.id);
- }
-
- public PhaseId getPhaseId() {
- return (this.phaseId);
- }
-
- public void processAction(ActionEvent event) {
- trace(getId());
- }
-
- @Override
- public boolean equals(Object otherObj) {
- if (!(otherObj instanceof TCKActionListener)) {
- return false;
- }
- TCKActionListener other = (TCKActionListener) otherObj;
- if ((null != id && null == other.id)
- || (null == id && null != other.id)) {
- return false;
- }
- boolean idsAreEqual = true;
- if (null != id) {
- idsAreEqual = id.equals(other.id);
- }
- boolean result = idsAreEqual && other.phaseId == this.phaseId;
- return result;
- }
-
- @Override
- public int hashCode() {
- int hash = 3;
- hash = 41 * hash + (this.phaseId != null ? this.phaseId.hashCode() : 0);
- hash = 41 * hash + (this.id != null ? this.id.hashCode() : 0);
- return hash;
- }
-
- // ---------------------------------------------------- Static Trace Methods
-
- // Accumulated trace log
- private static StringBuffer trace = new StringBuffer();
-
- // Append to the current trace log (or clear if null)
- public static void trace(String text) {
- if (text == null) {
- trace.setLength(0);
- } else {
- trace.append('/');
- trace.append(text);
- }
- }
-
- // Retrieve the current trace log
- public static String trace() {
- return (trace.toString());
- }
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseComponentTestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseComponentTestServlet.java
deleted file mode 100644
index a4a13828da..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseComponentTestServlet.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.common;
-
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletContext;
-import jakarta.servlet.ServletException;
-
-public abstract class BaseComponentTestServlet
- extends BaseActionSource2TestServlet {
-
- protected ServletContext servletContext;
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- *
- * @param config
- * this Servlet's configuration
- * @throws ServletException
- * if an error occurs
- */
- @Override
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- servletContext = config.getServletContext();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseEditableValueHolderTestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseEditableValueHolderTestServlet.java
deleted file mode 100644
index 019ad817be..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseEditableValueHolderTestServlet.java
+++ /dev/null
@@ -1,387 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.common;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.EditableValueHolder;
-import jakarta.faces.component.ValueHolder;
-import jakarta.faces.convert.Converter;
-import jakarta.faces.convert.NumberConverter;
-import jakarta.el.MethodExpression;
-import jakarta.el.ELContext;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.event.MethodExpressionValueChangeListener;
-import jakarta.faces.event.ValueChangeEvent;
-import jakarta.faces.event.ValueChangeListener;
-import jakarta.faces.validator.LengthValidator;
-import jakarta.faces.validator.Validator;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public abstract class BaseEditableValueHolderTestServlet
- extends BaseValueHolderTestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- *
- * @param config
- * this Servlet's configuration
- * @throws jakarta.servlet.ServletException
- * if an error occurs
- */
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- }
-
- // ------------------------------------------------------------ Test Methods
-
- // ------------------------------------------------------------- ValueHolder
-
- // ValueHolder.{get,set}Converter
- public void valueHolderGetSetConverterTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ValueHolder holder = (ValueHolder) createComponent();
-
- Converter converter = new NumberConverter();
- holder.setConverter(converter);
-
- Object result = holder.getConverter();
- if (!converter.equals(result)) {
- out.println(JSFTestUtil.FAIL + " Expected getConverter() to return the"
- + " Converter set via setConverter().");
- out.println("Value expected: " + converter);
- out.println("value received: " + result);
- return;
- }
-
- // make sure we can set null
- holder.setConverter(null);
- if (holder.getConverter() != null) {
- out.println(JSFTestUtil.FAIL + " Expected getConverter() to return null"
- + " as set via setConverter().");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void valueHolderGetSetValueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ValueHolder holder = (ValueHolder) createComponent();
- holder.setValue("value");
-
- if (!"value".equals(holder.getValue())) {
- out.println(JSFTestUtil.FAIL + " Value returned by getValue() was"
- + " not the same as set via setValue().");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ----------------------------------------------------- EditableValueHolder
-
- public void editableValueHolderIsSetValidTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- EditableValueHolder holder = (EditableValueHolder) createComponent();
-
- holder.setValid(false);
- if (holder.isValid()) {
- out.println(JSFTestUtil.FAIL + " Expected isValid() to return false "
- + "after having called setValid(true).");
- return;
- }
-
- holder.setValid(true);
- if (!holder.isValid()) {
- out.println(JSFTestUtil.FAIL + " Expected isValid() to return true "
- + "after having called setValid(false).");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void editableValueHolderAddGetRemoveValueChangeListenerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- EditableValueHolder holder = (EditableValueHolder) createComponent();
-
- TCKValueChangeListener listener = new TCKValueChangeListener("id");
-
- holder.addValueChangeListener(listener);
-
- ValueChangeListener[] listeners = holder.getValueChangeListeners();
- if (listeners.length != 1) {
- out.println("Test FAILED[1]. Expected the length of the array returned"
- + " by getValueChangedListeners() to be one.");
- out.println("Actual length: " + listeners.length);
- return;
- }
-
- holder.removeValueChangeListener(new TCKValueChangeListener("id2"));
- listeners = holder.getValueChangeListeners();
- if (listeners.length != 1) {
- out.println("Test FAILED[2]. Expected the length of the array returned"
- + " by getValueChangedListeners() to be one.");
- out.println("Actual length: " + listeners.length);
- return;
- }
-
- holder.removeValueChangeListener(listener);
- listeners = holder.getValueChangeListeners();
- if (listeners.length != 0) {
- out.println(
- JSFTestUtil.FAIL + " Expected the length of the array returned"
- + " by getValueChangedListeners() to be zero after removing"
- + " the only listener.");
- out.println("Actual length: " + listeners.length);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void editableValueHolderGetSetValueChangeListenerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- EditableValueHolder holder = (EditableValueHolder) createComponent();
-
- FacesContext fc = getFacesContext();
- String ref = "requestScope.tckValueChangeRef.processValueChange";
-
- ELContext context2 = fc.getELContext();
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(context2,
- "#{requestScope.tckValueChangeRef.processValueChange}", null, new Class[] { ValueChangeEvent.class });
- MethodExpressionValueChangeListener listener = new MethodExpressionValueChangeListener(binding);
- holder.addValueChangeListener(listener);
-
- if (listener != holder.getValueChangeListeners()[0]) {
- out.println(JSFTestUtil.FAIL + " getValueChangeListener() didn't return"
- + " the value as set via setValueChangeListener().");
- out.println("Expected: " + ref);
- out.println("Received: " + holder.getValueChangeListeners());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void editableValueHolderAddGetRemoveValidatorTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- EditableValueHolder holder = (EditableValueHolder) createComponent();
-
- Validator validator = new LengthValidator(10);
-
- holder.addValidator(validator);
-
- Validator[] validators = holder.getValidators();
-
- if (validators.length != 1) {
- out.println(JSFTestUtil.FAIL + " After adding one Validator, expected"
- + " the length of the array of Validators returned by "
- + "getValidators() to be 1.");
- out.println("Length received: " + validators.length);
- return;
- }
-
- if (validator != validators[0]) {
- out.println(JSFTestUtil.FAIL + " The Validator in the array returned"
- + " by getValidators() is not the same validator instance"
- + " added by addValidator().");
- out.println("Expected: " + validator);
- out.println("Received: " + validators[0]);
- return;
- }
-
- holder.removeValidator(validator);
-
- validators = holder.getValidators();
-
- if (validators.length != 0) {
- out.println(JSFTestUtil.FAIL + " After removing the single Validator, "
- + "expected instance, the length of the array returned by"
- + "getValidators() should have been zero.");
- out.println("Length received: " + validators.length);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void editableValueHolderIsSetRequiredTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- EditableValueHolder holder = (EditableValueHolder) createComponent();
-
- holder.setRequired(false);
-
- if (holder.isRequired()) {
- out.println(JSFTestUtil.FAIL + " Expected isRequired() to return false"
- + " after having explicitly set it as such via setRequired().");
- return;
- }
-
- holder.setRequired(true);
- if (!holder.isRequired()) {
- out.println(JSFTestUtil.FAIL + " Expected isRequired() to return true"
- + " after having explicitly set it as such via setRequired().");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void editableValueHolderGetSetSubmittedValueTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- EditableValueHolder holder = (EditableValueHolder) createComponent();
-
- holder.setSubmittedValue(Boolean.TRUE);
-
- if (!((Boolean) holder.getSubmittedValue())) {
- out.println(
- JSFTestUtil.FAIL + " Value returned by getSubmittedValue() was"
- + " not the same as set by setSubmittedValue().");
- out.println("Expected: Boolean.TRUE");
- out.println("Received: Boolean.FALSE");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // EditableValueHolder.addValidator() throws NullPointerException()
- public void editableValueHolderAddValidatorNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- EditableValueHolder holder = (EditableValueHolder) createComponent();
-
- JSFTestUtil.checkForNPE(holder.getClass(), "addValidator",
- new Class>[] { Validator.class }, new Object[] { null }, out);
- }
-
- // EditableValueHolder.addValueChangeListener() throws
- // NullPointerException()
- public void editableValueHolderAddValueChangeListenerNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- EditableValueHolder holder = (EditableValueHolder) createComponent();
-
- JSFTestUtil.checkForNPE(holder.getClass(), "addValueChangeListener",
- new Class>[] { ValueChangeListener.class }, new Object[] { null },
- out);
- }
-
- // EditableValueHolder.removeValueChangeListener() throws
- // NullPointerException()
- public void editableValueHolderRemoveValueChangeListenerNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- EditableValueHolder holder = (EditableValueHolder) createComponent();
-
- JSFTestUtil.checkForNPE(holder.getClass(), "removeValueChangeListener",
- new Class>[] { ValueChangeListener.class }, new Object[] { null },
- out);
- }
-
- public void editableValueHolderIsSetImmediateTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- EditableValueHolder holder = (EditableValueHolder) createComponent();
-
- if (holder.isImmediate()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Default setting for 'isImmediate() " + " MUST be false!");
-
- } else {
- holder.setImmediate(true);
- if (!holder.isImmediate()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unxpected value returned from isImmediate()" + JSFTestUtil.NL
- + "Expected: true" + JSFTestUtil.NL + "Received: false");
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
- }
-
- public void editableValueHolderIsSetLocalValueSetTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- EditableValueHolder holder = (EditableValueHolder) createComponent();
- boolean golden = false;
- holder.setLocalValueSet(golden);
-
- // Initial call should receive 'false'.
- boolean result = holder.isLocalValueSet();
- if (result) {
- out.println(JSFTestUtil.FAIL
- + " Value returned by EditableValueHolder.isLocalValueSet() was"
- + " not the same as set by EditableValueHolder.setLocalValueSet().");
- out.println("Expected: " + golden);
- out.println("Received: " + result);
- return;
- }
-
- // Second call should receive 'true', after calling setValue().
- holder.setValue("test_value");
- result = holder.isLocalValueSet();
- if (!result) {
- out.println(JSFTestUtil.FAIL
- + " Value returned by EditableValueHolder.isLocalValueSet() was"
- + " not the same as set by EditableValueHolder.setLocalValueSet().");
- out.println("Expected: true");
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // editableValueHolderIsSetLocalValueSetTest
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BasePartialStateHolderTestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BasePartialStateHolderTestServlet.java
deleted file mode 100644
index 8ef15d8b93..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BasePartialStateHolderTestServlet.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.common;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.PartialStateHolder;
-import jakarta.faces.component.UIComponent;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-/**
- *
- * Base test Servlet for the {@link PartialStateHolder} interface.
- *
- */
-public abstract class BasePartialStateHolderTestServlet
- extends BaseStateHolderTestServlet {
-
- // ------------------------------------------- Public Methods
- /**
- *
- * Initialize this Servlet.
- *
- *
- * @param config
- * this Servlet's configuration
- * @throws ServletException
- * if initialization fails
- */
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- }
-
- // ------------------------------------------ PartialStateHolder Test Methods
-
- // .markInitialState()
- // .initialStateMarked()
- // .clearInitialState()
- public void partialStateHolderMICStateTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
- boolean state;
-
- // state should be set to 'true' after this call is made.
- comp.markInitialState();
- state = comp.initialStateMarked();
-
- if (!state) {
- out.println(JSFTestUtil.FAIL
- + " Expected State to be true after BehaviorBase.Base.markInitialState()"
- + " Hed been called!");
- } else {
- comp.clearInitialState();
- state = comp.initialStateMarked();
-
- if (state) {
- out.println(JSFTestUtil.FAIL
- + " Expected State to be false after BehaviorBase.Base.clearState()"
- + " Hed been called!");
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- } // END behaviorMICInitialStateTest
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseStateHolderTestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseStateHolderTestServlet.java
deleted file mode 100644
index 430547203c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseStateHolderTestServlet.java
+++ /dev/null
@@ -1,325 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.common;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.Serializable;
-
-import com.sun.ts.tests.jsf.common.beans.TestBean;
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.StateHolder;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIOutput;
-import jakarta.el.ELContext;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-/**
- *
- * Base test Servlet for the {@link StateHolder} interface.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected abstract UIComponentBase createComponent();
-
- // --------------------------------------------------------------Private
- // Methods
- // Populate a pristine component to be used in state holder tests
- protected void populateComponent(UIComponent component) {
-
- component.getAttributes().put("key1", "value 1");
- component.getAttributes().put("key2", "value 2");
-
- ELContext elContext = getFacesContext().getELContext();
- component.setValueExpression(REF_NAME, new TCKValueBinding(
- getApplication().getExpressionFactory().createValueExpression(elContext, COMPONENT_REF, Object.class), COMPONENT_REF));
- component.setId("componentId");
- component.getClientId(getFacesContext()); // Forces evaluation
- component.setRendered(false);
- component.setRendererType(null); // Since we have no renderers
-
- }
-
- // Check that the properties on the specified components are equal
- protected void checkProperties(UIComponent orig, UIComponent restored,
- StringBuffer buf) {
- if (!((TCKValueBinding) orig.getValueExpression(REF_NAME)).getRef().equals(
- ((TCKValueBinding) restored.getValueExpression(REF_NAME)).getRef())) {
- buf.append(JSFTestUtil.FAIL + " ComponentRefs are not equal.\n");
- buf.append("Original componentRef: ")
- .append(((TCKValueBinding) orig.getValueExpression(REF_NAME)).getRef());
- buf.append("\nRestored componentRef: ").append(
- ((TCKValueBinding) restored.getValueExpression(REF_NAME)).getRef());
- buf.append("\n\n");
- }
-
- if (!orig.getClientId(getFacesContext())
- .equals(restored.getClientId(getFacesContext()))) {
- buf.append(JSFTestUtil.FAIL + " Client IDs are not equal.\n");
- buf.append("Original client ID: ")
- .append(orig.getClientId(getFacesContext()));
- buf.append("\nRestored client ID: ")
- .append(restored.getClientId(getFacesContext()));
- buf.append("\n\n");
- }
-
- if (!orig.getId().equals(restored.getId())) {
- buf.append(JSFTestUtil.FAIL + " Component IDs are not equal.\n");
- buf.append("Original component ID: ").append(orig.getId());
- buf.append("\nRestored component ID: ").append(restored.getId());
- buf.append("\n\n");
- }
-
- if (orig.isRendered() != restored.isRendered()) {
- buf.append(
- JSFTestUtil.FAIL + " Return value of isRendered() is not equal.\n");
- buf.append("Original value for isRendered(): ").append(orig.isRendered());
- buf.append("\nRestored value for isRendered(): ")
- .append(restored.isRendered());
- buf.append("\n\n");
- }
-
- if (orig.getRendererType() != restored.getRendererType()) {
- buf.append(JSFTestUtil.FAIL + " Renderer type is not equal.\n");
- buf.append("Original renderer type to be null.\n");
- buf.append("\nRestored renderer type: ")
- .append(restored.getRendererType());
- buf.append("\n\n");
- }
-
- if (orig.getRendersChildren() != restored.getRendersChildren()) {
- buf.append(JSFTestUtil.FAIL
- + " Return value of getRendersChildren() is not " + "equal.\n");
- buf.append("Original value for getRendersChildren(): ")
- .append(orig.getRendersChildren());
- buf.append("\nRestored value for getRendersChildren(): ")
- .append(restored.getRendersChildren());
- buf.append("\n\n");
- }
-
- }
-
- // Check that the attributes on the specified components are equal
- protected void checkAttributes(UIComponent orig, UIComponent restored,
- StringBuffer buf) {
- if (!orig.getAttributes().equals(restored.getAttributes())) {
- buf.append(JSFTestUtil.FAIL + " Attributes between original component"
- + " and those of the restored component are not equal.\n");
- buf.append("Original Attributes: \n");
- buf.append(JSFTestUtil.getAsString(orig.getAttributes()));
- buf.append("Restored Attributes: \n");
- buf.append(JSFTestUtil.getAsString(restored.getAttributes()));
- }
-
- }
-
- // Check that the specified components are equal
- protected void checkComponents(UIComponent orig, UIComponent restored,
- StringBuffer buf) {
- checkAttributes(orig, restored, buf);
- checkProperties(orig, restored, buf);
- }
-
- // ---------------------------------------------------------------- Test
- // Methods
- // StateHolder.isTransient(), StateHolder.setTransient();
- public void stateHolderIsSetTransientTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- StateHolder holder = createComponent();
-
- holder.setTransient(false);
-
- if (holder.isTransient()) {
- out.println(JSFTestUtil.FAIL + " Expected isTransient() to return"
- + " false after having explicitly setting it as such via"
- + " setTransient().");
- return;
- }
-
- holder.setTransient(true);
-
- if (!holder.isTransient()) {
- out.println(JSFTestUtil.FAIL + " Expected isTransient() to return true"
- + " after having explicitly setting it as such via"
- + " setTransient().");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // StateHolder.saveState(), StateHolder.restoreState()
- public void stateHolderSaveRestoreStateTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // Begin test setup
- TestBean bean = new TestBean();
- request.setAttribute("TestBean", bean);
- UIComponent preSave = createComponent();
- UIComponent facet1 = new UIOutput();
- facet1.setId("facet1");
- preSave.getFacets().put("facet1 key", facet1);
- UIComponent facet2 = new UIOutput();
- facet2.setId("facet2");
- preSave.getFacets().put("facet2 key", facet2);
- populateComponent(preSave);
-
- // Save and restore state and compare the results
- Object state = preSave.saveState(getFacesContext());
-
- if (state == null) {
- out.println(JSFTestUtil.FAIL + " saveState() failed to returned null");
- return;
- }
-
- if (!(state instanceof Serializable)) {
- out.println(JSFTestUtil.FAIL + " The Object returned by saveState() was"
- + " not an instance of java.io.Serializable.");
- return;
- }
-
- UIComponent postSave = createComponent();
- postSave.restoreState(getFacesContext(), state);
-
- StringBuffer buf = new StringBuffer(128);
-
- checkComponents(preSave.findComponent("componentId"),
- postSave.findComponent("componentId"), buf);
-
- if (buf.length() > 0) {
- out.println(buf.toString());
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // StateHolder.restoreState() throws NullPointerException
- public void stateHolderRestoreStateNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- StringBuffer buf = new StringBuffer(128);
-
- // Begin test setup
- TestBean bean = new TestBean();
- request.setAttribute("TestBean", bean);
- UIComponent preSave = createComponent();
- UIComponent facet1 = new UIOutput();
- facet1.setId("facet1");
- preSave.getFacets().put("facet1 key", facet1);
- UIComponent facet2 = new UIOutput();
- facet2.setId("facet2");
- preSave.getFacets().put("facet2 key", facet2);
- populateComponent(preSave);
-
- // Save and restore state and compare the results
- Object state = preSave.saveState(getFacesContext());
-
- UIComponent postSave = createComponent();
-
- // Null for FaceContext
- try {
- postSave.restoreState(null, state);
- buf.append("Test FAILED" + JSFTestUtil.NL
- + "Expected NullPointerException to be thrown when "
- + "FacesContext is null!" + JSFTestUtil.NL);
- } catch (NullPointerException npe) {
- // do nothing test passes.
- } catch (Exception e) {
- buf.append("Test FAILED" + JSFTestUtil.NL
- + "Expected a NulPointerException to be thrown when "
- + "FacesContext is null!" + JSFTestUtil.NL + "Instead Received: "
- + JSFTestUtil.NL + e.toString());
- }
-
- // Removed check for state being null based on JSF Spec Issue:640
- // https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=640
-
- if (buf.length() > 0) {
- out.println(buf.toString());
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // StateHolder.saveState() throws NullPointerException
- public void stateHolderSaveStateNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent preSave = createComponent();
-
- try {
- Object state = preSave.saveState(null);
- out.println("Test FAILED expected a NullPointerException to be "
- + "thrown when context is null.");
-
- } catch (NullPointerException npe) {
- // do nothing test passed
- } catch (Exception e) {
- out.println(
- "Test FAILED" + JSFTestUtil.NL + "Unexpected Exception thrown, "
- + "expected NullPointerException instead Received"
- + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseUIComponentClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseUIComponentClient.java
deleted file mode 100644
index 6d0bd93939..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseUIComponentClient.java
+++ /dev/null
@@ -1,1557 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.common;
-
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public abstract class BaseUIComponentClient extends AbstractUrlClient {
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /**
- * testName: uiComponentGetAttributesTest
- *
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:649; JSF:JAVADOC:596
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetAttributesTest");
- invoke();
- }
-
- /**
- * testName: uiComponentDecodeNPETest
- *
- * @assertion_ids: JSF:JAVADOC:583; JSF:JAVADOC:484
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentDecodeNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentDecodeNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetClientIdTest
- *
- * @assertion_ids: JSF:JAVADOC:600; JSF:JAVADOC:649
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetClientIdTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetClientIdContextTest
- *
- * @assertion_ids: JSF:JAVADOC:600; JSF:JAVADOC:649
- * @test_Strategy: Verify getClientId(FacesContext) returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetClientIdContextTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetCurrentComponentTest
- *
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentComponentTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetCurrentComponentTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetCurrentComponentNPETest
- *
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointException.
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentComponentNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetCurrentComponentNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetCurrentComponentNullTest
- *
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null if there is no
- * currently processing UIComponent
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentComponentNullTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetCurrentComponentNullTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetCurrentCompositeComponentNPETest
- *
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointException.
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentCompositeComponentNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiComponentGetCurrentCompositeComponentNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetCurrentCompositeComponentNullTest
- *
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null if there
- * is no currently processing UIComponent
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentCompositeComponentNullTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiComponentGetCurrentCompositeComponentNullTest");
- invoke();
- }
-
- /**
- * testName: uiComponentIsCurrentCompositeComponentNPETest
- *
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointException.
- *
- * @since 2.0
- */
- public void uiComponentIsCompositeComponentNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentIsCompositeComponentNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentIsCurrentCompositeComponentNullTest
- *
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent() returns false if there is no
- * currently processing UIComponent
- *
- * @since 2.0
- */
- public void uiComponentIsCompositeComponentNegTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentIsCompositeComponentNegTest");
- }
-
- /**
- * testName: uiComponentGetClientIdNPETest
- *
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetClientIdNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetSetIdTest
- *
- * @assertion_ids: JSF:JAVADOC:504; JSF:JAVADOC:558; JSF:JAVADOC:640;
- * JSF:JAVADOC:608; JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetSetIdTest");
- invoke();
- }
-
- /**
- * testName: uiComponentSetIdRestrictionsTest
- *
- * @assertion_ids: JSF:JAVADOC:558; JSF:JAVADOC:559; JSF:JAVADOC:641
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentSetIdRestrictionsTest");
- invoke();
- }
-
- /**
- * testName: uiComponentQueueEventNPETest
- *
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentQueueEventNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetSetParentTest
- *
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:609; JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetSetParentTest");
- invoke();
- }
-
- /**
- * testName: uiComponentInvokeOnComponentTest
- *
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate that the correct information is returned after the
- * InvokeOnComponent has been called on a given UIComponent.
- */
- public void uiComponentInvokeOnComponentTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentInvokeOnComponentTest");
- invoke();
- }
-
- /**
- * testName: uiComponentInvokeOnComponentNegativeTest
- *
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate that the correct Exceptions are thrown when
- * calling the InvokeOnComponent method incorrectly.
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentInvokeOnComponentNegativeTest");
- invoke();
- }
-
- /**
- * testName: uiComponentIsSetRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentIsSetRenderedTest");
- invoke();
- }
-
- /**
- * testName: uiComponentIsInViewTest
- *
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- *
- * @since 2.0
- */
- public void uiComponentIsInViewTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentIsInViewTest");
- invoke();
- }
-
- /**
- * testName: uiComponentIsInViewNegTest
- *
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns false if the component is BOT in
- * the current view.
- *
- * @since 2.0
- */
- public void uiComponentIsInViewNegTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentIsInViewNegTest");
- invoke();
- }
-
- /**
- * testName: uiComponentVisitTreeTest
- *
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentVisitTreeTest");
- invoke();
- }
-
- /**
- * testName: uiComponentVisitTreeNegTest
- *
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentVisitTreeNegTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetChildrenTest
- *
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetChildrenTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetSetRendererTypeTest
- *
- * @assertion_ids: JSF:JAVADOC:523; JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetSetRendererTypeTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetRendersChildrenTest
- *
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetRendersChildrenTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetChildCountTest
- *
- * @assertion_ids: JSF:JAVADOC:501; JSF:JAVADOC:597
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetChildCountTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetFacetsTest
- *
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetFacetsTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetFacetCountTest
- *
- * @assertion_ids: JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetFacetCountTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetFacetTest
- *
- * @assertion_ids: JSF:JAVADOC:514; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetFacetTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetFacetsAndChildrenTest
- *
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetFacetsAndChildrenTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetFamilyTest
- *
- * @assertion_ids: JSF:JAVADOC:448; JSF:JAVADOC:517
- * @test_Strategy: Unsure we get the proper family back.
- */
- public void uiComponentGetFamilyTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetFamilyTest");
- invoke();
- }
-
- /**
- * testName: uiComponentFindComponentTest
- *
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentFindComponentTest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessSaveRestoreStateTest
- *
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentProcessSaveRestoreStateTest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessSaveStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- *
- * @since 2.0
- */
- public void uiComponentProcessSaveStateNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentProcessSaveStateNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessRestoreStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- *
- * @since 2.0
- */
- public void uiComponentProcessRestoreStateNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentProcessRestoreStateNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessSaveStateTransientTest
- *
- * @assertion_ids: JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentProcessSaveStateTransientTest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessUpdatesTest
- *
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:626
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentProcessUpdatesTest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessUpdatesNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:626
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentProcessUpdatesNotRenderedTest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessUpdatesNPETest
- *
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentProcessUpdatesNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentRestoreAttachedStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentRestoreAttachedStateNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentSaveAttachedStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentSaveAttachedStateNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessUpdatesRenderResponseTest
- *
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:626
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiComponentProcessUpdatesRenderResponseTest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessValidatorsTest
- *
- * @assertion_ids: JSF:JAVADOC:551; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentProcessValidatorsTest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessValidatorsNPETest
- *
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate a NullPointerException is thrown when argument is
- * null.
- */
- public void uiComponentProcessValidatorsNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentProcessValidatorsNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessValidatorsNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:551; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiComponentProcessValidatorsNotRenderedTest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessValidatorsRenderResponseTest
- *
- * @assertion_ids: JSF:JAVADOC:551; JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiComponentProcessValidatorsRenderResponseTest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- *
- * @assertion_ids: JSF:JAVADOC:551; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiComponentProcessValidatorsIsValidRenderResponseTest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessDecodesTest
- *
- * @assertion_ids: JSF:JAVADOC:541; JSF:JAVADOC:620; JSF:JAVADOC:483;
- * JSF:JAVADOC:582
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent.
- *
- * # Call the decode() method of this component, if this
- * component's rendered property is true and it is not nested
- * in a parent component whose rendersChildren property is
- * true but whose rendered property is false.
- */
- public void uiComponentProcessDecodesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentProcessDecodesTest");
- invoke();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentProcessDecodesTest");
- invoke();
- }
-
- /**
- * testName: uiComponentPushComponentToELTest
- *
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- *
- * @since 2.0
- */
- public void uiComponentPushComponentToELTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentPushComponentToELTest");
- invoke();
- }
-
- /**
- * testName: uiComponentPushComponentToELNPETest
- *
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- *
- * @since 2.0
- */
- public void uiComponentPushComponentToELNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentPushComponentToELNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentPopComponentFromELTest
- *
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL does put a the
- * previous UIComponent as the current component being
- * processed.
- *
- * @since 2.0
- */
- public void uiComponentPopComponentFromELTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentPopComponentFromELTest");
- invoke();
- }
-
- /**
- * testName: uiComponentPopComponentFromELNPETest
- *
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Validate that a NullPointerException is thrown if
- * FacesContext is null.
- *
- * @since 2.0
- */
- public void uiComponentPopComponentFromELNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentPopComponentFromELNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessDecodesNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentProcessDecodesNotRenderedTest");
- invoke();
- }
-
- /**
- * testName: uiComponentProcessDecodesRenderResponseTest
- *
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiComponentProcessDecodesRenderResponseTest");
- invoke();
- }
-
- /**
- * testName: uiComponentEncodeBeginTest
- *
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentEncodeBeginTest");
- invoke();
- }
-
- /**
- * testName: uiComponentEncodeAllNPETest
- *
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentEncodeAllNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentEncodeBeginELTest
- *
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- */
-
- public void uiComponentEncodeBeginELTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentEncodeBeginELTest");
- invoke();
- }
-
- /**
- * testName: uiComponentEncodeBeginNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentEncodeBeginNotRenderedTest");
- invoke();
- }
-
- /**
- * testName: uiComponentEncodeEndTest
- *
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentEncodeEndTest");
- invoke();
- }
-
- /**
- * testName: uiComponentEncodeEndELTest
- *
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- */
- public void uiComponentEncodeEndELTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentEncodeEndELTest");
- invoke();
- }
-
- /**
- * testName: uiComponentEncodeEndNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentEncodeEndNotRenderedTest");
- invoke();
- }
-
- /**
- * testName: uiComponentEncodeChildrenTest
- *
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentEncodeChildrenTest");
- invoke();
- }
-
- /**
- * testName: uiComponentEncodeChildrenNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentEncodeChildrenNotRenderedTest");
- invoke();
- }
-
- /**
- * testName: uiComponentEncodeBeginNPETest
- *
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentEncodeBeginNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentEncodeEndNPETest
- *
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentEncodeEndNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentEncodeChildrenNPETest
- *
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentEncodeChildrenNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentFindComponentIAETest
- *
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentFindComponentIAETest");
- invoke();
- }
-
- /**
- * testName: uiComponentFindComponentNPETest
- *
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentFindComponentNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetSetValueExpressionTest
- *
- * @assertion_ids: JSF:JAVADOC:528; JSF:JAVADOC:567
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetSetValueExpressionTest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetSetValueExpressionNPETest
- *
- * @assertion_ids: JSF:JAVADOC:529; JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetSetValueExpressionNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentSetValueExpressionNPETest
- *
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentSetValueExpressionNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentSetValueExpressionIAETest
- *
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentSetValueExpressionIAETest");
- invoke();
- }
-
- /**
- * testName: uiComponentSubscribeToEventTest
- *
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test cases: UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentSubscribeToEventTest");
- invoke();
- }
-
- /**
- * testName: uiComponentSubscribeToEventNPETest
- *
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentSubscribeToEventNPETest");
- invoke();
- }
-
- // --------------------------------------------------- StateHolder Tests
- /**
- * testName: stateHolderIsSetTransientTest
- *
- * @assertion_ids: JSF:JAVADOC:442
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "stateHolderIsSetTransientTest");
- invoke();
- }
-
- /**
- * testName: stateHolderSaveRestoreStateTest
- *
- * @assertion_ids: JSF:JAVADOC:445
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "stateHolderSaveRestoreStateTest");
- invoke();
- }
-
- /**
- * testName: stateHolderRestoreStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:444
- * @test_Strategy: Verify that restoreState throws a NullpointerException if
- * either FacesContext or state is null.
- */
- public void stateHolderRestoreStateNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "stateHolderRestoreStateNPETest");
- invoke();
- }
-
- /**
- * testName: stateHolderSaveStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify that saveState throws a NullpointerException if
- * either FacesContext null.
- */
- public void stateHolderSaveStateNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "stateHolderSaveStateNPETest");
- invoke();
- }
-
- // --------------------------------------------- PartialStateHolder Tests
-
- /**
- * testName: partialStateHolderMICStateTest
- *
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "partialStateHolderMICStateTest");
- invoke();
- }
-
- // -------------------------------------------------------------------------
- /**
- * testName: actionSourceAddGetRemoveActListTest
- *
- * @assertion_ids: JSF:JAVADOC:392; JSF:JAVADOC:395; JSF:JAVADOC:398
- * @test_Strategy: Verify the following: - If no ActionListeners have been
- * added, an empty array is returned. - Verify listeners added
- * are present in the array returned by getActionListeners().
- * - Verify listeners that have been removed are not present
- * in the array returned by getActionListeners().
- */
- public void actionSourceAddGetRemoveActListTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "actionSourceAddGetRemoveActListTest");
- invoke();
- }
-
- /**
- * testName: actionSourceAddActListNPETest
- *
- * @assertion_ids: JSF:JAVADOC:393
- * @test_Strategy: Verify an NPE is thrown when attempting to pass a null
- * value to addActionListener().
- */
- public void actionSourceAddActListNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "actionSourceAddActListNPETest");
- invoke();
- }
-
- /**
- * testName: actionSourceRemoveActListNPETest
- *
- * @assertion_ids: JSF:JAVADOC:399
- * @test_Strategy: Verify a NullPointerException is thrown when attempting to
- * pass a null value to removeActionListener().
- */
- public void actionSourceRemoveActListNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "actionSourceRemoveActListNPETest");
- invoke();
- }
-
- /**
- * testName: actionSourceRemoveActionListenerNPETest
- *
- * @assertion_ids: JSF:JAVADOC:393
- * @test_Strategy: Verify a NullPointerEception is thrown when attempting to
- * pass a null value to removeActionListener().
- */
- public void actionSourceRemoveActionListenerNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "actionSourceRemoveActionListenerNPETest");
- invoke();
- }
-
- /**
- * testName: actionSourceGetSetActionTest
- *
- * @assertion_ids: JSF:JAVADOC:394; JSF:JAVADOC:400
- * @test_Strategy: Verify {get,set}Action() - if a value is set, the same
- * value is returned.
- */
- public void actionSourceGetSetActionTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "actionSourceGetSetActionTest");
- invoke();
- }
-
- /**
- * testName: actionSourceGetSetActListTest
- *
- * @assertion_ids: JSF:JAVADOC:396
- * @test_Strategy: Verify {get,set}ActionListener() - if a value is set, the
- * same value is returned.
- */
- public void actionSourceGetSetActListTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "actionSourceGetSetActListTest");
- invoke();
- }
-
- /**
- * testName: actionSourceSetIsImmediateTest
- *
- * @assertion_ids: JSF:JAVADOC:402
- * @test_Strategy: Verify {is,set}Immediate() - if a value is set, the same
- * value is returned.
- */
- public void actionSourceSetIsImmediateTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "actionSourceSetIsImmediateTest");
- invoke();
- }
-
- // -----------------------------------------------------------------------------
- /**
- * testName: actionSource2GetSetActionExpressionTest assertion_ids:
- * JSF:JAVADOC:403 test_Strategy: Verify {get,set}ActionExpression in
- * ActionSource2 components accept and properly return a provided
- * MethodExpression instance.
- *
- * @since 1.2
- */
- public void actionSource2GetSetActionExpressionTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "actionSource2GetSetActionExpressionTest");
- invoke();
- }
-
- // -----------------------------------------------------------------------------
- /**
- * testName: valueHolderGetSetValueTest
- *
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "valueHolderGetSetValueTest");
- invoke();
- }
-
- /**
- * testName: valueHolderGetSetConverterTest
- *
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Immediate() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "valueHolderGetSetConverterTest");
- invoke();
- }
-
- // ---------------------------------------------------------
- // EditableValueHolder
- /**
- * testName: editableValueHolderIsSetValidTest
- *
- * @assertion_ids: JSF:JAVADOC:416
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "editableValueHolderIsSetValidTest");
- invoke();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "editableValueHolderIsSetImmediateTest");
- invoke();
- }
-
- /**
- * testName: editableValueHolderAddGetRemoveValidatorTest
- *
- * @assertion_ids: JSF:JAVADOC:406; JSF:JAVADOC:411; JSF:JAVADOC:419;
- * JSF:JAVADOC:412
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "editableValueHolderAddGetRemoveValidatorTest");
- invoke();
- }
-
- /**
- * testName: editableValueHolderGetSetSubmittedValueTest
- *
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "editableValueHolderGetSetSubmittedValueTest");
- invoke();
- }
-
- /**
- * testName: editableValueHolderIsSetRequiredTest
- *
- * @assertion_ids: JSF:JAVADOC:417
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "editableValueHolderIsSetRequiredTest");
- invoke();
- }
-
- /**
- * testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- *
- * @assertion_ids: JSF:JAVADOC:408; JSF:JAVADOC:420; JSF:JAVADOC:414
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "editableValueHolderAddGetRemoveValueChangeListenerTest");
- invoke();
- }
-
- /**
- * testName: editableValueHolderGetSetValueChangeListenerTest
- *
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "editableValueHolderGetSetValueChangeListenerTest");
- invoke();
- }
-
- /**
- * testName: editableValueHolderAddValidatorNPETest
- *
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "editableValueHolderAddValidatorNPETest");
- invoke();
- }
-
- /**
- * testName: editableValueHolderAddValueChangeListenerNPETest
- *
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "editableValueHolderAddValueChangeListenerNPETest");
- invoke();
- }
-
- /**
- * testName: editableValueHolderRemoveValueChangeListenerNPETest
- *
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "editableValueHolderRemoveValueChangeListenerNPETest");
- invoke();
- }
-
- /**
- * testName: editableValueHolderIsSetLocalValueSetTest
- *
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "editableValueHolderIsSetLocalValueSetTest");
- invoke();
- }
-
- // ------------------------------------ HTML Component Attributes Test
- /**
- * testName: componentAttributesTest
- *
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "componentAttributesTest");
- invoke();
- }
-
- // --------------------------- Components that Implement NamingContainer
-
- /**
- * testName: uiComponentGetContainerClientIdNPETest
- *
- * @assertion_ids: JSF:JAVADOC:508
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentGetContainerClientIdNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetContainerClientIdNPETest");
- invoke();
- }
-
- /**
- * testName: uiComponentGetContainerClientIdTest
- *
- * @assertion_ids: JSF:JAVADOC:507
- * @test_Strategy: Validate a that we get a non null value return.
- */
- public void uiComponentGetContainerClientIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiComponentGetContainerClientIdTest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseUIComponentTestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseUIComponentTestServlet.java
deleted file mode 100644
index 9218b7421e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/common/BaseUIComponentTestServlet.java
+++ /dev/null
@@ -1,5173 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.common;
-
-import java.beans.Introspector;
-import java.beans.PropertyDescriptor;
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.Serializable;
-import java.io.Writer;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-import java.util.Map;
-import java.util.Set;
-
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.el.ExpressionFactory;
-import jakarta.el.ValueExpression;
-import jakarta.faces.FacesException;
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.application.Application;
-import jakarta.faces.component.ContextCallback;
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UICommand;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIForm;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UINamingContainer;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.component.UIPanel;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.component.visit.VisitCallback;
-import jakarta.faces.component.visit.VisitContext;
-import jakarta.faces.component.visit.VisitHint;
-import jakarta.faces.component.visit.VisitResult;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.context.ResponseWriter;
-import jakarta.faces.event.AbortProcessingException;
-import jakarta.faces.event.ComponentSystemEvent;
-import jakarta.faces.event.ComponentSystemEventListener;
-import jakarta.faces.event.FacesEvent;
-import jakarta.faces.event.FacesListener;
-import jakarta.faces.event.SystemEvent;
-import jakarta.faces.render.RenderKit;
-import jakarta.faces.render.RenderKitFactory;
-import jakarta.faces.render.Renderer;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-/**
- *
- * This is the base test Servlet for classes that implement
- * {@link jakarta.faces.component.UIComponent}. Any test that will be performing
- * inheritance testing on a component that implements UIComponent, will need to
- * extend this servlet.
- *
- * Validate the Map methods designated to be implemented by
- * {@link UIComponent#getAttributes()} function as expected.
- *
- *
- *
- * The Map returned MUST implement all required and optional
- * methods of the {@link Map} interface.
- *
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value must throw a
- * NullPointerException.
- *
Any attempt to add a key that is not a String must throw a
- * ClassCastException.
- *
If the attribute name specified as a key matches a property of this
- * {@link UIComponent}'s implementation class, the following methods will have
- * special behavior:
- *
- *
containsKey - Return false.
- *
get() - If the property is readable, call the getter
- * method and return the returned value (wrapping primitive values in their
- * corresponding wrapper classes); otherwise throw
- * IllegalArgumentException.
- *
put() - If the property is writeable, call the setter
- * method to set the corresponding value (unwrapping primitive values in their
- * corresponding wrapper classes). If the property is not writeable, or an
- * attempt is made to set a property of primitive type to null,
- * throw IllegalArgumentException.
- *
remove - Throw IllegalArgumentException.
- *
- *
- *
- *
- * @param component
- * the {@link UIComponent} that provides the {@link Map} under test.
- * @return a null if validation succeeds, otherwise an error.
- */
- private String validateAttributeMap(UIComponent component) {
-
- Map map = component.getAttributes();
-
- // Validate special requirements
- if (!(map instanceof Serializable)) {
- return "The Map does not implement java.io.Serializable";
- }
-
- try {
- map.put(null, "value");
- return "No Exception thrown if a null Key was added to the Map.";
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- return "Exception thrown when a null Key was added to the Map,"
- + " but it wasn't an instance of NullPointerException."
- + JSFTestUtil.NL + "Exception Received: " + e.getClass().getName();
- }
- }
-
- try {
- map.put("Key", null);
- return "No Exception thrown if a null Value was added to the Map.";
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- return "Exception thrown when a null Value was added to the Map,"
- + " but it wasn't an instance of NullPointerException."
- + JSFTestUtil.NL + "Exception Received: " + e.getClass().getName();
- }
- }
-
- try {
- map.put(new Object(), "value");
- return "No Exception thrown if a non-String Key was added to the Map.";
- } catch (Exception e) {
- if (!(e instanceof ClassCastException)) {
- return "Exception thrown when a null Value was added to the Map,"
- + " but it wasn't an instance of ClassCastException."
- + JSFTestUtil.NL + "Exception Received: " + e.getClass().getName();
- }
- }
-
- map.put("id", "compId");
-
- if (map.containsKey("id")) {
- return "Map.containsKey() failed to return false when the key "
- + "requested was a known property of the UIComponent.";
- }
-
- component.setId("myCompIdOrig");
-
- if (!"myCompIdOrig".equals(map.get("id"))) {
- return "Map.get() failed to return the ID of the component when the"
- + " specified key was 'id'.";
- }
-
- map.put("id", "newCompId");
-
- if (!"newCompId".equals(component.getId())) {
- return ("Map.put() using a Key that is a known property of the "
- + "component under test failed to set the corresponding "
- + "property of the component.");
- }
-
- try {
- map.remove("id");
- return "No Exception thrown when calling removed where the Key"
- + " corresponds to a properly of the UIComponent under test.";
- } catch (Exception e) {
- if (!(e instanceof IllegalArgumentException)) {
- return "An Exception was thrown when Map.remove() was called"
- + " where the Key corresponded to a property of the"
- + " UIComponent under test, but it was not an instance"
- + " of IllegalArgumentException" + JSFTestUtil.NL
- + "Exception received: " + e.getClass().getName();
- }
- }
-
- // validate methods from java.util.Map
- map.put("key", "value");
-
- if (!"value".equals(map.get("key"))) {
- return "Unabled to get the value for key 'key' after adding"
- + " the key and value via the 'put' operation.";
- }
-
- if (!(map.size() >= 1)) {
- return "Map.size() returned unexpected value. Expected the map "
- + "to contain at least one element. Size returned: " + map.size();
- }
-
- map.clear();
-
- if (map.size() != 0) {
- return "Map.clear() failed to clear the Map under test of all "
- + "entries";
- }
-
- if (map.containsKey("key")) {
- return "Map.containsKey() returned true when no such key exists";
- }
-
- map.put("key", "value");
-
- if (!map.containsKey("key")) {
- return "Map.containsKey() returned false when a known key exists"
- + " in the Map.";
- }
-
- map.remove("key");
-
- if (map.size() != 0) {
- return "Map.remove() failed to clear the specified entry from"
- + " the Map.";
- }
-
- if (map.containsValue("value")) {
- return "Map.containsValue() returned true when no such value " + "exists";
- }
-
- map.put("key", "value");
-
- if (!map.containsValue("value")) {
- return "Map.containsValue() returned false when a known value "
- + "exists in the Map.";
- }
-
- Set entrySet = map.entrySet();
- if (entrySet.size() == 1) {
- for (Iterator i = entrySet.iterator(); i.hasNext();) {
- Map.Entry entry = (Map.Entry) i.next();
- if (!"key".equals(entry.getKey())) {
- return "Map.Entry returned from Map.entrySet() contains an"
- + " invalid Key.";
- }
- if (!"value".equals(entry.getValue())) {
- return "Map.Entry returned from Map.entrySet() contains an"
- + " invalid Value.";
- }
- }
- } else {
- return "Expected the Set returned by Map.entrySet() to contain"
- + " one entry. Number of Entries found: " + entrySet.size();
- }
-
- if (!map.equals(map)) {
- return "Map.equals() returned false when the same map was provided"
- + " as the argument.";
- }
-
- if (map.equals(new HashMap())) {
- return "Map.equals() returned true when this Map was compared to a "
- + "new HashMap instance.";
- }
-
- if (map.isEmpty()) {
- return "Map.isEmpty() returned true when a known entry is "
- + "known to exist.";
- }
-
- map.clear();
-
- if (!map.isEmpty()) {
- return "Map.isEmpty() returned false when all entries were cleared"
- + " prior to calling isEmpty().";
- }
-
- map.put("key", "value");
-
- Set keySet = map.keySet();
-
- if (keySet.size() == 1) {
- for (Iterator i = keySet.iterator(); i.hasNext();) {
- String key = (String) i.next();
- if (!"key".equals(key)) {
- return "The key found in the Set returned by Map.keySet() "
- + "was not the key expected to be found.";
- }
- }
- } else {
- return "Map.keySet() returned a set with more than 1 entry.";
- }
-
- map.clear();
-
- HashMap hashMap = new HashMap();
- hashMap.put("key", "value");
-
- map.putAll(hashMap);
-
- if (map.size() != 1 && !map.containsKey("key")
- && !map.containsValue("value")) {
- return "Map.putAll() failed to yeild the expected results."
- + JSFTestUtil.NL + "Size: " + map.size() + JSFTestUtil.NL
- + "Contains 'key': " + map.containsKey("key") + JSFTestUtil.NL
- + "Contains 'value': " + map.containsValue("value");
- }
-
- Collection values = map.values();
- if (values.size() == 1) {
- for (Iterator i = values.iterator(); i.hasNext();) {
- String value = (String) i.next();
- if (!"value".equals(value)) {
- return "The Collection returned by Map.values() didn't contain"
- + " the expected values.";
- }
- }
- } else {
- return "Map.values() returned a Collection with more than 1 entry.";
- }
-
- return null;
- }
-
- /**
- * The returned implementation must support all of the standard and optional
- * Map methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value must throw a
- * NullPointerException.
- *
Any attempt to add a key that is not a String must throw a
- * ClassCastException.
- *
Any attempt to add a value that is not a {@link UIComponent} must throw
- * a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must be set to this
- * component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is removed:
- *
- *
The parent property of the facet must be set to
- * null.
- *
- *
- *
- *
- * @param component
- * the {@link UIComponent} that provides the {@link Map} under test.
- * @return a null if validation succeeds, otherwise an error.
- */
- private String validateFacetMap(UIComponent component) {
-
- Map map = component.getFacets();
-
- // Validate special requirements
- if (!(map instanceof Serializable)) {
- return "The Map does not implement java.io.Serializable";
- }
-
- try {
- map.put(null, new UIOutput());
- return "No Exception thrown if a null Key was added to the Map.";
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- return "Exception thrown when a null Key was added to the Map,"
- + " but it wasn't an instance of NullPointerException."
- + JSFTestUtil.NL + "Exception Received: " + e.getClass().getName();
- }
- }
-
- try {
- map.put("Key", null);
- return "No Exception thrown if a null Value was added to the Map.";
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- return "Exception thrown when a null Value was added to the Map,"
- + " but it wasn't an instance of NullPointerException."
- + JSFTestUtil.NL + "Exception Received: " + e.getClass().getName();
- }
- }
-
- try {
- map.put(new Object(), new UIOutput());
- return "No Exception thrown if a non-String Key was added to the Map.";
- } catch (Exception e) {
- if (!(e instanceof ClassCastException)) {
- return "Exception thrown when a null Value was added to the Map,"
- + " but it wasn't an instance of ClassCastException."
- + JSFTestUtil.NL + "Exception Received: " + e.getClass().getName();
- }
- }
-
- try {
- map.put("key", "value");
- return "No Exception thrown if a non-UIComponent value was added "
- + "to the Map.";
- } catch (Exception e) {
- if (!(e instanceof ClassCastException)) {
- return "Exception thrown when a non-UIComponent value was "
- + "added to the Map, but it wasn't an instance of "
- + "ClassCastException." + JSFTestUtil.NL + "Exception Received: "
- + e.getClass().getName();
- }
- }
-
- UIComponent comp = new UIOutput();
- map.put("facet1", comp);
-
- if (!component.equals(comp.getParent())) {
- return "The parent property of the Facet added "
- + "to the component under test did was not set, or was "
- + "not the expected value." + JSFTestUtil.NL + "Expected: "
- + component + JSFTestUtil.NL + "Received: " + comp.getParent();
- }
-
- map.remove("facet1");
- if (comp.getParent() != null) {
- return "The parent propery of the Facet just removed from the "
- + "parent component was not null.";
- }
-
- comp = new UIOutput();
-
- // validate methods from java.util.Map
- map.put("key", comp);
-
- if (!comp.equals(map.get("key"))) {
- return "Unabled to get the value for key 'key' after adding"
- + " the key and value via the 'put' operation.";
- }
-
- if (!(map.size() >= 1)) {
- return "Map.size() returned unexpected value. Expected the map "
- + "to contain at least one element. Size returned: " + map.size();
- }
-
- map.clear();
-
- if (map.size() != 0) {
- return "Map.clear() failed to clear the Map under test of all "
- + "entries";
- }
-
- if (map.containsKey("key")) {
- return "Map.containsKey() returned true when no such key exists";
- }
-
- map.put("key", comp);
-
- if (!map.containsKey("key")) {
- return "Map.containsKey() returned false when a known key exists"
- + " in the Map.";
- }
-
- map.remove("key");
-
- if (map.size() != 0) {
- return "Map.remove() failed to clear the specified entry from"
- + " the Map.";
- }
-
- if (map.containsValue(comp)) {
- return "Map.containsValue() returned true when no such value " + "exists";
- }
-
- map.put("key", comp);
-
- if (!map.containsValue(comp)) {
- return "Map.containsValue() returned false when a known value "
- + "exists in the Map.";
- }
-
- Set entrySet = map.entrySet();
- if (entrySet.size() == 1) {
- for (Iterator i = entrySet.iterator(); i.hasNext();) {
- Map.Entry entry = (Map.Entry) i.next();
- if (!"key".equals(entry.getKey())) {
- return "Map.Entry returned from Map.entrySet() contains "
- + "an invalid Key.";
- }
- if (!comp.equals(entry.getValue())) {
- return "Map.Entry returned from Map.entrySet() contains "
- + "an invalid Value.";
- }
- }
- } else {
- return "Expected the Set returned by Map.entrySet() to contain"
- + " one entry. Number of Entries found: " + entrySet.size();
- }
-
- if (!map.equals(map)) {
- return "Map.equals() returned false when the same map was "
- + "provided as the argument.";
- }
-
- if (map.equals(new HashMap())) {
- return "Map.equals() returned true when this Map was compared to "
- + "a new HashMap instance.";
- }
-
- if (map.isEmpty()) {
- return "Map.isEmpty() returned true when a known entry is "
- + "known to exist.";
- }
-
- map.clear();
-
- if (!map.isEmpty()) {
- return "Map.isEmpty() returned false when all entries were cleared"
- + " prior to calling isEmpty().";
- }
-
- map.put("key", comp);
-
- Set keySet = map.keySet();
-
- if (keySet.size() == 1) {
- for (Iterator i = keySet.iterator(); i.hasNext();) {
- String key = (String) i.next();
- if (!"key".equals(key)) {
- return "The key found in the Set returned by Map.keySet() "
- + "was not the key expected to be found.";
- }
- }
- } else {
- return "Map.keySet() returned a set with more than 1 entry.";
- }
-
- map.clear();
-
- HashMap hashMap = new HashMap();
- hashMap.put("key", comp);
-
- map.putAll(hashMap);
-
- if (map.size() != 1 && !map.containsKey("key")
- && !map.containsValue(comp)) {
- return "Map.putAll() failed to yeild the expected results."
- + JSFTestUtil.NL + "Size: " + map.size() + JSFTestUtil.NL
- + "Contains 'key': " + map.containsKey("key") + JSFTestUtil.NL
- + "Contains 'value': " + map.containsValue("value");
- }
-
- Collection values = map.values();
- if (values.size() == 1) {
- for (Iterator i = values.iterator(); i.hasNext();) {
- Object value = i.next();
- if (!comp.equals(value)) {
- return "The Collection returned by Map.values() didn't "
- + "contain the expected values.";
- }
- }
- } else {
- return "Map.values() returned a Collection with more than 1 entry.";
- }
-
- return null;
- }
-
- /**
- * The returned implementation must support all of the standard and optional
- * List methods, plus support the following additional
- * requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a non-null
- * componentId that contains invalid characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than letters, digits, '-',
- * or '_') must throw IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be set to this
- * component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be set to
- * null.
- *
- *
- *
- *
- * @param component
- * the {@link UIComponent} that will yield the {@link List} under
- * test
- * @return null if all validations succeed, or a String containing an error
- * message.
- */
- private String validateListMethods(UIComponent component) {
- StringBuffer sb = new StringBuffer(25);
-
- List list = component.getChildren();
- // Begin section for validating List methods
- UIComponent c0 = new UIInput();
- UIComponent c1 = new UIInput();
- UIComponent c2 = new UIInput();
- UIComponent c3 = new UIInput();
- c0.setId("index0");
- c1.setId("index1");
- c2.setId("index2");
- c3.setId("index3");
-
- list.clear();
-
- if (!list.isEmpty()) {
- sb.append("List.clear() failed to clear all of the elements from");
- sb.append("the List.");
- return sb.toString();
- }
-
- list.add(0, c0);
-
- if (list.isEmpty()) {
- sb.append("List.isEmpty() returned true after an element was added");
- sb.append("to the List");
- return sb.toString();
- }
-
- if (!"index0".equals(((UIComponent) list.get(0)).getId())) {
- sb.append(JSFTestUtil.FAIL + " Unabled to obtain Object from index 0");
- sb.append(" that was explicitly set to that index by add");
- sb.append("(int, Object)" + JSFTestUtil.NL);
- return sb.toString();
- }
-
- list.add(c1);
-
- if (!"index1".equals(((UIComponent) list.get(1)).getId())) {
- sb.append(JSFTestUtil.FAIL + " Unabled to obtain Object from index 1");
- sb.append(" that was added via add(Object)" + JSFTestUtil.NL);
- return sb.toString();
- }
-
- Collection c = new ArrayList();
- c.add(c2);
- c.add(c3);
-
- list.addAll(c);
-
- if (list.size() != 4) {
- sb.append("Called addAll(Collection) with a Set containing 2 ");
- sb.append("elements. The resulting list should have had a size");
- sb.append(" of four." + JSFTestUtil.NL).append("Actual size: ")
- .append(list.size());
- return sb.toString();
- }
-
- if (!"index2".equals(((UIComponent) list.get(2)).getId())
- && !"index3".equals(((UIComponent) list.get(3)).getId())) {
- sb.append("Expected the values stored at index 2 and 3 to be");
- sb.append(
- " 'index2' and 'index3'" + JSFTestUtil.NL + "Value at index 2: ");
- sb.append(((UIComponent) list.get(2)).getId()).append('\n');
- sb.append("Value at index 3: ")
- .append(((UIComponent) list.get(3)).getId()).append('\n');
- return sb.toString();
- }
-
- list.addAll(0, c);
-
- if (list.size() != 4) {
- sb.append("Called addAll(int, Collection) with a Set containing 2 ");
- sb.append("elements to replace elements 0 and 1. The resulting ");
- sb.append("list should have had a size");
- sb.append(" of four." + JSFTestUtil.NL).append("Actual size: ")
- .append(list.size());
- return sb.toString();
- }
-
- if (!"index2".equals(((UIComponent) list.get(0)).getId())
- && !"index3".equals(((UIComponent) list.get(1)).getId())) {
- sb.append("Expected the values stored at index 0 and 1 to be");
- sb.append(
- " 'index2' and 'index3'" + JSFTestUtil.NL + "Value at index 0: ");
- sb.append(((UIComponent) list.get(0)).getId()).append('\n');
- sb.append("Value at index 1: ")
- .append(((UIComponent) list.get(1)).getId()).append('\n');
- return sb.toString();
- }
-
- list.clear();
-
- if (!list.isEmpty()) {
- sb.append("List.clear() failed to clear all of the elements from");
- sb.append("the List.");
- return sb.toString();
- }
-
- list.add(c0);
- list.add(c1);
-
- if (!list.contains(c0)) {
- sb.append("List.contains(Object) returned false for an object");
- sb.append(" known to exist in the List.");
- return sb.toString();
- }
-
- if (list.contains(c3)) {
- sb.append("List.contains(Object) returned true for an object");
- sb.append(" known not to exist in the List.");
- return sb.toString();
- }
-
- if (!list.containsAll(list)) {
- sb.append("List.containsAll(Collection) failed to return true");
- sb.append(" when a Collection containing the same elements was passed.");
- return sb.toString();
- }
-
- c = new ArrayList();
- c.add(new UICommand());
- c.add(new UIOutput());
-
- if (list.containsAll(c)) {
- sb.append("List.containsAll(Collection) returned true when passed");
- sb.append(" a Collection with non matching elements");
- return sb.toString();
- }
-
- if (!list.equals(list)) {
- sb.append("List.equals() returned false when providing itself as");
- sb.append(" an argument.");
- return sb.toString();
- }
-
- if (list.equals(new ArrayList())) {
- sb.append("List.equals() returned true when providing a new");
- sb.append(" ArrayList with no elements.");
- return sb.toString();
- }
-
- list.hashCode();
- list.add(c1);
-
- if (list.indexOf(c1) != 1) {
- sb.append("List.indexOf(Object) failed to return the expected index");
- sb.append(" of '1'. Index returned: ").append(list.indexOf(c1));
- return sb.toString();
- }
-
- if (list.indexOf("INNNNDEX") != -1) {
- sb.append("List.indexOf(Object) failed to return the expected value");
- sb.append(" of -1 when the Object supplied didn't exist in the list.");
- return sb.toString();
- }
-
- list.clear();
- list.add(c0);
- list.add(c1);
- list.add(c2);
-
- UIComponent[] values = { c0, c1, c2 };
- int count = 0;
- for (Iterator i = list.iterator(); i.hasNext();) {
- String val = ((UIComponent) i.next()).getId();
- if (!values[count].getId().equals(val)) {
- sb.append("Iterator returned by List.iterator() didn't return");
- sb.append(" the elements in the expected order." + JSFTestUtil.NL);
- sb.append("Index of failure: ").append(count).append('\n');
- sb.append("Expected value: ").append(values[count].getId())
- .append('\n');
- sb.append("Received: ").append(val);
- return sb.toString();
- }
- count++;
- }
-
- list.add(c3);
- if (list.lastIndexOf(c3) != 3) {
- sb.append("List.lastIndexOf(Object) failed to return the expected");
- sb.append(" result of 3." + JSFTestUtil.NL + "Recevied: ")
- .append(list.lastIndexOf(c1));
- return sb.toString();
- }
-
- if (list.lastIndexOf("INNNNDEX") != -1) {
- sb.append("List.lastIndexOf(Object) failed to return the expected value");
- sb.append(" of -1 when the Object supplied didn't exist in the list.");
- return sb.toString();
- }
-
- values = new UIComponent[] { c0, c1, c2, c3 };
- count = 0;
- for (ListIterator i = list.listIterator(); i.hasNext();) {
- String val = ((UIComponent) i.next()).getId();
- if (!values[count].getId().equals(val)) {
- sb.append(
- "ListIterator returned by List.listIterator() " + "didn't return");
- sb.append(" the elements in the expected order." + JSFTestUtil.NL);
- sb.append("Index of failure: ").append(count).append('\n');
- sb.append("Expected value: ").append(values[count].getId())
- .append('\n');
- sb.append("Received: ").append(val);
- return sb.toString();
- }
- count++;
- }
-
- values = new UIComponent[] { c2, c3 };
- count = 0;
- for (ListIterator i = list.listIterator(2); i.hasNext();) {
- Object val = ((UIComponent) i.next()).getId();
- if (!values[count].getId().equals(val)) {
- sb.append("ListIterator returned by List.listIterator(int) "
- + "didn't return");
- sb.append(" the elements in the expected order." + JSFTestUtil.NL);
- sb.append("Index of failure: ").append(count).append('\n');
- sb.append("Expected value: ").append(values[count].getId())
- .append('\n');
- sb.append("Received: ").append(val);
- return sb.toString();
- }
- count++;
- }
-
- Object ret = list.remove(0);
-
- if (!"index0".equals(((UIComponent) ret).getId())) {
- sb.append("Expected List.remove(int) to return the object removed");
- sb.append(" from the specified index." + JSFTestUtil.NL);
- sb.append("Expected: index0" + JSFTestUtil.NL);
- sb.append("Recevied: ").append(((UIComponent) ret).getId());
- return sb.toString();
- }
-
- if (list.size() != 3) {
- sb.append("List.remove(int) didn't remove the element at index 0");
- sb.append(" as doing so would have put the size of the List at 3.");
- sb.append("Current List size: ").append(list.size());
- return sb.toString();
- }
-
- if (!"index1".equals(((UIComponent) list.get(0)).getId())) {
- sb.append("List.remove(int) didn't shift the remaining elements."
- + JSFTestUtil.NL);
- sb.append("Expected Object at index 0: index1" + JSFTestUtil.NL);
- sb.append("Actual: ").append(((UIComponent) list.get(0)).getId());
- return sb.toString();
- }
-
- if (!list.remove(c1)) {
- sb.append("List.remove(Object) failed to return true as expected.");
- }
-
- if (list.size() != 2) {
- sb.append("List.remove(Object) didn't remove the element specified");
- sb.append(" as doing so would have put the size of the List at 2.");
- sb.append("Current List size: ").append(list.size());
- return sb.toString();
- }
-
- if (!"index2".equals(((UIComponent) list.get(0)).getId())) {
- sb.append("List.remove(int) didn't shift the remaining " + "elements."
- + JSFTestUtil.NL);
- sb.append("Expected Object at index 0: index2" + JSFTestUtil.NL);
- sb.append("Actual: ").append(((UIComponent) list.get(0)).getId());
- return sb.toString();
- }
-
- list.clear();
-
- list.add(c0);
- list.add(c1);
- list.add(c2);
- list.add(c3);
- c = new ArrayList();
- c.add(c1);
- c.add(c2);
-
- if (!list.removeAll(c)) {
- sb.append("List.removeAll(c) didn't return true as expected.");
- return sb.toString();
- }
-
- if (list.size() != 2) {
- sb.append("List.removeAll(Collection) failed to remove the number");
- sb.append(" of expected elements. The List contained 4 elements,");
- sb.append(" and the Collection passed, contained 2." + JSFTestUtil.NL
- + "The result");
- sb.append("ing size should have been 2. The current size: ");
- sb.append(list.size());
- return sb.toString();
- }
-
- if (!"index0".equals(((UIComponent) list.get(0)).getId())
- && !"index3".equals(((UIComponent) list.get(1)).getId())) {
- sb.append("List.removeAll(Collection) removed the wrong elements.");
- sb.append("Expected the remaining elements to be 'index0' and");
- sb.append(" 'index3'" + JSFTestUtil.NL);
- sb.append("Element at index 0: ")
- .append(((UIComponent) list.get(0)).getId()).append('\n');
- sb.append("Element at index 1: ")
- .append(((UIComponent) list.get(1)).getId());
- return sb.toString();
- }
-
- list.clear();
- list.add(c0);
- list.add(c1);
- list.add(c2);
- list.add(c3);
-
- c = new ArrayList();
- c.add(c1);
- c.add(c3);
-
- if (!list.retainAll(c)) {
- sb.append("List.retainAll(Collect) failed to return true as expected.");
- return sb.toString();
- }
-
- if (list.size() != 2) {
- sb.append("List.retainAll(Collection) failed to remove the number");
- sb.append(" of expected elements. The List contained 4 elements,");
- sb.append(" and the Collection passed, contained 2." + JSFTestUtil.NL
- + "The result");
- sb.append("ing size should have been 2. The current size: ");
- sb.append(list.size());
- return sb.toString();
- }
-
- if (!"index1".equals(((UIComponent) list.get(0)).getId())
- && !"index3".equals(((UIComponent) list.get(1)).getId())) {
- sb.append("List.retainAll(Collection) removed the wrong elements.");
- sb.append("Expected the remaining elements to be 'index1' and");
- sb.append(" 'index3'" + JSFTestUtil.NL);
- sb.append("Element at index 0: ")
- .append(((UIComponent) list.get(0)).getId()).append('\n');
- sb.append("Element at index 1: ")
- .append(((UIComponent) list.get(1)).getId());
- return sb.toString();
- }
-
- ret = list.set(1, c2);
-
- if (!"index3".equals(((UIComponent) ret).getId())) {
- sb.append("List.set(int, Object) failed to return the expected");
- sb.append(
- " value when a valid index replacement occurred." + JSFTestUtil.NL);
- sb.append("Expected: index3" + JSFTestUtil.NL);
- sb.append("Received: ").append(((UIComponent) ret).getId());
- return sb.toString();
- }
-
- if (!"index2".equals(((UIComponent) list.get(1)).getId())) {
- sb.append("List.set(int, Object) failed to set the value at");
- sb.append(" index 1." + JSFTestUtil.NL);
- sb.append("Expected: index2" + JSFTestUtil.NL);
- sb.append("Received: ").append(((UIComponent) list.get(1)).getId());
- return sb.toString();
- }
-
- list.clear();
- list.add(c0);
- list.add(c1);
- list.add(c2);
- list.add(c3);
-
- List subList = list.subList(1, 3);
- if (subList.size() != 2) {
- sb.append("List.subList(1, 3) failed to return a List containing two");
- sb.append(" elements." + JSFTestUtil.NL);
- sb.append("Number of elements returned: ").append(subList.size());
- return sb.toString();
- }
-
- if (!"index1".equals(((UIComponent) subList.get(0)).getId())
- && !"index2".equals(((UIComponent) subList.get(1)).getId())) {
- sb.append("The List returned by List.subList() failed to contain");
- sb.append(
- " the expected values of 'index1' and 'index2'." + JSFTestUtil.NL);
- sb.append("Element at index 0: ")
- .append(((UIComponent) subList.get(0)).getId()).append('\n');
- sb.append("Element at index 1: ")
- .append(((UIComponent) subList.get(1)).getId());
- return sb.toString();
- }
-
- String[] strValues = new String[] { "index0", "index1", "index2",
- "index3" };
-
- Object[] array = list.toArray();
- Object[] temp = new String[array.length];
- for (int i = 0; i < array.length; i++) {
- temp[i] = ((UIComponent) array[i]).getId();
- }
- array = temp;
-
- Arrays.sort(strValues);
- Arrays.sort(array);
-
- if (!Arrays.equals(array, strValues)) {
- sb.append("List.toArray() didn't return all of the expected values");
- sb.append("Expected a length of 4, received: ").append(array.length)
- .append('\n');
- sb.append(
- "Values expected: index0, index1, index2, index3" + JSFTestUtil.NL);
- sb.append("Values received: ").append(JSFTestUtil.getAsString(array));
- return sb.toString();
- }
-
- UIComponent[] strArray = (UIComponent[]) list
- .toArray(new UIComponent[list.size()]);
- temp = new String[strArray.length];
- for (int i = 0; i < strArray.length; i++) {
- temp[i] = (strArray[i]).getId();
- }
- array = temp;
-
- if (!Arrays.equals(array, strValues)) {
- sb.append("List.toArray(Object[]) didn't return all of the "
- + "expected values");
- sb.append("Expected a length of 4, received: ").append(array.length)
- .append('\n');
- sb.append(
- "Values expected: index0, index1, index2, index3" + JSFTestUtil.NL);
- sb.append("Values received: ").append(JSFTestUtil.getAsString(array));
- return sb.toString();
- }
-
- // Now check for Faces specific List behavior
- if (!(list instanceof java.io.Serializable)) {
- sb.append("List returned by getChildren() is not an instance of ");
- sb.append("java.io.Serializable.");
- return sb.toString();
- }
-
- try {
- list.add(null);
- return "No Exception thrown if a null value was added to the List.";
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- return "Exception thrown when a null value was added to the "
- + "List, but it wasn't an instance of " + "NullPointerException."
- + JSFTestUtil.NL + "Exception Received: " + e.getClass().getName();
- }
- }
-
- try {
- list.add("StringType");
- return "No Exception thrown if a non-UIComponent value was added "
- + "to the List.";
- } catch (Exception e) {
- if (!(e instanceof ClassCastException)) {
- return "Exception thrown when a non-UIComponent value was "
- + "added to the List, but it wasn't an instance of "
- + "ClassCastException." + JSFTestUtil.NL + "Exception Received: "
- + e.getClass().getName();
- }
- }
-
- UIInput input = new UIInput();
- input.setId("id");
- list.add(input);
-
- if (!input.getParent().equals(component)) {
- return "When child component was added to List, it didn't have its"
- + " parent component explicitly set to the Component where "
- + "the List originated from.";
- }
-
- list.remove(input);
- if (input.getParent() != null) {
- return "After removing a child component from the parents list, the"
- + " child still contained a reference to its previous parent. "
- + " The reference should have been set to null.";
- }
- return null;
- }
-
- /**
- *
- * Using the {@link UIComponent}s and expression provided, call findComponent
- * on the searchFrom component using the specified
- * expression. If the component is not found, write a message to
- * the provided Writer.
- *
- * @param searchFrom
- * the UIComponent to perform the search from
- * @param searchFor
- * the UIComponent to search for
- * @param expression
- * the search expression
- * @param out
- * the StringBuffer to write error messages to
- */
- private void assertFound(UIComponent searchFrom, UIComponent searchFor,
- String expression, StringBuffer out) {
-
- UIComponent comp = searchFrom.findComponent(expression);
- if (searchFor != comp) {
- out.append(JSFTestUtil.FAIL + " Unabled to find component '");
- out.append(searchFor.getId()).append("' relative to component '");
- out.append(searchFrom.getId()).append("' using expression '");
- out.append(expression).append("'." + JSFTestUtil.NL);
- out.append("Component found: ")
- .append(comp != null ? comp.getId() : "null");
- out.append(JSFTestUtil.NL);
- }
- }
-
- /**
- *
- * Using the {@link UIComponent} and expression provided, assert that no
- * component is found when findComponent is called. If a
- * component is found, print an error message.
- *
- *
- * @param searchFrom
- * the UIComponent to perform the search from
- * @param expression
- * the search expression
- * @param out
- * the StringBuffer to write error messages to
- */
- private void assertNotFound(UIComponent searchFrom, String expression,
- StringBuffer out) {
- UIComponent comp = searchFrom.findComponent(expression);
- if (comp != null) {
- out.append(JSFTestUtil.FAIL + " Expected findComponent() to return null");
- out.append(" when calling findComponent() from component '");
- out.append(searchFrom.getId()).append("' using expression '");
- out.append(expression).append("'." + JSFTestUtil.NL);
- out.append("Component found: ").append(comp.getId());
- }
- }
-
- // ------------------------------------------- Test Methods ----
- // UIComponent.getAttributes()
- public void uiComponentGetAttributesTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String result = validateAttributeMap(createComponent());
- if (result != null) {
- out.println(JSFTestUtil.FAIL + " " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getClientId(FacesContext)
- public void uiComponentGetClientIdContextTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIViewRoot root = getFacesContext().getViewRoot();
- root.setViewId("/test");
- root.setId("root");
- UIComponent comp = createComponent();
- root.getChildren().add(comp);
-
- // Not much can be done here aside from ensuring the result is
- // not null.
- if (comp.getClientId(getFacesContext()) == null) {
- out.println(
- JSFTestUtil.FAIL + " getClientId(FacesContext) " + "returned null.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getClientId()
- public void uiComponentGetClientIdTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIViewRoot root = getFacesContext().getViewRoot();
- root.setViewId("/test");
- root.setId("root");
- UIComponent comp = createComponent();
- root.getChildren().add(comp);
-
- // Not much can be done here aside from ensuring the result is
- // not null. (Client IDs themselves can be Implementation specific.)
- if (comp.getClientId() == null) {
- out.println(JSFTestUtil.FAIL + " getClientId() returned null.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getCurrentComponent()
- public void uiComponentGetCurrentComponentTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String expectedId = "myComp";
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- UIComponent component = createComponent();
- component.setId("myComp");
-
- String uicType = component.getClass().getSimpleName();
-
- component.encodeBegin(context);
-
- UIComponent mc = UIComponent.getCurrentComponent(context);
- String recId = mc.getId();
-
- if (!expectedId.equals(recId)) {
- out.println("Test FAILED. " + uicType + ".getCurrentComponent() "
- + "returned unexpected UIComponent ID." + JSFTestUtil.NL
- + "Expected ID: " + expectedId + JSFTestUtil.NL + "Receieved ID: "
- + recId);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getCurrentComponent()
- public void uiComponentGetCurrentComponentNullTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- UIComponent component = createComponent();
- component.setId("test_ID");
- String uicType = component.getClass().getSimpleName();
-
- /*
- * Push UIComponents onto the EL Data Structure.
- */
- component.encodeBegin(context);
-
- /*
- * Remove the Component from the Data Structure.
- */
- component.encodeEnd(context);
- if (null != UIComponent.getCurrentComponent(context)) {
- out.println("Test FAILED. " + uicType + ".getCurrentComponent() "
- + "returned unexpected UIComponent." + JSFTestUtil.NL
- + "Expected Call to UIComponent."
- + "getCurrentComponent(context) to return null." + JSFTestUtil.NL);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getCurrentComponent()
- public void uiComponentGetCurrentComponentNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- createComponent();
-
- try {
- UIComponent.getCurrentComponent(null);
- out.println(JSFTestUtil.FAIL + " UIComponent.getCurrentComponent(null) "
- + "failed to throw an exception when a null "
- + "FacesContext argument was passed.");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println("Test FAILED. Unexpected Exception thrown for "
- + "UIComponent.getCurrentComponent(null)"
- + " it wasn't an instance of NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getCurrentCompositeComponent()
- public void uiComponentGetCurrentCompositeComponentNullTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- UIComponent component = createComponent();
- component.setId("test_ID");
- String uicType = component.getClass().getSimpleName();
-
- /*
- * Push UIComponents onto the EL Data Structure.
- */
- component.encodeBegin(context);
-
- /*
- * Remove the Component from the Data Structure.
- */
- component.encodeEnd(context);
- if (null != UIComponent.getCurrentCompositeComponent(context)) {
- out.println("Test FAILED. " + uicType
- + ".getCurrentCompositeComponent() returned unexpected "
- + "UIComponent." + JSFTestUtil.NL + "Expected Call to UIComponent."
- + "getCurrentCompositeComponent(context) to return null."
- + JSFTestUtil.NL);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getCurrentComponent()
- public void uiComponentGetCurrentCompositeComponentNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- createComponent();
-
- try {
- UIComponent.getCurrentCompositeComponent(null);
- out.println(JSFTestUtil.FAIL + " UIComponent."
- + "getCurrentCompositeComponent(null) "
- + "failed to throw an exception when a null "
- + "FacesContext argument was passed.");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println("Test FAILED. Unexpected Exception thrown for "
- + "UIComponent.getCurrentCompositeComponent(null)"
- + " it wasn't an instance of NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.isCompositeComponent()
- public void uiComponentIsCompositeComponentNegTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- UIComponent component = createComponent();
- component.setId("test_ID");
- String uicType = component.getClass().getSimpleName();
-
- if (false != UIComponent.isCompositeComponent(component)) {
- out.println("Test FAILED. " + uicType
- + ".isCompositeComponent() returned unexpected " + "UIComponent."
- + JSFTestUtil.NL + "Expected Call to UIComponent."
- + "isCurrentCompositeComponent(context) to return false."
- + JSFTestUtil.NL);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getCurrentComponent()
- public void uiComponentIsCompositeComponentNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- createComponent();
-
- try {
- UIComponent.isCompositeComponent(null);
- out.println(
- JSFTestUtil.FAIL + " UIComponent." + "isCompositeComponent(null) "
- + "failed to throw an exception when a null "
- + "FacesContext argument was passed.");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println("Test FAILED. Unexpected Exception thrown for "
- + "UIComponent.isCompositeComponent(null)"
- + " it wasn't an instance of NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getClientId() throws NPE if FacesContext arg is null
- public void uiComponentGetClientIdNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- try {
- createComponent().getClientId(null);
- out.println(JSFTestUtil.FAIL + " getClientId() failed to throw an "
- + "exception when a null FacesContext argument was passed.");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println(JSFTestUtil.FAIL + " getClientId() threw an Exception "
- + "when a null FacesContext argument was passed, but"
- + " it wasn't an instance of NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.{get,set}Id
- public void uiComponentGetSetIdTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
- String id = "compID";
-
- comp.setId(id);
- if (!id.equals(comp.getId())) {
- out.println(JSFTestUtil.FAIL + " getId() failed to return"
- + " the expected value '" + id + "'.");
- return;
- }
-
- comp.setId(null);
- if (comp.getId() != null) {
- out.println(JSFTestUtil.FAIL + " getId() failed to return null"
- + " after null was explicitly set via setId().");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.queueEvent() throws NullPointerException
- public void uiComponentQueueEventNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(createComponent().getClass(), "queueEvent",
- new Class>[] { FacesEvent.class }, new Object[] { null }, out);
- }
-
- // UIComponent.restoreAttachedState() throws NullPointerException
- public void uiComponentRestoreAttachedStateNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(createComponent().getClass(),
- "restoreAttachedState",
- new Class>[] { FacesContext.class, Object.class },
- new Object[] { null, "test" }, out);
- }
-
- // UIComponent.saveAttachedState() throws NullPointerException
- public void uiComponentSaveAttachedStateNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(createComponent().getClass(), "saveAttachedState",
- new Class>[] { FacesContext.class, Object.class },
- new Object[] { null, "test" }, out);
- }
-
- // UIComponent.setId(String) enforces certain restrictions
- public void uiComponentSetIdRestrictionsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
-
- try {
- comp.setId("");
- out.println(JSFTestUtil.FAIL + " No Exception thrown when setId() was"
- + " passed a zero-length String.");
- return;
- } catch (Exception e) {
- if (!(e instanceof IllegalArgumentException)) {
- out.println(JSFTestUtil.FAIL + " Exception thrown when setId() was"
- + " passed a zero-length String, but it wasn't an"
- + " instance of IllegalArgumentException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- try {
- comp.setId("1__simple-ID");
- out.println(JSFTestUtil.FAIL + " No Exception thrown when setId() was"
- + " passed an ID that starts with a numeric.");
- return;
- } catch (Exception e) {
- if (!(e instanceof IllegalArgumentException)) {
- out.println(JSFTestUtil.FAIL + " Exception thrown when setId() was"
- + " passed an ID that starts with a numeric, but it wasn't an"
- + " instance of IllegalArgumentException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- try {
- comp.setId("illegal#id");
- out.println(JSFTestUtil.FAIL + " No Exception thrown when setId() was"
- + " passed an ID that contains an illegal character(#).");
- return;
- } catch (Exception e) {
- if (!(e instanceof IllegalArgumentException)) {
- out.println(JSFTestUtil.FAIL + " Exception thrown when setId() was"
- + " passed an ID contains an illegal character(#)"
- + ", but it wasn't an" + " instance of IllegalArgumentException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- try {
- comp.setId("_this--is_a_val-idID");
- } catch (Exception e) {
- if (e instanceof IllegalArgumentException) {
- out.println(JSFTestUtil.FAIL + " IllegalArgumentException thrown "
- + "when setId() was passed a valid id "
- + "(_this--is_a_val-idID).");
- return;
-
- }
- throw new ServletException("Unexpected Exception: " + e.toString(), e);
- }
-
- try {
- comp.setId(null);
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + " Unexpected Exception thrown "
- + "when setId() was passed null.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // Test for UIComponent.subscribeToEvent
- public void uiComponentSubscribeToEventTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- UIComponent uic = createComponent();
- SystemEvent cse = new TCKSystemEvent(uic);
-
- ComponentSystemEventListener csel = new TCKComponentSystemEventlistener();
-
- if (application != null) {
- try {
- uic.subscribeToEvent(cse.getClass(), csel);
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println("Test FAILED.");
- e.printStackTrace();
- }
-
- } else {
- out.println(JSFTestUtil.FAIL + " Unable to obtain Application instance.");
- }
- }
-
- // Test for UIComponent.subscribeToEvent
- public void uiComponentSubscribeToEventNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Application application = getApplication();
-
- UIComponent uic = createComponent();
- SystemEvent cse = new TCKSystemEvent(uic);
- ComponentSystemEventListener csel = new TCKComponentSystemEventlistener();
-
- boolean status = true;
- // UIComponent.subscribeToEvent(Class, null)
- if (application != null) {
- try {
- uic.subscribeToEvent(cse.getClass(), null);
- status = false;
- out.println("Test FAILED. Expected NullPointerException!"
- + JSFTestUtil.NL + "When ComponentSystemEventListener is null. "
- + "No Exception thrown for the following test case:"
- + JSFTestUtil.NL + "UIComponent.SubscribeToEvent(Class, null)");
-
- } catch (NullPointerException npe) {
- // Do Nothing Test passed.
- } catch (Exception e) {
- status = false;
- out.println("Test FAILED. UnExpected Exception!" + JSFTestUtil.NL
- + "Expected: NulPointerException" + JSFTestUtil.NL + "Received: "
- + e.getClass().getSimpleName());
- e.printStackTrace();
- }
-
- // UIComponent.subscribeToEvent(null, ComponentSystemEventlistener)
- try {
- uic.subscribeToEvent(null, csel);
- status = false;
- out.println("Test FAILED. Expected NullPointerException!"
- + JSFTestUtil.NL + "When SystemEvent is null. No Exception thrown "
- + "for the following test case:" + JSFTestUtil.NL
- + "UIComponent.SubscribeToEvent(null, "
- + "ComponentSystemEventlistener)");
-
- } catch (NullPointerException npe) {
- // Do Nothing Test passed.
- } catch (Exception e) {
- status = false;
- out.println("Test FAILED.");
- out.println("UnExpected Exception!" + JSFTestUtil.NL
- + "Expected: NulPointerException" + JSFTestUtil.NL + "Received: "
- + e.getClass().getSimpleName());
- e.printStackTrace();
- }
-
- } else {
- out.println(JSFTestUtil.FAIL + " Unable to obtain Application instance.");
- }
-
- // Did anything fail?
- if (status) {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // UIComponent.{get,set}Parent()
- public void uiComponentGetSetParentTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
-
- if (comp.getParent() != null) {
- out.println(JSFTestUtil.FAIL + " UIComponent.getParent() returned a non"
- + "-null result for a newly created component.");
- return;
- }
-
- UIViewRoot root = getFacesContext().getViewRoot();
- root.getChildren().add(comp);
-
- if (!root.equals(comp.getParent())) {
- out.println(JSFTestUtil.FAIL + " getParent() returned an unexpected "
- + "parent component.");
- out.println("Expected: " + root);
- out.println("Received: " + comp.getParent());
- }
-
- root.getChildren().remove(comp);
- UIComponent input = new UIInput();
- root.getChildren().add(input);
- input.getChildren().add(comp);
-
- if (!input.equals(comp.getParent())) {
- out.println(JSFTestUtil.FAIL + " getParent() returned an unexpected "
- + "parent component.");
- out.println("Expected: " + input);
- out.println("Received: " + comp.getParent());
- }
-
- comp.setParent(null);
- if (comp.getParent() != null) {
- out.println(JSFTestUtil.FAIL + " UIComponent.getParent() returned a non"
- + "-null result after calling setParent(null).");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.{is,set}Rendered()
- public void uiComponentIsSetRenderedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
-
- comp.setRendered(true);
- if (!comp.isRendered()) {
- out.println(JSFTestUtil.FAIL + " isRendered() returned false after"
- + " calling setRendered(true).");
- return;
- }
-
- comp.setRendered(false);
- if (comp.isRendered()) {
- out.println(JSFTestUtil.FAIL + " isRendered() returned true after"
- + " calling setRendered(false).");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.isInView()
- public void uiComponentIsInViewTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIViewRoot root = getFacesContext().getViewRoot();
- UIComponent comp = createComponent();
-
- String ct = comp.getClass().getName();
- root.getChildren().add(comp);
-
- if (!comp.isInView()) {
- out.println("Test FAILED. " + ct + "isInView() returned false. "
- + "Expected UIcomponent to be in the View.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.isInView()
- public void uiComponentIsInViewNegTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
-
- String ct = comp.getClass().getName();
-
- if (comp.isInView()) {
- out.println("Test FAILED. " + ct + "isInView() returned true. "
- + "Expected UIcomponent *NOT* to be in the View.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getChildren()
- public void uiComponentGetChildrenTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String result = validateListMethods(createComponent());
-
- if (result != null) {
- out.println(result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.{get,set}RendererType
- public void uiComponentGetSetRendererTypeTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
-
- // First check the default return value for the component
- // under test base on the rendererType variable. If null,
- // then expect the return type to be null, if non null,
- // make sure the values are equal.
- if (rendererType == null) {
- if (comp.getRendererType() != null) {
- out.println(JSFTestUtil.FAIL + " Expected getRendererType() to"
- + " return null for this component type.");
- out.println("Value received: " + comp.getRendererType());
- return;
- }
- } else {
- if (!rendererType.equals(comp.getRendererType())) {
- out.println(JSFTestUtil.FAIL + " Expected getRendererType() to"
- + " return '" + rendererType + "' for this component " + "type.");
- out.println("Value received: " + comp.getRendererType());
- return;
- }
- }
-
- // now ensure that the value can be overridden
- comp.setRendererType("string");
-
- if (!"string".equals(comp.getRendererType())) {
- out.println(JSFTestUtil.FAIL + " Expected getRendererType() to"
- + " return 'string' for this component "
- + "after having explicitly set it via setRendererType()");
- out.println("Value received: " + comp.getRendererType());
- return;
- }
-
- // ensure we can set null
- comp.setRendererType(null);
- if (comp.getRendererType() != null) {
- out.println(JSFTestUtil.FAIL + " Expeccted getRendererType() to return"
- + " null after having explicitly set it via setRendererType().");
- return;
- }
-
- // reset the renderer type
- comp.setRendererType(rendererType);
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getRendersChildren()
- public void uiComponentGetRendersChildrenTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- boolean expectRendersChildren;
- UIComponent comp = createComponent();
-
- if (rendersChildren != null) {
- expectRendersChildren = rendersChildren.booleanValue();
- } else {
-
- // Follow the default algorithm as outlined in the javadocs to
- // determine
- // if the component under test renders children, and then compare
- // the
- // return value of getRendersChildren() to what we discover.
- String rendererType = comp.getRendererType();
- String rendererFamily = comp.getFamily();
- if (rendererType != null) {
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- getFacesContext().getViewRoot().getRenderKitId());
- Renderer renderer = renderKit.getRenderer(rendererFamily, rendererType);
- expectRendersChildren = renderer.getRendersChildren();
-
- } else {
- expectRendersChildren = false;
- }
- }
-
- // test setup is complete, now validate.
- if (comp.getRendersChildren() != expectRendersChildren) {
- out.println(JSFTestUtil.FAIL + " Expected getRendersChildren()"
- + " to return '" + expectRendersChildren + "' but " + "recevied: "
- + comp.getRendersChildren());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getChildCount()
- public void uiComponentGetChildCountTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
-
- if (comp.getChildCount() != 0) {
- out.println(JSFTestUtil.FAIL + " getChildCount() returned a value greater"
- + " than zero for a newly created component.");
- out.println("Value returned: " + comp.getChildCount());
- return;
- }
-
- UIComponent child1 = new UIInput();
- UIComponent child2 = new UIForm();
- UIComponent child2_1 = new UIInput();
- UIComponent child1_1 = new UIOutput();
- child1.setId("child1");
- child2.setId("child2");
- child2_1.setId("child2_1");
- child1_1.setId("child1_1");
- child2.getChildren().add(child2_1);
- child1.getChildren().add(child1_1);
-
- List children = comp.getChildren();
-
- children.add(child1);
- children.add(child2);
-
- // children count should be 2
- if (comp.getChildCount() != 2) {
- out.println(JSFTestUtil.FAIL + " Expected getChildCount() to return 2.");
- out.println("Child count received: " + comp.getChildCount());
- return;
- }
-
- children.remove(child1);
- if (comp.getChildCount() != 1) {
- out.println(JSFTestUtil.FAIL + " Expected getChildCount() to return 1.");
- out.println("Child count received: " + comp.getChildCount());
- return;
- }
-
- child2.getChildren().remove(child2_1);
- if (comp.getChildCount() != 1) {
- out.println(JSFTestUtil.FAIL + " Expected getChildCount() to return 1.");
- out.println("Child count received: " + comp.getChildCount());
- return;
- }
-
- children.remove(child2);
- if (comp.getChildCount() != 0) {
- out.println(JSFTestUtil.FAIL + " Expected getChildCount() to return 0.");
- out.println("Child count received: " + comp.getChildCount());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getFacets()
- public void uiComponentGetFacetsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String result = validateFacetMap(createComponent());
- if (result != null) {
- out.println(JSFTestUtil.FAIL + " " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getFacet()
- public void uiComponentGetFacetTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
-
- UIComponent output = new UIOutput();
- comp.getFacets().put("facet", output);
-
- if (!output.equals(comp.getFacet("facet"))) {
- out.println(JSFTestUtil.FAIL + " getFacet() either returned null or"
- + " returned an unexpected UIComponent.");
- out.println("Expected: " + output);
- out.println("Received: " + comp.getFacet("facet"));
- return;
- }
-
- if (comp.getFacet("TCKFACET_1_2_3") != null) {
- out.println(JSFTestUtil.FAIL + " getFacet() failed to return null when"
- + " requesting a Facet that did not exist.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getFacetCount()
- public void uiComponentGetFacetCountTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
-
- UIComponent output = new UIOutput();
- comp.getFacets().put("facet", output);
- int golden = 1;
- int result = comp.getFacetCount();
-
- if (result < golden) {
- out.println(JSFTestUtil.FAIL + " getFacetCount() either returned null or"
- + " returned an unexpected Integer." + JSFTestUtil.NL + "Expected: "
- + golden + " |<" + JSFTestUtil.NL + "Received: " + result);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // End uiComponentGetFacetCountTest
-
- // UIComponent.getFacetsAndChildren()
- public void uiComponentGetFacetsAndChildrenTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
-
- // pre-test initialization
- UIComponent child1 = new UIOutput();
- child1.setId("child1");
- UIComponent child2 = new UIOutput();
- child2.setId("child2");
- UIComponent child3 = new UIOutput();
- child3.setId("child3");
- UIComponent child1_1 = new UIOutput();
- child1_1.setId("child1_1");
-
- UIComponent facet = new UIOutput();
- facet.setId("facet");
- UIComponent _facet = new UIOutput();
- _facet.setId("_facet");
- UIComponent facet1_1 = new UIOutput();
- facet1_1.setId("facet1_1");
- UIComponent facet1_2 = new UIOutput();
- facet1_2.setId("facet1_2");
- UIComponent facet2_1 = new UIOutput();
- facet2_1.setId("facet2_1");
- UIComponent facet3_1 = new UIOutput();
- facet3_1.setId("facet3_1");
- UIComponent facet1_1_1 = new UIOutput();
- facet1_1_1.setId("facet1_1_1");
-
- child1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1_2", facet1_2);
- child2.getFacets().put("facet2_1", facet2_1);
- child3.getFacets().put("facet3_1", facet3_1);
- child1_1.getFacets().put("facet_1_1_1", facet1_1_1);
-
- List children = comp.getChildren();
- children.add(child1);
- children.add(child2);
- children.add(child3);
- child1.getChildren().add(child1_1);
- comp.getFacets().put("facet", facet);
- comp.getFacets().put("_facet", _facet);
-
- Iterator iter = comp.getFacetsAndChildren();
-
- try {
- iter.remove();
- out.println(JSFTestUtil.FAIL + " Expected the Iterator returned by"
- + " getFacetsAndChildren() to *NOT* support the remove()"
- + " method.");
- } catch (Exception e) {
- ; // Exception thrown.
-
- }
-
- UIComponent facet1 = (UIComponent) iter.next();
- UIComponent facet2 = (UIComponent) iter.next();
-
- String id1 = facet1.getId();
- String id2 = facet2.getId();
-
- if (id1.equals(id2)) {
- out.println(JSFTestUtil.FAIL + " The ID for the first two components "
- + "of the Iterator were equal. Expected two unique "
- + "values: 'facet' or '_facet'");
- out.println("ID for the first component: " + id1);
- out.println("ID for the second component: " + id2);
- return;
- }
-
- if ("facet".equals(id1) || "_facet".equals(id1)) {
- // found a match
- } else {
- out.println(JSFTestUtil.FAIL + " Expected the ID of the first component"
- + " in the Iterator to have an ID of 'facet' or '_facet'.");
- out.println("ID for the first component: " + id1);
- return;
- }
-
- if ("facet".equals(id2) || "_facet".equals(id2)) {
- // found a match
- } else {
- out.println(JSFTestUtil.FAIL + " Expected the ID of the second component"
- + " in the Iterator to have an ID of 'facet' or '_facet'.");
- out.println("ID for the second component: " + id2);
- return;
- }
-
- // the remainder of the components in the iterator should be children
- String[] childrenIds = new String[3];
- for (int i = 0; i < 3; i++) {
- childrenIds[i] = ((UIComponent) iter.next()).getId();
- }
-
- if (iter.hasNext()) {
- out.println(JSFTestUtil.FAIL + " Expected the Iterator to contain only"
- + " 3 additional elements after popping the two facets"
- + " from the Iterator.");
- }
-
- String[] expectedIds = { "child1", "child2", "child3" };
-
- Arrays.sort(childrenIds);
- Arrays.sort(expectedIds);
-
- if (!Arrays.equals(childrenIds, expectedIds)) {
- out.println(JSFTestUtil.FAIL + " Unable to find all of the expected"
- + " components in the Iterator.");
- out.println("Expected components with IDs in this order: "
- + JSFTestUtil.getAsString(expectedIds));
- out.println(
- "Components received: " + JSFTestUtil.getAsString(childrenIds));
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.getFamily()
- public void uiComponentGetFamilyTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
-
- if (!comp.getFamily().contains("jakarta.faces.")) {
- out.println(JSFTestUtil.FAIL
- + " Incorrect value returned from UIComponent.getFamily()"
- + JSFTestUtil.NL + "Expected FamilyName to have: jakarta.faces."
- + JSFTestUtil.NL + "Received: " + comp.getFamily());
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // UIComponent.findComponent()
- public void uiComponentFindComponentTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- out.println(
- "Set up a component hierarchy as follows (component ids in quotes)");
- out.println("\"a\" - UIViewRoot at head of hierarchy");
- out.println("\"a\" has children \"b\" and \"c\"");
- out.println("\"b\" has children \"d\" and \"g\"");
- out.println("d\" has children \"e\" and \"f\"");
- out.println("\"c\" has children \"h\" and \"i\"");
- out.println("Components \"b\" and \"d\" implement NamingContainer");
-
- UIViewRoot a = createViewRoot();
- a.setId("a");
- UIForm b = new UIForm();
- b.setId("b");
- UIPanel c = new UIPanel();
- c.setId("c");
- UINamingContainer d = new UINamingContainer();
- d.setId("d");
- UIPanel e = new UIPanel();
- e.setId("e");
- UIPanel f = new UIPanel();
- f.setId("f");
- UIPanel g = new UIPanel();
- g.setId("g");
- UIPanel h = new UIPanel();
- h.setId("h");
- UIPanel i = new UIPanel();
- i.setId("i");
- a.getChildren().add(b);
- a.getChildren().add(c);
- b.getChildren().add(d);
- b.getChildren().add(g);
- c.getChildren().add(h);
- c.getChildren().add(i);
- d.getChildren().add(e);
- d.getChildren().add(f);
-
- StringBuffer buf = new StringBuffer(128);
-
- // Positive relative searches from "a"
- assertFound(a, a, "a", buf);
- assertFound(a, b, "b", buf);
- assertFound(a, c, "c", buf);
- assertFound(a, d, "b:d", buf);
- assertFound(a, e, "b:d:e", buf);
- assertFound(a, f, "b:d:f", buf);
- assertFound(a, g, "b:g", buf);
- assertFound(a, h, "h", buf);
- assertFound(a, i, "i", buf);
-
- // Negative relative searches from "a"
- assertNotFound(a, "d", buf);
- assertNotFound(a, "e", buf);
- assertNotFound(a, "f", buf);
- assertNotFound(a, "g", buf);
-
- // Positive relative searches from "b"
- assertFound(b, b, "b", buf);
- assertFound(b, d, "d", buf);
- assertFound(b, e, "d:e", buf);
- assertFound(b, f, "d:f", buf);
- assertFound(b, g, "g", buf);
-
- // Negative relative searches from "b"
- assertNotFound(b, "a", buf);
- assertNotFound(b, "c", buf);
- assertNotFound(b, "e", buf);
- assertNotFound(b, "f", buf);
- assertNotFound(b, "h", buf);
- assertNotFound(b, "i", buf);
-
- // Positive relative searches from "c"
- assertFound(c, a, "a", buf);
- assertFound(c, b, "b", buf);
- assertFound(c, c, "c", buf);
- assertFound(c, d, "b:d", buf);
- assertFound(c, e, "b:d:e", buf);
- assertFound(c, f, "b:d:f", buf);
- assertFound(c, g, "b:g", buf);
- assertFound(c, h, "h", buf);
- assertFound(c, i, "i", buf);
-
- // Negative relative searches from "c"
- assertNotFound(c, "d", buf);
- assertNotFound(c, "e", buf);
- assertNotFound(c, "f", buf);
- assertNotFound(c, "g", buf);
-
- // Positive relative searches from "d"
- assertFound(d, d, "d", buf);
- assertFound(d, e, "e", buf);
- assertFound(d, f, "f", buf);
-
- // Negative relative searches from "d"
- assertNotFound(d, "a", buf);
- assertNotFound(d, "b", buf);
- assertNotFound(d, "c", buf);
- assertNotFound(d, "g", buf);
- assertNotFound(d, "h", buf);
- assertNotFound(d, "i", buf);
-
- // Positive relative searches from "e"
- assertFound(e, d, "d", buf);
- assertFound(e, e, "e", buf);
- assertFound(e, f, "f", buf);
-
- // Negative relative searches from "e"
- assertNotFound(e, "a", buf);
- assertNotFound(e, "b", buf);
- assertNotFound(e, "c", buf);
- assertNotFound(e, "g", buf);
- assertNotFound(e, "h", buf);
- assertNotFound(e, "i", buf);
-
- // Positive relative searches from "f"
- assertFound(f, d, "d", buf);
- assertFound(f, e, "e", buf);
- assertFound(f, f, "f", buf);
-
- // Negative relative searches from "f"
- assertNotFound(f, "a", buf);
- assertNotFound(f, "b", buf);
- assertNotFound(f, "c", buf);
- assertNotFound(f, "g", buf);
- assertNotFound(f, "h", buf);
- assertNotFound(f, "i", buf);
-
- // Positive relative searches from "g"
- assertFound(g, b, "b", buf);
- assertFound(g, d, "d", buf);
- assertFound(g, e, "d:e", buf);
- assertFound(g, f, "d:f", buf);
- assertFound(g, g, "g", buf);
-
- // Negative relative searches from "g"
- assertNotFound(g, "a", buf);
- assertNotFound(g, "c", buf);
- assertNotFound(g, "e", buf);
- assertNotFound(g, "f", buf);
- assertNotFound(g, "h", buf);
- assertNotFound(g, "i", buf);
-
- // Positive relative searches from "h"
- assertFound(h, a, "a", buf);
- assertFound(h, b, "b", buf);
- assertFound(h, c, "c", buf);
- assertFound(h, d, "b:d", buf);
- assertFound(h, e, "b:d:e", buf);
- assertFound(h, f, "b:d:f", buf);
- assertFound(h, g, "b:g", buf);
- assertFound(h, h, "h", buf);
- assertFound(h, i, "i", buf);
-
- // Negative relative searches from "h"
- assertNotFound(h, "d", buf);
- assertNotFound(h, "e", buf);
- assertNotFound(h, "f", buf);
- assertNotFound(h, "g", buf);
-
- // Positive relative searches from "i"
- assertFound(i, a, "a", buf);
- assertFound(i, b, "b", buf);
- assertFound(i, c, "c", buf);
- assertFound(i, d, "b:d", buf);
- assertFound(i, e, "b:d:e", buf);
- assertFound(i, f, "b:d:f", buf);
- assertFound(i, g, "b:g", buf);
- assertFound(i, h, "h", buf);
- assertFound(i, i, "i", buf);
-
- // Negative relative searches from "i"
- assertNotFound(i, "d", buf);
- assertNotFound(i, "e", buf);
- assertNotFound(i, "f", buf);
- assertNotFound(i, "g", buf);
-
- // Absolute searches from a - i
- UIComponent[] comps = { a, b, c, d, e, f, g, h, i };
-
- String[] exprs = { ":a", ":b", ":c", ":b:d", ":b:d:e", ":b:d:f", ":b:g",
- ":h", ":i" };
-
- for (int ii = 0; ii < comps.length; ii++) {
- UIComponent searchFrom = comps[ii];
- for (int j = 0; j < comps.length; j++) {
- assertFound(searchFrom, comps[j], exprs[j], buf);
- }
- }
-
- if (buf.length() > 0) {
- out.print(buf.toString());
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- }
-
- // UIComponent.findComponent throws IAE if intermediate identifier in
- // expression identifies UIComponent that isnt' a NamingContainer
- public void uiComponentFindComponentIAETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- out.println(
- "Set up a component hierarchy as follows (component ids in quotes)");
- out.println("\"a\" - UIViewRoot at head of hierarchy");
- out.println("\"a\" has children \"b\" and \"c\"");
- out.println("\"b\" has children \"d\" and \"g\"");
- out.println("d\" has children \"e\" and \"f\"");
- out.println("\"c\" has children \"h\" and \"i\"");
- out.println("Components \"b\" and \"d\" implement NamingContainer");
-
- UIViewRoot a = createViewRoot();
- a.setId("a");
- UIForm b = new UIForm();
- b.setId("b");
- UIPanel c = new UIPanel();
- c.setId("c");
- UINamingContainer d = new UINamingContainer();
- d.setId("d");
- UIPanel e = new UIPanel();
- e.setId("e");
- UIPanel f = new UIPanel();
- f.setId("f");
- UIPanel g = new UIPanel();
- g.setId("g");
- UIPanel h = new UIPanel();
- h.setId("h");
- UIPanel i = new UIPanel();
- i.setId("i");
- a.getChildren().add(b);
- a.getChildren().add(c);
- b.getChildren().add(d);
- b.getChildren().add(g);
- c.getChildren().add(h);
- c.getChildren().add(i);
- d.getChildren().add(e);
- d.getChildren().add(f);
-
- String[] exprs = { "a:c:h", "a:c:i", ":a:c:h", ":a:c:i", "c:h", "c:i",
- ":c:h", ":c:i" };
-
- StringBuffer buf = new StringBuffer(128);
-
- for (int ii = 0; ii < exprs.length; ii++) {
- String expr = exprs[ii];
- try {
- a.findComponent(expr);
- buf.append(
- JSFTestUtil.FAIL + " No Exception thrown when findComponent()");
- buf.append(" was called with an expression where the intermediate");
- buf.append(" identifier didn't identify a NamingContainer.\n");
- buf.append("Search was relative to: '").append(a.getId()).append("'\n");
- buf.append("Expression: '").append(expr).append("'\n\n");
- } catch (Exception ex) {
- if (!(ex instanceof IllegalArgumentException)) {
- buf.append(
- JSFTestUtil.FAIL + " Exception thrown when findComponent()");
- buf.append(" was called with an expression where the intermediate");
- buf.append(" identifier didn't identify a NamingContainer, but it");
- buf.append(" wasn't an instance of IllegalArgumentException.\n");
- buf.append("Search was relative to: '").append(a.getId())
- .append("'\n");
- buf.append("Expression: '").append(expr).append("'\n");
- buf.append("Exception received: ").append(ex.getClass().getName());
- }
- }
- }
-
- if (buf.length() > 0) {
- out.print(buf.toString());
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // UIComponent.findComponent() throws NullPointerException
- public void uiComponentFindComponentNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent component = this.createComponent();
-
- try {
- component.findComponent(null);
- out.println("Test FAILED" + JSFTestUtil.NL
- + "Expected NullPointerException to be thrown when"
- + "expr is null.");
- } catch (NullPointerException npe) {
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println("Test FAILED" + JSFTestUtil.NL
- + "Expected NullPointerException to be thrown when" + "expr is null."
- + JSFTestUtil.NL + "Instead received: " + JSFTestUtil.NL
- + e.toString());
- }
-
- }
-
- // UIComponent.InvokeOnComponent()
- public void uiComponentInvokeOnComponentTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- out.println("Set up a component hierarchy as follows (component ids in "
- + "quotes)");
- out.println("\"root\" - UIViewRoot at head of hierarchy");
- out.println("\"root\" has children \"form1\" and \"form2\"");
- out.println("\"form1\" has child \"panel1\"");
- out.println("panel1\" has children \"input1\" and \"input2\"");
- out.println("\"form2\" has child \"panel2\"");
- out.println("panel2\" has children \"input1\" and \"input2\"");
-
- Map tree = setupInvokeOnComponentTree();
-
- UIViewRoot rootTree = (UIViewRoot) tree.get("root");
- UIInput input1 = (UIInput) tree.get("input1");
-
- boolean result = false;
-
- FacesContext context = getFacesContext();
-
- result = rootTree.invokeOnComponent(context, input1.getClientId(context),
- new ContextCallback() {
-
- public void invokeContextCallback(FacesContext context,
- UIComponent component) {
- foundComponent = component;
- }
- });
-
- if (!(foundComponent.equals(input1))) {
- out.println(JSFTestUtil.FAIL + " Expected the Object returned by "
- + "InvokeOnComponent() to be named input1.");
- return;
- } else if (!result) {
- out.println(JSFTestUtil.FAIL + " Expect the value of \"result\" to "
- + "be true" + " Instead found: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.InvokeOnComponent() Negative Test.
- public void uiComponentInvokeOnComponentNegativeTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- Map tree = setupInvokeOnComponentTree();
-
- UIViewRoot root = (UIViewRoot) tree.get("root");
-
- foundComponent = null;
- boolean result = false;
-
- FacesContext context = getFacesContext();
- ContextCallback callback = new ContextCallback() {
-
- public void invokeContextCallback(FacesContext context,
- UIComponent component) {
- foundComponent = component;
- }
- };
-
- // Negative case 0, null pointers
- try {
- root.invokeOnComponent(context, "form:input7", null);
-
- out.println("Test FAILED. invokeOnComponent(context,"
- + " form:input7, null) Did not throw an" + "Exception");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println("Test FAILED. invokeOnComponent(context,"
- + " form:input7, null) threw an Exception"
- + " when a null Callback argument was passed, but it "
- + "wasn't an instance of NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- try {
- root.invokeOnComponent(context, null, callback);
-
- out.println("Test FAILED. invokeOnComponent(context,"
- + " null, callback) Did not throw an" + "Exception");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println("Test FAILED. invokeOnComponent(Context,"
- + " null, callback) threw an Exception"
- + " when a null clientId argument was passed, but it "
- + "wasn't an instance of NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- try {
- root.invokeOnComponent(null, "form:input7", callback);
-
- out.println("Test FAILED. invokeOnComponent(null,"
- + "form:input7, callback) Did not throw an Exception");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println("Test FAILED. invokeOnComponent(null,"
- + "form:input7, callback) threw an Exception"
- + " when a null FacesContext argument was passed, but"
- + " it wasn't an instance of NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- // Negative case 1, not found component.
- result = root.invokeOnComponent(context, "form:input7", callback);
-
- if (result) {
- out.println(JSFTestUtil.FAIL + " Expected \"false\" returned by"
- + " InvokeOnComponent() when passing in \"form:input7\""
- + " as clientId arg. Instead received " + result);
- return;
- }
-
- // Negative case 2A, callback throws exception with found component
- try {
- result = root.invokeOnComponent(context, "form2:input2",
- new ContextCallback() {
-
- public void invokeContextCallback(FacesContext context,
- UIComponent component) {
- foundComponent = component;
- // When else am I going to get the chance to throw
- // this exception?
- throw new IllegalStateException();
- }
- });
- } catch (Exception e) {
- if (!(e instanceof FacesException)) {
- out.println("Test FAILED. invokeOnComponent(facesContext,"
- + " form2:input2, Callback) threw an Exception,"
- + " but it wasn't an instance of FacesException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- // Negative case 2B, callback throws exception with not found component
- try {
- result = root.invokeOnComponent(context, "form2:input6",
- new ContextCallback() {
-
- public void invokeContextCallback(FacesContext context,
- UIComponent component) {
- foundComponent = component;
- // When else am I going to get the chance to throw
- // this exception?
- throw new IllegalStateException();
- }
- });
- } catch (Exception e) {
- if (!(e instanceof FacesException)) {
- out.println("Test FAILED. invokeOnComponent(facesContext,"
- + " form2:input6, Callback) threw an Exception,"
- + " but it wasn't an instance of FacesException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processSaveRestoreState()
- public void uiComponentProcessSaveRestoreStateTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // build a component tree.
- UIComponent comp = createComponent();
- comp.setTransient(false);
- TCKComponent child1 = new TCKComponent("child1");
- child1.setTransient(false);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setTransient(false);
- TCKComponent facet1 = new TCKComponent("facet1");
- facet1.setTransient(false);
- TCKComponent facet1_1 = new TCKComponent("facet1_1");
- facet1_1.setTransient(false);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
-
- Object savedState = comp.processSaveState(getFacesContext());
-
- if (!(savedState instanceof Serializable)) {
- out.println(JSFTestUtil.FAIL + " Expected the Object returned by "
- + "processSaveState() to be Serializable.");
- return;
- }
-
- // validate the processSaveState was recursively called.
- if (!"/PSSchild1/SSchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PSSchild1/SSchild1");
- return;
- }
-
- if (!"/PSSchild1_1/SSchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PSSchild1_1/SSchild1_1");
- return;
- }
- if (!"/PSSfacet1/SSfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PSSfacet1/SSfacet1");
- return;
- }
-
- if (!"/PSSfacet1_1/SSfacet1_1".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected trace: /PSSfacet1_1/SSfacet1_1");
- return;
- }
-
- child1.resetTraceLog();
- child1_1.resetTraceLog();
- facet1.resetTraceLog();
- facet1_1.resetTraceLog();
-
- // Check processRestoreState()
- comp.processRestoreState(getFacesContext(), savedState);
- // validate the processSaveState was recursively called.
- if (!"/PRSchild1/RSchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PRSchild1/RSchild1");
- return;
- }
-
- if (!"/PRSchild1_1/RSchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PRSchild1_1/RSchild1_1");
- return;
- }
- if (!"/PRSfacet1/RSfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PRSfacet1/RSfacet1");
- return;
- }
-
- if (!"/PRSfacet1_1/RSfacet1_1".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected trace: /PRSfacet1_1/RSfacet1_1");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processSaveState(null) throws NullPointerException
- public void uiComponentProcessSaveStateNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
-
- try {
- comp.processSaveState(null);
- out.println("Test FAILED No Exception Thrown!");
- } catch (NullPointerException npe) {
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println("Test FAILED" + JSFTestUtil.NL
- + "Expected: NullPointerException when context is null!"
- + JSFTestUtil.NL + "Received: " + JSFTestUtil.NL + e.toString());
- }
-
- }
-
- // UIComponent.processRestoreState(null) throws NullPointerException
- public void uiComponentProcessRestoreStateNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
- Object savedState = comp.processSaveState(getFacesContext());
-
- try {
- comp.processRestoreState(null, savedState);
- out.println("Test FAILED No Exception Thrown!");
- } catch (NullPointerException npe) {
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println("Test FAILED" + JSFTestUtil.NL
- + "Expected: NullPointerException when context is null!"
- + JSFTestUtil.NL + "Received: " + JSFTestUtil.NL + e.toString());
- }
-
- }
-
- // UIComponent.processSaveState() skips transient components.
- public void uiComponentProcessSaveStateTransientTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // build a component tree.
- UIComponent comp = createComponent();
- comp.setTransient(false);
- TCKComponent child1 = new TCKComponent("child1");
- child1.setTransient(false);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setTransient(true);
- TCKComponent facet1 = new TCKComponent("facet1");
- facet1.setTransient(false);
- TCKComponent facet1_1 = new TCKComponent("facet1_1");
- facet1_1.setTransient(false);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
-
- // facet1_1 and child1_1 are marked transient.
- // child1_1 should have no trace for processSaveState() or
- // saveState(). Because facet1_1 is a facet of
- // child1_1 there should be no call to processSaveState() or
- // saveState().
- comp.processSaveState(getFacesContext());
-
- // validate the processSaveState was recursively called.
- if (!"/PSSchild1/SSchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PSSchild1/SSchild1");
- return;
- }
-
- if (!"".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected no trace.");
- return;
- }
- if (!"/PSSfacet1/SSfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED.");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PSSfacet1/SSfacet1");
- return;
- }
-
- if (!"".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected no trace.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processUpdates test
- public void uiComponentProcessUpdatesTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // Setup a specialized RenderKit
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
- TCKRenderer renderer = new TCKRenderer();
- renderer.setRendersChildren(true);
- renderKit.addRenderer("TCK", "TCK", renderer);
-
- // build a component tree.
- UIComponent comp = createComponent();
- comp.setRendered(true);
- TCKInputComponent child1 = new TCKInputComponent("child1");
- TCKComponent child2 = new TCKComponent("child2");
- child2.setRendererType("TCK");
- child2.setRendered(false);
- child1.setRendered(true);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setRendered(true);
- TCKComponent facet1 = new TCKComponent("facet1");
- facet1.setRendered(true);
- TCKInputComponent facet1_1 = new TCKInputComponent("facet1_1");
- facet1_1.setRendered(true);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
- comp.getChildren().add(child2);
-
- comp.processUpdates(getFacesContext());
-
- // child1 and facet1_1 are instances of UIInput.
- // These should have updateModel called on them
- // during process updates. The other non-UIInput
- // components will not call updateModel.
- // Child2 shoudln't have UM in the trace as it's parent
- // renders children but isn't rendered itself.
- if (!"/PUchild1/UMchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PUchild1/UMchild1");
- return;
- }
-
- if (!"/PUchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PUchild1_1.");
- return;
- }
- if (!"/PUfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED.");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PUfacet1");
- return;
- }
-
- if (!"/PUfacet1_1/UMfacet1_1".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected trace: /PUfacet1_1/UMfacet1_1");
- return;
- }
-
- if (!"/PUchild2".equals(child2.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected trace: /PUchild2");
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processUpdates() will not continue if a component's
- // rendered property is false.
- public void uiComponentProcessUpdatesNotRenderedTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // build a component tree.
- UIComponent comp = createComponent();
- comp.setRendered(true);
- TCKInputComponent child1 = new TCKInputComponent("child1");
- child1.setRendered(true);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setRendered(false);
- TCKInputComponent facet1 = new TCKInputComponent("facet1");
- facet1.setRendered(true);
- TCKInputComponent facet1_1 = new TCKInputComponent("facet1_1");
- facet1_1.setRendered(false);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
-
- comp.processUpdates(getFacesContext());
-
- // child1_1 and facet1_1 have their rendered properties set to false.
- // This means that child1 will have processUpdates called against it,
- // but it will not call processUpdates() on facet1_1.
- if (!"/PUchild1/UMchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PUchild1/UMchild1");
- return;
- }
-
- if (!"/PUchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PUchild1_1.");
- return;
- }
- if (!"/PUfacet1/UMfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED.");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PUfacet1/UMfacet1");
- return;
- }
-
- if (!"".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected no trace to be generated.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processUpdates() - if updateModel throws RuntimeException
- // call FacesContext.renderResponse()
- public void uiComponentProcessUpdatesRenderResponseTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
- TCKInputComponent tckInput = new TCKInputComponent("in1", true);
- comp.getChildren().add(tckInput);
-
- try {
- comp.processUpdates(getFacesContext());
- } catch (Exception re) {
- if (!"UpdateModelRTE".equals(re.getMessage())) {
- out.println(JSFTestUtil.FAIL + " RuntimeException not rethrown up to"
- + " the calling component.");
- return;
- }
- }
-
- if (!getFacesContext().getRenderResponse()) {
- out.println(
- JSFTestUtil.FAIL + " RuntimeException thrown during updateModule()"
- + " but FacesContext.renderResponse() was not called.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processUpdates(FacesContext) throws NullPointerException
- public void uiComponentProcessUpdatesNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
- TCKInputComponent tckInput = new TCKInputComponent("in1", true);
- comp.getChildren().add(tckInput);
-
- try {
- comp.processUpdates(null);
- out.println("Test FAILED No Exception Thrown!");
- } catch (NullPointerException npe) {
- out.println("Test PASSED Expected NullPointerException Thrown!");
- } catch (Exception e) {
- out.println("Test FAILED" + JSFTestUtil.NL
- + "Expected: NullPointerException when context is null!"
- + JSFTestUtil.NL + "Received: " + JSFTestUtil.NL + e.toString());
- }
-
- }
-
- // UIComponent.processValidators test
- public void uiComponentProcessValidatorsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // Setup a specialized RenderKit
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
- TCKRenderer renderer = new TCKRenderer();
- renderer.setRendersChildren(true);
- renderKit.addRenderer("TCK", "TCK", renderer);
-
- // build a component tree.
- UIComponent comp = createComponent();
- comp.setRendered(true);
- TCKInputComponent child1 = new TCKInputComponent("child1");
- TCKComponent child2 = new TCKComponent("child2");
- child2.setRendererType("TCK");
- child2.setRendered(false);
- child1.setRendered(true);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setRendered(true);
- TCKComponent facet1 = new TCKComponent("facet1");
- facet1.setRendered(true);
- TCKInputComponent facet1_1 = new TCKInputComponent("facet1_1");
- facet1_1.setRendered(true);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
- comp.getChildren().add(child2);
-
- comp.processValidators(getFacesContext());
-
- // child1 and facet1_1 are instances of UIInput.
- // These should have validate() called on them
- // during process validations. The other non-UIInput
- // components will not call validate()..
- // Child2 shoudln't have V in the trace as it's parent
- // renders children but isn't rendered itself.
- if (!"/PVchild1/Vchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PVchild1/Vchild1");
- return;
- }
-
- if (!"/PVchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PVchild1_1.");
- return;
- }
- if (!"/PVfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED.");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PVfacet1");
- return;
- }
-
- if (!"/PVfacet1_1/Vfacet1_1".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected trace: /PVfacet1_1/Vfacet1_1");
- return;
- }
-
- if (!"/PVchild2".equals(child2.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected trace: /PVchild2");
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processValidators() throws NullPointerException
- public void uiComponentProcessValidatorsNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(createComponent().getClass(), "processValidators",
- new Class>[] { FacesContext.class }, new Object[] { null }, out);
- }
-
- // UIComponent.processValidators() will not continue if a component's
- // rendered property is false.
- public void uiComponentProcessValidatorsNotRenderedTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // build a component tree.
- UIComponent comp = createComponent();
- comp.setRendered(true);
- TCKInputComponent child1 = new TCKInputComponent("child1");
- child1.setRendered(true);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setRendered(false);
- TCKInputComponent facet1 = new TCKInputComponent("facet1");
- facet1.setRendered(true);
- TCKInputComponent facet1_1 = new TCKInputComponent("facet1_1");
- facet1_1.setRendered(false);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
-
- comp.processValidators(getFacesContext());
-
- // child1_1 and facet1_1 have their rendered properties set to false.
- // This means that child1 will have processValidators called against it,
- // but it will not call processValidators() on facet1_1.
- if (!"/PVchild1/Vchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PVchild1/Vchild1");
- return;
- }
-
- if (!"/PVchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PVchild1_1.");
- return;
- }
- if (!"/PVfacet1/Vfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED.");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PVfacet1/Vfacet1");
- return;
- }
-
- if (!"".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected no trace to be generated.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processValidators() - if validate() throws RuntimeException
- // call FacesContext.renderResponse()
- public void uiComponentProcessValidatorsRenderResponseTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
- TCKInputComponent tckInput = new TCKInputComponent("in1", true);
- comp.getChildren().add(tckInput);
-
- try {
- comp.processValidators(getFacesContext());
- } catch (Exception re) {
- if (!"ValidateRTE".equals(re.getMessage())) {
- out.println(JSFTestUtil.FAIL + " RuntimeException not rethrown up to"
- + " the calling component.");
- return;
- }
- }
-
- if (!getFacesContext().getRenderResponse()) {
- out.println(
- JSFTestUtil.FAIL + " RuntimeException thrown during validate()"
- + " but FacesContext.renderResponse() was not called.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processValidators() - if isValid() returns false
- // call FacesContext.renderResponse()
- public void uiComponentProcessValidatorsIsValidRenderResponseTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
- TCKInputComponent tckInput = new TCKInputComponent("in1");
- tckInput.setInvalidOnValidate(true);
- comp.getChildren().add(tckInput);
-
- comp.processValidators(getFacesContext());
-
- if (!getFacesContext().getRenderResponse()) {
- out.println(JSFTestUtil.FAIL + " isValid() returned false "
- + " but FacesContext.renderResponse() was not called.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processDecodes()
- public void uiComponentProcessDecodesTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // Setup a specialized RenderKit
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
- TCKRenderer renderer = new TCKRenderer();
- renderer.setRendersChildren(true);
- renderKit.addRenderer("TCK", "TCK", renderer);
-
- // build a component tree.
- UIComponent comp = createComponent();
- comp.setRendered(true);
- TCKInputComponent child1 = new TCKInputComponent("child1");
- TCKComponent child2 = new TCKComponent("child2");
- child2.setRendererType("TCK");
- child2.setRendered(false);
- child1.setRendered(true);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setRendered(true);
- TCKComponent facet1 = new TCKComponent("facet1");
- facet1.setRendered(true);
- TCKInputComponent facet1_1 = new TCKInputComponent("facet1_1");
- facet1_1.setRendered(true);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
- comp.getChildren().add(child2);
-
- comp.processDecodes(getFacesContext());
-
- // Child2 shoudln't have D in the trace as it's parent
- // renders children but isn't rendered itself.
- if (!"/PDchild1/Dchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PDchild1/Dchild1");
- return;
- }
-
- if (!"/PDchild1_1/Dchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PDchild1_1/Dchild1_1");
- return;
- }
- if (!"/PDfacet1/Dfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED.");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PDfacet1/Dfacet1");
- return;
- }
-
- if (!"/PDfacet1_1/Dfacet1_1".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected trace: /PDfacet1_1/Dfacet1_1");
- return;
- }
-
- if (!"/PDchild2".equals(child2.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected trace: /PDchild2");
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processDecodes() throws NullPointerException
- public void uiComponentProcessDecodesNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(createComponent().getClass(), "processDecodes",
- new Class>[] { FacesContext.class }, new Object[] { null }, out);
- }
-
- public void uiComponentPushComponentToELTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- UIComponent compOne = createComponent();
- UIComponent compTwo = createComponent();
- compOne.setId("compOne");
- compTwo.setId("compTwo");
- String oneType = compOne.getClass().getSimpleName();
- String twoType = compTwo.getClass().getSimpleName();
-
- /*
- * Test that a call to push puts this UIComponent as the current component.
- */
- compOne.encodeBegin(context);
- String recId = UIComponent.getCurrentComponent(context).getId();
-
- if (!"compOne".equals(recId)) {
- out.println("Test FAILED. " + oneType + ".getCurrentComponent() "
- + "returned unexpected UIComponent ID." + JSFTestUtil.NL
- + "Expected ID: compOne" + JSFTestUtil.NL + "Receieved ID: " + recId);
- return;
- }
-
- /*
- * Add another Component to the stack and retest.
- */
- compTwo.encodeBegin(context);
- String recId2 = UIComponent.getCurrentComponent(context).getId();
-
- if (!"compTwo".equals(recId2)) {
- out.println("Test FAILED. " + twoType + ".getCurrentComponent() "
- + "returned unexpected UIComponent ID." + JSFTestUtil.NL
- + "Expected ID: compTwo" + JSFTestUtil.NL + "Receieved ID: "
- + recId2);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // UIComponent.pushComponentToEL() throws NullPointerException
- public void uiComponentPushComponentToELNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(createComponent().getClass(), "pushComponentToEL",
- new Class>[] { FacesContext.class, UIComponent.class },
- new Object[] { null, createComponent() }, out);
- }
-
- public void uiComponentPopComponentFromELTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- String recId;
-
- UIComponent compOne = createComponent();
- UIComponent compTwo = createComponent();
- compOne.setId("compOne");
- compTwo.setId("compTwo");
- String oneType = compOne.getClass().getSimpleName();
- String twoType = compTwo.getClass().getSimpleName();
-
- /*
- * Push Two UIComponents onto the EL Data Structure.
- */
- compOne.encodeBegin(context);
- compTwo.encodeBegin(context);
-
- /*
- * Make sre that the current Component is compTwo.
- */
- recId = UIComponent.getCurrentComponent(context).getId();
-
- if (!"compTwo".equals(recId)) {
- out.println("Test FAILED. " + twoType + ".getCurrentComponent() "
- + "returned unexpected UIComponent ID." + JSFTestUtil.NL
- + "Expected ID: CompTwo" + JSFTestUtil.NL + "Receieved ID: " + recId);
- return;
- }
-
- /*
- * Call Pop to make the current component is set to compOne & not compTwo.
- */
- compTwo.encodeEnd(context);
- recId = UIComponent.getCurrentComponent(context).getId();
-
- if (!"compOne".equals(recId)) {
- out.println("Test FAILED. " + oneType + ".getCurrentComponent() "
- + "returned unexpected UIComponent ID." + JSFTestUtil.NL
- + "Expected ID: compOne" + JSFTestUtil.NL + "Receieved ID: " + recId);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- public void uiComponentPopComponentFromELNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- UIComponent compTwo = createComponent();
-
- compTwo.setId("compTwo");
-
- try {
- compTwo.encodeEnd(null);
- out.println("Test FAILED No Exception Thrown!");
- } catch (NullPointerException npe) {
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println("Test FAILED Unexpected Excetion Thrown!" + JSFTestUtil.NL
- + "Expected: NullPointerException when FaceContext is null"
- + JSFTestUtil.NL + "Received: " + JSFTestUtil.NL + e.toString());
- }
-
- }
-
- // UIComponent.processDecodes() -- decode() not called if component is
- // not rendered
- public void uiComponentProcessDecodesNotRenderedTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // build a component tree.
- UIComponent comp = createComponent();
- comp.setRendered(true);
- TCKInputComponent child1 = new TCKInputComponent("child1");
- child1.setRendered(true);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setRendered(false);
- TCKInputComponent facet1 = new TCKInputComponent("facet1");
- facet1.setRendered(true);
- TCKInputComponent facet1_1 = new TCKInputComponent("facet1_1");
- facet1_1.setRendered(false);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
-
- comp.processDecodes(getFacesContext());
-
- // child1_1 and facet1_1 have their rendered properties set to false.
- // This means that child1 will have processDecodes called against it,
- // but it will not call decode() on facet1_1.
- if (!"/PDchild1/Dchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PDchild1/Dchild1");
- return;
- }
-
- if (!"/PDchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PDchild1_1.");
- return;
- }
- if (!"/PDfacet1/Dfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED.");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PDfacet1/Dfacet1");
- return;
- }
-
- if (!"".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected no trace to be generated.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processDecodes() - if RuntimeException thrown by decode()
- // then FacesContext.renderResponse must be called
- public void uiComponentProcessDecodesRenderResponseTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
- TCKInputComponent tckInput = new TCKInputComponent("in1", true);
- comp.getChildren().add(tckInput);
-
- try {
- comp.processDecodes(getFacesContext());
- } catch (Exception re) {
- if (!"DecodeRTE".equals(re.getMessage())) {
- out.println(JSFTestUtil.FAIL + " RuntimeException not rethrown up to"
- + " the calling component.");
- out.println("Exception received: " + re.toString());
- out.println("Exception message: " + re.getMessage());
- return;
- }
- }
-
- if (!getFacesContext().getRenderResponse()) {
- out.println(JSFTestUtil.FAIL + " RuntimeException thrown during decode()"
- + " but FacesContext.renderResponse() was not called.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.encodeBegin()
- public void uiComponentEncodeBeginELTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- String expected = "comp";
- UIComponent component = createComponent();
- component.setId(expected);
- String uicType = component.getClass().getSimpleName();
-
- component.encodeBegin(context);
-
- UIComponent mc = UIComponent.getCurrentComponent(context);
- String recId = mc.getId();
-
- if (!expected.equals(recId)) {
- out.println("Test FAILED. " + uicType + ".encodeBegin() must " + "call "
- + uicType + ".pushComponentToEL()!" + JSFTestUtil.NL
- + "Unexpected UIComponent ID." + JSFTestUtil.NL + "Expected ID: "
- + expected + JSFTestUtil.NL + "Receieved ID: " + recId);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.encodeBegin()
- public void uiComponentEncodeBeginTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
- comp.setRendered(true);
- String sRendererType = comp.getRendererType();
- String sRendererFamily = comp.getFamily();
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
-
- Renderer origRenderer = null;
-
- if (sRendererType != null) {
- origRenderer = renderKit.getRenderer(sRendererFamily, sRendererType);
- }
-
- TCKRenderer renderer = new TCKRenderer();
- if (sRendererType == null) {
- sRendererType = "TCKTemp";
- }
- comp.setRendererType(sRendererType);
- renderKit.addRenderer(sRendererFamily, sRendererType, renderer);
-
- // ensure that the call to UIComponent.encodeBegin() delegates to
- // the underlying renderer
- // NOTE: THIS TEST MUST ONLY BE CALLED FOR COMPONENTS THAT HAVE
- // RENDERERS
- comp.encodeBegin(getFacesContext());
-
- String trace = renderer.getTrace();
-
- if (!"/EB".equals(trace)) {
- out.println(JSFTestUtil.FAIL + " encodeBegin() was not called on "
- + "the renderer of the component under test." + JSFTestUtil.NL
- + "Expected Renderer trace: /EB" + JSFTestUtil.NL + "Actual trace: "
- + trace);
- return;
- }
-
- if ("TCKTemp".equals(sRendererType)) {
- comp.setRendererType(null);
- }
-
- if (origRenderer != null) {
- renderKit.addRenderer(sRendererFamily, sRendererType, origRenderer);
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.encodeBegin() - Component should not call through to renderer
- // if the rendered property is false.
- public void uiComponentEncodeBeginNotRenderedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
- comp.setRendered(false);
- String sRendererType = comp.getRendererType();
- String sRendererFamily = comp.getFamily();
-
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
-
- Renderer origRenderer = null;
-
- if (sRendererType != null) {
- origRenderer = renderKit.getRenderer(sRendererFamily, sRendererType);
- }
-
- TCKRenderer renderer = new TCKRenderer();
- if (sRendererType == null) {
- sRendererType = "TCKTemp";
- }
- comp.setRendererType(sRendererType);
- renderKit.addRenderer(sRendererFamily, sRendererType, renderer);
-
- // ensure that the call to UIComponent.encodeBegin() does not delegate
- // to
- // the underlying renderer
- // NOTE: THIS TEST MUST ONLY BE CALLED FOR COMPONENTS THAT HAVE
- // RENDERERS
- comp.encodeBegin(getFacesContext());
-
- String trace = renderer.getTrace();
-
- if (!"".equals(trace)) {
- out.println(JSFTestUtil.FAIL + " encodeBegin() was called on the renderer"
- + " of the component under test when the rendered property "
- + "was false.");
- out.println("Expected no information returned in trace.");
- out.println("Actual trace: " + trace);
- return;
- }
-
- if ("TCKTemp".equals(sRendererType)) {
- comp.setRendererType(null);
- }
-
- if (origRenderer != null) {
- renderKit.addRenderer(sRendererFamily, sRendererType, origRenderer);
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.encodeEnd()
- public void uiComponentEncodeEndELTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String testId = "comp";
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- UIComponent component = createComponent();
- component.setId(testId);
- String uicType = component.getClass().getSimpleName();
-
- // Put the current UIComponent on the EL Stack.
- component.encodeBegin(context);
-
- if (!testId.equals(component.getId())) {
- out.println("Test FAILED.");
- out.println(
- "Attempt to setup test with call to " + uicType + ".encodeBegin()");
- return;
- }
-
- /*
- * Remove the current UIComponent from the EL Stack. Stack should have no
- * UIComponent on it. A null should be returned.
- */
- component.encodeEnd(context);
- if (null != UIComponent.getCurrentComponent(context)) {
- out.println("Test FAILED. " + uicType + ".encodeEnd() must call "
- + uicType + ".popComponentFromEL()!" + JSFTestUtil.NL
- + "unexpected UIComponent ID." + JSFTestUtil.NL
- + "Expected component to return null!");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // UIComponent.encodeAll() throws NullPointerException
- public void uiComponentEncodeAllNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String testId = "comp";
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
-
- ResponseWriter rw = new TCKResponseWriter();
- context.setResponseWriter(rw);
-
- UIComponent component = createComponent();
- component.setId(testId);
-
- try {
- component.encodeAll(null);
- out.println("Test FAILED. No NullPointerException thrown when "
- + "FacesContext is null");
- } catch (NullPointerException npe) {
- out.println(JSFTestUtil.PASS);
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + " Unexpected Exception thrown when "
- + "context is null!" + JSFTestUtil.NL
- + "Expected: NullPointerException" + JSFTestUtil.NL + "Received: "
- + e.getClass().getSimpleName());
- }
- }
-
- // UIComponent.encodeEnd()
- public void uiComponentEncodeEndTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
- comp.setRendered(true);
- String sRendererType = comp.getRendererType();
- String sRendererFamily = comp.getFamily();
-
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
-
- Renderer origRenderer = null;
-
- if (sRendererType != null) {
- origRenderer = renderKit.getRenderer(sRendererFamily, sRendererType);
- }
-
- TCKRenderer renderer = new TCKRenderer();
- if (sRendererType == null) {
- sRendererType = "TCKTemp";
- }
- comp.setRendererType(sRendererType);
- renderKit.addRenderer(sRendererFamily, sRendererType, renderer);
-
- // ensure that the call to UIComponent.encodeEnd() delegates to
- // the underlying renderer
- // NOTE: THIS TEST MUST ONLY BE CALLED FOR COMPONENTS THAT HAVE
- // RENDERERS
- comp.encodeEnd(getFacesContext());
-
- String trace = renderer.getTrace();
-
- if (!"/EE".equals(trace)) {
- out.println(
- JSFTestUtil.FAIL + " encodeEnd() was not called on the renderer"
- + " of the component under test.");
- out.println("Expected Renderer trace: /EE");
- out.println("Actual trace: " + trace);
- return;
- }
-
- if ("TCKTemp".equals(sRendererType)) {
- comp.setRendererType(null);
- }
-
- if (origRenderer != null) {
- renderKit.addRenderer(sRendererFamily, sRendererType, origRenderer);
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.encodeEnd -- Renderer.encodeEnd not called if component's
- // render property is false
- public void uiComponentEncodeEndNotRenderedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
- comp.setRendered(false);
- String sRendererType = comp.getRendererType();
- String sRendererFamily = comp.getFamily();
-
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
-
- Renderer origRenderer = null;
-
- if (sRendererType != null) {
- origRenderer = renderKit.getRenderer(sRendererFamily, sRendererType);
- }
-
- if (sRendererType == null) {
- sRendererType = "TCKTemp";
- }
-
- TCKRenderer renderer = new TCKRenderer();
- comp.setRendererType(sRendererType);
- renderKit.addRenderer(sRendererFamily, sRendererType, renderer);
-
- // ensure that the call to UIComponent.encodeEnd() does not delegate to
- // the underlying renderer
- // NOTE: THIS TEST MUST ONLY BE CALLED FOR COMPONENTS THAT HAVE
- // RENDERERS
- comp.encodeEnd(getFacesContext());
-
- String trace = renderer.getTrace();
-
- if (!"".equals(trace)) {
- out.println(JSFTestUtil.FAIL + " encodeEnd() was called on the renderer"
- + " of the component under test when the rendered property "
- + "was false.");
- out.println("Expected no information returned in trace.");
- out.println("Actual trace: " + trace);
- return;
- }
-
- if ("TCKTemp".equals(sRendererType)) {
- comp.setRendererType(null);
- }
-
- if (origRenderer != null) {
- renderKit.addRenderer(sRendererFamily, sRendererType, origRenderer);
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.encodeChildren()
- public void uiComponentEncodeChildrenTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
- comp.setRendered(true);
- String sRendererType = comp.getRendererType();
- String sRendererFamily = comp.getFamily();
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
-
- Renderer origRenderer = null;
-
- if (sRendererType != null) {
- origRenderer = renderKit.getRenderer(sRendererFamily, sRendererType);
- }
-
- TCKRenderer renderer = new TCKRenderer();
- if (sRendererType == null) {
- sRendererType = "TCKTemp";
- }
- comp.setRendererType(sRendererType);
- renderer.setRendersChildren(true);
- renderKit.addRenderer(sRendererFamily, sRendererType, renderer);
-
- // ensure that the call to UIComponent.encodeChildren() delegates to
- // the underlying renderer.
-
- // NOTE: THIS TEST MUST ONLY BE CALLED FOR COMPONENTS THAT HAVE
- // RENDERERS
- comp.encodeChildren(getFacesContext());
-
- String trace = renderer.getTrace();
-
- if (!"/EC".equals(trace)) {
- out.println(JSFTestUtil.FAIL + " encodeChildren() was not called on the "
- + "renderer of the component under test.");
- out.println("Expected Renderer trace: /EC");
- out.println("Actual trace: " + trace);
- return;
- }
-
- if ("TCKTemp".equals(sRendererType)) {
- comp.setRendererType(null);
- }
-
- if (origRenderer != null) {
- renderKit.addRenderer(sRendererFamily, sRendererType, origRenderer);
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.encodeChildren() -- component will not delegate to renderer
- // when render property is false
- public void uiComponentEncodeChildrenNotRenderedTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
- comp.setRendered(false);
- String sRendererType = comp.getRendererType();
- String sRendererFamily = comp.getFamily();
-
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
-
- Renderer origRenderer = null;
-
- if (sRendererType != null) {
- origRenderer = renderKit.getRenderer(sRendererFamily, sRendererType);
- }
-
- TCKRenderer renderer = new TCKRenderer();
- if (sRendererType == null) {
- sRendererType = "TCKTemp";
- }
- comp.setRendererType(sRendererType);
- renderer.setRendersChildren(true);
- renderKit.addRenderer(sRendererFamily, sRendererType, renderer);
-
- // ensure that the call to UIComponent.encodeChildren() does not
- // delegate to the underlying renderer
- // NOTE: THIS TEST MUST ONLY BE CALLED FOR COMPONENTS THAT HAVE
- // RENDERERS
- comp.encodeChildren(getFacesContext());
-
- String trace = renderer.getTrace();
-
- if (!"".equals(trace)) {
- out.println(
- JSFTestUtil.FAIL + " encodeChildren() was called on the renderer"
- + " of the component under test when the rendered property "
- + "was false.");
- out.println("Expected no information returned in trace.");
- out.println("Actual trace: " + trace);
- return;
- }
-
- if ("TCKTemp".equals(sRendererType)) {
- comp.setRendererType(null);
- }
-
- if (origRenderer != null) {
- renderKit.addRenderer(sRendererFamily, sRendererType, origRenderer);
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.encodeBegin() - throws NPE if context arg is null
- public void uiComponentEncodeBeginNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- try {
- createComponent().encodeBegin(null);
- out.println(JSFTestUtil.FAIL + " No Exception thrown when encodeBegin() "
- + "was passed a null value for the context argument.");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println("Exception thrown when encodeBegin() was passed a "
- + "null value for the context argument, but it wasn't"
- + " an instance of NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.encodeEnd() - throws NPE if context arg is null
- public void uiComponentEncodeEndNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- try {
- createComponent().encodeEnd(null);
- out.println(JSFTestUtil.FAIL + " No Exception thrown when encodeEnd() "
- + "was passed a null value for the context argument.");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println("Exception thrown when encodeEnd() was passed a "
- + "null value for the context argument, but it wasn't"
- + " an instance of NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.encodeChildren() - throws NPE if context arg is null
- public void uiComponentEncodeChildrenNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- try {
- createComponent().encodeChildren(null);
- out.println(
- JSFTestUtil.FAIL + " No Exception thrown when encodeChidlren() "
- + "was passed a null value for the context argument.");
- return;
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println("Exception thrown when encodeChidlren() was passed a "
- + "null value for the context argument, but it wasn't"
- + " an instance of NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void componentAttributesTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String[] attrNames = getAttributeNames();
- UIComponent component = createComponent();
- out.println("COMPONENT: " + component.getClass().getName());
- boolean passed = true;
- for (int i = 0; i < attrNames.length; i++) {
- out.println("Processing attribute: " + attrNames[i]);
- PropertyDescriptor[] descriptors = null;
- try {
- descriptors = Introspector.getBeanInfo(component.getClass())
- .getPropertyDescriptors();
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + " Unable to obtain PropertyDescriptors"
- + " for component: " + component.getClass().getName());
- passed = false;
- }
-
- boolean found = false;
- for (int ii = 0; ii < descriptors.length; ii++) {
- if (!descriptors[ii].getName().equals(attrNames[i])) {
- continue;
- }
- found = true;
- Object[] val;
- if (descriptors[ii].getPropertyType() == String.class) {
- val = new Object[] { "newValue" };
- } else if (descriptors[ii].getPropertyType() == Boolean.TYPE) {
- val = new Object[] { Boolean.TRUE };
- } else {
- val = new Object[] { Integer.valueOf(1) };
- }
-
- Method writeMethod = descriptors[ii].getWriteMethod();
- try {
- writeMethod.invoke(component, val);
- } catch (Exception e) {
- Throwable t;
- if (e instanceof InvocationTargetException) {
- t = ((InvocationTargetException) e).getTargetException();
- } else {
- t = e;
- }
- out.println(JSFTestUtil.FAIL + " Exception invoking write method "
- + " for attribute '" + attrNames[i] + "': " + t);
- passed = false;
- }
-
- Method readMethod = descriptors[ii].getReadMethod();
-
- try {
- Object result = readMethod.invoke(component, null);
- if (descriptors[ii].getPropertyType() == String.class) {
- if (!"newValue".equals(result)) {
- out.println(JSFTestUtil.FAIL + " Unexpected value returned"
- + " for property '" + attrNames[i] + "'.");
- out.println("Expected: newValue");
- out.println("Received: " + result);
- }
- } else if (descriptors[ii].getPropertyType() == Boolean.TYPE) {
- if (!Boolean.TRUE.equals(result)) {
- out.println(JSFTestUtil.FAIL + " Unexpected value returned"
- + " for property '" + attrNames[i] + "'.");
- out.println("Expected: " + Boolean.TRUE);
- out.println("Received: " + result);
- }
- } else if (descriptors[ii].getPropertyType() == Integer.TYPE) {
- if (!(Integer.valueOf(1).equals(result))) {
- out.println(JSFTestUtil.FAIL + " Unexpected value returned"
- + " for property '" + attrNames[i] + "'.");
- out.println("Expected: 1");
- out.println("Received: " + result);
- }
- } else {
- out.println(JSFTestUtil.FAIL + " Unexpected type for "
- + "attribute '" + attrNames[i] + "'");
- }
- } catch (IllegalArgumentException iae) {
- // TODO Auto-generated catch block
- iae.printStackTrace();
- } catch (IllegalAccessException iae) {
- out.println("Test FAILED.");
- iae.printStackTrace();
- } catch (InvocationTargetException ite) {
- out.println(JSFTestUtil.FAIL + " Exception invoking read method for "
- + "attribute '" + attrNames[i] + "': " + ite.getTargetException()
- + JSFTestUtil.NL);
- ite.printStackTrace();
- }
-
- break;
- }
-
- if (!found) {
- out.println(
- JSFTestUtil.FAIL + " Unable to locate attribute '" + attrNames[i]
- + "' in class '" + component.getClass().getName() + "'");
- passed = false;
- }
- found = false;
- }
-
- if (passed) {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- public void uiComponentGetSetValueExpressionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- request.setAttribute("bean", new SimpleBean());
- ExpressionFactory factory = JSFTestUtil
- .getExpressionFactory(servletContext);
- ValueExpression expression = factory.createValueExpression(
- getFacesContext().getELContext(), "#{bean.action}",
- java.lang.String.class);
-
- UIComponent component = createComponent();
-
- // calling setValueExpression() with a non-literal ValueExpression
- // should result in getValueExpression() returning the ValueExpression
- // and no value being set in the components attribute map.
- component.setValueExpression("bean", expression);
-
- if (component.getValueExpression("bean") != expression) {
- out.println(JSFTestUtil.FAIL + " Expected getValueExpression() to return"
- + " the non-literal ValueExpression set via "
- + "setValueExpression().");
- out.println("Expected: " + expression);
- out.println("Received: " + component.getValueExpression("bean"));
- return;
- }
-
- ValueExpression literalExpr = factory.createValueExpression(
- getFacesContext().getELContext(), "literalValue",
- java.lang.String.class);
-
- // Literal expression - The evaluated value should be stored in the
- // component attribute map, and should not be returned by
- // getValueExpression()
-
- component.setValueExpression("literal", literalExpr);
-
- if (component.getValueExpression("literal") != null) {
- out.println(JSFTestUtil.FAIL + " Expected getValueExpression() to return"
- + " null when setValueExpression() was called with a "
- + "literal ValueExpression (isLiteralText() returns true).");
- return;
- }
-
- if (!"literalValue".equals(component.getAttributes().get("literal"))) {
- out.println(JSFTestUtil.FAIL + " Expected literal ValueExpression to be"
- + "evaluated and stored in the component's attribute map"
- + " under the key 'literal'.");
- out.println("Expected value: literalValue");
- out.println("Received: " + component.getAttributes().get("literal"));
- return;
- }
-
- // If null is passed as a ValueExpression for an existing key,
- // the ValueExpression should be removed from internal map.
- // getValueExpression() should then return null.
-
- component.setValueExpression("bean", null);
-
- if (component.getValueExpression("bean") != null) {
- out.println(JSFTestUtil.FAIL + " setValueExpression() did not remove"
- + " the ValueExpression associated with a particular key from"
- + " its internal Map when passing a null value for the "
- + "ValueExpression argument.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiComponentGetSetValueExpressionNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- StringBuffer buf = new StringBuffer(128);
-
- UIComponent component = createComponent();
-
- // getValueExpression throws NPE
- try {
- component.getValueExpression(null);
- buf.append(JSFTestUtil.FAIL + " No exception thrown when passin null"
- + " to getValueExpression().");
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- buf.append(JSFTestUtil.FAIL + " Exception thrown when passing null"
- + " to getValueExpression(), but it wasn't an instance"
- + " of NullPointerException." + JSFTestUtil.NL
- + "Exception received: " + e.getClass().getName());
- }
- }
-
- // setValueExpression() throw NPE
- try {
- ExpressionFactory factory = JSFTestUtil
- .getExpressionFactory(servletContext);
-
- ValueExpression literalExpr = factory.createValueExpression(
- getFacesContext().getELContext(), "literalValue",
- java.lang.String.class);
-
- component.setValueExpression(null, literalExpr);
- buf.append(JSFTestUtil.FAIL + " No exception thrown when passin null"
- + " to setValueExpression().");
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- buf.append(JSFTestUtil.FAIL + " Exception thrown when passing null"
- + " to setValueExpression(), but it wasn't an instance"
- + " of NullPointerException." + JSFTestUtil.NL
- + "Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- if (buf.length() > 0) {
- out.println("Test FAILED" + JSFTestUtil.NL + buf.toString());
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- }
-
- public void uiComponentSetValueExpressionNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
-
- UIComponent component = createComponent();
- request.setAttribute("bean", new SimpleBean());
- ExpressionFactory factory = JSFTestUtil
- .getExpressionFactory(servletContext);
- ValueExpression expression = factory.createValueExpression(
- getFacesContext().getELContext(), "#{bean.action}",
- java.lang.String.class);
-
- try {
- component.setValueExpression(null, expression);
- out.println(JSFTestUtil.FAIL + " No exception thrown when passin null"
- + " as the 'name' argument of setValueExpression().");
- } catch (Exception e) {
- if (!(e instanceof NullPointerException)) {
- out.println(JSFTestUtil.FAIL + " Exception thrown when passing null"
- + " as the 'name' argument to setValueExpression(), but "
- + "it wasn't an instance of NullPointerException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiComponentSetValueExpressionIAETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent component = createComponent();
- request.setAttribute("bean", new SimpleBean());
- ExpressionFactory factory = JSFTestUtil
- .getExpressionFactory(servletContext);
- ValueExpression expression = factory.createValueExpression(
- getFacesContext().getELContext(), "#{bean.action}",
- java.lang.String.class);
-
- // if 'id' or 'parent' are the values for the name argument,
- // then an IAE must be thrown
- try {
- component.setValueExpression("id", expression);
- out.println(JSFTestUtil.FAIL + " No exception thrown when passin 'id'"
- + " as the 'name' argument of setValueExpression().");
- } catch (Exception e) {
- if (!(e instanceof IllegalArgumentException)) {
- out.println(JSFTestUtil.FAIL + " Exception thrown when passing 'id'"
- + " as the 'name' argument to setValueExpression(), but "
- + "it wasn't an instance of IllegalArgumentException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- try {
- component.setValueExpression("parent", expression);
- out.println(JSFTestUtil.FAIL + " No exception thrown when passin 'parent'"
- + " as the 'name' argument of setValueExpression().");
- } catch (Exception e) {
- if (!(e instanceof IllegalArgumentException)) {
- out.println(JSFTestUtil.FAIL + " Exception thrown when passing 'parent'"
- + " as the 'name' argument to setValueExpression(), but "
- + "it wasn't an instance of IllegalArgumentException.");
- out.println("Exception received: " + e.getClass().getName());
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiComponentVisitTreeTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
-
- UIComponent component = createComponent();
- String cName = component.getClass().getName();
-
- if (!component.visitTree(new TCKVisitContext(), new CompleteCallback())) {
- out.println(JSFTestUtil.FAIL + " expected " + cName + ".visitTree() "
- + "to return true.");
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- public void uiComponentVisitTreeNegTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
-
- UIComponent component = createComponent();
- String cName = component.getClass().getName();
-
- if (component.visitTree(new TCKVisitContext(), new RejectCallback())) {
- out.println(JSFTestUtil.FAIL + " expected " + cName + ".visitTree() "
- + "to return false.");
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // UIComponent.decode(FacesContext) throws NullPointerException
- public void uiComponentDecodeNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(createComponent().getClass(), "decode",
- new Class>[] { FacesContext.class }, new Object[] { null }, out);
- }
-
- // UIComponent.getContainerClientId(FacesContext) throws NullPointerException
- public void uiComponentGetContainerClientIdNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(createComponent().getClass(),
- "getContainerClientId", new Class>[] { FacesContext.class },
- new Object[] { null }, out);
- }
-
- // UIComponent.getContainerClientId(FacesContext)
- public void uiComponentGetContainerClientIdTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setViewId("/test");
- root.setId("root");
- UIComponent comp = createComponent();
- root.getChildren().add(comp);
-
- // Not much can be done here aside from ensuring the result is
- // not null.
- if (comp.getContainerClientId(context) == null) {
- out.println(JSFTestUtil.FAIL + " getContainerClientId() returned null.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ------------------------------------------------------- protected Classes
-
- protected static class TCKRenderer extends Renderer {
-
- private StringBuffer traceLog;
-
- private boolean rendersChildren = false;
-
- private Renderer wrapped;
-
- /**
- *
- * Creates a new TCKRenderer instance that calls into the
- * {@link Renderer} parent class.
- *
- */
- public TCKRenderer() {
- traceLog = new StringBuffer();
- }
-
- /**
- *
- * Creates a new TCKRenderer that wraps the provided
- * {@link Renderer}. All calls will be delegated to the wrapped instance.
- *
- *
- * @param wrapped
- * the {@link Renderer} to delegate calls to
- */
- public TCKRenderer(Renderer wrapped) {
- this();
- this.wrapped = wrapped;
- }
-
- /**
- *
- * Render the ending of the current state of the specified
- * {@link UIComponent}, following the rules described for
- * encodeBegin() to acquire the appropriate value to be
- * rendered.
- *
- *
- * @param context
- * {@link FacesContext} for the response we are creating
- * @param component
- * {@link UIComponent} to be rendered
- * @throws IOException
- * if an input/output error occurs while rendering
- * @throws NullPointerException
- * if context or component is
- * null
- */
- public void encodeEnd(FacesContext context, UIComponent component)
- throws IOException {
- if (context == null || component == null) {
- throw new NullPointerException();
- }
- traceLog.append("/EE");
- if (wrapped != null) {
- wrapped.encodeEnd(context, component);
- } else {
- super.encodeEnd(context, component);
- }
- }
-
- /**
- *
- * Render the child components of this {@link UIComponent}, following the
- * rules described for encodeBegin() to acquire the appropriate
- * value to be rendered. This method will only be called if the
- * rendersChildren property of this component is
- * true.
- *
- *
- * @param context
- * {@link FacesContext} for the response we are creating
- * @param component
- * {@link UIComponent} whose children are to be rendered
- * @throws IOException
- * if an input/output error occurs while rendering
- * @throws NullPointerException
- * if context or component is
- * null
- */
- public void encodeChildren(FacesContext context, UIComponent component)
- throws IOException {
-
- if (context == null || component == null) {
- throw new NullPointerException();
- }
- traceLog.append("/EC");
- if (wrapped != null) {
- wrapped.encodeChildren(context, component);
- } else {
- super.encodeChildren(context, component);
- }
- }
-
- /**
- *
- * Convert the component generated client id to a form suitable for
- * transmission to the client.
- *
- *
- *
- * The default implementation returns the argument clientId
- * unchanged.
- *
- *
- * @param context
- * {@link FacesContext} for the current request
- * @param clientId
- * the client identifier to be converted to client a specific
- * format.
- * @throws NullPointerException
- * if context or clientId is
- * null
- */
- public String convertClientId(FacesContext context, String clientId) {
- if (context == null || clientId == null) {
- throw new NullPointerException();
- }
- if (wrapped != null) {
- return wrapped.convertClientId(context, clientId);
- } else {
- return super.convertClientId(context, clientId);
- }
- }
-
- /**
- *
- * Return a flag indicating whether this renderer is responsible for
- * rendering the children the component it is asked to render. The default
- * implementation returns false.
- *
- * Decode the current state of the specified {@link UIComponent} from the
- * request contained in the specified {@link FacesContext}, and attempt to
- * convert this state information into an object of the type required for
- * this component (optionally using the registered {@link Converter} for
- * this component, if there is one).
- *
- *
- *
- * If conversion is successful:
- *
- *
- *
Save the new local value of this component by calling
- * setValue() and passing the new value.
- *
Set the value property of this component to
- * true.
- *
- *
- *
- * If conversion is not successful:
- *
- *
- *
Save the state information (inside the component) in such a way that
- * encoding can reproduce the previous input (even though it was
- * syntactically or semantically incorrect).
- *
Add an appropriate conversion failure error message by calling
- * addMessage() on the specified {@link FacesContext}.
- *
Set the valid property of this component to
- * false.
- *
- *
- *
- * During decoding, events may be enqueued for later processing (by event
- * listeners that have registered an interest), by calling
- * queueEvent() on the associated {@link UIComponent}.
- *
- *
- * @param context
- * {@link FacesContext} for the request we are processing
- * @param component
- * {@link UIComponent} to be decoded.
- * @throws NullPointerException
- * if context or component is
- * null
- */
- public void decode(FacesContext context, UIComponent component) {
-
- if (context == null || component == null) {
- throw new NullPointerException();
- }
- traceLog.append("/DC");
- if (wrapped != null) {
- wrapped.decode(context, component);
- } else {
- super.decode(context, component);
- }
- }
-
- /**
- *
- * Render the beginning specified {@link UIComponent} to the output stream
- * or writer associated with the response we are creating. If the conversion
- * attempted in a previous call to decode for this component
- * failed, the state information saved during execution of
- * decode() should be utilized to reproduce the incorrect
- * input. If the conversion was successful, or if there was no previous call
- * to decode(), the value to be displayed should be acquired by
- * calling component.currentValue(), and rendering the value as
- * appropriate.
- *
- *
- * @param context
- * {@link FacesContext} for the request we are processing
- * @param component
- * {@link UIComponent} to be rendered
- * @throws IOException
- * if an input/output error occurs while rendering
- * @throws NullPointerException
- * if context or component is null
- */
- public void encodeBegin(FacesContext context, UIComponent component)
- throws IOException {
-
- if (context == null || component == null) {
- throw new NullPointerException();
- }
- traceLog.append("/EB");
- if (wrapped != null) {
- wrapped.encodeBegin(context, component);
- } else {
- super.encodeBegin(context, component);
- }
- }
-
- /**
- *
- * Returns the content of the current trace log.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlCommandButton();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandbutton/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandbutton/URLClient.java
deleted file mode 100644
index a7c1b827e9..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandbutton/URLClient.java
+++ /dev/null
@@ -1,1177 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlcommandbutton;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uicommand.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_combutton_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ----------------------------------------------------------------
- // ActionSource
-
- /**
- * @testName: actionSourceSetIsImmediateTest
- * @assertion_ids: JSF:JAVADOC:397; JSF:JAVADOC:402
- * @test_Strategy: Verify {is,set}Immediate() - if a value is set, the same
- * value is returned.
- */
- public void actionSourceSetIsImmediateTest() throws EETest.Fault {
- super.actionSourceSetIsImmediateTest();
- }
-
- /**
- * @testName: actionSourceAddActListNPETest
- * @assertion_ids: JSF:JAVADOC:393; JSF:JAVADOC:457
- * @test_Strategy: Verify an NPE is thrown when attempting to pass a null
- * value to addActionListener().
- */
- public void actionSourceAddActListNPETest() throws EETest.Fault {
- super.actionSourceAddActListNPETest();
- }
-
- /**
- * @testName: actionSourceRemoveActListNPETest
- * @assertion_ids: JSF:JAVADOC:456; JSF:JAVADOC:399; JSF:JAVADOC:471
- * @test_Strategy: Verify an NPE is thrown when attempting to pass a null
- * value to addActionListener().
- */
- public void actionSourceRemoveActListNPETest() throws EETest.Fault {
- super.actionSourceRemoveActListNPETest();
- }
-
- /**
- * @testName: actionSourceAddGetRemoveActListTest
- * @assertion_ids: JSF:JAVADOC:392; JSF:JAVADOC:395; JSF:JAVADOC:398;
- * JSF:JAVADOC:396; JSF:JAVADOC:465
- * @test_Strategy: Verify the following: - If no ActionListeners have been
- * added, an empty array is returned. - Verify listeners added
- * are present in the array returned by getActionListeners().
- * - Verify listeners that have been removed are not present
- * in the array returned by getActionListeners().
- */
- public void actionSourceAddGetRemoveActListTest() throws EETest.Fault {
- super.actionSourceAddGetRemoveActListTest();
- }
-
- /**
- * @testName: actionSourceGetSetActionTest
- * @assertion_ids: JSF:JAVADOC:400; JSF:JAVADOC:462; JSF:JAVADOC:472
- * @test_Strategy: Verify {get,set}Action() - if a value is set, the same
- * value is returned.
- */
- public void actionSourceGetSetActionTest() throws EETest.Fault {
- super.actionSourceGetSetActionTest();
- }
-
- /**
- * @testName: actionSourceGetSetActListTest
- * @assertion_ids: JSF:JAVADOC:395; JSF:JAVADOC:401; JSF:JAVADOC:464;
- * JSF:JAVADOC:474
- * @test_Strategy: Verify {get,set}ActionListener() - if a value is set, the
- * same value is returned.
- */
- public void actionSourceGetSetActListTest() throws EETest.Fault {
- super.actionSourceGetSetActListTest();
- }
-
- // ----------------------------------------------------------- ActionSource2
-
- /**
- * @testName: actionSource2GetSetActionExpressionTest
- * @assertion_ids: JSF:JAVADOC:403; JSF:JAVADOC:403; JSF:JAVADOC:463;
- * JSF:JAVADOC:473
- * @test_Strategy: Verify {get,set}ActionExpression in ActionSource2
- * components accept and properly return a provided
- * MethodExpression instance.
- *
- * @since 1.2
- */
- public void actionSource2GetSetActionExpressionTest() throws Fault {
- super.actionSource2GetSetActionExpressionTest();
- }
-
- // --------------------------------------------------------------- UICommand
-
- /**
- * @testName: uiCommandSetGetValueTest
- * @assertion_ids: JSF:JAVADOC:467; JSF:JAVADOC:476
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void uiCommandSetGetValueTest() throws EETest.Fault {
- super.uiCommandSetGetValueTest();
- }
-
- /**
- * @testName: uiCommandBroadcastImmediateTest
- * @assertion_ids: JSF:JAVADOC:458
- * @testStrategy: Verify that if the UICommand instance has the immediate
- * property set to true, any registered Listeners will be
- * invoked during the APPLY_REQUEST_VALUES phase and in the
- * order they were registered.
- */
- public void uiCommandBroadcastImmediateTest() throws EETest.Fault {
- super.uiCommandBroadcastImmediateTest();
- }
-
- /**
- * @testName: uiCommandBroadcastInvokeActionListenerTest
- * @assertion_ids: JSF:JAVADOC:458
- * @testStrategy: Ensure Listeners associated with a UICommand via the
- * actionListenerRef property is invoked.
- */
- public void uiCommandBroadcastInvokeActionListenerTest() throws EETest.Fault {
- super.uiCommandBroadcastInvokeActionListenerTest();
- }
-
- /**
- * @testName: uiCommandBroadcastTest
- * @assertion_ids: JSF:JAVADOC:458
- * @testStrategy: Verify any Listeners registered with the UICommand instance
- * are invoked during the INVOKE_APPLICATION_PHASE and in order
- * of registration.
- */
- public void uiCommandBroadcastTest() throws EETest.Fault {
- super.uiCommandBroadcastTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandbutton/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandbutton/build.xml
deleted file mode 100644
index a50c1951d1..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandbutton/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandbutton/jsf_chtml_combutton_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandbutton/jsf_chtml_combutton_web.war.sun-web.xml
deleted file mode 100644
index 0ba336e702..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandbutton/jsf_chtml_combutton_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_combutton_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandbutton/jsf_chtml_combutton_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandbutton/jsf_chtml_combutton_web.xml
deleted file mode 100644
index 1760a74669..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandbutton/jsf_chtml_combutton_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_combutton
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlcommandbutton.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/TestServlet.java
deleted file mode 100644
index bac08be5da..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/TestServlet.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlcommandlink;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlCommandLink;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uicommand.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "charset", "coords",
- "dir", "hreflang", "lang", "onblur", "onclick", "ondblclick", "onfocus",
- "onkeydown", "onkeypress", "onkeyup", "onmousedown", "onmousemove",
- "onmouseout", "onmouseover", "onmouseup", "rel", "rev", "shape", "style",
- "styleClass", "tabindex", "target", "title", "type" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlCommandLink();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/URLClient.java
deleted file mode 100644
index bba16f9e23..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/URLClient.java
+++ /dev/null
@@ -1,1180 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlcommandlink;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uicommand.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_comlink_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */// ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483;
- * JSF:JAVADOC:620
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ----------------------------------------------------------------
- // ActionSource
-
- /**
- * @testName: actionSourceSetIsImmediateTest
- * @assertion_ids: JSF:JAVADOC:397; JSF:JAVADOC:402
- * @test_Strategy: Verify {is,set}Immediate() - if a value is set, the same
- * value is returned.
- */
- public void actionSourceSetIsImmediateTest() throws EETest.Fault {
- super.actionSourceSetIsImmediateTest();
- }
-
- /**
- * @testName: actionSourceAddActListNPETest
- * @assertion_ids: JSF:JAVADOC:393; JSF:JAVADOC:457
- * @test_Strategy: Verify an NPE is thrown when attempting to pass a null
- * value to addActionListener().
- */
- public void actionSourceAddActListNPETest() throws EETest.Fault {
- super.actionSourceAddActListNPETest();
- }
-
- /**
- * @testName: actionSourceRemoveActListNPETest
- * @assertion_ids: JSF:JAVADOC:456; JSF:JAVADOC:399; JSF:JAVADOC:471
- * @test_Strategy: Verify an NPE is thrown when attempting to pass a null
- * value to addActionListener().
- */
- public void actionSourceRemoveActListNPETest() throws EETest.Fault {
- super.actionSourceRemoveActListNPETest();
- }
-
- /**
- * @testName: actionSourceAddGetRemoveActListTest
- * @assertion_ids: JSF:JAVADOC:392; JSF:JAVADOC:395; JSF:JAVADOC:398;
- * JSF:JAVADOC:396; JSF:JAVADOC:465
- * @test_Strategy: Verify the following: - If no ActionListeners have been
- * added, an empty array is returned. - Verify listeners added
- * are present in the array returned by getActionListeners().
- * - Verify listeners that have been removed are not present
- * in the array returned by getActionListeners().
- */
- public void actionSourceAddGetRemoveActListTest() throws EETest.Fault {
- super.actionSourceAddGetRemoveActListTest();
- }
-
- /**
- * @testName: actionSourceGetSetActionTest
- * @assertion_ids: JSF:JAVADOC:400; JSF:JAVADOC:462; JSF:JAVADOC:472
- * @test_Strategy: Verify {get,set}Action() - if a value is set, the same
- * value is returned.
- */
- public void actionSourceGetSetActionTest() throws EETest.Fault {
- super.actionSourceGetSetActionTest();
- }
-
- /**
- * @testName: actionSourceGetSetActListTest
- * @assertion_ids: JSF:JAVADOC:395; JSF:JAVADOC:401; JSF:JAVADOC:464;
- * JSF:JAVADOC:474
- * @test_Strategy: Verify {get,set}ActionListener() - if a value is set, the
- * same value is returned.
- */
- public void actionSourceGetSetActListTest() throws EETest.Fault {
- super.actionSourceGetSetActListTest();
- }
-
- // --------------------------------------------------------------
- // ActionSource2
-
- /**
- * @testName: actionSource2GetSetActionExpressionTest
- * @assertion_ids: JSF:JAVADOC:403; JSF:JAVADOC:403; JSF:JAVADOC:463;
- * JSF:JAVADOC:473
- * @test_Strategy: Verify {get,set}ActionExpression in ActionSource2
- * components accept and properly return a provided
- * MethodExpression instance.
- *
- * @since 1.2
- */
- public void actionSource2GetSetActionExpressionTest() throws Fault {
- super.actionSource2GetSetActionExpressionTest();
- }
-
- // ------------------------------------------------------------------
- // UICommand
-
- /**
- * @testName: uiCommandSetGetValueTest
- * @assertion_ids: JSF:JAVADOC:467; JSF:JAVADOC:476
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void uiCommandSetGetValueTest() throws EETest.Fault {
- super.uiCommandSetGetValueTest();
- }
-
- /**
- * @testName: uiCommandBroadcastImmediateTest
- * @assertion_ids: JSF:JAVADOC:458
- * @testStrategy: Verify that if the UICommand instance has the immediate
- * property set to true, any registered Listeners will be
- * invoked during the APPLY_REQUEST_VALUES phase and in the
- * order they were registered.
- */
- public void uiCommandBroadcastImmediateTest() throws EETest.Fault {
- super.uiCommandBroadcastImmediateTest();
- }
-
- /**
- * @testName: uiCommandBroadcastInvokeActionListenerTest
- * @assertion_ids: JSF:JAVADOC:458
- * @testStrategy: Ensure Listeners associated with a UICommand via the
- * actionListenerRef property is invoked.
- */
- public void uiCommandBroadcastInvokeActionListenerTest() throws EETest.Fault {
- super.uiCommandBroadcastInvokeActionListenerTest();
- }
-
- /**
- * @testName: uiCommandBroadcastTest
- * @assertion_ids: JSF:JAVADOC:458
- * @testStrategy: Verify any Listeners registered with the UICommand instance
- * are invoked during the INVOKE_APPLICATION_PHASE and in order
- * of registration.
- */
- public void uiCommandBroadcastTest() throws EETest.Fault {
- super.uiCommandBroadcastTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/build.xml
deleted file mode 100644
index 3efae1f1c0..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/jsf_chtml_comlink_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/jsf_chtml_comlink_web.war.sun-web.xml
deleted file mode 100644
index c1ab0323b4..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/jsf_chtml_comlink_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_comlink_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/jsf_chtml_comlink_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/jsf_chtml_comlink_web.xml
deleted file mode 100644
index de3c3af136..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlcommandlink/jsf_chtml_comlink_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_comlink
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlcommandlink.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/TestServlet.java
deleted file mode 100644
index f1ad16aacf..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/TestServlet.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmldatatable;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlDataTable;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uidata.TestServlet {
-
- private static final String[] attrNames = { "bgcolor", "border",
- "cellpadding", "cellspacing", "columnClasses", "dir", "footerClass",
- "frame", "headerClass", "lang", "onclick", "ondblclick", "onkeydown",
- "onkeypress", "onkeyup", "onmousedown", "onmousemove", "onmouseout",
- "onmouseover", "onmouseup", "rowClasses", "rules", "style", "styleClass",
- "summary", "title", "width" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlDataTable();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/URLClient.java
deleted file mode 100644
index cd63336111..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/URLClient.java
+++ /dev/null
@@ -1,1003 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmldatatable;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uidata.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_datatab_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetContainerClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:508
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentGetContainerClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetContainerClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetContainerClientIdTest
- * @assertion_ids: JSF:JAVADOC:507
- * @test_Strategy: Validate a that we get a non null value return.
- */
- public void uiComponentGetContainerClientIdTest() throws EETest.Fault {
- super.uiComponentGetContainerClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643; JSF:JAVADOC:617; JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554; JSF:JAVADOC:649
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539; JSF:JAVADOC:649
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540; JSF:JAVADOC:649
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ----------------------------------------------------------------------
- // UIData
- /**
- * @testName: uiDataGetRowCountTest
- * @assertion_ids: JSF:JAVADOC:664
- * @test_Strategy: Verify the following: - No backing data; getRowCount()
- * returns -1 - Valid backing data, getRowCount() returns the
- * value as returned from DataModel.getRowCount();
- */
- public void uiDataGetRowCountTest() throws EETest.Fault {
- super.uiDataGetRowCountTest();
- }
-
- /**
- * @testName: uiDataGetRowDataIAETest
- * @assertion_ids: JSF:JAVADOC:668
- * @test_Strategy: Verify the following: - getRowData() throws IAE if the no
- * data is available at the specified index. In this case, the
- * index is out of range
- */
- public void uiDataGetRowDataIAETest() throws EETest.Fault {
- super.uiDataGetRowDataIAETest();
- }
-
- /**
- * @testName: uiDataGetRowDataTest
- * @assertion_ids: JSF:JAVADOC:666
- * @test_Strategy: Verify the following: - getRowData() returns the expected
- * object when specifying various row index values
- */
- public void uiDataGetRowDataTest() throws EETest.Fault {
- super.uiDataGetRowDataTest();
- }
-
- /**
- * @testName: uiDataGetSetFirstTest
- * @assertion_ids: JSF:JAVADOC:661; JSF:JAVADOC:688
- * @test_Strategy: Verify that getFirst() returns 0 on a newly created
- * component. Additionally verify that getFirst() will return
- * the value as set by setFirst().
- */
- public void uiDataGetSetFirstTest() throws EETest.Fault {
- super.uiDataGetSetFirstTest();
- }
-
- /**
- * @testName: uiDataGetSetRowIndexTest
- * @assertion_ids: JSF:JAVADOC:694
- * @test_Strategy: Verify the following: - getRowIndex returns -1 when called
- * against a newly created component. - if the var property
- * has been specified, and setRowIndex() is set to a valid
- * index, ensure the request scoped attribute name as
- * specified by var has the value as returned by
- * getDataValue(); - getRowIndex() returns the value as set by
- * setRowIndex()
- */
- public void uiDataGetSetRowIndexTest() throws EETest.Fault {
- super.uiDataGetSetRowIndexTest();
- }
-
- /**
- * @testName: uiDataGetSetRowsTest
- * @assertion_ids: JSF:JAVADOC:697; JSF:JAVADOC:671
- * @test_Strategy: Verify the following: - getRows() returns the value as
- * specified by setRows()
- */
- public void uiDataGetSetRowsTest() throws EETest.Fault {
- super.uiDataGetSetRowsTest();
- }
-
- /**
- * @testName: uiDataGetSetVarTest
- * @assertion_ids: JSF:JAVADOC:673; JSF:JAVADOC:706
- * @test_Strategy: Verify the following: - getVar() returns the value as
- * specified by setVar()
- */
- public void uiDataGetSetVarTest() throws EETest.Fault {
- super.uiDataGetSetVarTest();
- }
-
- /**
- * @testName: uiDataIsRowAvailableTest
- * @assertion_ids: JSF:JAVADOC:677
- * @test_Strategy: Verify the following: - No backing data; isRowAvailable()
- * returns false - Current row index is out of range;
- * isRowAvailable() returns false - Current row index points
- * to valid row, isRowAvailable() returns true
- */
- public void uiDataIsRowAvailableTest() throws EETest.Fault {
- super.uiDataIsRowAvailableTest();
- }
-
- /**
- * @testName: uiDataSetFirstIAETest
- * @assertion_ids: JSF:JAVADOC:661; JSF:JAVADOC:688
- * @test_Strategy: Verify setFirst() throws an IAE if the integer argument
- * provided is negative.
- */
- public void uiDataSetFirstIAETest() throws EETest.Fault {
- super.uiDataSetFirstIAETest();
- }
-
- /**
- * @testName: uiDataSetRowIndexIAETest
- * @assertion_ids: JSF:JAVADOC:696
- * @test_Strategy: Verify the following: - setRowIndex() throws IAE if the
- * integer value specified is less than -1
- */
- public void uiDataSetRowIndexIAETest() throws EETest.Fault {
- super.uiDataSetRowIndexIAETest();
- }
-
- /**
- * @testName: uiDataSetRowsIAETest
- * @assertion_ids: JSF:JAVADOC:689
- * @test_Strategy: Verify the following: - setRows() throws IAE if the integer
- * value specified is negative
- */
- public void uiDataSetRowsIAETest() throws EETest.Fault {
- super.uiDataSetRowsIAETest();
- }
-
- /**
- * @testName: uiDataGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:661; JSF:JAVADOC:688
- * @test_Strategy: Validate the value set vis setValue() is returned by
- * getValue().
- */
- public void uiDataGetSetValueTest() throws EETest.Fault {
- super.uiDataGetSetValueTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/build.xml
deleted file mode 100644
index e74d00c0a3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/jsf_chtml_datatab_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/jsf_chtml_datatab_web.war.sun-web.xml
deleted file mode 100644
index 9d0ab0e5f8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/jsf_chtml_datatab_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_datatab_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/jsf_chtml_datatab_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/jsf_chtml_datatab_web.xml
deleted file mode 100644
index c2ad7b7be8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmldatatable/jsf_chtml_datatab_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_datatab
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmldatatable.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/TestServlet.java
deleted file mode 100644
index 34c44966d6..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/TestServlet.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlform;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlForm;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiform.TestServlet {
-
- private static final String[] attrNames = { "accept", "acceptcharset", "dir",
- "enctype", "lang", "onclick", "ondblclick", "onkeydown", "onkeypress",
- "onkeyup", "onmousedown", "onmousemove", "onmouseout", "onmouseover",
- "onmouseup", "onreset", "onsubmit", "style", "styleClass", "target",
- "title" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- HtmlForm form = new HtmlForm();
- form.setSubmitted(true);
- return form;
- }
-
- protected UIComponent createForm(boolean submitted) {
- HtmlForm form = new HtmlForm();
- form.setSubmitted(submitted);
- return form;
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/URLClient.java
deleted file mode 100644
index 2110ef8d86..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/URLClient.java
+++ /dev/null
@@ -1,1109 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlform;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiform.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_form_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetContainerClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:508
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentGetContainerClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetContainerClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetContainerClientIdTest
- * @assertion_ids: JSF:JAVADOC:507
- * @test_Strategy: Validate a that we get a non null value return.
- */
- public void uiComponentGetContainerClientIdTest() throws EETest.Fault {
- super.uiComponentGetContainerClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: #
- * Ensure the UIForm's decode() method is called prior to
- * processing its children # Call the processDecodes() method
- * of all facets and children of this UIComponent. # Call the
- * decode() method of this component, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method. Enforce that extra requirement that
- * when saveState is called, the submitted property is set to
- * false. Finally verify that no state about the forms
- * submission state (i.e. the submitted property is true), the
- * value isn't saved in the state by restoring the state
- * object and ensuring that return value of isSubmitted() is
- * false.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ----------------------------------------------------------------------
- // UIForm
- /**
- * @testName: uiFormIsSetSubmittedTest
- * @assertion_ids: JSF:JAVADOC:714; JSF:JAVADOC:722
- * @test_Strategy: Verify the following: - The default return value of
- * isSubmitted() is false (on a newly created component) -
- * isSubmitted() returns the value as set by setSubmitted()
- */
- public void uiFormIsSetSubmittedTest() throws EETest.Fault {
- super.uiFormIsSetSubmittedTest();
- }
-
- /**
- * @testName: uiFormProcessUpdatesIsSubmittedTest
- * @assertion_ids: JSF:JAVADOC:718; JSF:JAVADOC:714; JSF:JAVADOC:722
- * @test_Strategy: Verify that the children of the UIForm component will be
- * processed if the UIForm's submitted is true; ensure the
- * inverse occurs when the submitted property is false.
- */
- public void uiFormProcessUpdatesIsSubmittedTest() throws EETest.Fault {
- super.uiFormProcessUpdatesIsSubmittedTest();
- }
-
- /**
- * @testName: uiFormProcessValidationsIsSubmittedTest
- * @assertion_ids: JSF:JAVADOC:714; JSF:JAVADOC:722; JSF:JAVADOC:719
- * @test_Strategy: Verify that the children of the UIForm component will be
- * processed if the UIForm's submitted is true; ensure the
- * inverse occurs when the submitted property is false.
- */
- public void uiFormProcessValidationsIsSubmittedTest() throws EETest.Fault {
- super.uiFormProcessValidationsIsSubmittedTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/build.xml
deleted file mode 100644
index f5fef42a0e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/jsf_chtml_form_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/jsf_chtml_form_web.war.sun-web.xml
deleted file mode 100644
index 6befa7f3d0..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/jsf_chtml_form_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_form_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/jsf_chtml_form_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/jsf_chtml_form_web.xml
deleted file mode 100644
index 05e9cfe4b5..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlform/jsf_chtml_form_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_form
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlform.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/TestServlet.java
deleted file mode 100644
index 20516456b4..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/TestServlet.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlgraphicimage;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlGraphicImage;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uigraphic.TestServlet {
-
- private static final String[] attrNames = { "alt", "dir", "height", "lang",
- "longdesc", "onclick", "ondblclick", "onkeydown", "onkeypress", "onkeyup",
- "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup",
- "style", "styleClass", "title", "usemap", "width", "ismap" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlGraphicImage();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/URLClient.java
deleted file mode 100644
index 26a8749dc1..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/URLClient.java
+++ /dev/null
@@ -1,1082 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlgraphicimage;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uigraphic.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_gimage_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // -------------------------------------------------------------------
- // UIGraphic
-
- /**
- * @testName: uiGraphicSetGetValueTest
- * @assertion_ids: JSF:JAVADOC:727; JSF:JAVADOC:733
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void uiGraphicSetGetValueTest() throws EETest.Fault {
- super.uiGraphicSetGetValueTest();
- }
-
- /**
- * @testName: uiGraphicGetSetURLTest
- * @assertion_ids: JSF:JAVADOC:726; JSF:JAVADOC:732
- * @test_Strategy: Verify {get,set}URL() - if a URL value is set, the same
- * value is returned.
- */
- public void uiGraphicGetSetURLTest() throws EETest.Fault {
- super.uiGraphicGetSetURLTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/build.xml
deleted file mode 100644
index 23a8dd4007..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/jsf_chtml_gimage_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/jsf_chtml_gimage_web.war.sun-web.xml
deleted file mode 100644
index 8e84ffae62..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/jsf_chtml_gimage_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_gimage_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/jsf_chtml_gimage_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/jsf_chtml_gimage_web.xml
deleted file mode 100644
index 7b4582129b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlgraphicimage/jsf_chtml_gimage_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_gimage
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlgraphicimage.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/TestServlet.java
deleted file mode 100644
index 4529d265da..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/TestServlet.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputfile;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlInputFile;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.annotation.MultipartConfig;
-
-@MultipartConfig
-public final class TestServlet
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.TestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlInputFile();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/URLClient.java
deleted file mode 100644
index 815d8a9c43..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/URLClient.java
+++ /dev/null
@@ -1,1303 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputfile;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_infile_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the cureent component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // -------------------------------------------------- EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
-
- // ----------------------------------------------------------------- UIInput
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- super.uiInputValidate3aTest();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- super.uiInputValidate3bTest();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws EETest.Fault {
- super.uiInputValidate3cTest();
- }
-
- /**
- * @testName: uiInputValidate4Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify
- * if an exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate4Test() throws EETest.Fault {
- super.uiInputValidate4Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate5Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueBinding, get the use the type to
- * create a Converter for that type and use it to convert the
- * submitted value. Additionally verify if an exception is
- * thrown during the conversion process, a message is queued
- * to the FacesContext and the component is marked invalid.
- */
- public void uiInputValidate5Test() throws EETest.Fault {
- super.uiInputValidate5Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/build.xml
deleted file mode 100644
index 857ff611b1..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/jsf_chtml_infile_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/jsf_chtml_infile_web.xml
deleted file mode 100644
index df723a8def..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/jsf_chtml_infile_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_infile_web
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputfile.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/jsf_chtml_inhidden_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/jsf_chtml_inhidden_web.war.sun-web.xml
deleted file mode 100644
index c47aead730..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputfile/jsf_chtml_inhidden_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_infile_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/TestServlet.java
deleted file mode 100644
index 630c3703b4..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/TestServlet.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputhidden;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlInputHidden;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.TestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlInputHidden();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/URLClient.java
deleted file mode 100644
index 4d80f6a1a1..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/URLClient.java
+++ /dev/null
@@ -1,1360 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputhidden;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_inhidden_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the cureent component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // -------------------------------------------------- EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
-
- // ----------------------------------------------------------------- UIInput
-
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- super.uiInputValidate3aTest();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- super.uiInputValidate3bTest();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws EETest.Fault {
- super.uiInputValidate3cTest();
- }
-
- /**
- * @testName: uiInputValidate4Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify
- * if an exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate4Test() throws EETest.Fault {
- super.uiInputValidate4Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate5Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueBinding, get the use the type to
- * create a Converter for that type and use it to convert the
- * submitted value. Additionally verify if an exception is
- * thrown during the conversion process, a message is queued
- * to the FacesContext and the component is marked invalid.
- */
- public void uiInputValidate5Test() throws EETest.Fault {
- super.uiInputValidate5Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/build.xml
deleted file mode 100644
index 0463f350d8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/jsf_chtml_inhidden_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/jsf_chtml_inhidden_web.war.sun-web.xml
deleted file mode 100644
index 9fdf5a6aff..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/jsf_chtml_inhidden_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_inhidden_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/jsf_chtml_inhidden_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/jsf_chtml_inhidden_web.xml
deleted file mode 100644
index 18d0dfc1a2..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputhidden/jsf_chtml_inhidden_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_inhidden_web
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputhidden.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/TestServlet.java
deleted file mode 100644
index 0244dc4b31..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/TestServlet.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputsecret;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlInputSecret;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "alt",
- "autocomplete", "dir", "lang", "maxlength", "onblur", "onchange",
- "onclick", "ondblclick", "onfocus", "onkeydown", "onkeypress", "onkeyup",
- "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup",
- "onselect", "size", "style", "styleClass", "tabindex", "title",
- "disabled", "readonly", "redisplay" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlInputSecret();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/URLClient.java
deleted file mode 100644
index d7c79fde90..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/URLClient.java
+++ /dev/null
@@ -1,1376 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputsecret;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_insecret_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return
- * false.
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // -------------------------------------------------------------- ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // -------------------------------------------------- EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
- // ----------------------------------------------------------------- UIInput
-
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- super.uiInputValidate3aTest();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- super.uiInputValidate3bTest();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws EETest.Fault {
- super.uiInputValidate3cTest();
- }
-
- /**
- * @testName: uiInputValidate4Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify
- * if an exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate4Test() throws EETest.Fault {
- super.uiInputValidate4Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate5Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueBinding, get the use the type to
- * create a Converter for that type and use it to convert the
- * submitted value. Additionally verify if an exception is
- * thrown during the conversion process, a message is queued
- * to the FacesContext and the component is marked invalid.
- */
- public void uiInputValidate5Test() throws EETest.Fault {
- super.uiInputValidate5Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/build.xml
deleted file mode 100644
index 2066b8fcc2..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/jsf_chtml_insecret_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/jsf_chtml_insecret_web.war.sun-web.xml
deleted file mode 100644
index 14bea5cae1..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/jsf_chtml_insecret_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_insecret_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/jsf_chtml_insecret_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/jsf_chtml_insecret_web.xml
deleted file mode 100644
index 008cf85d8e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputsecret/jsf_chtml_insecret_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_insecret_web
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputsecret.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/TestServlet.java
deleted file mode 100644
index e42a143668..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/TestServlet.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputtext;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlInputText;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "alt",
- "autocomplete", "dir", "lang", "maxlength", "onblur", "onchange",
- "onclick", "ondblclick", "onfocus", "onkeydown", "onkeypress", "onkeyup",
- "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup",
- "onselect", "size", "style", "tabindex", "title", "disabled",
- "readonly" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlInputText();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/URLClient.java
deleted file mode 100644
index 3eba3c832f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/URLClient.java
+++ /dev/null
@@ -1,1351 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputtext;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_intext_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // -------------------------------------------------- EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
-
- // ----------------------------------------------------------------- UIInput
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- super.uiInputValidate3aTest();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- super.uiInputValidate3bTest();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws EETest.Fault {
- super.uiInputValidate3cTest();
- }
-
- /**
- * @testName: uiInputValidate4Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify
- * if an exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate4Test() throws EETest.Fault {
- super.uiInputValidate4Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate5Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueBinding, get the use the type to
- * create a Converter for that type and use it to convert the
- * submitted value. Additionally verify if an exception is
- * thrown during the conversion process, a message is queued
- * to the FacesContext and the component is marked invalid.
- */
- public void uiInputValidate5Test() throws EETest.Fault {
- super.uiInputValidate5Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/build.xml
deleted file mode 100644
index 722ec19b0b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/jsf_chtml_intext_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/jsf_chtml_intext_web.war.sun-web.xml
deleted file mode 100644
index 15712c082b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/jsf_chtml_intext_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_intext_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/jsf_chtml_intext_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/jsf_chtml_intext_web.xml
deleted file mode 100644
index 00f250bb08..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtext/jsf_chtml_intext_web.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-jsf_chtml_intext
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputtext.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/TestServlet.java
deleted file mode 100644
index d5add318f8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/TestServlet.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputtextarea;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlInputTextarea;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "cols", "dir",
- "lang", "onblur", "onchange", "onclick", "ondblclick", "onfocus",
- "onkeydown", "onkeypress", "onkeyup", "onmousedown", "onmousemove",
- "onmouseout", "onmouseover", "onmouseup", "onselect", "rows", "style",
- "styleClass", "tabindex", "title", "disabled", "readonly" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlInputTextarea();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/URLClient.java
deleted file mode 100644
index a7c17d1187..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/URLClient.java
+++ /dev/null
@@ -1,1374 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputtextarea;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_intextarea_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // -------------------------------------------------- EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
-
- // ----------------------------------------------------------------- UIInput
-
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * ref are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test();
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test();
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- super.uiInputValidate3aTest();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- super.uiInputValidate3bTest();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws EETest.Fault {
- super.uiInputValidate3cTest();
- }
-
- /**
- * @testName: uiInputValidate4Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify
- * if an exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate4Test() throws EETest.Fault {
- super.uiInputValidate4Test();
- }
-
- /**
- * @testName: uiInputValidate5Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueBinding, get the use the type to
- * create a Converter for that type and use it to convert the
- * submitted value. Additionally verify if an exception is
- * thrown during the conversion process, a message is queued
- * to the FacesContext and the component is marked invalid.
- */
- public void uiInputValidate5Test() throws EETest.Fault {
- super.uiInputValidate5Test();
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/build.xml
deleted file mode 100644
index a91fb5be2c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/build.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/jsf_chtml_intextarea_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/jsf_chtml_intextarea_web.war.sun-web.xml
deleted file mode 100644
index b691831d96..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/jsf_chtml_intextarea_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_intextarea_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/jsf_chtml_intextarea_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/jsf_chtml_intextarea_web.xml
deleted file mode 100644
index 052e816050..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlinputtextarea/jsf_chtml_intextarea_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_intextarea
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlinputtextarea.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/TestServlet.java
deleted file mode 100644
index 3810a43aa8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/TestServlet.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlmessage;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlMessage;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uimessage.TestServlet {
-
- private static final String[] attrNames = { "errorClass", "errorStyle",
- "fatalClass", "fatalStyle", "infoClass", "infoStyle", "style",
- "styleClass", "title", "warnClass", "warnStyle", "tooltip", "dir",
- "lang" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlMessage();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/URLClient.java
deleted file mode 100644
index 85bb5637fd..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/URLClient.java
+++ /dev/null
@@ -1,1062 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlmessage;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uimessage.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_message_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/build.xml
deleted file mode 100644
index e532634fa1..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/jsf_chtml_message_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/jsf_chtml_message_web.war.sun-web.xml
deleted file mode 100644
index d9145232c8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/jsf_chtml_message_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_message_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/jsf_chtml_message_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/jsf_chtml_message_web.xml
deleted file mode 100644
index 19fa947fd6..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessage/jsf_chtml_message_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_message
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlmessage.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/TestServlet.java
deleted file mode 100644
index 77decff49e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/TestServlet.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlmessages;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlMessages;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uimessages.TestServlet {
-
- private static final String[] attrNames = { "errorClass", "errorStyle",
- "fatalClass", "fatalStyle", "infoClass", "infoStyle", "style",
- "styleClass", "title", "warnClass", "warnStyle", "tooltip", "layout",
- "dir", "lang" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlMessages();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/URLClient.java
deleted file mode 100644
index 7f4bb5170b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/URLClient.java
+++ /dev/null
@@ -1,1062 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlmessages;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uimessages.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_messages_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return
- * false.
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/build.xml
deleted file mode 100644
index c4c6eb74bf..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/jsf_chtml_messages_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/jsf_chtml_messages_web.war.sun-web.xml
deleted file mode 100644
index b130292123..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/jsf_chtml_messages_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_messages_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/jsf_chtml_messages_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/jsf_chtml_messages_web.xml
deleted file mode 100644
index 24904c434f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlmessages/jsf_chtml_messages_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_messages
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlmessages.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/TestServlet.java
deleted file mode 100644
index d6f99a2110..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/TestServlet.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutcometargetbutton;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlOutcomeTargetButton;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutcometarget.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "alt", "dir",
- "image", "lang", "onblur", "onclick", "ondblclick", "onfocus",
- "onkeydown", "onkeypress", "onkeyup", "onmousedown", "onmousemove",
- "onmouseout", "onmouseover", "onmouseup", "style", "styleClass",
- "tabindex", "title" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlOutcomeTargetButton();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/URLClient.java
deleted file mode 100644
index c5d31d49a6..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/URLClient.java
+++ /dev/null
@@ -1,1184 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutcometargetbutton;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_outcometargetbutton_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- *
- * @since 2.0
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- *
- * @since 2.0
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- *
- * @since 2.0
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- *
- * @since 2.0
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- *
- * @since 2.0
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- * @since 2.0
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- *
- * @since 2.0
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- *
- * @since 2.0
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- *
- * @since 2.0
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- *
- * @since 2.0
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- *
- * @since 2.0
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- *
- * @since 2.0
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- *
- * @since 2.0
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- *
- * @since 2.0
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- *
- * @since 2.0
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- *
- * @since 2.0
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- *
- * @since 2.0
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- *
- * @since 2.0
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- *
- * @since 2.0
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- *
- * @since 2.0
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- *
- * @since 2.0
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- *
- * @since 2.0
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- *
- * @since 2.0
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- *
- * @since 2.0
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- *
- * @since 2.0
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- *
- * @since 2.0
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- *
- * @since 2.0
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- *
- * @since 2.0
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- *
- * @since 2.0
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- *
- * @since 2.0
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- *
- * @since 2.0
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- *
- * @since 2.0
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- *
- * @since 2.0
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- *
- * @since 2.0
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- *
- *
- * @since 2.0
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- *
- * @since 2.0
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- *
- * @since 2.0
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- *
- * @since 2.0
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- *
- * @since 2.0
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- *
- * @since 2.0
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ------------------------------------------------------------- ValueHolder
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- *
- * @since 2.0
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- *
- * @since 2.0
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- *
- * @since 2.0
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/build.xml
deleted file mode 100644
index 58bab67808..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/jsf_chtml_outcometargetbutton_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/jsf_chtml_outcometargetbutton_web.war.sun-web.xml
deleted file mode 100644
index cb4d0b84d9..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/jsf_chtml_outcometargetbutton_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_outcometargetbutton_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/jsf_chtml_outcometargetbutton_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/jsf_chtml_outcometargetbutton_web.xml
deleted file mode 100644
index 9b703784d7..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetbutton/jsf_chtml_outcometargetbutton_web.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- jsf_chtml_outcometargetbutton
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutcometargetbutton.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/TestServlet.java
deleted file mode 100644
index 7594a007d7..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/TestServlet.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutcometargetlink;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlOutcomeTargetLink;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutcometarget.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "dir", "lang",
- "onblur", "onclick", "ondblclick", "onfocus", "onkeydown", "onkeypress",
- "onkeyup", "onmousedown", "onmousemove", "onmouseout", "onmouseover",
- "onmouseup", "style", "styleClass", "tabindex", "title" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlOutcomeTargetLink();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/URLClient.java
deleted file mode 100644
index 5d1b375085..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/URLClient.java
+++ /dev/null
@@ -1,1184 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutcometargetlink;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_outcometargetlink_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- *
- * @since 2.0
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- *
- * @since 2.0
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- *
- * @since 2.0
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- *
- * @since 2.0
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- *
- * @since 2.0
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- * @since 2.0
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- *
- * @since 2.0
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- *
- * @since 2.0
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- *
- * @since 2.0
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- *
- * @since 2.0
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- *
- * @since 2.0
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- *
- * @since 2.0
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- *
- * @since 2.0
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- *
- * @since 2.0
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- *
- * @since 2.0
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- *
- * @since 2.0
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- *
- * @since 2.0
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- *
- * @since 2.0
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- *
- * @since 2.0
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- *
- * @since 2.0
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- *
- * @since 2.0
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- *
- * @since 2.0
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- *
- * @since 2.0
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- *
- * @since 2.0
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- *
- * @since 2.0
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- *
- * @since 2.0
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- *
- * @since 2.0
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- *
- * @since 2.0
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- *
- * @since 2.0
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- *
- * @since 2.0
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- *
- * @since 2.0
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- *
- * @since 2.0
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- *
- * @since 2.0
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- *
- * @since 2.0
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- *
- * @since 2.0
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- *
- *
- * @since 2.0
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- *
- * @since 2.0
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- *
- * @since 2.0
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- *
- * @since 2.0
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- *
- * @since 2.0
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- *
- * @since 2.0
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ------------------------------------------------------------- ValueHolder
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- *
- * @since 2.0
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- *
- * @since 2.0
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- *
- * @since 2.0
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/build.xml
deleted file mode 100644
index d77bb98dec..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/jsf_chtml_outcometargetlink_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/jsf_chtml_outcometargetlink_web.war.sun-web.xml
deleted file mode 100644
index 72e06bf47e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/jsf_chtml_outcometargetlink_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_outcometargetlink_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/jsf_chtml_outcometargetlink_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/jsf_chtml_outcometargetlink_web.xml
deleted file mode 100644
index bd3f1d655e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutcometargetlink/jsf_chtml_outcometargetlink_web.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- jsf_chtml_outcometargetlink
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutcometargetlink.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/TestServlet.java
deleted file mode 100644
index 294282ab66..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/TestServlet.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutputformat;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlOutputFormat;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput.TestServlet {
-
- private static final String[] attrNames = { "style", "styleClass", "title",
- "escape", "dir", "lang" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlOutputFormat();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/URLClient.java
deleted file mode 100644
index c12b7112c2..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/URLClient.java
+++ /dev/null
@@ -1,1076 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutputformat;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_outformat_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return
- * false.
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // -------------------------------------------------------------- ValueHolder
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/build.xml
deleted file mode 100644
index e4b21d2bf0..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/jsf_chtml_outformat_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/jsf_chtml_outformat_web.war.sun-web.xml
deleted file mode 100644
index dffe614dc5..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/jsf_chtml_outformat_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_outformat_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/jsf_chtml_outformat_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/jsf_chtml_outformat_web.xml
deleted file mode 100644
index 10e75de79d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputformat/jsf_chtml_outformat_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_outformat
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutputformat.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/TestServlet.java
deleted file mode 100644
index 6f5540d426..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/TestServlet.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutputlabel;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlOutputLabel;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "dir", "for", "lang",
- "onblur", "onclick", "ondblclick", "onfocus", "onkeydown", "onkeypress",
- "onkeyup", "onmousedown", "onmousemove", "onmouseout", "onmouseover",
- "onmouseup", "style", "styleClass", "tabindex", "title" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlOutputLabel();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/URLClient.java
deleted file mode 100644
index c631781b44..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/URLClient.java
+++ /dev/null
@@ -1,1076 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutputlabel;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_outlabel_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ------------------------------------------------------------- ValueHolder
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/build.xml
deleted file mode 100644
index beb12d168c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/jsf_chtml_outlabel_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/jsf_chtml_outlabel_web.war.sun-web.xml
deleted file mode 100644
index e172963d83..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/jsf_chtml_outlabel_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_outlabel_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/jsf_chtml_outlabel_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/jsf_chtml_outlabel_web.xml
deleted file mode 100644
index 743184067f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlabel/jsf_chtml_outlabel_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_outlabel
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutputlabel.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/TestServlet.java
deleted file mode 100644
index 0e65596f3f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/TestServlet.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutputlink;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlOutputLink;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "charset", "coords",
- "dir", "hreflang", "lang", "onblur", "onclick", "ondblclick", "onfocus",
- "onkeydown", "onkeypress", "onkeyup", "onmousedown", "onmousemove",
- "onmouseout", "onmouseover", "onmouseup", "rel", "rev", "shape", "style",
- "styleClass", "tabindex", "target", "title", "type" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlOutputLink();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/URLClient.java
deleted file mode 100644
index 4c61a8250b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/URLClient.java
+++ /dev/null
@@ -1,1084 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutputlink;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_outlink_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/build.xml
deleted file mode 100644
index d6235db783..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/jsf_chtml_outlink_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/jsf_chtml_outlink_web.war.sun-web.xml
deleted file mode 100644
index 00f2842616..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/jsf_chtml_outlink_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_outlink_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/jsf_chtml_outlink_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/jsf_chtml_outlink_web.xml
deleted file mode 100644
index 6cb2e4a39d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputlink/jsf_chtml_outlink_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_outlink
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutputlink.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/TestServlet.java
deleted file mode 100644
index ca2f578877..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/TestServlet.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutputtext;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlOutputText;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput.TestServlet {
-
- private static final String[] attrNames = { "style", "styleClass", "title",
- "escape", "dir", "lang" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlOutputText();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/URLClient.java
deleted file mode 100644
index 6c275151dc..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/URLClient.java
+++ /dev/null
@@ -1,1084 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutputtext;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_outtext_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/build.xml
deleted file mode 100644
index a3e4fb77ea..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/jsf_chtml_outtext_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/jsf_chtml_outtext_web.war.sun-web.xml
deleted file mode 100644
index 7b934ebaff..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/jsf_chtml_outtext_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_outtext_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/jsf_chtml_outtext_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/jsf_chtml_outtext_web.xml
deleted file mode 100644
index d4d4490df8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmloutputtext/jsf_chtml_outtext_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_outtext
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmloutputtext.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/TestServlet.java
deleted file mode 100644
index 3fe4278116..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/TestServlet.java
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlpanelgrid;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlPanelGrid;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uipanel.TestServlet {
-
- private static final String[] attrNames = { "bgcolor", "border",
- "cellpadding", "cellspacing", "columnClasses", "columns", "dir",
- "footerClass", "frame", "headerClass", "lang", "onclick", "ondblclick",
- "onkeydown", "onkeypress", "onkeyup", "onmousedown", "onmousemove",
- "onmouseout", "onmouseover", "onmouseup", "rowClasses", "rules", "style",
- "styleClass", "summary", "title", "width" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlPanelGrid();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/URLClient.java
deleted file mode 100644
index 3e029debb8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/URLClient.java
+++ /dev/null
@@ -1,1055 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlpanelgrid;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uipanel.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_panelgrid_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/build.xml
deleted file mode 100644
index c01f9744f7..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/jsf_chtml_panelgrid_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/jsf_chtml_panelgrid_web.war.sun-web.xml
deleted file mode 100644
index 60b4c6f26f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/jsf_chtml_panelgrid_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_panelgrid_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/jsf_chtml_panelgrid_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/jsf_chtml_panelgrid_web.xml
deleted file mode 100644
index 86d26df10d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgrid/jsf_chtml_panelgrid_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_panelgrid
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlpanelgrid.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/TestServlet.java
deleted file mode 100644
index d5481717cc..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/TestServlet.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlpanelgroup;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlPanelGroup;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uipanel.TestServlet {
-
- private static final String[] attrNames = { "style", "styleClass" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlPanelGroup();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/URLClient.java
deleted file mode 100644
index f75f4152f9..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/URLClient.java
+++ /dev/null
@@ -1,1055 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlpanelgroup;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uipanel.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_panelgroup_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/build.xml
deleted file mode 100644
index 35f3b2e4cf..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/jsf_chtml_panelgroup_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/jsf_chtml_panelgroup_web.war.sun-web.xml
deleted file mode 100644
index 72dd9837ba..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/jsf_chtml_panelgroup_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_panelgroup_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/jsf_chtml_panelgroup_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/jsf_chtml_panelgroup_web.xml
deleted file mode 100644
index 8f1ff8ec57..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlpanelgroup/jsf_chtml_panelgroup_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_panelgroup
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlpanelgroup.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/TestServlet.java
deleted file mode 100644
index 35a56866db..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/TestServlet.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectbooleancheckbox;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlSelectBooleanCheckbox;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectboolean.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "dir", "lang",
- "onblur", "onchange", "onclick", "ondblclick", "onfocus", "onkeydown",
- "onkeypress", "onkeyup", "onmousedown", "onmousemove", "onmouseout",
- "onmouseover", "onmouseup", "onselect", "style", "styleClass", "tabindex",
- "title", "disabled", "readonly" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlSelectBooleanCheckbox();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/URLClient.java
deleted file mode 100644
index 1d8c73eb58..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/URLClient.java
+++ /dev/null
@@ -1,1371 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectbooleancheckbox;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectboolean.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_selbchkbox_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // -----------------------------------------------------------------
- // ValueHolder
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ------------------------------------------------------
- // EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
-
- // ----------------------------------------------------------------- UIInput
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- super.uiInputValidate3aTest();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- super.uiInputValidate3bTest();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws EETest.Fault {
- super.uiInputValidate3cTest();
- }
-
- /**
- * @testName: uiInputValidate4Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify
- * if an exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate4Test() throws EETest.Fault {
- super.uiInputValidate4Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate5Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueBinding, get the use the type to
- * create a Converter for that type and use it to convert the
- * submitted value. Additionally verify if an exception is
- * thrown during the conversion process, a message is queued
- * to the FacesContext and the component is marked invalid.
- */
- public void uiInputValidate5Test() throws EETest.Fault {
- super.uiInputValidate5Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/build.xml
deleted file mode 100644
index 3b926993d7..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/jsf_chtml_selbchkbox_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/jsf_chtml_selbchkbox_web.war.sun-web.xml
deleted file mode 100644
index 68b41f001d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/jsf_chtml_selbchkbox_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_selbchkbox_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/jsf_chtml_selbchkbox_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/jsf_chtml_selbchkbox_web.xml
deleted file mode 100644
index b674e5ae59..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectbooleancheckbox/jsf_chtml_selbchkbox_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_selbchkbox
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectbooleancheckbox.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/TestServlet.java
deleted file mode 100644
index 63f0bac89c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/TestServlet.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectmanycheckbox;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKValueChangeListener;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.component.html.HtmlSelectManyCheckbox;
-import jakarta.faces.context.FacesContext;
-import jakarta.el.MethodExpression;
-import jakarta.faces.event.PhaseId;
-import jakarta.faces.event.ValueChangeEvent;
-import jakarta.faces.event.MethodExpressionValueChangeListener;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectmany.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "border", "dir",
- "disabledClass", "enabledClass", "lang", "layout", "onblur", "onchange",
- "onclick", "ondblclick", "onfocus", "onkeydown", "onkeypress", "onkeyup",
- "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup",
- "onselect", "style", "styleClass", "tabindex", "title", "disabled",
- "readonly", "disabledClass", "enabledClass" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlSelectManyCheckbox();
- }
-
- // ------------------------------------------- Test Methods ----
-
- // Test event queuing and broadcasting (any phase listeners)
- public void uiInputBroadcastTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext facesContext = getFacesContext();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- UIViewRoot root = facesContext.getApplication().getViewHandler()
- .createView(facesContext, "/root");
- root.getChildren().add(input);
- ValueChangeEvent event = new ValueChangeEvent(input, null, null);
- event.setPhaseId(PhaseId.PROCESS_VALIDATIONS);
-
- // Register three listeners
- input.addValueChangeListener(new TCKValueChangeListener("AP0"));
- input.addValueChangeListener(new TCKValueChangeListener("AP1"));
- input.addValueChangeListener(new TCKValueChangeListener("AP2"));
-
- // Fire events and evaluate results
- TCKValueChangeListener.trace(null);
- input.queueEvent(event);
- root.processDecodes(facesContext);
- root.processValidators(facesContext);
- root.processApplication(facesContext);
- String trace = TCKValueChangeListener.trace();
- String expectedTrace = "/AP0@PROCESS_VALIDATIONS/AP1@PROCESS_VALIDATIONS/AP2@PROCESS_VALIDATIONS";
- if (!expectedTrace.equals(trace)) {
- out.println(JSFTestUtil.FAIL + " Unexpected listener trace.");
- out.println("Expected trace: " + expectedTrace);
- out.println("Trace received: " + trace);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputBroadcastValueChangeListenerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext facesContext = getFacesContext();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- UIViewRoot root = new UIViewRoot();
- root.getChildren().add(input);
-
- TCKValueChangeListener listener = new TCKValueChangeListener("VCLR");
-
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(
- facesContext.getELContext(), "#{requestScope.reqVCL.processValueChange}", null,
- new Class[] { ValueChangeEvent.class });
- MethodExpressionValueChangeListener lnr = new MethodExpressionValueChangeListener(binding);
-
- request.setAttribute("reqVCL", listener);
- input.addValueChangeListener(lnr);
-
- ValueChangeEvent event = new ValueChangeEvent(input, null, null);
- event.setPhaseId(PhaseId.PROCESS_VALIDATIONS);
- TCKValueChangeListener.trace(null);
- input.queueEvent(event);
- root.processDecodes(facesContext);
- root.processValidators(facesContext);
- root.processApplication(facesContext);
-
- String trace = TCKValueChangeListener.trace();
-
- if (trace.length() == 0) {
- out.println(JSFTestUtil.FAIL + " The ValueChangeListener as referenced"
- + " by ValueChangeListenerRef 'requestScope.reqVCL.processValueChange'"
- + " was not invoked.");
- return;
- }
-
- if (!"/VCLR@PROCESS_VALIDATIONS".equals(trace)) {
- out.println(JSFTestUtil.FAIL + " Unexpected Listener trace.");
- out.println("Expected: /VCLR@PROCESS_VALIDATIONS");
- out.println("Received: " + trace);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/URLClient.java
deleted file mode 100644
index 6c7e32f14b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/URLClient.java
+++ /dev/null
@@ -1,1363 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectmanycheckbox;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectmany.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_selmchkbox_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ------------------------------------------------------
- // EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
-
- // ----------------------------------------------------------------- UIInput
-
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * ref are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- super.uiInputValidate3aTest();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- super.uiInputValidate3bTest();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws EETest.Fault {
- super.uiInputValidate3cTest();
- }
-
- /**
- * @testName: uiInputValidate6Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: If the selected item is not one of the available sections,
- * ensure a message is queued to the FacesContext and the
- * component is marked invalid.
- */
- public void uiInputValidate6Test() throws EETest.Fault {
- super.uiInputValidate6Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/build.xml
deleted file mode 100644
index c93b5d4df2..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/jsf_chtml_selmchkbox_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/jsf_chtml_selmchkbox_web.war.sun-web.xml
deleted file mode 100644
index 2884b299e3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/jsf_chtml_selmchkbox_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_selmchkbox_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/jsf_chtml_selmchkbox_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/jsf_chtml_selmchkbox_web.xml
deleted file mode 100644
index 888a31c0df..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanycheckbox/jsf_chtml_selmchkbox_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_selmchkbox
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectmanycheckbox.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/TestServlet.java
deleted file mode 100644
index 54633b0def..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/TestServlet.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectmanylistbox;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlSelectManyListbox;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectmany.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "dir", "lang",
- "onblur", "onchange", "onclick", "ondblclick", "onfocus", "onkeydown",
- "onkeypress", "onkeyup", "onmousedown", "onmousemove", "onmouseout",
- "onmouseover", "onmouseup", "size", "style", "styleClass", "tabindex",
- "title", "disabled", "readonly", "disabledClass", "enabledClass" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlSelectManyListbox();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/URLClient.java
deleted file mode 100644
index 7bdf4e8677..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/URLClient.java
+++ /dev/null
@@ -1,1359 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectmanylistbox;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectmany.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_selmlistbox_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return
- * false.
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // -------------------------------------------------------------- ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ------------------------------------------------------ EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
- // ----------------------------------------------------------------- UIInput
-
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * ref are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- super.uiInputValidate3aTest();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- super.uiInputValidate3bTest();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws EETest.Fault {
- super.uiInputValidate3cTest();
- }
-
- /**
- * @testName: uiInputValidate6Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: If the selected item is not one of the available sections,
- * ensure a message is queued to the FacesContext and the
- * component is marked invalid.
- */
- public void uiInputValidate6Test() throws EETest.Fault {
- super.uiInputValidate6Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/build.xml
deleted file mode 100644
index 2974c8519d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/jsf_chtml_selmlistbox_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/jsf_chtml_selmlistbox_web.war.sun-web.xml
deleted file mode 100644
index 71d66b38e1..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/jsf_chtml_selmlistbox_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_selmlistbox_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/jsf_chtml_selmlistbox_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/jsf_chtml_selmlistbox_web.xml
deleted file mode 100644
index 83e20bf2a7..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanylistbox/jsf_chtml_selmlistbox_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_selmlistbox
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectmanylistbox.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/TestServlet.java
deleted file mode 100644
index 05fcbb5d2f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/TestServlet.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectmanymenu;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlSelectManyMenu;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectmany.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "dir", "lang",
- "onblur", "onchange", "onclick", "ondblclick", "onfocus", "onkeydown",
- "onkeypress", "onkeyup", "onmousedown", "onmousemove", "onmouseout",
- "onmouseover", "onmouseup", "style", "styleClass", "tabindex", "title",
- "disabled", "readonly", "disabledClass", "enabledClass" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlSelectManyMenu();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/URLClient.java
deleted file mode 100644
index d22224eb13..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/URLClient.java
+++ /dev/null
@@ -1,1358 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectmanymenu;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectmany.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_selmmenu_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return
- * false.
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // -------------------------------------------------------------- ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ------------------------------------------------------ EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
- // ----------------------------------------------------------------- UIInput
-
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * ref are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- super.uiInputValidate3aTest();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- super.uiInputValidate3bTest();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws EETest.Fault {
- super.uiInputValidate3cTest();
- }
-
- /**
- * @testName: uiInputValidate6Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: If the selected item is not one of the available sections,
- * ensure a message is queued to the FacesContext and the
- * component is marked invalid.
- */
- public void uiInputValidate6Test() throws Fault {
- super.uiInputValidate6Test();
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/build.xml
deleted file mode 100644
index 9871df65e2..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/jsf_chtml_selmmenu_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/jsf_chtml_selmmenu_web.war.sun-web.xml
deleted file mode 100644
index f000545e0e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/jsf_chtml_selmmenu_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_selmmenu_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/jsf_chtml_selmmenu_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/jsf_chtml_selmmenu_web.xml
deleted file mode 100644
index 879b7fe53e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectmanymenu/jsf_chtml_selmmenu_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_selmmenu
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectmanymenu.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/TestServlet.java
deleted file mode 100644
index a84f90bdc3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/TestServlet.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectonelistbox;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlSelectOneListbox;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectone.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "dir", "lang",
- "onblur", "onchange", "onclick", "ondblclick", "onfocus", "onkeydown",
- "onkeypress", "onkeyup", "onmousedown", "onmousemove", "onmouseout",
- "onmouseover", "onmouseup", "size", "style", "styleClass", "tabindex",
- "title", "disabled", "readonly", "disabledClass", "enabledClass" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlSelectOneListbox();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/URLClient.java
deleted file mode 100644
index 271d0ac23a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/URLClient.java
+++ /dev/null
@@ -1,1388 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectonelistbox;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectone.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_selolistbox_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return
- * false.
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // -------------------------------------------------------------- ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // -------------------------------------------------- EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
- // ----------------------------------------------------------------- UIInput
-
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * ref are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- super.uiInputValidate3aTest();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- super.uiInputValidate3bTest();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws EETest.Fault {
- super.uiInputValidate3cTest();
- }
-
- /**
- * @testName: uiInputValidate4Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify
- * if an exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate4Test() throws EETest.Fault {
- super.uiInputValidate4Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate5Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueBinding, get the use the type to
- * create a Converter for that type and use it to convert the
- * submitted value. Additionally verify if an exception is
- * thrown during the conversion process, a message is queued
- * to the FacesContext and the component is marked invalid.
- */
- public void uiInputValidate5Test() throws EETest.Fault {
- super.uiInputValidate5Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate6Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: If the selected item is not one of the available sections,
- * ensure a message is queued to the FacesContext and the
- * component is marked invalid.
- */
- public void uiInputValidate6Test() throws EETest.Fault {
- super.uiInputValidate6Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/build.xml
deleted file mode 100644
index b899152a8b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/jsf_chtml_selolistbox_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/jsf_chtml_selolistbox_web.war.sun-web.xml
deleted file mode 100644
index b242423864..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/jsf_chtml_selolistbox_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_selolistbox_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/jsf_chtml_selolistbox_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/jsf_chtml_selolistbox_web.xml
deleted file mode 100644
index 6c940cccfa..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonelistbox/jsf_chtml_selolistbox_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_selolistbox
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectonelistbox.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/TestServlet.java
deleted file mode 100644
index 9405de0f0a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/TestServlet.java
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectonemenu;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlSelectOneMenu;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectone.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "dir", "lang",
- "onblur", "onchange", "onclick", "ondblclick", "onfocus", "onkeydown",
- "onkeypress", "onkeyup", "onmousedown", "onmousemove", "onmouseout",
- "onmouseover", "onmouseup", "style", "styleClass", "tabindex", "title",
- "disabled", "readonly", "enabledClass", "disabledClass" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlSelectOneMenu();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/URLClient.java
deleted file mode 100644
index 0507cbed8c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/URLClient.java
+++ /dev/null
@@ -1,1389 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectonemenu;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectone.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_selomenu_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // -------------------------------------------------- EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
-
- // ----------------------------------------------------------------- UIInput
-
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * ref are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- super.uiInputValidate3aTest();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- super.uiInputValidate3bTest();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws EETest.Fault {
- super.uiInputValidate3cTest();
- }
-
- /**
- * @testName: uiInputValidate4Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify
- * if an exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate4Test() throws EETest.Fault {
- super.uiInputValidate4Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate5Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueBinding, get the use the type to
- * create a Converter for that type and use it to convert the
- * submitted value. Additionally verify if an exception is
- * thrown during the conversion process, a message is queued
- * to the FacesContext and the component is marked invalid.
- */
- public void uiInputValidate5Test() throws EETest.Fault {
- super.uiInputValidate5Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate6Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: If the selected item is not one of the available sections,
- * ensure a message is queued to the FacesContext and the
- * component is marked invalid.
- */
- public void uiInputValidate6Test() throws EETest.Fault {
- super.uiInputValidate6Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/build.xml
deleted file mode 100644
index 78b354ee15..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/jsf_chtml_selomenu_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/jsf_chtml_selomenu_web.war.sun-web.xml
deleted file mode 100644
index 43f218c542..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/jsf_chtml_selomenu_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_selomenu_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/jsf_chtml_selomenu_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/jsf_chtml_selomenu_web.xml
deleted file mode 100644
index d9b60feb79..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectonemenu/jsf_chtml_selomenu_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_selomenu
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectonemenu.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/TestServlet.java
deleted file mode 100644
index ee2b7a84a0..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/TestServlet.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectoneradio;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.html.HtmlSelectOneRadio;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public final class TestServlet extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectone.TestServlet {
-
- private static final String[] attrNames = { "accesskey", "border", "dir",
- "disabledClass", "enabledClass", "lang", "layout", "onblur", "onchange",
- "onclick", "ondblclick", "onfocus", "onkeydown", "onkeypress", "onkeyup",
- "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onselect",
- "style", "styleClass", "tabindex", "title", "disabled", "readonly",
- "disabledClass", "enabledClass" };
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- protected UIComponentBase createComponent() {
- return new HtmlSelectOneRadio();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/URLClient.java
deleted file mode 100644
index c5f4b93b79..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/URLClient.java
+++ /dev/null
@@ -1,1388 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectoneradio;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectone.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_chtml_seloradio_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return
- * false.
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // -------------------------------------------------------------- ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // -------------------------------------------------- EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
- // ----------------------------------------------------------------- UIInput
-
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * ref are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- super.uiInputValidate3aTest();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- super.uiInputValidate3bTest();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws EETest.Fault {
- super.uiInputValidate3cTest();
- }
-
- /**
- * @testName: uiInputValidate4Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify
- * if an exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate4Test() throws EETest.Fault {
- super.uiInputValidate4Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate5Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueBinding, get the use the type to
- * create a Converter for that type and use it to convert the
- * submitted value. Additionally verify if an exception is
- * thrown during the conversion process, a message is queued
- * to the FacesContext and the component is marked invalid.
- */
- public void uiInputValidate5Test() throws EETest.Fault {
- super.uiInputValidate5Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate6Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: If the selected item is not one of the available sections,
- * ensure a message is queued to the FacesContext and the
- * component is marked invalid.
- */
- public void uiInputValidate6Test() throws EETest.Fault {
- super.uiInputValidate6Test(); // To change body of overridden methods use
- // Options | File Templates.
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-
- // ----------------------------------------------- HTML Component Attributes
-
- /**
- * @testName: componentAttributesTest
- * @assertion_ids: JSF:JAVADOC:500
- * @test_Strategy: Validate the values of the HTML component attributes can be
- * set and then obtained.
- */
- public void componentAttributesTest() throws EETest.Fault {
- super.componentAttributesTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/build.xml
deleted file mode 100644
index 4c78988eba..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/jsf_chtml_seloradio_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/jsf_chtml_seloradio_web.war.sun-web.xml
deleted file mode 100644
index 2abc508f14..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/jsf_chtml_seloradio_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_chtml_seloradio_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/jsf_chtml_seloradio_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/jsf_chtml_seloradio_web.xml
deleted file mode 100644
index 2a46703b73..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/html/htmlselectoneradio/jsf_chtml_seloradio_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_chtml_seloradio
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.html.htmlselectoneradio.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/TestServlet.java
deleted file mode 100644
index 0d994d51a0..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/TestServlet.java
+++ /dev/null
@@ -1,128 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uicolumn;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.UIColumn;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIOutput;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- @Override
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- setRendererType(null);
- }
-
- /**
- *
- * Creates a new {@link jakarta.faces.component.UIComponent} instance.
- *
- *
- * @return a new {@link jakarta.faces.component.UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UIColumn();
- }
-
- // ------------------------------------------- UIColumn Methods ----
-
- // UIColumn.setFooter() throws NullPointerException
- public void uiColumnSetFooterNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(this.createComponent().getClass(), "setFooter",
- new Class>[] { UIComponent.class }, new Object[] { null }, out);
- }
-
- // UIColumn.{get,set}Footer()
- public void uiColumnGetSetFooterTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String golden = "Testing";
- UIColumn uic = (UIColumn) createComponent();
- UIOutput footNotes = new UIOutput();
-
- footNotes.setId(golden);
- uic.setFooter(footNotes);
-
- String result = uic.getFooter().getId();
-
- if (!result.equals(golden)) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected Value returned from UIColumn.getFooter()."
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Recieved: " + result);
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- }// End uiColumnGetSetFooterTest
-
- // UIColumn.{get,set}Header()
- public void uiColumnGetSetHeaderTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String golden = "Testing";
- UIColumn uic = (UIColumn) createComponent();
- UIOutput header = new UIOutput();
-
- header.setId(golden);
- uic.setHeader(header);
-
- String result = uic.getHeader().getId();
-
- if (!result.equals(golden)) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected Value returned from UIColumn.getFooter()."
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Recieved: " + result);
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- }// End uiColumnGetSetFooterTest
-
- // UIColumn.setHeader() throws NullPointerException
- public void uiColumnSetHeaderNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(this.createComponent().getClass(), "setHeader",
- new Class>[] { UIComponent.class }, new Object[] { null }, out);
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/URLClient.java
deleted file mode 100644
index 4f20b415bb..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/URLClient.java
+++ /dev/null
@@ -1,1107 +0,0 @@
-/*
- * Copyright (c) 2003, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uicolumn;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_column_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */// ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584; JSF:JAVADOC:455
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584; JSF:JAVADOC:455
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:455
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:455; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590; JSF:JAVADOC:455
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590; JSF:JAVADOC:455
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590; JSF:JAVADOC:455
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487; JSF:JAVADOC:455
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586; JSF:JAVADOC:455
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589; JSF:JAVADOC:455
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592; JSF:JAVADOC:455
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594; JSF:JAVADOC:455
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595; JSF:JAVADOC:455
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593; JSF:JAVADOC:455
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500; JSF:JAVADOC:455
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501; JSF:JAVADOC:455
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598; JSF:JAVADOC:455
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601; JSF:JAVADOC:455
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600; JSF:JAVADOC:455
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504; JSF:JAVADOC:455
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509; JSF:JAVADOC:455
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510; JSF:JAVADOC:455
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509; JSF:JAVADOC:455
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512; JSF:JAVADOC:455
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511; JSF:JAVADOC:455
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535; JSF:JAVADOC:455
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534; JSF:JAVADOC:455
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607; JSF:JAVADOC:455
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606; JSF:JAVADOC:455
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604; JSF:JAVADOC:455
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:448
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611; JSF:JAVADOC:455
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:455
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:455
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523; JSF:JAVADOC:563; JSF:JAVADOC:455
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614; JSF:JAVADOC:455
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643; JSF:JAVADOC:455
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536; JSF:JAVADOC:455
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570; JSF:JAVADOC:455
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547; JSF:JAVADOC:455
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553; JSF:JAVADOC:455
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539; JSF:JAVADOC:455
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540; JSF:JAVADOC:455
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541; JSF:JAVADOC:455
- * @test_Strategy: Validate that a NullPointerException is thrown if
- * FacesContext is null.
- *
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541; JSF:JAVADOC:455
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483;
- * JSF:JAVADOC:455
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:455
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623; JSF:JAVADOC:455
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:455
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:455
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:455
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627; JSF:JAVADOC:455
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763; JSF:JAVADOC:455
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628; JSF:JAVADOC:455
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628; JSF:JAVADOC:455
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628; JSF:JAVADOC:455
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628; JSF:JAVADOC:455
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559; JSF:JAVADOC:455
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567; JSF:JAVADOC:528; JSF:JAVADOC:455
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529; JSF:JAVADOC:455
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569; JSF:JAVADOC:455
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568; JSF:JAVADOC:455
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575; JSF:JAVADOC:455
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575; JSF:JAVADOC:455
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // ------------------------------------------------------------- StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442; JSF:JAVADOC:447; JSF:JAVADOC:455
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443; JSF:JAVADOC:455
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445; JSF:JAVADOC:455
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446; JSF:JAVADOC:455
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ------------------------------------------------------------- UIColumn
-
- /**
- * @testName: uiColumnSetFooterNPETest
- * @assertion_ids: JSF:JAVADOC:452
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiColumnSetFooterNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiColumnSetFooterNPETest");
- invoke();
- }
-
- /**
- * @testName: uiColumnSetHeaderNPETest
- * @assertion_ids: JSF:JAVADOC:454
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiColumnSetHeaderNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiColumnSetHeaderNPETest");
- invoke();
- }
-
- /**
- * @testName: uiColumnGetSetFooterTest
- * @assertion_ids: JSF:JAVADOC:449; JSF:JAVADOC:451
- * @test_Strategy: Validate That we are able to set and get the footer facet
- * of the column.
- */
- public void uiColumnGetSetFooterTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiColumnGetSetFooterTest");
- invoke();
- }
-
- /**
- * @testName: uiColumnGetSetHeaderTest
- * @assertion_ids: JSF:JAVADOC:450; JSF:JAVADOC:453
- * @test_Strategy: Validate That we are able to set and get the header facet
- * of the column.
- */
- public void uiColumnGetSetHeaderTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiColumnGetSetHeaderTest");
- invoke();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/build.xml
deleted file mode 100644
index c403e2591f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/jsf_comp_column_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/jsf_comp_column_web.war.sun-web.xml
deleted file mode 100644
index 0222e55181..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/jsf_comp_column_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_column_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/jsf_comp_column_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/jsf_comp_column_web.xml
deleted file mode 100644
index 1593323c5a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicolumn/jsf_comp_column_web.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jsf_comp_column
-
- tckattribute
- tckValue
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uicolumn.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/TestActionListener.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/TestActionListener.java
deleted file mode 100644
index fa6aa220fd..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/TestActionListener.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uicommand;
-
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.event.ActionEvent;
-import jakarta.faces.event.ActionListener;
-
-public final class TestActionListener implements ActionListener {
- private String id = null;
-
- private TestActionListener() {
- }
-
- // ----------------------------------------------------------- Public Methods
-
- /**
- * Create a TestActionListener with with the given ID(id)
- *
- * @param id
- * - The id of the TestActionListener.
- * @return TestActionListener
- */
- public static TestActionListener withID(String id) {
- TestActionListener tal = new TestActionListener();
- tal.setId(id);
-
- return tal;
-
- }
-
- /**
- * Set the id of this TestActionListener
- *
- * @param id
- * - The id you want this TestActionListener Object to have.
- */
- public void setId(String id) {
- this.id = id;
- }
-
- /**
- * Get the id of this TestActionListener
- *
- * @return The id that has been previously set.
- */
- public String getId() {
- return (this.id);
- }
-
- public void processAction(ActionEvent event) {
- trace(getId() + "@" + JSFTestUtil.getPhaseIdAsString(event.getPhaseId()));
- }
-
- public boolean equals(Object otherObj) {
- if (!(otherObj instanceof TestActionListener)) {
- return false;
- }
- TestActionListener other = (TestActionListener) otherObj;
- if ((null != id && null == other.id) || (null == id && null != other.id)) {
- return false;
- }
- boolean idsAreEqual = true;
- if (null != id) {
- idsAreEqual = id.equals(other.id);
- }
-
- return idsAreEqual;
- }
-
- public int hashCode() {
- assert false : "hashCode not designed";
- return 42; // any arbitrary constant will do
- }
-
- // ---------------------------------------------------- Static Trace Methods
-
- // Accumulated trace log
- private static StringBuffer trace = new StringBuffer();
-
- // Append to the current trace log (or clear if null)
- public static void trace(String text) {
- if (text == null) {
- trace.setLength(0);
- } else {
- trace.append('/');
- trace.append(text);
- }
- }
-
- // Retrieve the current trace log
- public static String trace() {
- return (trace.toString());
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/TestServlet.java
deleted file mode 100644
index 8fe503d22a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/TestServlet.java
+++ /dev/null
@@ -1,405 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uicommand;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.component.UICommand;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.event.ActionEvent;
-import jakarta.faces.event.MethodExpressionActionListener;
-import jakarta.faces.render.RenderKit;
-import jakarta.faces.render.RenderKitFactory;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UICommand();
- }
-
- // ------------------------------------------- Test Methods ----
-
- // -------------------------------------------------------------------
- // UICommand
-
- public void uiCommandSetGetValueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UICommand command = (UICommand) createComponent();
-
- command.setValue("value");
-
- if (!"value".equals(command.getValue())) {
- out.println(JSFTestUtil.FAIL + " UICommand.getValue() didn't return"
- + " the value as set by UICommand.setValue().");
- out.println("Expected: value");
- out.println("Received: " + command.getValue());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiCommandBroadcastTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- // Ensure listeners are invoked in the proper order
- // and are invoked during the invoke application phase
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- UICommand command = (UICommand) createComponent();
- command.setRendererType(null);
-
- ActionEvent event = new ActionEvent(command);
- TestActionListener.trace(null);
-
- // Register three listeners
- command.addActionListener(TestActionListener.withID("AP0"));
- command.addActionListener(TestActionListener.withID("AP1"));
- command.addActionListener(TestActionListener.withID("AP2"));
-
- UIViewRoot root = new UIViewRoot();
- root.getChildren().add(command);
- command.queueEvent(event);
- root.processDecodes(context);
- root.processValidators(context);
- root.processApplication(context);
-
- String traceExpected = "/AP0@INVOKE_APPLICATION/AP1@INVOKE_APPLICATION/AP2@INVOKE_APPLICATION";
- String traceReceived = TestActionListener.trace();
- if (!traceExpected.equals(traceReceived)) {
- out.println(JSFTestUtil.FAIL + " Listeners not invoked in the expected"
- + " order or were invoked too many times.");
- out.println("Listener trace expected: " + traceExpected);
- out.println("Listener trace received: " + traceReceived);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiCommandBroadcastImmediateTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- // Ensure listeners are invoked in the proper order
- // and since immediate is true, the listeners
- // are processed during APPLY_REQUEST_VALUES
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- UICommand command = (UICommand) createComponent();
- command.setImmediate(true);
- command.setRendererType(null);
-
- ActionEvent event = new ActionEvent(command);
- TestActionListener.trace(null);
- // Register three listeners
- command.addActionListener(TestActionListener.withID("AP0"));
- command.addActionListener(TestActionListener.withID("AP1"));
- command.addActionListener(TestActionListener.withID("AP2"));
-
- UIViewRoot root = new UIViewRoot();
- root.getChildren().add(command);
- command.queueEvent(event);
- root.processDecodes(context);
- root.processValidators(context);
- root.processApplication(context);
-
- String traceExpected = "/AP0@APPLY_REQUEST_VALUES/AP1@APPLY_REQUEST_VALUES/AP2@APPLY_REQUEST_VALUES";
- String traceReceived = TestActionListener.trace();
- if (!traceExpected.equals(traceReceived)) {
- out.println(JSFTestUtil.FAIL + " Listeners not invoked in the expected"
- + " order or were invoked too many times.");
- out.println("Listener trace expected: " + traceExpected);
- out.println("Listener trace received: " + traceReceived);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiCommandBroadcastInvokeActionListenerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- // Ensure that for instances of UICommand, that any actionListenerRefs
- // that are associated with this instance are invoked.
- PrintWriter out = response.getWriter();
- UICommand command = (UICommand) createComponent();
- command.setRendererType(null);
- FacesContext context = getFacesContext();
- System.out.println("COMMAND CLASS: " + command.getClass().getName());
-
- // Defaults to ANY_PHASE
- ActionEvent event = new ActionEvent(command);
- TestActionListener listener = TestActionListener.withID("ALR");
-
- request.setAttribute("ListRef", listener);
- MethodExpressionActionListener lnr = new MethodExpressionActionListener(getApplication().getExpressionFactory().createMethodExpression(
- context.getELContext(), "#{ListRef.processAction}", null, new Class[] { ActionEvent.class }));
- command.addActionListener(lnr);
- command.setImmediate(true);
- TestActionListener.trace(null);
-
- UIViewRoot root = new UIViewRoot();
- root.getChildren().add(command);
- command.queueEvent(event);
- root.processDecodes(context);
- root.processValidators(context);
- root.processApplication(context);
-
- String traceExpected = "/ALR@APPLY_REQUEST_VALUES";
- String traceReceived = TestActionListener.trace();
- if (!traceExpected.equals(traceReceived)) {
- out.println(JSFTestUtil.FAIL + " Listeners defined via actionListenerRefs"
- + "not invoked.");
- out.println("Listener trace expected: " + traceExpected);
- out.println("Listener trace received: " + traceReceived);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UICommand.broadcast(FacesContext) throws NullPointerException
- public void uiCommandBroadcastNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UICommand command = (UICommand) createComponent();
- command.setRendererType(null);
-
- try {
- command.broadcast(null);
- out.println(JSFTestUtil.FAIL
- + "Expected a NullPointerException to be thrown and it wasn't!");
-
- } catch (NullPointerException npe) {
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + "Wrong Exception Thrown!" + JSFTestUtil.NL
- + "Expected: NullPointerException" + JSFTestUtil.NL + "Received: "
- + e.toString());
- }
-
- }
-
- // UIComponent.processDecodes()
- public void uiComponentProcessDecodesTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // Setup a specialized RenderKit
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
- TCKRenderer renderer = new TCKRenderer();
- renderer.setRendersChildren(true);
- renderKit.addRenderer("TCK", "TCK", renderer);
-
- // build a component tree.
- UIComponent comp = createComponent();
- comp.setRendererType(null);
- comp.setRendered(true);
- TCKInputComponent child1 = new TCKInputComponent("child1");
- TCKComponent child2 = new TCKComponent("child2");
- child2.setRendererType("TCK");
- child2.setRendered(false);
- child1.setRendered(true);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setRendered(true);
- TCKComponent facet1 = new TCKComponent("facet1");
- facet1.setRendered(true);
- TCKInputComponent facet1_1 = new TCKInputComponent("facet1_1");
- facet1_1.setRendered(true);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
- comp.getChildren().add(child2);
-
- comp.processDecodes(getFacesContext());
-
- // Child2 shoudln't have D in the trace as it's parent
- // renders children but isn't rendered itself.
- if (!"/PDchild1/Dchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PDchild1/Dchild1");
- return;
- }
-
- if (!"/PDchild1_1/Dchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PDchild1_1/Dchild1_1");
- return;
- }
- if (!"/PDfacet1/Dfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED.");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PDfacet1/Dfacet1");
- return;
- }
-
- if (!"/PDfacet1_1/Dfacet1_1".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected trace: /PDfacet1_1/Dfacet1_1");
- return;
- }
-
- if (!"/PDchild2".equals(child2.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected trace: /PDchild2");
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processDecodes() -- decode() not called if component is
- // not rendered
- public void uiComponentProcessDecodesNotRenderedTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // build a component tree.
- UIComponent comp = createComponent();
- comp.setRendered(true);
- comp.setRendererType(null);
- TCKInputComponent child1 = new TCKInputComponent("child1");
- child1.setRendered(true);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setRendered(false);
- TCKInputComponent facet1 = new TCKInputComponent("facet1");
- facet1.setRendered(true);
- TCKInputComponent facet1_1 = new TCKInputComponent("facet1_1");
- facet1_1.setRendered(false);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
-
- comp.processDecodes(getFacesContext());
-
- // child1_1 and facet1_1 have their rendered properties set to false.
- // This means that child1 will have processDecodes called against it,
- // but it will not call decode() on facet1_1.
- if (!"/PDchild1/Dchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PDchild1/Dchild1");
- return;
- }
-
- if (!"/PDchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PDchild1_1.");
- return;
- }
- if (!"/PDfacet1/Dfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED.");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PDfacet1/Dfacet1");
- return;
- }
-
- if (!"".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected no trace to be generated.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIComponent.processDecodes() - if RuntimeException thrown by decode()
- // then FacesContext.renderResponse must be called
- public void uiComponentProcessDecodesRenderResponseTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
- comp.setRendererType(null);
- TCKInputComponent tckInput = new TCKInputComponent("in1", true);
- comp.getChildren().add(tckInput);
-
- try {
- comp.processDecodes(getFacesContext());
- } catch (Exception re) {
- if (!"DecodeRTE".equals(re.getMessage())) {
- out.println(JSFTestUtil.FAIL + " RuntimeException not rethrown up to"
- + " the calling component.");
- out.println("Exception received: " + re.toString());
- out.println("Exception message: " + re.getMessage());
- return;
- }
- }
-
- if (!getFacesContext().getRenderResponse()) {
- out.println(JSFTestUtil.FAIL + " RuntimeException thrown during decode()"
- + " but FacesContext.renderResponse() was not called.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/URLClient.java
deleted file mode 100644
index dadf736e52..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/URLClient.java
+++ /dev/null
@@ -1,1215 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uicommand;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_command_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ------------------------------------------------------------- Test
- // Methods
- // ------------------------------------------------------------- UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiCommandBroadcastNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:461; JSF:JAVADOC:481;
- * JSF:JAVADOC:580
- * @testStrategy: Verify that if the FacesContext is passed in a
- * NullPointerException is thrown.
- */
- public void uiCommandBroadcastNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiCommandBroadcastNPETest");
- invoke();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:477; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:502
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:503
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:516
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:515
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:513
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:517; JSF:JAVADOC:466
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:524
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:518;JSF:JAVADOC:558
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:522;JSF:JAVADOC:561
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:561; JSF:JAVADOC:632;
- * JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:523;JSF:JAVADOC:563
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:531; JSF:JAVADOC:532;
- * JSF:JAVADOC:533; JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:537; JSF:JAVADOC:562
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:477; JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:482; JSF:JAVADOC:530;
- * JSF:JAVADOC:538
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ----------------------------------------------------------------
- // ActionSource
- /**
- * @testName: actionSourceSetIsImmediateTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:397; JSF:JAVADOC:402;
- * JSF:JAVADOC:468; JSF:JAVADOC:475
- * @test_Strategy: Verify {is,set}Immediate() - if a value is set, the same
- * value is returned.
- */
- public void actionSourceSetIsImmediateTest() throws EETest.Fault {
- super.actionSourceSetIsImmediateTest();
- }
-
- /**
- * @testName: actionSourceAddActListNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:393; JSF:JAVADOC:456;
- * JSF:JAVADOC:457
- * @test_Strategy: Verify an NPE is thrown when attempting to pass a null
- * value to addActionListener().
- */
- public void actionSourceAddActListNPETest() throws EETest.Fault {
- super.actionSourceAddActListNPETest();
- }
-
- /**
- * @testName: actionSourceRemoveActListNPETest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:456; JSF:JAVADOC:399;
- * JSF:JAVADOC:471
- * @test_Strategy: Verify an NPE is thrown when attempting to pass a null
- * value to addActionListener().
- */
- public void actionSourceRemoveActListNPETest() throws EETest.Fault {
- super.actionSourceRemoveActListNPETest();
- }
-
- /**
- * @testName: actionSourceAddGetRemoveActListTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:392; JSF:JAVADOC:395;
- * JSF:JAVADOC:398; JSF:JAVADOC:396; JSF:JAVADOC:456;
- * JSF:JAVADOC:470
- * @test_Strategy: Verify the following: - If no ActionListeners have been
- * added, an empty array is returned. - Verify listeners added
- * are present in the array returned by getActionListeners().
- * - Verify listeners that have been removed are not present
- * in the array returned by getActionListeners().
- */
- public void actionSourceAddGetRemoveActListTest() throws EETest.Fault {
- super.actionSourceAddGetRemoveActListTest();
- }
-
- /**
- * @testName: actionSourceGetSetActionTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:400; JSF:JAVADOC:462;
- * JSF:JAVADOC:472
- * @test_Strategy: Verify {get,set}Action() - if a value is set, the same
- * value is returned.
- */
- public void actionSourceGetSetActionTest() throws EETest.Fault {
- super.actionSourceGetSetActionTest();
- }
-
- /**
- * @testName: actionSourceGetSetActListTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:395; JSF:JAVADOC:401;
- * JSF:JAVADOC:464; JSF:JAVADOC:474
- * @test_Strategy: Verify {get,set}ActionListener() - if a value is set, the
- * same value is returned.
- */
- public void actionSourceGetSetActListTest() throws EETest.Fault {
- super.actionSourceGetSetActListTest();
- }
-
- // --------------------------------------------------------------
- // ActionSource2
- /**
- * @testName: actionSource2GetSetActionExpressionTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:403; JSF:JAVADOC:403;
- * JSF:JAVADOC:463; JSF:JAVADOC:473
- * @test_Strategy: Verify {get,set}ActionExpression in ActionSource2
- * components accept and properly return a provided
- * MethodExpression instance.
- *
- * @since 1.2
- */
- public void actionSource2GetSetActionExpressionTest() throws Fault {
- super.actionSource2GetSetActionExpressionTest();
- }
-
- // ------------------------------------------------------------------
- // UICommand
- /**
- * @testName: uiCommandSetGetValueTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:467; JSF:JAVADOC:476
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void uiCommandSetGetValueTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiCommandSetGetValueTest");
- invoke();
- }
-
- /**
- * @testName: uiCommandBroadcastTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:458; JSF:JAVADOC:479
- * @testStrategy: Verify any Listeners registered with the UICommand instance
- * are invoked during the INVOKE_APPLICATION_PHASE and in order
- * of registration.
- */
- public void uiCommandBroadcastTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiCommandBroadcastTest");
- invoke();
- }
-
- /**
- * @testName: uiCommandBroadcastImmediateTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:458
- * @testStrategy: Verify that if the UICommand instance has the immediate
- * property set to true, any registered Listeners will be
- * invoked during the APPLY_REQUEST_VALUES phase and in the
- * order they were registered.
- */
- public void uiCommandBroadcastImmediateTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiCommandBroadcastImmediateTest");
- invoke();
- }
-
- /**
- * @testName: uiCommandBroadcastInvokeActionListenerTest
- * @assertion_ids: JSF:JAVADOC:477; JSF:JAVADOC:458
- * @testStrategy: Ensure Listeners associated with a UICommand via the
- * actionListener property are invoked.
- */
- public void uiCommandBroadcastInvokeActionListenerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiCommandBroadcastInvokeActionListenerTest");
- invoke();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/build.xml
deleted file mode 100644
index e020721ee0..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/jsf_comp_command_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/jsf_comp_command_web.war.sun-web.xml
deleted file mode 100644
index 0902e866c3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/jsf_comp_command_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_command_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/jsf_comp_command_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/jsf_comp_command_web.xml
deleted file mode 100644
index 139fbc4138..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uicommand/jsf_comp_command_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_command
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uicommand.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/TestServlet.java
deleted file mode 100644
index 0f33e5d3a6..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/TestServlet.java
+++ /dev/null
@@ -1,1484 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uidata;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.Serializable;
-import java.util.ArrayList;
-import java.util.List;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKValidator;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKValueChangeListener;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.el.ELContext;
-import jakarta.el.ValueExpression;
-import jakarta.faces.FacesException;
-import jakarta.faces.application.FacesMessage;
-import jakarta.faces.component.ContextCallback;
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIColumn;
-import jakarta.faces.component.UICommand;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIData;
-import jakarta.faces.component.UIForm;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.component.visit.VisitCallback;
-import jakarta.faces.component.visit.VisitContext;
-import jakarta.faces.component.visit.VisitResult;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.event.ActionEvent;
-import jakarta.faces.event.ActionListener;
-import jakarta.faces.event.FacesEvent;
-import jakarta.faces.event.FacesListener;
-import jakarta.faces.event.PhaseId;
-import jakarta.faces.model.DataModel;
-import jakarta.faces.model.DataModelEvent;
-import jakarta.faces.model.DataModelListener;
-import jakarta.faces.render.RenderKitFactory;
-import jakarta.faces.validator.Validator;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- protected DataModel> testDM;
-
- protected List beans;
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Construct a new {@link TCKDataModel} wrapping the specified list.
- *
- *
- * @param list
- * List to be wrapped (if any)
- */
- public TCKDataModel(List list) {
- setWrappedData(list);
- }
-
- public boolean isRowAvailable() {
-
- if (list == null) {
- return (false);
- } else if ((index >= 0) && (index < list.size())) {
- return (true);
- } else {
- return (false);
- }
-
- }
-
- public int getRowCount() {
-
- if (list == null) {
- return (-1);
- }
- return (list.size());
-
- }
-
- public Object getRowData() {
-
- if (list == null) {
- return (null);
- } else if (!isRowAvailable()) {
- throw new IllegalArgumentException();
- } else {
- return (list.get(index));
- }
-
- }
-
- public int getRowIndex() {
-
- return (index);
-
- }
-
- public void setRowIndex(int rowIndex) {
-
- if (rowIndex < -1) {
- throw new IllegalArgumentException();
- }
- int old = index;
- index = rowIndex;
- if (list == null) {
- return;
- }
- DataModelListener[] listeners = getDataModelListeners();
- if ((old != index) && (listeners != null)) {
- Object rowData = null;
- if (isRowAvailable()) {
- rowData = getRowData();
- }
- DataModelEvent event = new DataModelEvent(this, index, rowData);
-
- for (int i = 0; i < listeners.length; i++) {
- listeners[i].rowSelected(event);
- }
- }
-
- }
-
- public Object getWrappedData() {
-
- return (this.list);
-
- }
-
- public void setWrappedData(Object data) {
-
- if (data == null) {
- list = null;
- return;
- }
- list = (List) data;
- index = 0;
-
- }
-
- }// End TCKDataModel
-
- public static class TCKDataBean implements Serializable {
-
- private String command;
-
- public String getCommand() {
- return (this.command);
- }
-
- public void setCommand(String command) {
- this.command = command;
- }
-
- private String input;
-
- public String getInput() {
- return (this.input);
- }
-
- public void setInput(String input) {
- this.input = input;
- }
-
- private String output;
-
- public String getOutput() {
- return (this.output);
- }
-
- public void setOutput(String output) {
- this.output = output;
- }
-
- public String toString() {
- return (command + "|" + input + "|" + output);
- }
-
- }
-
- private void setupTree(UIComponent root, UIData data) {
-
- FacesContext fc = getFacesContext();
- ELContext elContext = fc.getELContext();
-
- // Attach our UIData to the view root
- // UIData data = new UIData();
- data.setId("data");
- root.getChildren().add(data);
-
- // Set up columns with facets and fields for each property
- UIColumn column;
- UICommand command;
- UIInput input;
- UIOutput output;
- UIOutput label;
- UIOutput constant;
-
- column = new UIColumn();
- column.setId("commandColumn");
- label = new UIOutput();
- label.setId("commandHeader");
- label.setValue("Command Header");
- column.getFacets().put("header", label);
-
- label = new UIOutput();
- label.setId("commandFooter");
- label.setValue("Command Footer");
- column.getFacets().put("footer", label);
- command = new UICommand();
- command.setId("command");
- command.setValueExpression("value",
- getApplication().getExpressionFactory().createValueExpression(elContext, "#{foo.command}", Object.class));
- column.getChildren().add(command);
- data.getChildren().add(column);
- command.addActionListener(new TCKDataActionListener());
-
- column = new UIColumn();
- column.setId("inputColumn");
- label = new UIOutput();
- label.setId("inputHeader");
- label.setValue("Input Header");
- column.getFacets().put("header", label);
-
- label = new UIOutput();
- label.setId("inputFooter");
- label.setValue("Input Footer");
- column.getFacets().put("footer", label);
- input = new UIInput();
- input.setId("input");
- input.setValueExpression("value",
- getApplication().getExpressionFactory().createValueExpression(elContext, "#{foo.input}", Object.class));
- column.getChildren().add(input);
- data.getChildren().add(column);
-
- input.addValidator(new TCKValidator());
- input.addValueChangeListener(new TCKValueChangeListener());
-
- column = new UIColumn();
- column.setId("outputColumn");
- label = new UIOutput();
- label.setId("outputHeader");
- label.setValue("Output Header");
- column.getFacets().put("header", label);
-
- label = new UIOutput();
- label.setId("outputFooter");
- label.setValue("Output Footer");
- column.getFacets().put("footer", label);
-
- output = new UIOutput();
- output.setId("output");
- output.setValueExpression("value",
- getApplication().getExpressionFactory().createValueExpression(elContext, "#{foo.output}", Object.class));
- column.getChildren().add(output);
- data.getChildren().add(column);
-
- column = new UIColumn();
- column.setId("constantColumn");
- label = new UIOutput();
- label.setId("constantHeader");
- label.setValue("Constant Header");
- column.getFacets().put("header", label);
-
- label = new UIOutput();
- label.setId("constantFooter");
- label.setValue("Constant Footer");
- column.getFacets().put("footer", label);
- constant = new UIOutput();
- constant.setId("constant");
- constant.setValue("Constant Value");
- column.getChildren().add(constant);
- data.getChildren().add(column);
-
- }
-
- private UIComponent getNamingContainer(UIComponent start) {
- UIComponent namingContainer = start.getParent();
- while (namingContainer != null) {
- if (namingContainer instanceof NamingContainer) {
- return namingContainer;
- }
- namingContainer = namingContainer.getParent();
- }
- return null;
- }
-
- // UIData.broadcast(FacesContext) throws NullPointerException
- public void uiDataBroadcastNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIData command = (UIData) createComponent();
- command.setRendererType(null);
-
- try {
- command.broadcast(null);
- out.println(JSFTestUtil.FAIL
- + "Expected a NullPointerException to be thrown and it wasn't!");
-
- } catch (NullPointerException npe) {
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + "Wrong Exception Thrown!" + JSFTestUtil.NL
- + "Expected: NullPointerException" + JSFTestUtil.NL + "Received: "
- + e.toString());
- }
-
- }
-
- public void uiDatatVisitTreeNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(createComponent().getClass(), "visitTree",
- new Class>[] { VisitContext.class, VisitCallback.class },
- new Object[] { null, new TCKVisitCallback() }, out);
-
- JSFTestUtil.checkForNPE(createComponent().getClass(), "visitTree",
- new Class>[] { VisitContext.class, VisitCallback.class },
- new Object[] { VisitContext.createVisitContext(getFacesContext()),
- null },
- out);
-
- } // End uiDatatVisitTreeNPETest
-
- // UIData.{is,set}RowStatePreserved()
- public void uiDataIsSetRowStatePreservedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- initDataModel();
-
- boolean resultOne;
- boolean resultTwo;
- String result;
- UIData data = (UIData) createComponent();
-
- data.setRowStatePreserved(true);
- resultOne = data.isRowStatePreserved();
-
- data.setRowStatePreserved(false);
- resultTwo = data.isRowStatePreserved();
-
- result = (resultOne && (!resultTwo)) ? JSFTestUtil.PASS : JSFTestUtil.FAIL;
-
- out.println(result);
-
- } // End uiDataIsSetRowStatePreservedTest
-
- // ------------------------------------- private implementations
-
- private boolean checkRowIndex(UIData data, int expected, PrintWriter out) {
- if (data.getRowIndex() != expected) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected value for getRowIndex() after setting row " + "index."
- + JSFTestUtil.NL + "Expected value: " + expected + JSFTestUtil.NL
- + "Computed value: " + data.getRowIndex());
- return false;
- }
-
- return true;
- }
-
- private static class TCKVisitCallback implements VisitCallback {
-
- @Override
- public VisitResult visit(VisitContext context, UIComponent target) {
- // TODO Auto-generated method stub
- return null;
- }
-
- }
-
- private static class TCKFacesEvent extends FacesEvent {
-
- public TCKFacesEvent(UIComponent component) {
- super(component);
- }
-
- public boolean isAppropriateListener(FacesListener listener) {
- return false;
- }
-
- public void processListener(FacesListener listener) {
-
- }
- }
-
- private static class TCKVallueExpr extends ValueExpression {
-
- @Override
- public Class> getExpectedType() {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- public Class> getType(ELContext arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- public Object getValue(ELContext arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- public boolean isReadOnly(ELContext arg0) {
- // TODO Auto-generated method stub
- return false;
- }
-
- @Override
- public void setValue(ELContext arg0, Object arg1) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public boolean equals(Object arg0) {
- // TODO Auto-generated method stub
- return false;
- }
-
- @Override
- public String getExpressionString() {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- public int hashCode() {
- // TODO Auto-generated method stub
- return 0;
- }
-
- @Override
- public boolean isLiteralText() {
- // TODO Auto-generated method stub
- return false;
- }
-
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/URLClient.java
deleted file mode 100644
index edbefd098c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/URLClient.java
+++ /dev/null
@@ -1,1200 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uidata;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_data_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:490; JSF:JAVADOC:586;
- * JSF:JAVADOC:657
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:488; JSF:JAVADOC:656
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:707; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetContainerClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:508
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentGetContainerClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetContainerClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetContainerClientIdTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:507
- * @test_Strategy: Validate a that we get a non null value return.
- */
- public void uiComponentGetContainerClientIdTest() throws EETest.Fault {
- super.uiComponentGetContainerClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:502
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:505; JSF:JAVADOC:601;
- * JSF:JAVADOC:659
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:503
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:516
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:515
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:513
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:517; JSF:JAVADOC:466;
- * JSF:JAVADOC:660
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:524
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:518;JSF:JAVADOC:558;
- * JSF:JAVADOC:658
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:522;JSF:JAVADOC:561
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:523;JSF:JAVADOC:563
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataPositiveInvokeOnComponentTest");
- invoke();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:676
- * @test_Strategy: Validate that InvokeOnComponent() throws a
- * NullPointerException if any of its parameters are null.
- */
- public void uiComponentInvokeOnComponentNPETest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataNPEInvokeOnComponentTest");
- invoke();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentFETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:675
- * @test_Strategy: Validate that InvokeOnComponent() throws FacesException.
- */
- public void uiComponentInvokeOnComponentFETest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataFEInvokeOnComponentTest");
- invoke();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:537; JSF:JAVADOC:562
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627; JSF:JAVADOC:682
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:552; JSF:JAVADOC:629;
- * JSF:JAVADOC:684
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:569; JSF:JAVADOC:709
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ------------------------------------------------------------------ UIData
-
- /**
- * @testName: uiDataGetSetFirstTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:661; JSF:JAVADOC:688
- * @test_Strategy: Verify that getFirst() returns 0 on a newly created
- * component. Additionally verify that getFirst() will return
- * the value as set by setFirst().
- */
- public void uiDataGetSetFirstTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataGetSetFirstTest");
- invoke();
- }
-
- /**
- * @testName: uiDataGetSetFooterTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:662; JSF:JAVADOC:690
- * @test_Strategy: Validate that we can set/get Footer Facet.
- */
- public void uiDataGetSetFooterTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataGetSetFooterTest");
- invoke();
- }
-
- /**
- * @testName: uiDataGetSetHeaderTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:663; JSF:JAVADOC:693;
- * JSF:JAVADOC:692
- * @test_Strategy: Validate that we can set/get Header Facet.
- */
- public void uiDataGetSetHeaderTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataGetSetHeaderTest");
- invoke();
- }
-
- /**
- * @testName: uiDataSetFooterNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:691
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiDataSetFooterNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataSetFooterNPETest");
- invoke();
- }
-
- /**
- * @testName: uiDataSetFirstIAETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:689
- * @test_Strategy: Verify setFirst() throws an IAE if the integer argument
- * provided is negative.
- */
- public void uiDataSetFirstIAETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataSetFirstIAETest");
- invoke();
- }
-
- /**
- * @testName: uiDataIsRowAvailableTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:677
- * @test_Strategy: Verify the following: - No backing data; isRowAvailable()
- * returns false - Current row index is out of range;
- * isRowAvailable() returns false - Current row index points
- * to valid row, isRowAvailable() returns true
- */
- public void uiDataIsRowAvailableTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataIsRowAvailableTest");
- invoke();
- }
-
- /**
- * @testName: uiDataBroadcastNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:481; JSF:JAVADOC:580;
- * JSF:JAVADOC:653
- * @testStrategy: Verify that if the FacesContext is passed in a
- * NullPointerException is thrown.
- */
- public void uiDataBroadcastNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataBroadcastNPETest");
- invoke();
- }
-
- /**
- * @testName: uiDataGetRowCountTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:664
- * @test_Strategy: Verify the following: - No backing data; getRowCount()
- * returns -1 - Valid backing data, getRowCount() returns the
- * value as returned from DataModel.getRowCount();
- */
- public void uiDataGetRowCountTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataGetRowCountTest");
- invoke();
- }
-
- /**
- * @testName: uiDataGetRowDataTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:666
- * @test_Strategy: Verify the following: - getRowData() returns the expected
- * object when specifying various row index values
- */
- public void uiDataGetRowDataTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataGetRowDataTest");
- invoke();
- }
-
- /**
- * @testName: uiDataGetRowDataIAETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:668
- * @test_Strategy: Verify the following: - getRowData() throws IAE if the no
- * data is available at the specified index. In this case, the
- * index is out of range
- */
- public void uiDataGetRowDataIAETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataGetRowDataIAETest");
- invoke();
- }
-
- /**
- * @testName: uiDataGetSetRowIndexTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:694; JSF:JAVADOC:695
- * @test_Strategy: Verify the following: - getRowIndex returns -1 when called
- * against a newly created component. - if the var property
- * has been specified, and setRowIndex() is set to a valid
- * index, ensure the request scoped attribute name as
- * specified by var has the value as returned by
- * getDataValue(); - getRowIndex() returns the value as set by
- * setRowIndex()
- */
- public void uiDataGetSetRowIndexTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataGetSetRowIndexTest");
- invoke();
- }
-
- /**
- * @testName: uiDataSetRowIndexIAETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:696
- * @test_Strategy: Verify the following: - setRowIndex() throws IAE if the
- * integer value specified is less than -1
- */
- public void uiDataSetRowIndexIAETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataSetRowIndexIAETest");
- invoke();
- }
-
- /**
- * @testName: uiDataGetSetRowsTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:697; JSF:JAVADOC:671;
- * JSF:JAVADOC:698
- * @test_Strategy: Verify the following: - getRows() returns the value as
- * specified by setRows()
- */
- public void uiDataGetSetRowsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataGetSetRowsTest");
- invoke();
- }
-
- /**
- * @testName: uiDataSetRowsIAETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:689
- * @test_Strategy: Verify the following: - setRows() throws IAE if the integer
- * value specified is negative
- */
- public void uiDataSetRowsIAETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataSetRowsIAETest");
- invoke();
- }
-
- /**
- * @testName: uiDataGetSetVarTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:673; JSF:JAVADOC:706
- * @test_Strategy: Verify the following: - getVar() returns the value as
- * specified by setVar()
- */
- public void uiDataGetSetVarTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataGetSetVarTest");
- invoke();
- }
-
- /**
- * @testName: uiDataQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:561; JSF:JAVADOC:687
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiDataQueueEventNPETest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataQueueEventNPETest");
- invoke();
- }
-
- /**
- * @testName: uiDataQueueEventISETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:561; JSF:JAVADOC:686;
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiDataQueueEventISETest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataQueueEventISETest");
- invoke();
- }
-
- /**
- * @testName: uiDataGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:661; JSF:JAVADOC:672;
- * JSF:JAVADOC:688; JSF:JAVADOC:699
- * @test_Strategy: Validate the value set vis setValue() is returned by
- * getValue().
- */
- public void uiDataGetSetValueTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataGetSetValueTest");
- invoke();
- }
-
- /**
- * @testName: uiDataProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621; JSF:JAVADOC:680
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiDataProcessDecodesNPETest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataProcessDecodesNPETest");
- invoke();
- }
-
- /**
- * @testName: uiDataSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621; JSF:JAVADOC:705
- * @test_Strategy: Validate a NullPointerException is thrown when String arg
- * is null.
- */
- public void uiDataSetValueExpressionNPETest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataSetValueExpressionNPETest");
- invoke();
- }
-
- /**
- * @testName: uiDatatVisitTreeNPETest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:709
- * @test_Strategy: Validate that a NullPointerException is thrown when any arg
- * is null.
- */
- public void uiDatatVisitTreeNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDatatVisitTreeNPETest");
- invoke();
- }
-
- /**
- * @testName: uiDataCreateUniqueIdTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:654
- * @test_Strategy: Validate that we are able to supplu a 'seed' to be included
- * into the generated Unique ID.
- */
- public void uiDataCreateUniqueIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataCreateUniqueIdTest");
- invoke();
- }
-
- /**
- * @testName: uiDataIsSetRowStatePreservedTest
- * @assertion_ids: JSF:JAVADOC:707; JSF:JAVADOC:2550; JSF:JAVADOC:2554
- * @test_Strategy: Validate that we are able to set and that we get returned
- * the same value.
- */
- public void uiDataIsSetRowStatePreservedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiDataIsSetRowStatePreservedTest");
- invoke();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/build.xml
deleted file mode 100644
index 683b0bd207..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/jsf_comp_data_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/jsf_comp_data_web.war.sun-web.xml
deleted file mode 100644
index 07d237ce8b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/jsf_comp_data_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_data_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/jsf_comp_data_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/jsf_comp_data_web.xml
deleted file mode 100644
index ac7902cad9..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uidata/jsf_comp_data_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_data
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uidata.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/TestServlet.java
deleted file mode 100644
index 3abd442597..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/TestServlet.java
+++ /dev/null
@@ -1,1121 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiform;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.Serializable;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIForm;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.convert.Converter;
-import jakarta.faces.render.RenderKit;
-import jakarta.faces.render.RenderKitFactory;
-import jakarta.faces.render.Renderer;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- UIForm form = new UIForm();
- form.setSubmitted(true);
- return form;
- }
-
- protected UIComponent createForm(boolean submitted) {
- UIForm form = new UIForm();
- form.setSubmitted(submitted);
- return form;
- }
-
- // ---------------------------------------------------------------- Test
- // Methods
-
- // UIForm.{is,set}Submitted()
- public void uiFormIsSetSubmittedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIForm form = new UIForm();
-
- // default return value for isSubmitted() is false
- if (form.isSubmitted()) {
- out.println(JSFTestUtil.FAIL + " Expected the default return value"
- + " of UIForm.isSubmitted() to be false.");
- return;
- }
-
- form.setSubmitted(true);
- if (!form.isSubmitted()) {
- out.println(JSFTestUtil.FAIL + " Expected UIForm.isSubmitted to return"
- + " true after having explicitly set it as such via"
- + " UIForm.setSubmitted().");
- return;
- }
-
- form.setSubmitted(false);
- if (form.isSubmitted()) {
- out.println(JSFTestUtil.FAIL + " Expected UIForm.isSubmitted to return"
- + " false after having explicitly set it as such via"
- + " UIForm.setSubmitted().");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // StateHolder.saveState(), StateHolder.restoreState()
- // Override parent test - ensure that setSubmitted is set to false
- // what save state is called.
- public void stateHolderSaveRestoreStateTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // Begin test setup
-
- UIForm preSave = (UIForm) createComponent();
- preSave.setSubmitted(true);
- UIComponent facet1 = new UIOutput();
- facet1.setId("facet1");
- preSave.getFacets().put("facet1 key", facet1);
- UIComponent facet2 = new UIOutput();
- facet2.setId("facet2");
- preSave.getFacets().put("facet2 key", facet2);
- populateComponent(preSave);
-
- // Save and restore state and compare the results
- Object state = preSave.saveState(getFacesContext());
-
- // 1.1 saveState() no longer resets submitted property.
- if (!preSave.isSubmitted()) {
- out.println(JSFTestUtil.FAIL + " Expected the return value of "
- + "UIForm.isSubmitted() to return true after having"
- + " called saveState().");
- return;
- }
-
- if (state == null) {
- out.println(JSFTestUtil.FAIL + " saveState() failed to returned null");
- return;
- }
-
- if (!(state instanceof Serializable)) {
- out.println(JSFTestUtil.FAIL + " The Object returned by saveState() was"
- + " not an instance of java.io.Serializable.");
- return;
- }
-
- UIComponent postSave = createForm(false);
- postSave.restoreState(getFacesContext(), state);
-
- // information pertaining to the submit state of the form must not
- // have been serialized, therefore, isSubmitted() will return false
- if (((UIForm) postSave).isSubmitted()) {
- out.println(JSFTestUtil.FAIL + " Expected the return value of "
- + "UIForm.isSubmitted() to return false after having"
- + " called restoreState().");
- return;
- }
-
- StringBuffer buf = new StringBuffer(128);
-
- checkComponents(preSave.findComponent("componentId"),
- postSave.findComponent("componentId"), buf);
-
- if (buf.length() > 0) {
- out.println(buf.toString());
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // Ensure that the Form is decoded first, then call into super
- // test class for verification of standard behavior
- public void uiComponentProcessDecodesTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // Setup a specialized RenderKit
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
- TCKRenderer renderer = new TCKRenderer();
- renderer.setRendersChildren(true);
-
- // build a component tree.
- UIComponent comp = createComponent();
- Renderer origRenderer = renderKit.getRenderer(comp.getFamily(),
- UIForm.COMPONENT_TYPE);
- renderKit.addRenderer(comp.getFamily(), UIForm.COMPONENT_TYPE, renderer);
- renderKit.addRenderer("TCK", "TCK", renderer);
- comp.setId("form");
- comp.setRendered(true);
- TCKInputComponent child1 = new TCKInputComponent("child1");
- TCKComponent child2 = new TCKComponent("child2");
- child2.setRendererType("TCK");
- child2.setRendered(false);
- child1.setRendered(true);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setRendered(true);
- TCKComponent facet1 = new TCKComponent("facet1");
- facet1.setRendered(true);
- TCKInputComponent facet1_1 = new TCKInputComponent("facet1_1");
- facet1_1.setRendered(true);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
- comp.getChildren().add(child2);
-
- comp.processDecodes(getFacesContext());
-
- String result = renderer.getTrace();
-
- if (!result.startsWith("/DCform")) {
- out.println(JSFTestUtil.FAIL + " Expected Form component to be decoded"
- + " before children components.");
- out.println("Expected renderer trace to begin with '/DCform'");
- out.println("Actual trace: " + result);
- return;
- }
-
- comp = createComponent();
- comp.setRendered(true);
- TCKInputComponent cchild1 = new TCKInputComponent("child1");
- TCKComponent cchild2 = new TCKComponent("child2");
- cchild2.setRendererType("TCK");
- cchild2.setRendered(false);
- cchild1.setRendered(true);
- TCKComponent cchild1_1 = new TCKComponent("child1_1");
- cchild1_1.setRendered(true);
- TCKComponent ffacet1 = new TCKComponent("facet1");
- ffacet1.setRendered(true);
- TCKInputComponent ffacet1_1 = new TCKInputComponent("facet1_1");
- ffacet1_1.setRendered(true);
-
- cchild1_1.getFacets().put("facet1_1", ffacet1_1);
- cchild1.getFacets().put("facet1", ffacet1);
- cchild1.getChildren().add(cchild1_1);
- comp.getChildren().add(cchild1);
- comp.getChildren().add(cchild2);
-
- comp.processDecodes(getFacesContext());
-
- // Child2 shoudln't have D in the trace as it's parent
- // renders children but isn't rendered itself.
- if (!"/PDchild1/Dchild1".equals(cchild1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + cchild1.getTrace());
- out.println("Expected trace: /PDchild1/Dchild1");
- return;
- }
-
- if (!"/PDchild1_1/Dchild1_1".equals(cchild1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + cchild1_1.getTrace());
- out.println("Expected trace: /PDchild1_1/Dchild1_1");
- return;
- }
- if (!"/PDfacet1/Dfacet1".equals(ffacet1.getTrace())) {
- out.println("Test FAILED.");
- out.println("Component trace: " + ffacet1.getTrace());
- out.println("Expected trace: /PDfacet1/Dfacet1");
- return;
- }
-
- if (!"/PDfacet1_1/Dfacet1_1".equals(ffacet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + ffacet1_1.getTrace());
- out.println("Expected trace: /PDfacet1_1/Dfacet1_1");
- return;
- }
-
- if (!"/PDchild2".equals(cchild2.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + ffacet1_1.getTrace());
- out.println("Expected trace: /PDchild2");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- renderKit.addRenderer(comp.getFamily(), UIForm.COMPONENT_TYPE,
- origRenderer);
-
- // super.uiComponentProcessDecodesTest(request, response);
- }
-
- // UIComponent.processDecodes() -- decode() not called if component is
- // not rendered
- public void uiComponentProcessDecodesNotRenderedTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // Setup a specialized RenderKit
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
- TCKRenderer renderer = new TCKRenderer();
- renderer.setRendersChildren(true);
-
- // build a component tree.
- UIComponent comp = createComponent();
- Renderer origRenderer = renderKit.getRenderer(comp.getFamily(),
- UIForm.COMPONENT_TYPE);
- renderKit.addRenderer(comp.getFamily(), UIForm.COMPONENT_TYPE, renderer);
- comp.setRendered(true);
- TCKInputComponent child1 = new TCKInputComponent("child1");
- child1.setRendered(true);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setRendered(false);
- TCKInputComponent facet1 = new TCKInputComponent("facet1");
- facet1.setRendered(true);
- TCKInputComponent facet1_1 = new TCKInputComponent("facet1_1");
- facet1_1.setRendered(false);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
-
- comp.processDecodes(getFacesContext());
-
- // child1_1 and facet1_1 have their rendered properties set to false.
- // This means that child1 will have processDecodes called against it,
- // but it will not call decode() on facet1_1.
- if (!"/PDchild1/Dchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PDchild1/Dchild1");
- return;
- }
-
- if (!"/PDchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PDchild1_1.");
- return;
- }
- if (!"/PDfacet1/Dfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED.");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PDfacet1/Dfacet1");
- return;
- }
-
- if (!"".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected no trace to be generated.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- renderKit.addRenderer(comp.getFamily(), UIForm.COMPONENT_TYPE,
- origRenderer);
- }
-
- // UIComponent.processDecodes() - if RuntimeException thrown by decode()
- // then FacesContext.renderResponse must be called
- public void uiComponentProcessDecodesRenderResponseTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // Setup a specialized RenderKit
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
- TCKRenderer renderer = new TCKRenderer();
- renderer.setRendersChildren(true);
-
- UIComponent comp = createComponent();
- Renderer origRenderer = renderKit.getRenderer(comp.getFamily(),
- UIForm.COMPONENT_TYPE);
- renderKit.addRenderer(comp.getFamily(), UIForm.COMPONENT_TYPE, renderer);
- TCKInputComponent tckInput = new TCKInputComponent("in1", true);
- comp.getChildren().add(tckInput);
-
- try {
- comp.processDecodes(getFacesContext());
- } catch (Exception re) {
- if (!"DecodeRTE".equals(re.getMessage())) {
- out.println(JSFTestUtil.FAIL + " RuntimeException not rethrown up to"
- + " the calling component.");
- out.println("Exception received: " + re.toString());
- out.println("Exception message: " + re.getMessage());
- return;
- }
- }
-
- if (!getFacesContext().getRenderResponse()) {
- out.println(JSFTestUtil.FAIL + " RuntimeException thrown during decode()"
- + " but FacesContext.renderResponse() was not called.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- renderKit.addRenderer(comp.getFamily(), UIForm.COMPONENT_TYPE,
- origRenderer);
- }
-
- // UIForm.processUpdates() only performed on children if isSubmitted()
- // returns true
- public void uiFormProcessUpdatesIsSubmittedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // Setup a specialized RenderKit
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
- TCKRenderer renderer = new TCKRenderer();
- renderer.setRendersChildren(true);
- renderKit.addRenderer("TCK", "TCK", renderer);
-
- // build a component tree.
- UIForm comp = (UIForm) createComponent();
- comp.setId("form");
- comp.setRendered(true);
- comp.setSubmitted(true);
- TCKInputComponent child1 = new TCKInputComponent("child1");
- TCKComponent child2 = new TCKComponent("child2");
- child2.setRendererType("TCK");
- child2.setRendered(true);
- child1.setRendered(true);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setRendered(true);
- TCKComponent facet1 = new TCKComponent("facet1");
- facet1.setRendered(true);
- TCKInputComponent facet1_1 = new TCKInputComponent("facet1_1");
- facet1_1.setRendered(true);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
- comp.getChildren().add(child2);
-
- comp.processUpdates(getFacesContext());
-
- if (!"/PUchild1/UMchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PUchild1/UMchild1");
- return;
- }
-
- if (!"/PUchild2".equals(child2.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child2.getTrace());
- out.println("Expected trace: /PUchild2");
- return;
- }
-
- if (!"/PUchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PUchild1");
- return;
- }
-
- if (!"/PUfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PUfacet1");
- return;
- }
-
- if (!"/PUfacet1_1/UMfacet1_1".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected trace: /PUfacet1_1/UMfacet1_1");
- return;
- }
-
- // rebuild the tree and set the submitted property of the form
- // to false. Child components should not be touched.
- child1.resetTraceLog();
- child2.resetTraceLog();
- child1_1.resetTraceLog();
- facet1.resetTraceLog();
- facet1_1.resetTraceLog();
-
- comp.setSubmitted(false);
-
- comp.processUpdates(getFacesContext());
-
- if (!"".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected no trace");
- return;
- }
-
- if (!"".equals(child2.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child2.getTrace());
- out.println("Expected no trace");
- return;
- }
-
- if (!"".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected no trace");
- return;
- }
-
- if (!"".equals(facet1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected no trace");
- return;
- }
-
- if (!"".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected no trace");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIForm.processValidators() only performed on children if isSubmitted()
- // returns true
- public void uiFormProcessValidatorsIsSubmittedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // Setup a specialized RenderKit
- RenderKitFactory renderKitFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit renderKit = renderKitFactory.getRenderKit(getFacesContext(),
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
- TCKRenderer renderer = new TCKRenderer();
- renderer.setRendersChildren(true);
- renderKit.addRenderer("TCK", "TCK", renderer);
-
- // build a component tree.
- UIForm comp = (UIForm) createComponent();
- comp.setId("form");
- comp.setRendered(true);
- comp.setSubmitted(true);
- TCKInputComponent child1 = new TCKInputComponent("child1");
- TCKComponent child2 = new TCKComponent("child2");
- child2.setRendererType("TCK");
- child2.setRendered(true);
- child1.setRendered(true);
- TCKComponent child1_1 = new TCKComponent("child1_1");
- child1_1.setRendered(true);
- TCKComponent facet1 = new TCKComponent("facet1");
- facet1.setRendered(true);
- TCKInputComponent facet1_1 = new TCKInputComponent("facet1_1");
- facet1_1.setRendered(true);
-
- child1_1.getFacets().put("facet1_1", facet1_1);
- child1.getFacets().put("facet1", facet1);
- child1.getChildren().add(child1_1);
- comp.getChildren().add(child1);
- comp.getChildren().add(child2);
-
- comp.processValidators(getFacesContext());
-
- if (!"/PVchild1/vchild1".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected trace: /PVchild1/Vchild1");
- return;
- }
-
- if (!"/PVchild2".equals(child2.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child2.getTrace());
- out.println("Expected trace: /PVchild2");
- return;
- }
-
- if (!"/PVchild1_1".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected trace: /PVchild1");
- return;
- }
-
- if (!"/PVfacet1".equals(facet1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected trace: /PVfacet1");
- return;
- }
-
- if (!"/PVfacet1_1/Vfacet1_1".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected trace: /PVfacet1_1/Vfacet1_1");
- return;
- }
-
- // rebuild the tree and set the submitted property of the form
- // to false. Child componentns should not be touched.
- child1.resetTraceLog();
- child2.resetTraceLog();
- child1_1.resetTraceLog();
- facet1.resetTraceLog();
- facet1_1.resetTraceLog();
-
- comp.setSubmitted(false);
-
- comp.processValidators(getFacesContext());
-
- if (!"".equals(child1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1.getTrace());
- out.println("Expected no trace");
- return;
- }
-
- if (!"".equals(child2.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child2.getTrace());
- out.println("Expected no trace");
- return;
- }
-
- if (!"".equals(child1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + child1_1.getTrace());
- out.println("Expected no trace");
- return;
- }
-
- if (!"".equals(facet1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1.getTrace());
- out.println("Expected no trace");
- return;
- }
-
- if (!"".equals(facet1_1.getTrace())) {
- out.println("Test FAILED");
- out.println("Component trace: " + facet1_1.getTrace());
- out.println("Expected no trace");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIForm.createUniqueId()
- public void uiFormCreateUniqueIdTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- String seed = "tckId";
- UIForm form = (UIForm) createComponent();
- String uniqueId = form.createUniqueId(context, seed);
-
- if (!uniqueId.contains(seed)) {
- out.println(JSFTestUtil.FAIL + "Test Value not found in ID!"
- + JSFTestUtil.NL + "Expected Component ID to contain: " + seed
- + JSFTestUtil.NL + "Received: " + uniqueId);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // End uiFormCreateUniqueIdTest
-
- // UIForm.{is,set}PrependId()
- public void uiFormIsSetPrependIdTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIForm form = (UIForm) createComponent();
-
- form.setPrependId(false);
- boolean result = form.isPrependId();
- if (result) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected value returned from UIForm.isPrependId() !"
- + JSFTestUtil.NL + "Expected: false" + JSFTestUtil.NL + "Received: "
- + result);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }// end uiFormIsSetPrependIdTest
-
- // ------------------------------------------------------------- Private
- // Classes
-
- private static class TCKRenderer extends Renderer {
-
- private static StringBuffer traceLog;
-
- private boolean rendersChildren = false;
-
- private Renderer wrapped;
-
- /**
- *
- * Creates a new TCKRenderer instance that calls into the
- * {@link Renderer} parent class.
- *
- */
- public TCKRenderer() {
- traceLog = new StringBuffer();
- }
-
- /**
- *
- * Creates a new TCKRenderer that wraps the provided
- * {@link Renderer}. All calls will be delegated to the wrapped instance.
- *
- *
- * @param wrapped
- * the {@link Renderer} to delegate calls to
- */
- public TCKRenderer(Renderer wrapped) {
- this();
- this.wrapped = wrapped;
- }
-
- /**
- *
- * Render the ending of the current state of the specified
- * {@link UIComponent}, following the rules described for
- * encodeBegin() to acquire the appropriate value to be
- * rendered.
- *
- *
- * @param context
- * {@link FacesContext} for the response we are creating
- * @param component
- * {@link UIComponent} to be rendered
- * @throws IOException
- * if an input/output error occurs while rendering
- * @throws NullPointerException
- * if context or component is
- * null
- */
- public void encodeEnd(FacesContext context, UIComponent component)
- throws IOException {
- if (context == null || component == null) {
- throw new NullPointerException();
- }
- traceLog.append("/EE");
- if (wrapped != null) {
- wrapped.encodeEnd(context, component);
- } else {
- super.encodeEnd(context, component);
- }
- }
-
- /**
- *
- * Render the child components of this {@link UIComponent}, following the
- * rules described for encodeBegin() to acquire the appropriate
- * value to be rendered. This method will only be called if the
- * rendersChildren property of this component is
- * true.
- *
- *
- * @param context
- * {@link FacesContext} for the response we are creating
- * @param component
- * {@link UIComponent} whose children are to be rendered
- * @throws IOException
- * if an input/output error occurs while rendering
- * @throws NullPointerException
- * if context or component is
- * null
- */
- public void encodeChildren(FacesContext context, UIComponent component)
- throws IOException {
-
- if (context == null || component == null) {
- throw new NullPointerException();
- }
- traceLog.append("/EC");
- if (wrapped != null) {
- wrapped.encodeChildren(context, component);
- } else {
- super.encodeChildren(context, component);
- }
- }
-
- /**
- *
- * Convert the component generated client id to a form suitable for
- * transmission to the client.
- *
- *
- *
- * The default implementation returns the argument clientId
- * unchanged.
- *
- *
- * @param context
- * {@link FacesContext} for the current request
- * @param clientId
- * the client identifier to be converted to client a specific
- * format.
- * @throws NullPointerException
- * if context or clientId is
- * null
- */
- public String convertClientId(FacesContext context, String clientId) {
- if (context == null || clientId == null) {
- throw new NullPointerException();
- }
- if (wrapped != null) {
- return wrapped.convertClientId(context, clientId);
- } else {
- return super.convertClientId(context, clientId);
- }
- }
-
- /**
- *
- * Return a flag indicating whether this renderer is responsible for
- * rendering the children the component it is asked to render. The default
- * implementation returns false.
- *
- * Decode the current state of the specified {@link UIComponent} from the
- * request contained in the specified {@link FacesContext}, and attempt to
- * convert this state information into an object of the type required for
- * this component (optionally using the registered {@link Converter} for
- * this component, if there is one).
- *
- *
- *
- * If conversion is successful:
- *
- *
- *
Save the new local value of this component by calling
- * setValue() and passing the new value.
- *
Set the value property of this component to
- * true.
- *
- *
- *
- * If conversion is not successful:
- *
- *
- *
Save the state information (inside the component) in such a way that
- * encoding can reproduce the previous input (even though it was
- * syntactically or semantically incorrect).
- *
Add an appropriate conversion failure error message by calling
- * addMessage() on the specified {@link FacesContext}.
- *
Set the valid property of this component to
- * false.
- *
- *
- *
- * During decoding, events may be enqueued for later processing (by event
- * listeners that have registered an interest), by calling
- * queueEvent() on the associated {@link UIComponent}.
- *
- *
- * @param context
- * {@link FacesContext} for the request we are processing
- * @param component
- * {@link UIComponent} to be decoded.
- * @throws NullPointerException
- * if context or component is
- * null
- */
- public void decode(FacesContext context, UIComponent component) {
-
- if (context == null || component == null) {
- throw new NullPointerException();
- }
- traceLog.append("/DC" + component.getId());
- if (wrapped != null) {
- wrapped.decode(context, component);
- } else {
- super.decode(context, component);
- }
- }
-
- /**
- *
- * Render the beginning specified {@link UIComponent} to the output stream
- * or writer associated with the response we are creating. If the conversion
- * attempted in a previous call to decode for this component
- * failed, the state information saved during execution of
- * decode() should be utilized to reproduce the incorrect
- * input. If the conversion was successful, or if there was no previous call
- * to decode(), the value to be displayed should be acquired by
- * calling component.currentValue(), and rendering the value as
- * appropriate.
- *
- *
- * @param context
- * {@link FacesContext} for the request we are processing
- * @param component
- * {@link UIComponent} to be rendered
- * @throws IOException
- * if an input/output error occurs while rendering
- * @throws NullPointerException
- * if context or component is null
- */
- public void encodeBegin(FacesContext context, UIComponent component)
- throws IOException {
-
- if (context == null || component == null) {
- throw new NullPointerException();
- }
- traceLog.append("/EB");
- if (wrapped != null) {
- wrapped.encodeBegin(context, component);
- } else {
- super.encodeBegin(context, component);
- }
- }
-
- /**
- *
- * Returns the content of the current trace log.
- *
- * Sets the return value of {@link #getRendersChildren()}.
- *
- */
- public void setRendersChildren(boolean rendersChildren) {
- this.rendersChildren = rendersChildren;
- }
- }
-
- private static class TCKComponent extends UIComponentBase {
-
- private StringBuffer traceLog;
-
- private String id;
-
- public String getFamily() {
- return "TCK";
- }
-
- public TCKComponent(String id) {
- super();
- traceLog = new StringBuffer();
- this.id = id;
- this.setId(id);
- }
-
- public void processDecodes(FacesContext context) {
- trace("/PD" + id);
- super.processDecodes(context);
- }
-
- public void processRestoreState(FacesContext context, Object state) {
- trace("/PRS" + id);
- super.processRestoreState(context, state);
- }
-
- public Object processSaveState(FacesContext context) {
- trace("/PSS" + id);
- return super.processSaveState(context);
- }
-
- public void processUpdates(FacesContext context) {
- trace("/PU" + id);
- super.processUpdates(context);
- }
-
- public void processValidators(FacesContext context) {
- trace("/PV" + id);
- super.processValidators(context);
- }
-
- public Object saveState(FacesContext context) {
- trace("/SS" + id);
- return super.saveState(context);
- }
-
- public void restoreState(FacesContext context, Object state) {
- trace("/RS" + id);
- super.restoreState(context, state);
- }
-
- public void decode(FacesContext context) {
- trace("/D" + id);
- super.decode(context);
- }
-
- public String getTrace() {
- return traceLog.toString();
- }
-
- public void resetTraceLog() {
- traceLog = new StringBuffer();
- }
-
- private void trace(String message) {
- traceLog.append(message);
- }
- }
-
- private static class TCKInputComponent extends UIInput {
-
- private StringBuffer traceLog;
-
- private String id;
-
- private boolean throwRuntime;
-
- private boolean isInvalid;
-
- public TCKInputComponent(String id) {
- super();
- traceLog = new StringBuffer();
- this.id = id;
- this.setId(id);
- }
-
- public TCKInputComponent(String id, boolean throwRuntime) {
- this(id);
- this.throwRuntime = throwRuntime;
- }
-
- public void setInvalidOnValidate(boolean isInvalid) {
- this.isInvalid = isInvalid;
- }
-
- public void processDecodes(FacesContext context) {
- trace("/PD" + id);
- super.processDecodes(context);
- }
-
- public void processUpdates(FacesContext context) {
- trace("/PU" + id);
- super.processUpdates(context);
- }
-
- public void updateModel(FacesContext context) {
- trace("/UM" + id);
- if (throwRuntime) {
- throw new RuntimeException("UpdateModelRTE");
- }
- super.updateModel(context);
- }
-
- public void processValidators(FacesContext context) {
- trace("/PV" + id);
- super.processValidators(context);
- }
-
- public void validate(FacesContext context) {
- trace("/V" + id);
- if (throwRuntime) {
- throw new RuntimeException("ValidateRTE");
- }
- super.validate(context);
- if (isInvalid) {
- this.setValid(false);
- }
- }
-
- public void decode(FacesContext context) {
- trace("/D" + id);
- if (throwRuntime) {
- throw new RuntimeException("DecodeRTE");
- }
- super.decode(context);
- }
-
- public String getTrace() {
- return traceLog.toString();
- }
-
- public void resetTraceLog() {
- traceLog = new StringBuffer();
- }
-
- private void trace(String message) {
- traceLog.append(message);
- }
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/URLClient.java
deleted file mode 100644
index 4153d4986d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/URLClient.java
+++ /dev/null
@@ -1,1171 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiform;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_form_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:723; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetContainerClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:508
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentGetContainerClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetContainerClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetContainerClientIdTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:507
- * @test_Strategy: Validate a that we get a non null value return.
- */
- public void uiComponentGetContainerClientIdTest() throws EETest.Fault {
- super.uiComponentGetContainerClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:502
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:503
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:516
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:515
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:513
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:517; JSF:JAVADOC:712
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:524
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:518;JSF:JAVADOC:558
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:522;JSF:JAVADOC:561
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:561; JSF:JAVADOC:632;
- * JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:523;JSF:JAVADOC:563
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:531; JSF:JAVADOC:532;
- * JSF:JAVADOC:533; JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:537; JSF:JAVADOC:562
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:723; JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes is called: #
- * Ensure the UIForm's decode() method is called prior to
- * processing its children # Call the processDecodes() method
- * of all facets and children of this UIComponent. # Call the
- * decode() method of this component, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:542; JSF:JAVADOC:621;
- * JSF:JAVADOC:716
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:552; JSF:JAVADOC:629;
- * JSF:JAVADOC:720
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method. Enforce that extra requirement that
- * when saveState is called, the submitted property is set to
- * false. Finally verify that no state about the forms
- * submission state (i.e. the submitted property is true), the
- * value isn't saved in the state by restoring the state
- * object and ensuring that return value of isSubmitted() is
- * false.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ----------------------------------------------------------------------
- // UIForm
-
- /**
- * @testName: uiFormIsSetSubmittedTest
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:714; JSF:JAVADOC:722
- * @test_Strategy: Verify the following: - The default return value of
- * isSubmitted() is false (on a newly created component) -
- * isSubmitted() returns the value as set by setSubmitted()
- */
- public void uiFormIsSetSubmittedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiFormIsSetSubmittedTest");
- invoke();
- }
-
- /*
- * @testName: uiFormProcessUpdatesIsSubmittedTest
- *
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:714; JSF:JAVADOC:717
- *
- * @test_Strategy: Verify that the children of the UIForm component will be
- * processed if the UIForm's submitted is true; ensure the inverse occurs when
- * the submitted property is false.
- */
- public void uiFormProcessUpdatesIsSubmittedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiFormProcessUpdatesIsSubmittedTest");
- invoke();
- }
-
- /*
- * @testName: uiFormProcessValidationsIsSubmittedTest
- *
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:714; JSF:JAVADOC:719
- *
- * @test_Strategy: Verify that the children of the UIForm component will be
- * processed if the UIForm's submitted is true; ensure the inverse occurs when
- * the submitted property is false.
- */
- public void uiFormProcessValidationsIsSubmittedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiFormProcessUpdatesIsSubmittedTest");
- invoke();
- }
-
- /*
- * @testName: uiFormCreateUniqueIdTest
- *
- * @assertion_ids: JSF:JAVADOC:723; JSF:JAVADOC:710
- *
- * @test_Strategy: Validate that we receive a uniqueId with a specific 'seed'
- * value contained within.
- */
- public void uiFormCreateUniqueIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiFormCreateUniqueIdTest");
- invoke();
- }
-
- /*
- * @testName: uiFormIsSetPrependIdTest
- *
- * @assertion_ids: JSF:JAVADOC:713; JSF:JAVADOC:721
- *
- * @test_Strategy: Validate that we are able to set and get the Prepend flag.
- *
- * @since 2.2
- */
- public void uiFormIsSetPrependIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiFormIsSetPrependIdTest");
- invoke();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/build.xml
deleted file mode 100644
index f6bff50888..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/jsf_comp_form_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/jsf_comp_form_web.war.sun-web.xml
deleted file mode 100644
index ac9fc57932..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/jsf_comp_form_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_form_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/jsf_comp_form_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/jsf_comp_form_web.xml
deleted file mode 100644
index 6219ff8a56..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiform/jsf_comp_form_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_form
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiform.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/TestServlet.java
deleted file mode 100644
index abd550ccaf..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/TestServlet.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uigraphic;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BufferedResponseWrapper;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.el.ExpressionFactory;
-import jakarta.el.ValueExpression;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIGraphic;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UIGraphic();
- }
-
- // ------------------------------------------- Test Methods ----
-
- @Override
- public void uiComponentGetSetValueExpressionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- BufferedResponseWrapper wrapper = new BufferedResponseWrapper(response);
-
- super.uiComponentGetSetValueExpressionTest(request, wrapper);
- String result = wrapper.getBufferedWriter().toString();
-
- PrintWriter out = response.getWriter();
-
- if (result.indexOf(JSFTestUtil.PASS) == -1) {
- out.println(result);
- return;
- }
-
- // default processing of get,setValueExpression is ok, now validate
- // processing specific to UIGraphic
- request.setAttribute("tckUrl", "http://java.sun.com");
-
- ExpressionFactory factory = JSFTestUtil
- .getExpressionFactory(servletContext);
- ValueExpression expression = factory.createValueExpression(
- getFacesContext().getELContext(), "#{requestScope.tckUrl}",
- java.lang.String.class);
- ValueExpression literalExpr = factory.createValueExpression(
- getFacesContext().getELContext(), "http://java.net",
- java.lang.String.class);
-
- UIGraphic graphic = (UIGraphic) createComponent();
-
- graphic.setValueExpression("url", expression);
-
- if (!"http://java.sun.com".equals(graphic.getValue())) {
- out.println(JSFTestUtil.FAIL + " setValueExpression() with a key of 'url'"
- + " didn't set the ValueExpression provided as the value"
- + " of the component.");
- out.println("Expected: http://java.net");
- out.println("Received: " + graphic.getValue());
- return;
- }
-
- // ensure there is no special processing if the ValueExpression
- // happens to be literal
- graphic.setValueExpression("url", literalExpr);
- if (!"http://java.net".equals(graphic.getValue())) {
- out.println(JSFTestUtil.FAIL + " setValueExpression() with a key of 'url'"
- + " didn't set the literal ValueExpression provided as the "
- + "value of the component.");
- out.println("Expected: " + expression);
- out.println("Received: " + graphic.getValue());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- public void uiGraphicSetGetValueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIGraphic command = (UIGraphic) createComponent();
-
- command.setValue("value");
-
- if (!"value".equals(command.getValue())) {
- out.println(JSFTestUtil.FAIL + " UIGraphic.getValue() didn't return"
- + " the value as set by UIGraphic.setValue().");
- out.println("Expected: value");
- out.println("Received: " + command.getValue());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiGraphicGetSetURLTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIGraphic graphic = (UIGraphic) createComponent();
-
- String url = "http://java.sun.com";
-
- graphic.setUrl(url);
- String result = graphic.getUrl();
- if (!url.equals(result)) {
- out.println(JSFTestUtil.FAIL + " Expected UIGraphic.getURL() to return"
- + " the value as set by UIGraphic.setURL().");
- out.println("Expected: " + url);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/URLClient.java
deleted file mode 100644
index 72d9c93a7b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/URLClient.java
+++ /dev/null
@@ -1,1092 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uigraphic;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_graphic_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:488
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:491
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:491
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:494
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:494
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:738; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:502
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:503
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:516
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:515
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:513
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:517; JSF:JAVADOC:725
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:524
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:518;JSF:JAVADOC:558
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:522;JSF:JAVADOC:561
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:561; JSF:JAVADOC:632;
- * JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:523;JSF:JAVADOC:563
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:738; JJSF:JAVADOC:531; JSF:JAVADOC:532;
- * JSF:JAVADOC:533; JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:537; JSF:JAVADOC:562
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:738; JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:736; JSF:JAVADOC:730
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:529; JSF:JAVADOC:731;
- * JSF:JAVADOC:737
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // -------------------------------------------------------------------
- // UIGraphic
- /**
- * @testName: uiGraphicSetGetValueTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:727; JSF:JAVADOC:733
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void uiGraphicSetGetValueTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiGraphicSetGetValueTest");
- invoke();
- }
-
- /**
- * @testName: uiGraphicGetSetURLTest
- * @assertion_ids: JSF:JAVADOC:738; JSF:JAVADOC:726; JSF:JAVADOC:732
- * @test_Strategy: Verify {get,set}URL() - if a URL value is set, the same
- * value is returned.
- */
- public void uiGraphicGetSetURLTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiGraphicGetSetURLTest");
- invoke();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/build.xml
deleted file mode 100644
index e4cdf60cbe..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/jsf_comp_graphic_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/jsf_comp_graphic_web.war.sun-web.xml
deleted file mode 100644
index eeaced5cca..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/jsf_comp_graphic_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_graphic_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/jsf_comp_graphic_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/jsf_comp_graphic_web.xml
deleted file mode 100644
index 130ee8b09f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uigraphic/jsf_comp_graphic_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_graphic
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uigraphic.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/TestServlet.java
deleted file mode 100644
index 9ea795c6c8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/TestServlet.java
+++ /dev/null
@@ -1,918 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.Iterator;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKConverter;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKValidator;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKValueChangeListener;
-import com.sun.ts.tests.jsf.common.beans.TestBean;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.el.ValueExpression;
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.application.Application;
-import jakarta.faces.application.FacesMessage;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.convert.Converter;
-import jakarta.faces.convert.ConverterException;
-import jakarta.el.MethodExpression;
-import jakarta.el.ELContext;
-import jakarta.faces.event.PhaseId;
-import jakarta.faces.event.ValueChangeEvent;
-import jakarta.faces.render.RenderKit;
-import jakarta.faces.render.RenderKitFactory;
-import jakarta.faces.render.Renderer;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-import jakarta.faces.event.MethodExpressionValueChangeListener;
-import jakarta.faces.validator.MethodExpressionValidator;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UIInput();
- }
-
- // --------------------------------------------------------- Private Methods
-
- // Check that the number of queued messages equals the expected count
- protected int checkMessages() {
-
- int n = 0;
- Iterator messages = getFacesContext().getMessages();
- while (messages.hasNext()) {
- FacesMessage message = (FacesMessage) messages.next();
- n++;
- System.err.println(message.getSummary());
- }
- return n;
- }
-
- // ------------------------------------------- Test Methods ----
-
- // ----------------------------------------------------------------- UIInput
-
- // Test event queuing and broadcasting (any phase listeners)
- public void uiInputBroadcastTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext facesContext = getFacesContext();
- UIInput input = (UIInput) createComponent();
- UIViewRoot root = facesContext.getApplication().getViewHandler()
- .createView(facesContext, "/root");
- root.getChildren().add(input);
- ValueChangeEvent event = new ValueChangeEvent(input, null, null);
- event.setPhaseId(PhaseId.PROCESS_VALIDATIONS);
-
- // Register three listeners
- input.addValueChangeListener(new TCKValueChangeListener("AP0"));
- input.addValueChangeListener(new TCKValueChangeListener("AP1"));
- input.addValueChangeListener(new TCKValueChangeListener("AP2"));
-
- // Fire events and evaluate results
- TCKValueChangeListener.trace(null);
- input.queueEvent(event);
- root.processDecodes(facesContext);
- root.processValidators(facesContext);
- root.processApplication(facesContext);
- String trace = TCKValueChangeListener.trace();
- String expectedTrace = "/AP0@PROCESS_VALIDATIONS/AP1@PROCESS_VALIDATIONS/AP2@PROCESS_VALIDATIONS";
- if (!expectedTrace.equals(trace)) {
- out.println(JSFTestUtil.FAIL + " Unexpected listener trace.");
- out.println("Expected trace: " + expectedTrace);
- out.println("Trace received: " + trace);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputBroadcastValueChangeListenerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext facesContext = getFacesContext();
- UIInput input = (UIInput) createComponent();
- UIViewRoot root = new UIViewRoot();
- root.getChildren().add(input);
-
- TCKValueChangeListener listener = new TCKValueChangeListener("VCLR");
-
- ELContext context2 = facesContext.getELContext();
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(context2,
- "#{requestScope.reqVCL.processValueChange}", null, new Class[] { ValueChangeEvent.class });
-
- request.setAttribute("reqVCL", listener);
- MethodExpressionValueChangeListener lnr = new MethodExpressionValueChangeListener(binding);
- input.addValueChangeListener(lnr);
-
- ValueChangeEvent event = new ValueChangeEvent(input, null, null);
- event.setPhaseId(PhaseId.PROCESS_VALIDATIONS);
- TCKValueChangeListener.trace(null);
- input.queueEvent(event);
- root.processDecodes(facesContext);
- root.processValidators(facesContext);
- root.processApplication(facesContext);
-
- String trace = TCKValueChangeListener.trace();
-
- if (trace.length() == 0) {
- out.println(JSFTestUtil.FAIL + " The ValueChangeListener as referenced"
- + " by ValueChangeListenerRef 'requestScope.reqVCL.processValueChange'"
- + " was not invoked.");
- return;
- }
-
- if (!"/VCLR@PROCESS_VALIDATIONS".equals(trace)) {
- out.println(JSFTestUtil.FAIL + " Unexpected Listener trace.");
- out.println("Expected: /VCLR@PROCESS_VALIDATIONS");
- out.println("Received: " + trace);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputUpdateModelNoActionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- input.setValue(Boolean.FALSE);
- TestBean testBean = new TestBean();
- testBean.setBoolProp(true);
-
- FacesContext context = getFacesContext();
-
- request.setAttribute("TestBean", testBean);
-
- // if valid property is false, then no action is taken
- input.setValid(false);
-
- ELContext context2 = context.getELContext();
- input.setValueExpression("attr", context.getApplication().getExpressionFactory().createValueExpression(context2,
- "#{requestScope.TestBean.boolProp}", ELContext.class ));
-
- input.updateModel(context);
-
- int messageCount = checkMessages();
- if (messageCount != 0) {
- out.println(JSFTestUtil.FAIL + " Didn't expect to find any messages "
- + "in the FacesContext.");
- out.println("Message count: " + messageCount);
- }
-
- if (!testBean.getBoolProp()) {
- out.println(JSFTestUtil.FAIL + " UIInput instance's valid property was "
- + "false. The updateModel() method should not have updated the value"
- + " referenced by the set ValueExpression.");
- return;
- }
-
- // If there is no value binding, nothing should occur
- input = (UIInput) createComponent();
- input.setValue(Boolean.FALSE);
- input.setValid(true);
-
- input.updateModel(context);
-
- messageCount = checkMessages();
- if (messageCount != 0) {
- out.println(JSFTestUtil.FAIL + " Didn't expect to find any messages "
- + "in the FacesContext.");
- out.println("Message count: " + messageCount);
- }
-
- if (!testBean.getBoolProp()) {
- out.println(JSFTestUtil.FAIL + " UIInput instance has no ValueExpression. "
- + "The updateModel() method should not have performed any action.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputUpdateModelSucceedsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- TestBean testBean = new TestBean();
- testBean.setBoolProp(false);
- request.setAttribute("TestBean", testBean);
-
- FacesContext context = getFacesContext();
-
- input.setValueExpression("value", this.getVExpression(context,
- "#{requestScope.TestBean.boolProp}", boolean.class));
-
- input.setValue(Boolean.TRUE);
-
- input.updateModel(context);
-
- int messageCount = checkMessages();
- if (messageCount != 0) {
- out.println(JSFTestUtil.FAIL + " Didn't expect to find any messages "
- + "in the FacesContext.");
- out.println("Message count: " + messageCount);
- return;
- }
-
- if (testBean.getBoolProp() != true) {
- out.println(
- JSFTestUtil.FAIL + " updateModel() call failed. Boolean property"
- + " of TestBean instance was not updated.");
- return;
- }
-
- if (input.getLocalValue() != null) {
- out.println(JSFTestUtil.FAIL + " The local value of the component was not"
- + " set to null after updateModel() succeeded updating the "
- + "model tier.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputUpdateModelFailsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- TestBean testBean = new TestBean();
- request.setAttribute("TestBean", testBean);
-
- FacesContext context = getFacesContext();
-
- input.setValueExpression("value", this.getVExpression(context,
- "#{requestScope.TestBean.stkTrace}", String.class));
-
- // This will trigger an exception to be thrown to the ExceptionHandler
- input.setValue("Nothing");
-
- input.updateModel(context);
-
- if (context.getExceptionHandler()
- .getUnhandledExceptionQueuedEvents() == null) {
- out.println("Test FAILED. Expected to find an Unhandled "
- + "ExceptionEvent in the FacesContext to reflect the "
- + "conversion failure.");
- return;
- }
-
- if (!"false".equals(testBean.getStkTrace())) {
- out.println(JSFTestUtil.FAIL + " updateModel() call failed. Boolean "
- + "property of TestBean instance was altered.");
- out.println("Expected value to be: false");
- out.println("Actual value: " + testBean.getBoolProp());
- return;
- }
-
- if (!input.getLocalValue().equals("Nothing")) {
- out.println(JSFTestUtil.FAIL + " The local value of the UIInput "
- + "instance was modified.");
- out.println("Expected: String Nothing");
- out.println("Received: " + input.getLocalValue());
- return;
- }
-
- if (input.isValid()) {
- out.println(JSFTestUtil.FAIL + " Expected the valid property of the "
- + "UIInput instance to be false after the updateModel() "
- + "call failed.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIInput.updateModel() throws NullPointerException
- public void uiInputUpdateModelNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(createComponent().getClass(), "updateModel",
- new Class>[] { FacesContext.class }, new Object[] { null }, out);
-
- }// End uiInputUpdateModelNPETest
-
- // UIInput.validate() throws NullPointerException
- public void uiInputValidateNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(createComponent().getClass(), "validate",
- new Class>[] { FacesContext.class }, new Object[] { null }, out);
-
- }// End uiInputValidateNPETest
-
- public void uiInputValidate1Test(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- RenderKitFactory rFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit rKit = rFactory.getRenderKit(context,
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
- String rendererType = input.getRendererType();
- String family = input.getFamily();
- Renderer orig = rKit.getRenderer(family, rendererType);
- Renderer1 renderer1 = new Renderer1();
- rKit.addRenderer(family, rendererType, renderer1);
-
- input.setValid(true);
- input.setRequired(true);
- input.setSubmittedValue("null");
-
- input.validate(context);
-
- if (!renderer1.wasCalled()) {
- out.println(JSFTestUtil.FAIL + " A Renderer was associated with the "
- + "component, but the getConvertedValue() method was not invoked"
- + " on the Renderer.");
- return;
- }
-
- if (orig != null)
- rKit.addRenderer(family, rendererType, orig);
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputValidate2Test(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- RenderKitFactory rFactory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- RenderKit rKit = rFactory.getRenderKit(context,
- RenderKitFactory.HTML_BASIC_RENDER_KIT);
- String rendererType = input.getRendererType();
- String family = input.getFamily();
- Renderer orig = rKit.getRenderer(family, rendererType);
- Renderer1 renderer1 = new Renderer1();
- rKit.addRenderer(family, rendererType, renderer1);
-
- // null or "" should result in a message being queued and the component
- // being marked as invalid
- input.setValid(true);
- input.setRequired(true);
- // setting to "null" as string cuases custom Renderer to return null
- input.setSubmittedValue("null");
-
- input.validate(context);
-
- Object[] messages = JSFTestUtil.getAsArray(context.getMessages());
-
- if (messages.length != 1) {
- out.println(JSFTestUtil.FAIL + " Expected one message to be queued to"
- + " the FacesContext if the UIInput being validated had a "
- + "null value.");
- out.println("Number of messages: " + messages.length);
- return;
- }
-
- if (input.isValid()) {
- out.println(JSFTestUtil.FAIL + " Component was not marked invalid after"
- + " attempting to validate with a null value.");
- return;
- }
-
- input.setValid(true);
- input.setSubmittedValue("");
-
- input.validate(context);
-
- messages = JSFTestUtil.getAsArray(context.getMessages());
-
- if (messages.length != 2) {
- out.println(JSFTestUtil.FAIL + " Expected two messages to be queued to"
- + " the FacesContext if the UIInput being validated had a "
- + "zero-length string as the value.");
- out.println("Number of messages: " + messages.length);
- return;
- }
-
- if (input.isValid()) {
- out.println(JSFTestUtil.FAIL + " Component was not marked invalid after"
- + " attempting to validate with a zero-length string as the"
- + " value.");
- return;
- }
-
- // restore original Renderer
- if (orig != null)
- rKit.addRenderer(family, rendererType, orig);
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputValidate3aTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- // Verify that a UIInput instance that has a local value,
- // and the valid property is true all validators associated
- // with the component are invoked, if the component is marked
- // invalid by a validator, no listener is invoked.
- input.setSubmittedValue("previous");
-
- // Setup the validators
- TCKValidator validator1 = new TCKValidator("VL1", false);
- TCKValidator validator2 = new TCKValidator("VL2", true);
-
- input.addValidator(validator1);
- request.setAttribute("TCKValidator", validator2);
-
- ELContext context2 = context.getELContext();
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(
- context2, "#{requestScope.TCKValidator.validate}", null,
- new Class[] { FacesContext.class, UIComponent.class, Object.class });
-
- MethodExpressionValidator validator = new MethodExpressionValidator(binding);
- input.addValidator(validator);
-
- // Setup the listeners
- TCKValueChangeListener listener = new TCKValueChangeListener("VCL1");
-
- input.addValueChangeListener(listener);
- input.setSubmittedValue("new-value");
-
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- root.processValidators(context);
-
- String valTrace = TCKValidator.getTrace();
- if (!"/VL1/VL2".equals(valTrace)) {
- out.println(JSFTestUtil.FAIL + " Validator trace did not return as "
- + "expected.");
- out.println("Traced expected: /VL1/VL2");
- out.println("Trace received: " + valTrace);
- return;
- }
-
- String listenerTrace = TCKValueChangeListener.trace();
- if (listenerTrace.length() != 0) {
- out.println(JSFTestUtil.FAIL + " ValueChangeListener was incorrectly"
- + " invoked after a Validator marked the component as invalid.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputValidate3bTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- // Verify that a UIInput instance that has a local value,
- // and the valid property is true all validators associated
- // with the component are invoked, if the component is marked
- // invalid by a validator, no listener is invoked.
- input.setSubmittedValue("previous");
-
- // Setup the validators
- TCKValidator validator1 = new TCKValidator("VL1", false);
- TCKValidator validator2 = new TCKValidator("VL2", true);
-
- input.addValidator(validator1);
- request.setAttribute("TCKValidator", validator2);
-
- ELContext context2 = context.getELContext();
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(
- context2, "#{requestScope.TCKValidator.validate}", null,
- new Class[] { FacesContext.class, UIComponent.class, Object.class });
- MethodExpressionValidator validator = new MethodExpressionValidator(binding);
- input.addValidator(validator);
-
- // Setup the listeners
- TCKValueChangeListener listener = new TCKValueChangeListener("VCL1");
-
- input.addValueChangeListener(listener);
- input.setSubmittedValue("new-value");
-
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- root.processValidators(context);
-
- // All validators succeed, and the value differs from the previous.
- // ensure the listener was invoked.
- validator2.markInvalid(false);
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
- input.setValid(true);
-
- root.processValidators(context);
-
- String valTrace = TCKValidator.getTrace();
- if (!"/VL1/VL2".equals(valTrace)) {
- out.println(JSFTestUtil.FAIL + " Validator trace did not return as "
- + "expected.");
- out.println("Traced expected: /VL1/VL2");
- out.println("Trace received: " + valTrace);
- return;
- }
-
- String listenerTrace = TCKValueChangeListener.trace();
- if (!"/VCL1@ANY_PHASE".equals(listenerTrace)) {
- out.println(JSFTestUtil.FAIL + " Unexpected listener trace.");
- out.println("Expected: /VCL1@ANY_PHASE");
- out.println("Received: " + listenerTrace);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputValidate3cTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- // Verify that a UIInput instance that has a local value,
- // and the valid property is true all validators associated
- // with the component are invoked, if the component is marked
- // invalid by a validator, no listener is invoked.
- input.setSubmittedValue("previous");
- // input.setValue("new");
-
- // Setup the validators
- TCKValidator validator1 = new TCKValidator("VL1", false);
- TCKValidator validator2 = new TCKValidator("VL2", true);
-
- input.addValidator(validator1);
- request.setAttribute("TCKValidator", validator2);
-
- ELContext context2 = context.getELContext();
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(
- context2, "#{requestScope.TCKValidator.validate}", null,
- new Class[] { FacesContext.class, UIComponent.class, Object.class });
- MethodExpressionValidator validator = new MethodExpressionValidator(binding);
- input.addValidator(validator);
-
- // Setup the listeners
- TCKValueChangeListener listener = new TCKValueChangeListener("VCL1");
-
- input.addValueChangeListener(listener);
- input.setSubmittedValue("new-value");
-
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- // finally, if the new and previous values do not differ,
- // the listener will not be invoked.
- input.setSubmittedValue("value");
- input.setValue("value");
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- root.processValidators(context);
-
- String valTrace = TCKValidator.getTrace();
- if (!"/VL1/VL2".equals(valTrace)) {
- out.println(JSFTestUtil.FAIL + " Validator trace did not return as "
- + "expected.");
- out.println("Traced expected: /VL1/VL2");
- out.println("Trace received: " + valTrace);
- return;
- }
-
- String listenerTrace = TCKValueChangeListener.trace();
- if (listenerTrace.length() != 0) {
- out.println(JSFTestUtil.FAIL + " ValueChangeListener was incorrectly"
- + " invoked after a Validator marked the component as invalid.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputValidate4Test(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- Converter converter = new TCKConverter();
- input.setConverter(converter);
-
- input.setSubmittedValue("value");
-
- input.setValid(true);
- input.setRequired(true);
- input.validate(context);
-
- if (!"converted".equals(input.getValue())) {
- out.println(JSFTestUtil.FAIL + " Converter available to the component"
- + " via getConverter(), but the converter wasn't called.");
- out.println("Expected the value after conversion to be 'converted'");
- out.println("Value received: " + input.getValue());
- return;
- }
-
- // now verify the proper behavior if conversion fails
- input.setSubmittedValue("fail");
- input.validate(context);
-
- if (input.isValid()) {
- out.println(JSFTestUtil.FAIL + " Conversion failure should have resulted"
- + " in the component in question being marked as invalid.");
- return;
- }
-
- if (JSFTestUtil.getAsArray(context.getMessages()).length != 1) {
- out.println(JSFTestUtil.FAIL + " No messages queued as required in the "
- + "case of conversion failure.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputValidate5Test(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- FacesContext context = getFacesContext();
- Application application = getApplication();
- UIViewRoot root = application.getViewHandler().createView(context, "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- application.addConverter(Boolean.class,
- "com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKConverter");
-
- // setup value binding
- request.setAttribute("simple", new TestBean());
-
- input.setValueExpression("value", this.getVExpression(context,
- "#{requestScope.simple.boolWrapProp}", boolean.class));
-
- // run through validation
- input.setSubmittedValue("value");
-
- input.setValid(true);
- input.setRequired(true);
- input.validate(context);
-
- if (!"converted".equals(input.getValue())) {
- out.println(JSFTestUtil.FAIL + " Converter available to the component"
- + " via getConverter(), but the converter wasn't called.");
- out.println("Expected the value after conversion to be 'converted'");
- out.println("Value received: " + input.getValue());
- return;
- }
-
- // now verify the proper behavior if conversion fails
- input.setSubmittedValue("fail");
- input.validate(context);
-
- if (input.isValid()) {
- out.println(JSFTestUtil.FAIL + " Conversion failure should have resulted"
- + " in the component in question being marked as invalid.");
- return;
- }
-
- if (JSFTestUtil.getAsArray(context.getMessages()).length != 1) {
- out.println(JSFTestUtil.FAIL + " No messages queued as required in the "
- + "case of conversion failure.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- /* @since 1.2 */
- public void uiInputResetValueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
-
- input.setValue("currentValue");
- input.setSubmittedValue("submittedValue");
- input.setLocalValueSet(true);
- input.setValid(false);
-
- input.resetValue();
-
- // resetValue() must pass null to setValue() and setSubmittedValue()
- // resetValue() must pass false to setLocaleValueSet()
- // resetValue() must pass true to setValid()
-
- boolean passed = true;
- if (input.getValue() != null) {
- out.println(JSFTestUtil.FAIL + " resetValue() called, but getValue()"
- + "returned a non-null value.");
- passed = false;
- }
-
- if (input.getSubmittedValue() != null) {
- out.println(JSFTestUtil.FAIL + " resetValue() called, but "
- + "getSubmittedValue() returned a non-null value.");
- passed = false;
- }
-
- if (input.isLocalValueSet()) {
- out.println(JSFTestUtil.FAIL + " resetValue() called, but "
- + "isLocalValueSet() returned true.");
- passed = false;
- }
-
- if (!input.isValid()) {
- out.println(JSFTestUtil.FAIL + " resetValue() called, but "
- + "isValid() returned false");
- passed = false;
- }
-
- if (passed) {
- out.println(JSFTestUtil.PASS);
- }
-
- } // END uiInputResetValueTest
-
- // --------------------------------------------------------- Private Methods
-
- private ValueExpression getVExpression(FacesContext context, String expr,
- Class expType) {
- ValueExpression ve = context.getApplication().getExpressionFactory()
- .createValueExpression(FacesContext.getCurrentInstance().getELContext(),
- expr, expType);
-
- return ve;
-
- }
-
- public void uiInputSetGetConverterMessTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
-
- String golden = "Bytor";
- input.setConverterMessage(golden);
- String result = input.getConverterMessage();
-
- if (!result.equals(golden)) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected Value returned from getConverterMessage() "
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Received: " + result);
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // end uiInputSetGetConverterMessTest
-
- public void uiInputSetGetValidatorMessTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
-
- String golden = "SnowDog";
- input.setValidatorMessage(golden);
- String result = input.getValidatorMessage();
-
- if (!result.equals(golden)) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected Value returned from getValidatorMessage() "
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Received: " + result);
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // end uiInputSetGetValidatorMessTest
-
- public void uiInputSetGetRequiredMessTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
-
- String golden = "ZoSo";
- input.setRequiredMessage(golden);
- String result = input.getRequiredMessage();
-
- if (!result.equals(golden)) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected Value returned from getRequiredMessage() "
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Received: " + result);
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // end uiInputSetGetRequiredMessTest
-
- // --------------------------------------------------------- Private Classes
-
- private static class Renderer1 extends Renderer {
-
- boolean called;
-
- public Object getConvertedValue(FacesContext context, UIComponent component,
- Object submittedValue) throws ConverterException {
- called = true;
- if (submittedValue.equals("null"))
- return null;
-
- return submittedValue;
- }
-
- public void reset() {
- called = false;
- }
-
- public boolean wasCalled() {
- return called;
- }
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/URLClient.java
deleted file mode 100644
index f25745f947..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/URLClient.java
+++ /dev/null
@@ -1,1490 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_input_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String[] args, PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentDecodeNPETest
- * @assertion_ids: JSF:JAVADOC:583; JSF:JAVADOC:484; JSF:JAVADOC:745
- * @test_Strategy: Verify that when decode() is called passing null as the
- * context, a NullPointException is thrown.
- */
- public void uiComponentDecodeNPETest() throws EETest.Fault {
- super.uiComponentDecodeNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
-
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:747
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /*
- * @testName: uiComponentInvokeOnComponentTest
- *
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- *
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /*
- * @testName: uiComponentInvokeOnComponentNegativeTest
- *
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- *
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621; JSF:JAVADOC:762
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627; JSF:JAVADOC:764
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628; JSF:JAVADOC:765
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629; JSF:JAVADOC:766
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443; JSF:JAVADOC:771; JSF:JAVADOC:772
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433; JSF:JAVADOC:743;
- * JSF:JAVADOC:760
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968; JSF:JAVADOC:782
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ----------------------------------------------------- EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427; JSF:JAVADOC:759;
- * JSF:JAVADOC:779
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419; JSF:JAVADOC:739; JSF:JAVADOC:752;
- * JSF:JAVADOC:767
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * Validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426; JSF:JAVADOC:778;
- * JSF:JAVADOC:749
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425; JSF:JAVADOC:758;
- * JSF:JAVADOC:776
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420; JSF:JAVADOC:768
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407; JSF:JAVADOC:740
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409; JSF:JAVADOC:742
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421; JSF:JAVADOC:769
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423; JSF:JAVADOC:756;
- * JSF:JAVADOC:774
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424; JSF:JAVADOC:757;
- * JSF:JAVADOC:775
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
-
- // ----------------------------------------------------------------- UIInput
-
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputBroadcastTest");
- invoke();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputBroadcastValueChangeListenerTest");
- invoke();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueExpression associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputUpdateModelNoActionTest");
- invoke();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputUpdateModelSucceedsTest");
- invoke();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputUpdateModelFailsTest");
- invoke();
- }
-
- /**
- * @testName: uiInputUpdateModelNPETest
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:786
- * @test_Strategy: Validate that a NullPointerException is thrown if
- * FacesContext is null.
- *
- */
- public void uiInputUpdateModelNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputUpdateModelNPETest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidateNPETest
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:788
- * @test_Strategy: Validate that a NullPointerException is thrown if
- * FacesContext is null.
- *
- */
- public void uiInputValidateNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidateNPETest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate1Test");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate2Test");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate3aTest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate3bTest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate3cTest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate4Test
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:787
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify
- * if an exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate4Test() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate4Test");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate5Test
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:787
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueExpression, use the type of the
- * expression to create a Converter for that type and use it
- * to convert the submitted value. Additionally verify if an
- * exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate5Test() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate5Test");
- invoke();
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:784; JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputResetValueTest");
- invoke();
- }
-
- /**
- * @testName: uiInputSetGetConverterMessTest
- * @assertion_ids: JSF:JAVADOC:746; JSF:JAVADOC:773
- * @test_Strategy: Validate that {set,get}ConverterMessage() methods work
- * properly.
- *
- * @since 2.2
- */
- public void uiInputSetGetConverterMessTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputSetGetConverterMessTest");
- invoke();
- }
-
- /**
- * @testName: uiInputSetGetValidatorMessTest
- * @assertion_ids: JSF:JAVADOC:751; JSF:JAVADOC:777
- * @test_Strategy: Validate that {set,get}ValidatorMessage() methods work
- * properly.
- *
- * @since 2.2
- */
- public void uiInputSetGetValidatorMessTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputSetGetValidatorMessTest");
- invoke();
- }
-
- /**
- * @testName: uiInputSetGetRequiredMessTest
- * @assertion_ids: JSF:JAVADOC:748; JSF:JAVADOC:781
- * @test_Strategy: Validate that {set,get}RequiredMessage() methods work
- * properly.
- *
- * @since 2.2
- */
- public void uiInputSetGetRequiredMessTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputSetGetRequiredMessTest");
- invoke();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/build.xml
deleted file mode 100644
index 8030dd2f8a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/build.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/jsf_comp_input_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/jsf_comp_input_web.war.sun-web.xml
deleted file mode 100644
index b9e19ffd76..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/jsf_comp_input_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_input_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/jsf_comp_input_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/jsf_comp_input_web.xml
deleted file mode 100644
index c060911123..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiinput/jsf_comp_input_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_input
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/TestServlet.java
deleted file mode 100644
index 37a1fdfe2a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/TestServlet.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uimessage;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIMessage;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UIMessage();
- }
-
- // ----------------------------------------- UIMessage Specific Test Methods
- // UIMessage.{get,set}For
- public void uiMessageGetSetForTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String myto = "mytestobject";
- UIMessage message = (UIMessage) createComponent();
- message.setFor(myto);
-
- if (!myto.equals(message.getFor())) {
- out.println(JSFTestUtil.FAIL + " Expected result calling "
- + "UIMessage.setFor() or UIMessage.getFor()!" + JSFTestUtil.NL
- + "Expected: " + myto + JSFTestUtil.NL + "Received: "
- + message.getFor());
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // end uiMessageGetSetForTest
-
- public void uiMessageIsSetRedisplayTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIMessage message = (UIMessage) createComponent();
- boolean tf;
-
- // Check redisplay for default value.
- tf = message.isRedisplay();
- if (!tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected Default value returned from .isRedisplay()!"
- + JSFTestUtil.NL + "Expected: true" + JSFTestUtil.NL + "Received: "
- + tf);
- return;
- }
-
- // Set value then check it again.
- message.setRedisplay(false);
- tf = message.isRedisplay();
- if (tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected value returned from .isRedisplay() after "
- + "setting it with .setRedisplay()!" + JSFTestUtil.NL
- + "Expected: false" + JSFTestUtil.NL + "Received: " + tf);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // end uiMessageIsSetRedisplayTest
-
- public void uiMessageIsSetShowDetailTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIMessage message = (UIMessage) createComponent();
- boolean tf;
-
- // Check redisplay for default value.
- tf = message.isShowDetail();
- if (!tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected Default value returned from .isShowDetail()!"
- + JSFTestUtil.NL + "Expected: true" + JSFTestUtil.NL + "Received: "
- + tf);
- return;
- }
-
- // Set value then check it again.
- message.setShowDetail(false);
- tf = message.isShowDetail();
- if (tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected value returned from .isShowDetail() after "
- + "setting it with .setShowDetail()!" + JSFTestUtil.NL
- + "Expected: false" + JSFTestUtil.NL + "Received: " + tf);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // end uiMessageIsSetShowDetailTest
-
- public void uiMessageIsSetShowSummaryTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIMessage message = (UIMessage) createComponent();
- boolean tf;
-
- // Check redisplay for default value.
- tf = message.isShowSummary();
- if (tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected Default value returned from .isShowSummary()!"
- + JSFTestUtil.NL + "Expected: false" + JSFTestUtil.NL + "Received: "
- + tf);
- return;
- }
-
- // Set value then check it again.
- message.setShowSummary(true);
- tf = message.isShowSummary();
- if (!tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected value returned from .isShowSummary() after "
- + "setting it with .setShowSummary()!" + JSFTestUtil.NL
- + "Expected: true" + JSFTestUtil.NL + "Received: " + tf);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // end uiMessageIsSetShowSummaryTest
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/URLClient.java
deleted file mode 100644
index 19097cba46..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/URLClient.java
+++ /dev/null
@@ -1,1126 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uimessage;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_message_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:789
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // ---------------------------------------------------------- UIMessage
- // specific
-
- /**
- * @testName: uiMessageGetSetForTest
- * @assertion_ids: JSF:JAVADOC:798; JSF:JAVADOC:790; JSF:JAVADOC:794
- * @test_Strategy: Verify that the UiMessage.setFor() & UIMessage.getFor()
- * methods perform as expected.
- * @since 2.0
- */
- public void uiMessageGetSetForTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiMessageGetSetForTest");
- invoke();
- }
-
- /**
- * @testName: uiMessageIsSetRedisplayTest
- * @assertion_ids: JSF:JAVADOC:798; JSF:JAVADOC:791; JSF:JAVADOC:795
- * @test_Strategy: Verify that the {is, set}Redisplay() methods perform as
- * expected.
- *
- * @since 2.0
- */
- public void uiMessageIsSetRedisplayTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiMessageIsSetRedisplayTest");
- invoke();
- }
-
- /**
- * @testName: uiMessageIsSetShowDetailTest
- * @assertion_ids: JSF:JAVADOC:798; JSF:JAVADOC:792; JSF:JAVADOC:796
- * @test_Strategy: Verify that the {is, set}ShowDetail() methods perform as
- * expected.
- *
- * @since 2.0
- */
- public void uiMessageIsSetShowDetailTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiMessageIsSetShowDetailTest");
- invoke();
- }
-
- /**
- * @testName: uiMessageIsSetShowSummaryTest
- * @assertion_ids: JSF:JAVADOC:798; JSF:JAVADOC:793; JSF:JAVADOC:797
- * @test_Strategy: Verify that the {is, set}ShowSummary() methods perform as
- * expected.
- *
- * @since 2.0
- */
- public void uiMessageIsSetShowSummaryTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiMessageIsSetShowSummaryTest");
- invoke();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/build.xml
deleted file mode 100644
index b09ca639e8..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/jsf_comp_message_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/jsf_comp_message_web.war.sun-web.xml
deleted file mode 100644
index 2981a37f98..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/jsf_comp_message_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_message_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/jsf_comp_message_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/jsf_comp_message_web.xml
deleted file mode 100644
index 690d0fc756..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessage/jsf_comp_message_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_message
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uimessage.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/TestServlet.java
deleted file mode 100644
index 9579af0678..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/TestServlet.java
+++ /dev/null
@@ -1,210 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uimessages;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIMessages;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UIMessages();
- }
-
- // ----------------------------------------- UIMessage Specific Test Methods
- // UIMessage.{get,set}For
- public void uiMessagesGetSetForTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String myto = "mytestobject";
- UIMessages messages = (UIMessages) createComponent();
- messages.setFor(myto);
-
- if (!myto.equals(messages.getFor())) {
- out.println(JSFTestUtil.FAIL + " Expected result calling "
- + "UIMessages.setFor() or UIMessages.getFor()!" + JSFTestUtil.NL
- + "Expected: " + myto + JSFTestUtil.NL + "Received: "
- + messages.getFor());
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- public void uiMessagesIsSetRedisplayTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIMessages messages = (UIMessages) createComponent();
- boolean tf;
-
- // Check redisplay for default value.
- tf = messages.isRedisplay();
- if (!tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected Default value returned from .isRedisplay()!"
- + JSFTestUtil.NL + "Expected: true" + JSFTestUtil.NL + "Received: "
- + tf);
- return;
- }
-
- // Set value then check it again.
- messages.setRedisplay(false);
- tf = messages.isRedisplay();
- if (tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected value returned from .isRedisplay() after "
- + "setting it with .setRedisplay()!" + JSFTestUtil.NL
- + "Expected: false" + JSFTestUtil.NL + "Received: " + tf);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // end uiMessagesIsSetRedisplayTest
-
- public void uiMessagesIsSetShowDetailTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIMessages messages = (UIMessages) createComponent();
- boolean tf;
-
- // Check redisplay for default value.
- tf = messages.isShowDetail();
- if (tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected Default value returned from .isShowDetail()!"
- + JSFTestUtil.NL + "Expected: false" + JSFTestUtil.NL + "Received: "
- + tf);
- return;
- }
-
- // Set value then check it again.
- messages.setShowDetail(true);
- tf = messages.isShowDetail();
- if (!tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected value returned from .isShowDetail() after "
- + "setting it with .setShowDetail()!" + JSFTestUtil.NL
- + "Expected: tue" + JSFTestUtil.NL + "Received: " + tf);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // end uiMessagesIsSetShowDetailTest
-
- public void uiMessagesIsSetShowSummaryTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIMessages messages = (UIMessages) createComponent();
- boolean tf;
-
- // Check redisplay for default value.
- tf = messages.isShowSummary();
- if (!tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected Default value returned from .isShowSummary()!"
- + JSFTestUtil.NL + "Expected: true" + JSFTestUtil.NL + "Received: "
- + tf);
- return;
- }
-
- // Set value then check it again.
- messages.setShowSummary(false);
- tf = messages.isShowSummary();
- if (tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected value returned from .isShowSummary() after "
- + "setting it with .setShowSummary()!" + JSFTestUtil.NL
- + "Expected: false" + JSFTestUtil.NL + "Received: " + tf);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // end uiMessagesIsSetShowSummaryTest
-
- public void uiMessagesIsSetGlobalOnlyTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIMessages messages = (UIMessages) createComponent();
- boolean tf;
-
- // Check redisplay for default value.
- tf = messages.isGlobalOnly();
- if (tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected Default value returned from .isGlobalOnly()!"
- + JSFTestUtil.NL + "Expected: false" + JSFTestUtil.NL + "Received: "
- + tf);
- return;
- }
-
- // Set value then check it again.
- messages.setGlobalOnly(true);
- tf = messages.isGlobalOnly();
- if (!tf) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected value returned from .isShowSummary() after "
- + "setting it with .setGlobalOnly()!" + JSFTestUtil.NL
- + "Expected: true" + JSFTestUtil.NL + "Received: " + tf);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // end uiMessagesIsSetGlobalOnlyTest
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/URLClient.java
deleted file mode 100644
index 58860a4b1a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/URLClient.java
+++ /dev/null
@@ -1,1145 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uimessages;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_messages_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:799
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // --------------------------------------------------------- UIMessages
- // specific
-
- /**
- * @testName: uiMessagesGetSetForTest
- * @assertion_ids: JSF:JAVADOC:810; JSF:JAVADOC:800; JSF:JAVADOC:805
- * @test_Strategy: Verify that the UiMessages.setFor() & UIMessages.getFor()
- * methods preform as expected.
- * @since 2.0
- */
- public void uiMessagesGetSetForTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiMessagesGetSetForTest");
- invoke();
- }
-
- /**
- * @testName: uiMessagesIsSetRedisplayTest
- * @assertion_ids: JSF:JAVADOC:810; JSF:JAVADOC:802; JSF:JAVADOC:807
- * @test_Strategy: Verify that the {is, set}Redisplay() methods perform as
- * expected.
- *
- * @since 2.0
- */
- public void uiMessagesIsSetRedisplayTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiMessagesIsSetRedisplayTest");
- invoke();
- }
-
- /**
- * @testName: uiMessagesIsSetShowDetailTest
- * @assertion_ids: JSF:JAVADOC:810; JSF:JAVADOC:803; JSF:JAVADOC:808
- * @test_Strategy: Verify that the {is, set}ShowDetail() methods perform as
- * expected.
- *
- * @since 2.0
- */
- public void uiMessagesIsSetShowDetailTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiMessagesIsSetShowDetailTest");
- invoke();
- }
-
- /**
- * @testName: uiMessagesIsSetShowSummaryTest
- * @assertion_ids: JSF:JAVADOC:810; JSF:JAVADOC:804; JSF:JAVADOC:809
- * @test_Strategy: Verify that the {is, set}ShowSummary() methods perform as
- * expected.
- *
- * @since 2.0
- */
- public void uiMessagesIsSetShowSummaryTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiMessagesIsSetShowSummaryTest");
- invoke();
- }
-
- /**
- * @testName: uiMessagesIsSetGlobalOnlyTest
- * @assertion_ids: JSF:JAVADOC:810; JSF:JAVADOC:801; JSF:JAVADOC:806
- * @test_Strategy: Verify that the {is, set}GlobalOnly() methods perform as
- * expected.
- *
- * @since 2.0
- */
- public void uiMessagesIsSetGlobalOnlyTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiMessagesIsSetGlobalOnlyTest");
- invoke();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/build.xml
deleted file mode 100644
index bac458316c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/jsf_comp_messages_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/jsf_comp_messages_web.war.sun-web.xml
deleted file mode 100644
index a8224466e2..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/jsf_comp_messages_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_messages_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/jsf_comp_messages_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/jsf_comp_messages_web.xml
deleted file mode 100644
index 7d6a19f76a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uimessages/jsf_comp_messages_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_messages
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uimessages.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/TestServlet.java
deleted file mode 100644
index 2b4f4f04ed..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/TestServlet.java
+++ /dev/null
@@ -1,80 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uinamingcontainer;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UINamingContainer;
-import jakarta.faces.context.FacesContext;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- @Override
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- setRendererType(null);
- }
-
- /**
- *
- * Creates a new {@link jakarta.faces.component.UIComponent} instance.
- *
- *
- * @return a new {@link jakarta.faces.component.UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UINamingContainer();
- }
-
- // ------------------------------------------- Test Methods ----
-
- // -------------------------------------------------------------
- // UINamingContainer Specific
-
- public void uiNamingContainerGetSeparatorCharTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- char golden = ':';
- char result = UINamingContainer.getSeparatorChar(context);
-
- if (!(golden == result)) {
- out.println(JSFTestUtil.FAIL + " Unexpected result calling "
- + "UINamingContainer.getSeparatorChar()!" + JSFTestUtil.NL
- + "Expected: " + golden + JSFTestUtil.NL + "Received: " + result);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/URLClient.java
deleted file mode 100644
index 7bc83a35b6..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/URLClient.java
+++ /dev/null
@@ -1,1109 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uinamingcontainer;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_naming_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:814; JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetContainerClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:508
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentGetContainerClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetContainerClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetContainerClientIdTest
- * @assertion_ids: JSF:JAVADOC:507
- * @test_Strategy: Validate a that we get a non null value return.
- */
- public void uiComponentGetContainerClientIdTest() throws EETest.Fault {
- super.uiComponentGetContainerClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:812
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // -------------------------------------------------------------
- // UINamingContainer Specific
-
- /**
- * @testName: uiNamingContainerGetSeparatorCharTest
- * @assertion_ids: JSF:JAVADOC:814; JSF:JAVADOC:813
- * @test_Strategy: Verify that we are able to set a value for this webapp and
- * retrieve it using get.SeparatorChar().
- *
- * @since 2.0
- */
- public void uiNamingContainerGetSeparatorCharTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiNamingContainerGetSeparatorCharTest");
- invoke();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/build.xml
deleted file mode 100644
index bc02eac154..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/jsf_comp_naming_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/jsf_comp_naming_web.war.sun-web.xml
deleted file mode 100644
index f8fc74e123..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/jsf_comp_naming_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_naming_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/jsf_comp_naming_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/jsf_comp_naming_web.xml
deleted file mode 100644
index ea0b5ee1da..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uinamingcontainer/jsf_comp_naming_web.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
- jsf_comp_naming
-
- tckattribute
- tckValue
-
-
- jakarta.faces.SEPARATOR_CHAR
- :
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uinamingcontainer.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/TestServlet.java
deleted file mode 100644
index 03c438459c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/TestServlet.java
+++ /dev/null
@@ -1,172 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutcometarget;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.List;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIOutcomeTarget;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- private List rendererType;
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UIOutcomeTarget();
- }
-
- // --------------------------------------------------- overridden test cases
- // UIComponent.{get,set}RendererType
- @Override
- public void uiComponentGetSetRendererTypeTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent comp = createComponent();
-
- // First check the default return value for the component
- // under test base on the rendererType variable. If null,
- // then expect the return type to be null, if non null,
- // make sure the values are equal.
- if (this.rendererType == null) {
- if (comp.getRendererType() != null) {
- out.println(JSFTestUtil.FAIL + " Expected getRendererType() to"
- + " return null for this component type.");
- out.println("Value received: " + comp.getRendererType());
- return;
- }
- } else {
- if (!this.rendererType.contains(comp.getRendererType())) {
- out.println(JSFTestUtil.FAIL + " Unexpected renderType returned "
- + "from getRendererType()." + JSFTestUtil.NL + "Expected"
- + rendererType.get(0) + " or " + rendererType.get(1)
- + JSFTestUtil.NL + "Received: " + comp.getRendererType());
- return;
- }
- }
-
- // now ensure that the value can be overridden
- comp.setRendererType("string");
-
- if (!"string".equals(comp.getRendererType())) {
- out.println(JSFTestUtil.FAIL + " Expected getRendererType() to"
- + " return 'string' for this component "
- + "after having explicitly set it via setRendererType()");
- out.println("Value received: " + comp.getRendererType());
- return;
- }
-
- // ensure we can set null
- comp.setRendererType(null);
- if (comp.getRendererType() != null) {
- out.println(JSFTestUtil.FAIL + " Expected getRendererType() to return"
- + " null after having explicitly set it via setRendererType().");
- return;
- }
-
- // reset the renderer type
- // comp.setRendererType(rendererType);
-
- out.println(JSFTestUtil.PASS);
- }
-
- // --------------------------------------------------------------
- // UIOutcomeTarget
-
- public void uiOutcomeTargetGetSetOutcomeTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIOutcomeTarget outcome = (UIOutcomeTarget) createComponent();
-
- String golden = "frodo";
- outcome.setOutcome(golden);
- String result = outcome.getOutcome();
-
- if (!result.equals(golden)) {
- out.println(JSFTestUtil.FAIL + " Unexpected value for outcome property!"
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Received: " + result);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // end uiOutcomeTargetGetSetOutcomeTest
-
- public void uiOutcomeTargetIsSetIncludeViewParamsTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIOutcomeTarget outcome = (UIOutcomeTarget) createComponent();
-
- boolean golden = true;
- outcome.setIncludeViewParams(golden);
- boolean result = outcome.isIncludeViewParams();
-
- if (!result) {
- out.println(JSFTestUtil.FAIL
- + " Unexpected value for for view parameters setting!"
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Received: " + result);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // end uiOutcomeTargetIsSetIncludeViewParamsTest
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/URLClient.java
deleted file mode 100644
index 65bcc0798c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/URLClient.java
+++ /dev/null
@@ -1,1133 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutcometarget;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_outcometarget_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // ------------------------------------------------------------- UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent():
- *
- * - Identify the UIComponent that will be the base for
- * searching, by stopping as soon as one of the following
- * conditions is met: o If the search expression begins with
- * the the separator character (called an "absolute" search
- * expression), the base will be the root UIComponent of the
- * component tree. The leading separator character will be
- * stripped off, and the remainder of the search expression
- * will be treated as a "relative" search expression as
- * described below. o Otherwise, if this UIComponent is a
- * NamingContainer it will serve as the basis. o Otherwise,
- * search up the parents of this component. If a
- * NamingContainer is encountered, it will be the base. o
- * Otherwise (if no NamingContainer is encountered) the root
- * UIComponent will be the base.
- *
- * - The search expression (possibly modified in the previous
- * step) is now a "relative" search expression that will be
- * used to locate the component (if any) that has an id that
- * matches, within the scope of the base component. The match
- * is performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:816
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ------------------------------------------------------------- ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ------------------------------------------------------ UIOutcomeTarget
-
- /**
- * @testName: uiOutcomeTargetGetSetOutcomeTest
- * @assertion_ids: JSF:JAVADOC:821; JSF:JAVADOC:817; JSF:JAVADOC:820
- * @test_Strategy: Validate that we are able to set and get the outcome
- * Property.
- *
- * @since 2.0
- */
- public void uiOutcomeTargetGetSetOutcomeTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiOutcomeTargetGetSetOutcomeTest");
- invoke();
- }
-
- /**
- * @testName: uiOutcomeTargetIsSetIncludeViewParamsTest
- * @assertion_ids: JSF:JAVADOC:821; JSF:JAVADOC:818; JSF:JAVADOC:819
- * @test_Strategy: Assert the following: - Set whether or not the page
- * parameters should be encoded into the target url. - Return
- * whether or not the view parameters should be encoded into
- * the target url.
- *
- * @since 2.0
- */
- public void uiOutcomeTargetIsSetIncludeViewParamsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiOutcomeTargetIsSetIncludeViewParamsTest");
- invoke();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/build.xml
deleted file mode 100644
index 704312f425..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/build.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/jsf_comp_outcometarget_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/jsf_comp_outcometarget_web.war.sun-web.xml
deleted file mode 100644
index 6f7f6cf4f4..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/jsf_comp_outcometarget_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_outcometarget_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/jsf_comp_outcometarget_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/jsf_comp_outcometarget_web.xml
deleted file mode 100644
index 661bd1541b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutcometarget/jsf_comp_outcometarget_web.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- jsf_comp_outcometarget
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutcometarget.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/TestServlet.java
deleted file mode 100644
index 556cb288e3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/TestServlet.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-
-import jakarta.faces.application.ResourceDependencies;
-import jakarta.faces.application.ResourceDependency;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.event.AbortProcessingException;
-import jakarta.faces.event.ComponentSystemEvent;
-import jakarta.faces.event.ComponentSystemEventListener;
-import jakarta.faces.event.ListenerFor;
-import jakarta.faces.event.PostAddToViewEvent;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UIOutput();
- }
- // --------------------------------------------------------- Private Classes
-
- @ListenerFor(systemEventClass = PostAddToViewEvent.class, sourceClass = CustomOutput.class)
- @ResourceDependencies({
- @ResourceDependency(name = "#{'hello.js'}", library = "test", target = "#{'body'}"),
- @ResourceDependency(name = "black-n-blue.css", library = "#{'test'}") })
-
- public static final class CustomOutput extends UIOutput
- implements ComponentSystemEventListener {
-
- private boolean processEventInvoked;
-
- private ComponentSystemEvent event;
-
- @Override
- public void processEvent(ComponentSystemEvent event)
- throws AbortProcessingException {
- processEventInvoked = true;
- this.event = event;
- }
-
- public void reset() {
- processEventInvoked = false;
- event = null;
- }
-
- public boolean isProcessEventInvoked() {
- return processEventInvoked;
- }
-
- public ComponentSystemEvent getEvent() {
- return event;
- }
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/URLClient.java
deleted file mode 100644
index ab6e695888..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/URLClient.java
+++ /dev/null
@@ -1,1098 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_output_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- // ---------------------------------------------------- UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:513; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:517; JSF:JAVADOC:824
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:518; JSF:JAVADOC:558;
- * JSF:JAVADOC:608; JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:522; JSF:JAVADOC:561;
- * JSF:JAVADOC:609; JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:561; JSF:JAVADOC:632;
- * JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:523;JSF:JAVADOC:563;
- * JSF:JAVADOC:610; JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:531; JSF:JAVADOC:532;
- * JSF:JAVADOC:533; JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:537; JSF:JAVADOC:562;
- * JSF:JAVADOC:617; JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:582; JSF:JAVADOC:541;
- * JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:545; JSF:JAVADOC:547;
- * JSF:JAVADOC:622; JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:443; JSF:JAVADOC:828;
- * JSF:JAVADOC:829
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:822;
- * JSF:JAVADOC:832; JSF:JAVADOC:827
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:966; JSF:JAVADOC:968;
- * JSF:JAVADOC:826; JSF:JAVADOC:831
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:832; JSF:JAVADOC:964; JSF:JAVADOC:967;
- * JSF:JAVADOC:823; JSF:JAVADOC:830
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/build.xml
deleted file mode 100644
index ccafb5fd4a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/build.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/jsf_comp_output_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/jsf_comp_output_web.war.sun-web.xml
deleted file mode 100644
index 9a8cd8dfda..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/jsf_comp_output_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_output_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/jsf_comp_output_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/jsf_comp_output_web.xml
deleted file mode 100644
index 459a43f28c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uioutput/jsf_comp_output_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_output
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uioutput.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/TestServlet.java
deleted file mode 100644
index 024c6e74c4..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/TestServlet.java
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uipanel;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIPanel;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- @Override
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- setRendererType(null);
- setRendersChildren(Boolean.FALSE);
- }
-
- /**
- *
- * Creates a new {@link jakarta.faces.component.UIComponent} instance.
- *
- *
- * @return a new {@link jakarta.faces.component.UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UIPanel();
- }
-
- // ------------------------------------------- Test Methods ----
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/URLClient.java
deleted file mode 100644
index 9cd4f503af..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/URLClient.java
+++ /dev/null
@@ -1,1073 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uipanel;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_panel_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:513; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:517; JSF:JAVADOC:833
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:518; JSF:JAVADOC:558;
- * JSF:JAVADOC:608; JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:522; JSF:JAVADOC:561;
- * JSF:JAVADOC:609; JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:561; JSF:JAVADOC:632;
- * JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:523;JSF:JAVADOC:563;
- * JSF:JAVADOC:610; JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:531; JSF:JAVADOC:532;
- * JSF:JAVADOC:533; JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:537; JSF:JAVADOC:562;
- * JSF:JAVADOC:617; JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:582; JSF:JAVADOC:541;
- * JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:545; JSF:JAVADOC:547;
- * JSF:JAVADOC:622; JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:834; JSF:JAVADOC:482; JSF:JAVADOC:530;
- * JSF:JAVADOC:538; JSF:JAVADOC:581; JSF:JAVADOC:619
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/build.xml
deleted file mode 100644
index 58b6c61a90..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/build.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/jsf_comp_panel_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/jsf_comp_panel_web.war.sun-web.xml
deleted file mode 100644
index c6a4a9117c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/jsf_comp_panel_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_panel_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/jsf_comp_panel_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/jsf_comp_panel_web.xml
deleted file mode 100644
index 0f488846e0..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uipanel/jsf_comp_panel_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_panel
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uipanel.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/TestServlet.java
deleted file mode 100644
index 88443f50ce..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/TestServlet.java
+++ /dev/null
@@ -1,122 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiparameter;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIParameter;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- @Override
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- setRendererType(null);
- }
-
- /**
- *
- * Creates a new {@link jakarta.faces.component.UIComponent} instance.
- *
- *
- * @return a new {@link jakarta.faces.component.UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UIParameter();
- }
-
- // ------------------------------------------- Test Methods ----
-
- // ------------------------------------------- UIparameter Tests
-
- public void uiParameterSetGetNameTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIParameter param = (UIParameter) createComponent();
- String golden = "Frodo";
-
- param.setName(golden);
- String result = param.getName();
-
- if (!result.equals(golden)) {
- out.println(JSFTestUtil.FAIL + " UIParameter.getName() didn't return"
- + " the value as set by UIParameter.setName().");
- out.println("Expected: " + golden);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // uiParameterSetGetNameTest
-
- public void uiParameterSetGetValueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIParameter param = (UIParameter) createComponent();
- boolean golden = true;
-
- param.setValue(golden);
- boolean result = (Boolean) param.getValue();
-
- if (!result) {
- out.println(JSFTestUtil.FAIL + " UIParameter.getValue() didn't return"
- + " the value as set by UIParameter.setValue().");
- out.println("Expected: " + golden);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // uiParameterSetGetValueTest
-
- public void uiParameterIsSetDisableTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIParameter param = (UIParameter) createComponent();
- boolean golden = true;
-
- param.setDisable(golden);
- boolean result = (Boolean) param.isDisable();
-
- if (!result) {
- out.println(JSFTestUtil.FAIL + " UIParameter.isDisable() didn't return"
- + " the value as set by UIParameter.setDisable().");
- out.println("Expected: " + golden);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // uiParameterIsSetDisableTest
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/URLClient.java
deleted file mode 100644
index ee7e9bdcca..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/URLClient.java
+++ /dev/null
@@ -1,1107 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiparameter;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_param_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:835
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ------------------------------------------------------------- UIParameter
-
- /**
- * @testName: uiParameterSetGetNameTest
- * @assertion_ids: JSF:JAVADOC:842; JSF:JAVADOC:836; JSF:JAVADOC:840
- * @test_Strategy: Validate that we can set and get 'name' on this UIParameter
- * Object.
- */
- public void uiParameterSetGetNameTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiParameterSetGetNameTest");
- invoke();
- }
-
- /**
- * @testName: uiParameterSetGetValueTest
- * @assertion_ids: JSF:JAVADOC:842; JSF:JAVADOC:837; JSF:JAVADOC:841
- * @test_Strategy: Validate that we can set and get 'value' on this
- * UIParameter Object.
- */
- public void uiParameterSetGetValueTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiParameterSetGetValueTest");
- invoke();
- }
-
- /**
- * @testName: uiParameterIsSetDisableTest
- * @assertion_ids: JSF:JAVADOC:842; JSF:JAVADOC:838; JSF:JAVADOC:839
- * @test_Strategy: Validate that we can set and get 'disable' on this
- * UIParameter Object.
- */
- public void uiParameterIsSetDisableTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiParameterIsSetDisableTest");
- invoke();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/build.xml
deleted file mode 100644
index 76d32aec03..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/build.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/jsf_comp_param_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/jsf_comp_param_web.war.sun-web.xml
deleted file mode 100644
index e56939a96e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/jsf_comp_param_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_param_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/jsf_comp_param_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/jsf_comp_param_web.xml
deleted file mode 100644
index 1f1df4db5f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiparameter/jsf_comp_param_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_param
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiparameter.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/TestServlet.java
deleted file mode 100644
index 33fe5a4ac1..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/TestServlet.java
+++ /dev/null
@@ -1,434 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectboolean;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BufferedResponseWrapper;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKValidator;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKValueChangeListener;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.el.ExpressionFactory;
-import jakarta.el.ValueExpression;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UISelectBoolean;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.FacesContext;
-import jakarta.el.MethodExpression;
-import jakarta.faces.event.MethodExpressionValueChangeListener;
-import jakarta.faces.validator.MethodExpressionValidator;
-import jakarta.faces.event.PhaseId;
-import jakarta.faces.event.ValueChangeEvent;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.TestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UISelectBoolean();
- }
-
- // ------------------------------------------- Test Methods ----
-
- @Override
- public void uiComponentGetSetValueExpressionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- BufferedResponseWrapper wrapper = new BufferedResponseWrapper(response);
-
- super.uiComponentGetSetValueExpressionTest(request, wrapper);
- String result = wrapper.getBufferedWriter().toString();
-
- PrintWriter out = response.getWriter();
-
- if (result.indexOf(JSFTestUtil.PASS) == -1) {
- out.println(result);
- return;
- }
-
- // default processing of get,setValueExpression is ok, now validate
- // processing specific to UIGraphic
- request.setAttribute("value", "selectedValue");
-
- ExpressionFactory factory = JSFTestUtil
- .getExpressionFactory(servletContext);
- ValueExpression expression = factory.createValueExpression(
- getFacesContext().getELContext(), "#{requestScope.value}",
- java.lang.String.class);
-
- UISelectBoolean selBoolean = (UISelectBoolean) createComponent();
-
- selBoolean.setValueExpression("selected", expression);
-
- if (!"selectedValue".equals(selBoolean.getValue())) {
- out.println(
- JSFTestUtil.FAIL + " setValueExpression() with a key of 'selected'"
- + " didn't set the ValueExpression provided as the value"
- + " of the component.");
- out.println("Expected: " + expression);
- out.println("Received: " + selBoolean.getValue());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Test event queuing and broadcasting (any phase listeners)
- @Override
- public void uiInputBroadcastTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext facesContext = getFacesContext();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- UIViewRoot root = facesContext.getApplication().getViewHandler()
- .createView(facesContext, "/root");
- root.getChildren().add(input);
- ValueChangeEvent event = new ValueChangeEvent(input, null, null);
- event.setPhaseId(PhaseId.PROCESS_VALIDATIONS);
-
- // Register three listeners
- input.addValueChangeListener(new TCKValueChangeListener("AP0"));
- input.addValueChangeListener(new TCKValueChangeListener("AP1"));
- input.addValueChangeListener(new TCKValueChangeListener("AP2"));
-
- // Fire events and evaluate results
- TCKValueChangeListener.trace(null);
- input.queueEvent(event);
- root.processDecodes(facesContext);
- root.processValidators(facesContext);
- root.processApplication(facesContext);
- String trace = TCKValueChangeListener.trace();
- String expectedTrace = "/AP0@PROCESS_VALIDATIONS/AP1@PROCESS_VALIDATIONS/AP2@PROCESS_VALIDATIONS";
- if (!expectedTrace.equals(trace)) {
- out.println(JSFTestUtil.FAIL + " Unexpected listener trace.");
- out.println("Expected trace: " + expectedTrace);
- out.println("Trace received: " + trace);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- @Override
- public void uiInputBroadcastValueChangeListenerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext facesContext = getFacesContext();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- UIViewRoot root = new UIViewRoot();
- root.getChildren().add(input);
-
- TCKValueChangeListener listener = new TCKValueChangeListener("VCLR");
-
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(
- facesContext.getELContext(), "#{requestScope.reqVCL.processValueChange}", null,
- new Class[] { ValueChangeEvent.class });
- MethodExpressionValueChangeListener lnr = new MethodExpressionValueChangeListener(binding);
-
- request.setAttribute("reqVCL", listener);
- input.addValueChangeListener(lnr);
-
- ValueChangeEvent event = new ValueChangeEvent(input, null, null);
- event.setPhaseId(PhaseId.PROCESS_VALIDATIONS);
- TCKValueChangeListener.trace(null);
- input.queueEvent(event);
- root.processDecodes(facesContext);
- root.processValidators(facesContext);
- root.processApplication(facesContext);
-
- String trace = TCKValueChangeListener.trace();
-
- if (trace.length() == 0) {
- out.println(JSFTestUtil.FAIL + " The ValueChangeListener as referenced"
- + " by ValueChangeListenerRef 'requestScope.reqVCL.processValueChange'"
- + " was not invoked.");
- return;
- }
-
- if (!"/VCLR@PROCESS_VALIDATIONS".equals(trace)) {
- out.println(JSFTestUtil.FAIL + " Unexpected Listener trace.");
- out.println("Expected: /VCLR@PROCESS_VALIDATIONS");
- out.println("Received: " + trace);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- @Override
- public void uiInputValidate3aTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- // Verify that a UIInput instance that has a local value,
- // and the valid property is true all validators associated
- // with the component are invoked, if the component is marked
- // invalid by a validator, no listener is invoked.
- input.setSubmittedValue("previous");
- input.setRendererType(null);
-
- // Setup the validators
- TCKValidator validator1 = new TCKValidator("VL1", false);
- TCKValidator validator2 = new TCKValidator("VL2", true);
-
- input.addValidator(validator1);
- request.setAttribute("TCKValidator", validator2);
-
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(
- context.getELContext(), "#{requestScope.TCKValidator.validate}", null,
- new Class[] { FacesContext.class, UIComponent.class, Object.class });
- MethodExpressionValidator validator = new MethodExpressionValidator(binding);
-
- input.addValidator(validator);
-
- // Setup the listeners
- TCKValueChangeListener listener = new TCKValueChangeListener("VCL1");
-
- input.addValueChangeListener(listener);
- input.setSubmittedValue("new-value");
-
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- root.processValidators(context);
-
- String valTrace = TCKValidator.getTrace();
- if (!"/VL1/VL2".equals(valTrace)) {
- out.println(JSFTestUtil.FAIL + " Validator trace did not return as "
- + "expected.");
- out.println("Traced expected: /VL1/VL2");
- out.println("Trace received: " + valTrace);
- return;
- }
-
- String listenerTrace = TCKValueChangeListener.trace();
- if (listenerTrace.length() != 0) {
- out.println(JSFTestUtil.FAIL + " ValueChangeListener was incorrectly"
- + " invoked after a Validator marked the component as invalid.");
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- @Override
- public void uiInputValidate3bTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- // Verify that a UIInput instance that has a local value,
- // and the valid property is true all validators associated
- // with the component are invoked, if the component is marked
- // invalid by a validator, no listener is invoked.
- input.setSubmittedValue("previous");
- input.setRendererType(null);
-
- // Setup the validators
- TCKValidator validator1 = new TCKValidator("VL1", false);
- TCKValidator validator2 = new TCKValidator("VL2", true);
-
- input.addValidator(validator1);
- request.setAttribute("TCKValidator", validator2);
-
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(
- context.getELContext(), "#{requestScope.TCKValidator.validate}", null,
- new Class[] { FacesContext.class, UIComponent.class, Object.class });
- MethodExpressionValidator validator = new MethodExpressionValidator(binding);
-
- input.addValidator(validator);
-
- // Setup the listeners
- TCKValueChangeListener listener = new TCKValueChangeListener("VCL1");
-
- input.addValueChangeListener(listener);
- input.setSubmittedValue("new-value");
-
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- // Next, all validators succeed, and the value differs from the previous.
- // ensure the listener was invoked.
- validator2.markInvalid(false);
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
- input.setValid(true);
-
- root.processValidators(context);
-
- String valTrace = TCKValidator.getTrace();
- if (!"/VL1/VL2".equals(valTrace)) {
- out.println(JSFTestUtil.FAIL + " Validator trace did not return as "
- + "expected.");
- out.println("Traced expected: /VL1/VL2");
- out.println("Trace received: " + valTrace);
- return;
- }
-
- String listenerTrace = TCKValueChangeListener.trace();
- if (!"/VCL1@ANY_PHASE".equals(listenerTrace)) {
- out.println(JSFTestUtil.FAIL + " Unexpected listener trace.");
- out.println("Expected: /VCL1@ANY_PHASE");
- out.println("Received: " + listenerTrace);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- @Override
- public void uiInputValidate3cTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- // Verify that a UIInput instance that has a local value,
- // and the valid property is true all validators associated
- // with the component are invoked, if the component is marked
- // invalid by a validator, no listener is invoked.
- input.setSubmittedValue("previous");
- input.setRendererType(null);
-
- // Setup the validators
- TCKValidator validator1 = new TCKValidator("VL1", false);
- TCKValidator validator2 = new TCKValidator("VL2", true);
-
- input.addValidator(validator1);
- request.setAttribute("TCKValidator", validator2);
-
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(
- context.getELContext(), "#{requestScope.TCKValidator.validate}", null,
- new Class[] { FacesContext.class, UIComponent.class, Object.class });
- MethodExpressionValidator validator = new MethodExpressionValidator(binding);
-
- input.addValidator(validator);
-
- // Setup the listeners
- TCKValueChangeListener listener = new TCKValueChangeListener("VCL1");
-
- input.addValueChangeListener(listener);
- input.setSubmittedValue("new-value");
-
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- // If the new and previous values do not differ,
- // the listener will not be invoked.
- input.setSubmittedValue("value");
- input.setValue("value");
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- root.processValidators(context);
-
- String valTrace = TCKValidator.getTrace();
- if (!"/VL1/VL2".equals(valTrace)) {
- out.println(
- "Test FAILED[3]. Validator trace did not return as " + "expected.");
- out.println("Traced expected: /VL1/VL2");
- out.println("Trace received: " + valTrace);
- return;
- }
-
- String listenerTrace = TCKValueChangeListener.trace();
- if (listenerTrace.length() != 0) {
- out.println("Test FAILED[3]. ValueChangeListener was incorrectly"
- + " invoked after a Validator marked the component as invalid.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ---------------- UISelectBoolean Tests
-
- public void uiSelectBooleanIsSetSelectedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UISelectBoolean select = (UISelectBoolean) createComponent();
- boolean value = true;
- select.setSelected(value);
- boolean result = select.isSelected();
-
- if (!result) {
- out.println(
- JSFTestUtil.FAIL + " UISelectBoolean.isselected() didn't return"
- + " the value as set by UISelectBoolean.setSelected().");
- out.println("Expected: " + value);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // uiSelectBooleanIsSetSelectedTest
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/URLClient.java
deleted file mode 100644
index a5f19612c7..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/URLClient.java
+++ /dev/null
@@ -1,1405 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectboolean;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_selboolean_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:843
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567; JSF:JAVADOC:528; JSF:JAVADOC:846;
- * JSF:JAVADOC:852
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529; JSF:JAVADOC:847; JSF:JAVADOC:853
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // -----------------------------------------------------------------
- // ValueHolder
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ---------------------------------------------------------
- // EditableValueHolder
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407; JSF:JAVADOC:854
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409; JSF:JAVADOC:854
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421; JSF:JAVADOC:854
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
-
- // ----------------------------------------------------------------- UIInput
-
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate3aTest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate3bTest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate3cTest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate4Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify
- * if an exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate4Test() throws EETest.Fault {
- super.uiInputValidate4Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate5Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueBinding, get the use the type to
- * create a Converter for that type and use it to convert the
- * submitted value. Additionally verify if an exception is
- * thrown during the conversion process, a message is queued
- * to the FacesContext and the component is marked invalid.
- */
- public void uiInputValidate5Test() throws EETest.Fault {
- super.uiInputValidate5Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-
- // --------------------------- UISelectBoolean Tests
-
- /**
- * @testName: uiSelectBooleanIsSetSelectedTest
- * @assertion_ids: JSF:JAVADOC:848; JSF:JAVADOC:849
- * @test_Strategy: Validate that we can set and get if the component is
- * selected.
- */
- public void uiSelectBooleanIsSetSelectedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectBooleanIsSetSelectedTest");
- invoke();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/build.xml
deleted file mode 100644
index 7c7705ce3e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/jsf_comp_selboolean_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/jsf_comp_selboolean_web.war.sun-web.xml
deleted file mode 100644
index 18c886cb78..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/jsf_comp_selboolean_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_selboolean_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/jsf_comp_selboolean_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/jsf_comp_selboolean_web.xml
deleted file mode 100644
index 23ed12829a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectboolean/jsf_comp_selboolean_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_selboolean
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectboolean.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/TestServlet.java
deleted file mode 100644
index e842533a61..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/TestServlet.java
+++ /dev/null
@@ -1,216 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectitem;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UISelectItem;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UISelectItem();
- }
-
- // ------------------------------------------- Test Methods ----
-
- public void uiSelectItemGetSetValueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UISelectItem command = (UISelectItem) createComponent();
- String test = "value";
- command.setValue(test);
- String result = (String) command.getValue();
-
- if (!test.equals(result)) {
- out.println(JSFTestUtil.FAIL + " UISelectItem.getValue() didn't return"
- + " the value as set by UISelectItem.setValue().");
- out.println("Expected: " + test);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // End uiSelectItemGetSetValueTest
-
- public void uiSelectItemGetSetItemDescriptionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UISelectItem command = (UISelectItem) createComponent();
- String test = "Description";
- command.setItemDescription(test);
- String result = command.getItemDescription();
-
- if (!test.equals(result)) {
- out.println(
- JSFTestUtil.FAIL + " UISelectItem.getItemDescription() didn't return"
- + " the value as set by UISelectItem.setItemDescription().");
- out.println("Expected: " + test);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // uiSelectItemGetSetItemDescriptionTest
-
- public void uiSelectItemGetSetItemLabelTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UISelectItem command = (UISelectItem) createComponent();
- String test = "Label";
- command.setItemLabel(test);
- String result = command.getItemLabel();
-
- if (!test.equals(result)) {
- out.println(
- JSFTestUtil.FAIL + " UISelectItem.getItemLabel() didn't return"
- + " the value as set by UISelectItem.setItemLabel().");
- out.println("Expected: " + test);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // uiSelectItemGetSetItemLabelTest
-
- public void uiSelectItemIsSetItemDisabledTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UISelectItem command = (UISelectItem) createComponent();
- boolean value = true;
- command.setItemDisabled(value);
- boolean result = command.isItemDisabled();
-
- if (!result) {
- out.println(
- JSFTestUtil.FAIL + " UISelectItem.isItemDisabled() didn't return"
- + " the value as set by UISelectItem.setItemDisabled().");
- out.println("Expected: " + value);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // uiSelectItemIsSetItemDisabledTest
-
- public void uiSelectItemIsSetItemEscapedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UISelectItem command = (UISelectItem) createComponent();
- boolean value = true;
- command.setItemEscaped(value);
- boolean result = command.isItemEscaped();
-
- if (!result) {
- out.println(
- JSFTestUtil.FAIL + " UISelectItem.isItemEscaped() didn't return"
- + " the value as set by UISelectItem.setItemEscaped().");
- out.println("Expected: " + value);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // uiSelectItemIsSetItemEscapedTest
-
- public void uiSelectItemIsSetNoSelectionOptionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UISelectItem command = (UISelectItem) createComponent();
- boolean value = true;
- command.setNoSelectionOption(value);
- boolean result = command.isNoSelectionOption();
-
- if (!result) {
- out.println(JSFTestUtil.FAIL
- + " UISelectItem.isNoSelectionOptionTest() didn't return"
- + " the value as set by UISelectItem.setNoSelectionOptionTest().");
- out.println("Expected: " + value);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // uiSelectItemIsSetNoSelectionOptionTest
-
- public void uiSelectItemGetSetItemValueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UISelectItem command = (UISelectItem) createComponent();
- boolean test = true;
-
- command.setItemValue(test);
- boolean result = (Boolean) command.getItemValue();
-
- if (!result) {
- out.println(
- JSFTestUtil.FAIL + " UISelectItem.getItemValue() didn't return"
- + " the value as set by UISelectItem.setItemValue().");
- out.println("Expected: " + test);
- out.println("Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // End uiSelectItemGetSetValueTest
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/URLClient.java
deleted file mode 100644
index ba6857948f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/URLClient.java
+++ /dev/null
@@ -1,1151 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectitem;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_selitem_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:855
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // -----------------------------------------------------------------UISelectItem
- /**
- * @testName: uiSelectItemGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:870; JSF:JAVADOC:859; JSF:JAVADOC:869
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void uiSelectItemGetSetValueTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectItemGetSetValueTest");
- invoke();
- }
-
- /**
- * @testName: uiSelectItemGetSetItemValueTest
- * @assertion_ids: JSF:JAVADOC:870; JSF:JAVADOC:834; JSF:JAVADOC:858
- * @test_Strategy: Verify {get,set}ItemValue() - if a value is set, the same
- * value is returned.
- */
- public void uiSelectItemGetSetItemValueTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectItemGetSetItemValueTest");
- invoke();
- }
-
- /**
- * @testName: uiSelectItemGetSetItemDescriptionTest
- * @assertion_ids: JSF:JAVADOC:870; JSF:JAVADOC:859; JSF:JAVADOC:856;
- * JSF:JAVADOC:863
- * @test_Strategy: Verify {get, set}ItemDescription() returns the expected
- * value.
- */
- public void uiSelectItemGetSetItemDescriptionTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectItemGetSetItemDescriptionTest");
- invoke();
- }
-
- /**
- * @testName: uiSelectItemGetSetItemLabelTest
- * @assertion_ids: JSF:JAVADOC:870; JSF:JAVADOC:859; JSF:JAVADOC:857;
- * JSF:JAVADOC:866
- * @test_Strategy: Verify {get, set}ItemLabel() returns the expected value.
- */
- public void uiSelectItemGetSetItemLabelTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectItemGetSetItemLabelTest");
- invoke();
- }
-
- /**
- * @testName: uiSelectItemIsSetItemDisabledTest
- * @assertion_ids: JSF:JAVADOC:870; JSF:JAVADOC:859; JSF:JAVADOC:860;
- * JSF:JAVADOC:864
- * @test_Strategy: Verify {is, set}ItemDisabled() returns the expected value.
- */
- public void uiSelectItemIsSetItemDisabledTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectItemIsSetItemDisabledTest");
- invoke();
- }
-
- /**
- * @testName: uiSelectItemIsSetItemEscapedTest
- * @assertion_ids: JSF:JAVADOC:870; JSF:JAVADOC:859; JSF:JAVADOC:861;
- * JSF:JAVADOC:865
- * @test_Strategy: Verify {is, set}ItemEscaped() returns the expected value.
- */
- public void uiSelectItemIsSetItemEscapedTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectItemIsSetItemEscapedTest");
- invoke();
- }
-
- /**
- * @testName: uiSelectItemIsSetNoSelectionOptionTest
- * @assertion_ids: JSF:JAVADOC:870; JSF:JAVADOC:859; JSF:JAVADOC:862;
- * JSF:JAVADOC:868
- * @test_Strategy: Verify {is, set}NoSelectionOption() returns the expected
- * value.
- */
- public void uiSelectItemIsSetNoSelectionOptionTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectItemIsSetNoSelectionOptionTest");
- invoke();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/build.xml
deleted file mode 100644
index 0a800023b7..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/build.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/jsf_comp_selitem_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/jsf_comp_selitem_web.war.sun-web.xml
deleted file mode 100644
index 8769088e7c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/jsf_comp_selitem_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_selitem_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/jsf_comp_selitem_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/jsf_comp_selitem_web.xml
deleted file mode 100644
index 25dfb2bc01..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitem/jsf_comp_selitem_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_selitem
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectitem.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/TestServlet.java
deleted file mode 100644
index 1934f6563e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/TestServlet.java
+++ /dev/null
@@ -1,182 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectitems;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Vector;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UISelectItems;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UISelectItems();
- }
-
- // ------------------------------------------- Test Methods ----
- public void uiSelectItemsGetSetValueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UISelectItems command = (UISelectItems) createComponent();
-
- command.setValue("value");
-
- if (!"value".equals(command.getValue())) {
- out.println(JSFTestUtil.FAIL + " UISelectItem.getValue() didn't return"
- + " the value as set by UISelectItem.setValue().");
- out.println("Expected: value");
- out.println("Received: " + command.getValue());
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiSelectItemsGetArrayValueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UISelectItems command = (UISelectItems) createComponent();
-
- String[] colors = { "red", "green", "black", "tan" };
-
- command.setValue(colors);
-
- if (!Arrays.equals(colors, (String[]) command.getValue())) {
- out.println(JSFTestUtil.FAIL + " UISelectItem.getValue() didn't return"
- + " the value as set by UISelectItem.setValue().");
- out.println("Arrays objects were not equal!");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiSelectItemsGetCollectionValueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UISelectItems command = (UISelectItems) createComponent();
-
- Vector cars = new Vector();
- cars.add(new Car("passenger", "green"));
- cars.add(new Car("sport", "red"));
- cars.add(new Car("sedan", "red"));
-
- command.setValue(cars);
-
- if (!Arrays.equals(cars.toArray(),
- ((Vector>) command.getValue()).toArray())) {
- out.println(JSFTestUtil.FAIL + " UISelectItem.getValue() didn't return"
- + " the value as set by UISelectItem.setValue().");
- out.println("Vector objects were not equal!");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiSelectItemsMapGetValueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UISelectItems command = (UISelectItems) createComponent();
-
- HashMap employeeLvl = new HashMap();
- employeeLvl.put("MGR", "4");
- employeeLvl.put("VP", "6");
- employeeLvl.put("DIR", "5");
- employeeLvl.put("WB", "0");
-
- command.setValue(employeeLvl);
-
- if (!Arrays.equals(employeeLvl.entrySet().toArray(),
- ((HashMap, ?>) command.getValue()).entrySet().toArray())) {
- out.println(JSFTestUtil.FAIL + " UISelectItem.getValue() didn't return"
- + " the value as set by UISelectItem.setValue().");
- out.println("HashMap objects were not equal!");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // --------------------------------------------------------- private classes
- private static class Car {
-
- private String style;
-
- private String color;
-
- public Car(String style, String color) {
- this.style = style;
- this.color = color;
- }
-
- public String getColor() {
- return color;
- }
-
- public void setColor(String color) {
- this.color = color;
- }
-
- public String getStyle() {
- return style;
- }
-
- public void setStyle(String style) {
- this.style = style;
- }
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/URLClient.java
deleted file mode 100644
index 07b76e1f86..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/URLClient.java
+++ /dev/null
@@ -1,1117 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectitems;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_selitems_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:871
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ---------------------------------------------------------------
- // UISelectItems
- /**
- * @testName: uiSelectItemsGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:874; JSF:JAVADOC:872; JSF:JAVADOC:873
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void uiSelectItemsGetSetValueTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectItemsGetSetValueTest");
- invoke();
- }
-
- /**
- * @testName: uiSelectItemsGetArrayValueTest
- * @assertion_ids: JSF:JAVADOC:874; JSF:JAVADOC:872; JSF:JAVADOC:873
- * @test_Strategy: Verify {get,set}Value() - if a value is set using Arrays,
- * the same value is returned.
- */
- public void uiSelectItemsGetArrayValueTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectItemsGetArrayValueTest");
- invoke();
- }
-
- /**
- * @testName: uiSelectItemsGetCollectionValueTest
- * @assertion_ids: JSF:JAVADOC:874; JSF:JAVADOC:872; JSF:JAVADOC:873
- * @test_Strategy: Verify {get,set}Value() - if a value is set using a Vector,
- * the same value is returned.
- */
- public void uiSelectItemsGetCollectionValueTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectItemsGetCollectionValueTest");
- invoke();
- }
-
- /**
- * @testName: uiSelectItemsMapGetValueTest
- * @assertion_ids: JSF:JAVADOC:874; JSF:JAVADOC:872; JSF:JAVADOC:873
- * @test_Strategy: Verify {get,set}Value() - if a value is set using a Vector,
- * the same value is returned.
- */
- public void uiSelectItemsMapGetValueTest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectItemsMapGetValueTest");
- invoke();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/build.xml
deleted file mode 100644
index 108083dbeb..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/build.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/jsf_comp_selitems_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/jsf_comp_selitems_web.war.sun-web.xml
deleted file mode 100644
index 1bfc54662b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/jsf_comp_selitems_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_selitems_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/jsf_comp_selitems_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/jsf_comp_selitems_web.xml
deleted file mode 100644
index f6dcb921cf..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectitems/jsf_comp_selitems_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_selitems
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectitems.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/TestServlet.java
deleted file mode 100644
index ff121d98b0..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/TestServlet.java
+++ /dev/null
@@ -1,515 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectmany;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BufferedResponseWrapper;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKValidator;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKValueChangeListener;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.el.ExpressionFactory;
-import jakarta.el.ValueExpression;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UISelectItem;
-import jakarta.faces.component.UISelectMany;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.FacesContext;
-import jakarta.el.MethodExpression;
-import jakarta.faces.event.MethodExpressionValueChangeListener;
-import jakarta.faces.validator.MethodExpressionValidator;
-import jakarta.faces.event.PhaseId;
-import jakarta.faces.event.ValueChangeEvent;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.TestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UISelectMany();
- }
-
- // ------------------------------------------- Test Methods ----
-
- @Override
- public void uiComponentGetSetValueExpressionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- BufferedResponseWrapper wrapper = new BufferedResponseWrapper(response);
-
- super.uiComponentGetSetValueExpressionTest(request, wrapper);
- String result = wrapper.getBufferedWriter().toString();
-
- PrintWriter out = response.getWriter();
-
- if (result.indexOf(JSFTestUtil.PASS) == -1) {
- out.println(result);
- return;
- }
-
- List values = new ArrayList();
- values.add("value1");
- values.add("value2");
-
- // default processing of get,setValueExpression is ok, now validate
- // processing specific to UIGraphic
- request.setAttribute("values", values);
-
- ExpressionFactory factory = JSFTestUtil
- .getExpressionFactory(servletContext);
- ValueExpression expression = factory.createValueExpression(
- getFacesContext().getELContext(), "#{requestScope.values}",
- java.util.List.class);
-
- UISelectMany many = (UISelectMany) createComponent();
-
- many.setValueExpression("selectedValues", expression);
-
- if (many.getValue() != values) {
- out.println(JSFTestUtil.FAIL + " getValue() returned unexpected value"
- + " after having called setValueExpression().");
- out.println("Expected: " + values);
- out.println("Received: " + many.getValue());
- }
- out.println(JSFTestUtil.PASS);
-
- }
-
- // Test event queuing and broadcasting (any phase listeners)
- @Override
- public void uiInputBroadcastTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext facesContext = getFacesContext();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- UIViewRoot root = facesContext.getApplication().getViewHandler()
- .createView(facesContext, "/root");
- root.getChildren().add(input);
- ValueChangeEvent event = new ValueChangeEvent(input, null, null);
- event.setPhaseId(PhaseId.PROCESS_VALIDATIONS);
-
- // Register three listeners
- input.addValueChangeListener(new TCKValueChangeListener("AP0"));
- input.addValueChangeListener(new TCKValueChangeListener("AP1"));
- input.addValueChangeListener(new TCKValueChangeListener("AP2"));
-
- // Fire events and evaluate results
- TCKValueChangeListener.trace(null);
- input.queueEvent(event);
- root.processDecodes(facesContext);
- root.processValidators(facesContext);
- root.processApplication(facesContext);
- String trace = TCKValueChangeListener.trace();
- String expectedTrace = "/AP0@PROCESS_VALIDATIONS/AP1@PROCESS_VALIDATIONS/AP2@PROCESS_VALIDATIONS";
- if (!expectedTrace.equals(trace)) {
- out.println(JSFTestUtil.FAIL + " Unexpected listener trace.");
- out.println("Expected trace: " + expectedTrace);
- out.println("Trace received: " + trace);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- @Override
- public void uiInputBroadcastValueChangeListenerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext facesContext = getFacesContext();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- UIViewRoot root = new UIViewRoot();
- root.getChildren().add(input);
-
- TCKValueChangeListener listener = new TCKValueChangeListener("VCLR");
-
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(
- facesContext.getELContext(), "#{requestScope.reqVCL.processValueChange}", null,
- new Class[] { ValueChangeEvent.class });
- MethodExpressionValueChangeListener lnr = new MethodExpressionValueChangeListener(binding);
-
- request.setAttribute("reqVCL", listener);
- input.addValueChangeListener(lnr);
-
- ValueChangeEvent event = new ValueChangeEvent(input, null, null);
- event.setPhaseId(PhaseId.PROCESS_VALIDATIONS);
- TCKValueChangeListener.trace(null);
- input.queueEvent(event);
- root.processDecodes(facesContext);
- root.processValidators(facesContext);
- root.processApplication(facesContext);
-
- String trace = TCKValueChangeListener.trace();
-
- if (trace.length() == 0) {
- out.println(JSFTestUtil.FAIL + " The ValueChangeListener as referenced"
- + " by ValueChangeListenerRef 'requestScope.reqVCL.processValueChange'"
- + " was not invoked.");
- return;
- }
-
- if (!"/VCLR@PROCESS_VALIDATIONS".equals(trace)) {
- out.println(JSFTestUtil.FAIL + " Unexpected Listener trace.");
- out.println("Expected: /VCLR@PROCESS_VALIDATIONS");
- out.println("Received: " + trace);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- @Override
- public void uiInputValidate3aTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- UISelectItem item1 = new UISelectItem();
- item1.setItemValue("new");
- UISelectItem item2 = new UISelectItem();
- item2.setItemValue("new2");
- UISelectItem item3 = new UISelectItem();
- item3.setItemValue("new3");
- input.getChildren().add(item1);
- input.getChildren().add(item2);
- input.getChildren().add(item3);
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- // Verify that a UIInput instance that has a local value,
- // and the valid property is true all validators associated
- // with the component are invoked, if the component is marked
- // invalid by a validator, no listener is invoked.
- input.setSubmittedValue(new String[] { "new" });
-
- // Setup the validators
- TCKValidator validator1 = new TCKValidator("VL1", false);
- TCKValidator validator2 = new TCKValidator("VL2", true);
-
- input.addValidator(validator1);
- request.setAttribute("TCKValidator", validator2);
-
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(
- context.getELContext(), "#{requestScope.TCKValidator.validate}", null,
- new Class[] { FacesContext.class, UIComponent.class, Object.class });
- MethodExpressionValidator validator = new MethodExpressionValidator(binding);
- input.addValidator(validator);
-
- // Setup the listeners
- TCKValueChangeListener listener = new TCKValueChangeListener("VCL1");
-
- input.addValueChangeListener(listener);
-
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- root.processValidators(context);
-
- String valTrace = TCKValidator.getTrace();
- if (!"/VL1/VL2".equals(valTrace)) {
- out.println(JSFTestUtil.FAIL + " Validator trace did not return as "
- + "expected.");
- out.println("Traced expected: /VL1/VL2");
- out.println("Trace received: " + valTrace);
- return;
- }
-
- String listenerTrace = TCKValueChangeListener.trace();
- if (listenerTrace.length() != 0) {
- out.println(JSFTestUtil.FAIL + " ValueChangeListener was incorrectly"
- + " invoked after a Validator marked the component as invalid.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- @Override
- public void uiInputValidate3bTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- UISelectItem item1 = new UISelectItem();
- item1.setItemValue("new");
- UISelectItem item2 = new UISelectItem();
- item2.setItemValue("new2");
- UISelectItem item3 = new UISelectItem();
- item3.setItemValue("new3");
- input.getChildren().add(item1);
- input.getChildren().add(item2);
- input.getChildren().add(item3);
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- // Verify that a UIInput instance that has a local value,
- // and the valid property is true all validators associated
- // with the component are invoked, if the component is marked
- // invalid by a validator, no listener is invoked.
- input.setSubmittedValue(new String[] { "new" });
-
- // Setup the validators
- TCKValidator validator1 = new TCKValidator("VL1", false);
- TCKValidator validator2 = new TCKValidator("VL2", true);
-
- input.addValidator(validator1);
- request.setAttribute("TCKValidator", validator2);
-
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(
- context.getELContext(), "#{requestScope.TCKValidator.validate}", null,
- new Class[] { FacesContext.class, UIComponent.class, Object.class });
- MethodExpressionValidator validator = new MethodExpressionValidator(binding);
- input.addValidator(validator);
-
- // Setup the listeners
- TCKValueChangeListener listener = new TCKValueChangeListener("VCL1");
-
- input.addValueChangeListener(listener);
-
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- // All validators succeed, and the value differs from the previous.
- // ensure the listener was invoked.
- validator2.markInvalid(false);
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
- input.setValid(true);
- input.setSubmittedValue(new String[] { "new3" });
-
- root.processValidators(context);
-
- String valTrace = TCKValidator.getTrace();
- if (!"/VL1/VL2".equals(valTrace)) {
- out.println(JSFTestUtil.FAIL + " Validator trace did not return as "
- + "expected.");
- out.println("Traced expected: /VL1/VL2");
- out.println("Trace received: " + valTrace);
- return;
- }
-
- String listenerTrace = TCKValueChangeListener.trace();
- if (!"/VCL1@ANY_PHASE".equals(listenerTrace)) {
- out.println(JSFTestUtil.FAIL + " Unexpected listener trace.");
- out.println("Expected: /VCL1@ANY_PHASE");
- out.println("Received: " + listenerTrace);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- @Override
- public void uiInputValidate3cTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- UISelectItem item1 = new UISelectItem();
- item1.setItemValue("new");
- UISelectItem item2 = new UISelectItem();
- item2.setItemValue("new2");
- UISelectItem item3 = new UISelectItem();
- item3.setItemValue("new3");
- input.getChildren().add(item1);
- input.getChildren().add(item2);
- input.getChildren().add(item3);
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- // Verify that a UIInput instance that has a local value,
- // and the valid property is true all validators associated
- // with the component are invoked, if the component is marked
- // invalid by a validator, no listener is invoked.
- input.setSubmittedValue(new String[] { "new" });
-
- // Setup the validators
- TCKValidator validator1 = new TCKValidator("VL1", false);
- TCKValidator validator2 = new TCKValidator("VL2", true);
-
- input.addValidator(validator1);
- request.setAttribute("TCKValidator", validator2);
-
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(
- context.getELContext(), "#{requestScope.TCKValidator.validate}", null,
- new Class[] { FacesContext.class, UIComponent.class, Object.class });
- MethodExpressionValidator validator = new MethodExpressionValidator(binding);
-
- input.addValidator(validator);
-
- // Setup the listeners
- TCKValueChangeListener listener = new TCKValueChangeListener("VCL1");
-
- input.addValueChangeListener(listener);
-
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- // finally, if the new and previous values do not differ,
- // the listener will not be invoked.
- input.setSubmittedValue(new String[] { "new2" });
- input.setValue(new String[] { "new2" });
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- root.processValidators(context);
-
- String valTrace = TCKValidator.getTrace();
- if (!"/VL1/VL2".equals(valTrace)) {
- out.println(JSFTestUtil.FAIL + " Validator trace did not return as "
- + "expected.");
- out.println("Expected no trace");
- out.println("Trace received: " + valTrace);
- return;
- }
-
- String listenerTrace = TCKValueChangeListener.trace();
- if (listenerTrace.length() != 0) {
- out.println(JSFTestUtil.FAIL + " ValueChangeListener was incorrectly"
- + " invoked after a Validator marked the component as invalid.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputValidate6Test(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- UISelectItem item1 = new UISelectItem();
- item1.setItemValue("new");
- UISelectItem item2 = new UISelectItem();
- item2.setItemValue("new2");
- UISelectItem item3 = new UISelectItem();
- item3.setItemValue("new3");
- input.getChildren().add(item1);
- input.getChildren().add(item2);
- input.getChildren().add(item3);
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- root.getChildren().add(input);
-
- // lastly, if the item selected doens't match the list of
- // available items, then queue a message and mark the component
- // invalid.
-
- input.setSubmittedValue(new String[] { "invalid" });
- input.setValid(true);
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- root.processValidators(context);
-
- int messageCount = checkMessages();
- if (messageCount != 1) {
- out.println(JSFTestUtil.FAIL + " No message queued into the FacesContext"
- + " when the item selected doesn't match the list of available"
- + " items.");
- return;
- }
-
- if (input.isValid()) {
- out.println(JSFTestUtil.FAIL + " UIInput instance was not marked invalid"
- + " when the item selected didn't match the list of available"
- + " values.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ------------------- selectMany Tests
-
- public void uiSelectManyGetSetSelectedValuesTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UISelectMany many = (UISelectMany) createComponent();
-
- String[] test = new String[] { "red", "white", "blue" };
-
- many.setSelectedValues(test);
- String[] result = (String[]) many.getSelectedValues();
-
- int resultSize = result.length;
-
- for (int i = 0; i < resultSize; i++) {
- if (!Arrays.asList(test).contains(result[i])) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected returned array of selected items to have the below value in it!"
- + JSFTestUtil.NL + "Missing: " + result[i]);
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // end uiComponentGetSetSelectedValuesTest
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/URLClient.java
deleted file mode 100644
index 71a2ae6937..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/URLClient.java
+++ /dev/null
@@ -1,1430 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectmany;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_selmany_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Run tests */
-
- // ============================================ Tests ======
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:875
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567; JSF:JAVADOC:528; JSF:JAVADOC:879;
- * JSF:JAVADOC:884
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- *
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529; JSF:JAVADOC:880; JSF:JAVADOC:885
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ------------------------------------------------------
- // EditableValueHolder
-
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407; JSF:JAVADOC:886
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409; JSF:JAVADOC:886
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421; JSF:JAVADOC:886
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
-
- // ------------------------------------------------------------------UIInput
-
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * ref are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueBinding associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate3aTest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate3bTest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate3cTest");
- invoke();
- }
-
- // NOT TESTABLE IN THIS CASE AS VALUE WON'T BE A STRING
- /*
- * testName: uiInputValidate4Test
- *
- * @assertion_ids: JSF:JAVADOC:787
- *
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify if an exception
- * is thrown during the conversion process, a message is queued to the
- * FacesContext and the component is marked invalid.
- */
- // public void uiInputValidate4Test() throws EETest.Fault {
- // super.uiInputValidate4Test(); //To change body of overridden methods use
- // Options | File Templates.
- // }
-
- // NOT TESTABLE IN THIS CASE AS VALUE WON'T BE A STRING
- /*
- * testName: uiInputValidate5Test
- *
- * @assertion_ids: JSF:JAVADOC:787
- *
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueBinding, get the use the type to create a Converter
- * for that type and use it to convert the submitted value. Additionally
- * verify if an exception is thrown during the conversion process, a message
- * is queued to the FacesContext and the component is marked invalid.
- */
- // public void uiInputValidate5Test() throws EETest.Fault {
- // super.uiInputValidate5Test(); //To change body of overridden methods use
- // Options | File Templates.
- // }
-
- /**
- * @testName: uiInputValidate6Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: If the selected item is not one of the available sections,
- * ensure a message is queued to the FacesContext and the
- * component is marked invalid.
- */
- public void uiInputValidate6Test() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate6Test");
- invoke();
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-
- // -------------------------------- selectMany Tests
-
- /**
- * @testName: uiSelectManyGetSetSelectedValuesTest
- * @assertion_ids: JSF:JAVADOC:876; JSF:JAVADOC:881
- * @test_Strategy: Validate that we are able to {set, get}SelectedValues().
- *
- * @since 2.2
- */
- public void uiSelectManyGetSetSelectedValuesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiSelectManyGetSetSelectedValuesTest");
- invoke();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/build.xml
deleted file mode 100644
index e8cfe313e9..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/build.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/jsf_comp_selmany_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/jsf_comp_selmany_web.war.sun-web.xml
deleted file mode 100644
index 7327b3123b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/jsf_comp_selmany_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_selmany_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/jsf_comp_selmany_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/jsf_comp_selmany_web.xml
deleted file mode 100644
index 52ef0aa09f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectmany/jsf_comp_selmany_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_comp_selmany
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectmany.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/TestServlet.java
deleted file mode 100644
index 6d5ecb7a32..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/TestServlet.java
+++ /dev/null
@@ -1,462 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectone;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKConverter;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKValidator;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKValueChangeListener;
-import com.sun.ts.tests.jsf.common.beans.TestBean;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.application.Application;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UISelectItem;
-import jakarta.faces.component.UISelectOne;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.convert.Converter;
-import jakarta.el.MethodExpression;
-import jakarta.el.ValueExpression;
-import jakarta.el.ELContext;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-import jakarta.faces.validator.MethodExpressionValidator;
-
-
-public class TestServlet
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.TestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UISelectOne();
- }
-
- // ------------------------------------------- Test Methods ----
-
- @Override
- public void uiInputValidate3aTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- UISelectItem item1 = new UISelectItem();
- item1.setItemValue("new");
- UISelectItem item2 = new UISelectItem();
- item2.setItemValue("new2");
- input.getChildren().add(item1);
- input.getChildren().add(item2);
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- // Verify that a UIInput instance that has a local value,
- // and the valid property is true all validators associated
- // with the component are invoked, if the component is marked
- // invalid by a validator, no listener is invoked.
- input.setSubmittedValue("new");
-
- // Setup the validators
- TCKValidator validator1 = new TCKValidator("VL1", false);
- TCKValidator validator2 = new TCKValidator("VL2", true);
-
- input.addValidator(validator1);
- request.setAttribute("TCKValidator", validator2);
-
- ELContext context2 = context.getELContext();
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(context2,
- "#{requestScope.TCKValidator.validate}", null, new Class[] { FacesContext.class, UIComponent.class, Object.class });
-
- MethodExpressionValidator validator = new MethodExpressionValidator(binding);
- input.addValidator(validator);
-
- // Setup the listeners
- TCKValueChangeListener listener = new TCKValueChangeListener("VCL1");
-
- input.addValueChangeListener(listener);
- input.setSubmittedValue("new2");
-
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- root.processValidators(context);
-
- String valTrace = TCKValidator.getTrace();
- if (!"/VL1/VL2".equals(valTrace)) {
- out.println(JSFTestUtil.FAIL + " Validator trace did not return as "
- + "expected.");
- out.println("Traced expected: /VL1/VL2");
- out.println("Trace received: " + valTrace);
- return;
- }
-
- String listenerTrace = TCKValueChangeListener.trace();
- if (listenerTrace.length() != 0) {
- out.println(JSFTestUtil.FAIL + " ValueChangeListener was incorrectly"
- + " invoked after a Validator marked the component as invalid.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- @Override
- public void uiInputValidate3bTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- UISelectItem item1 = new UISelectItem();
- item1.setItemValue("new");
- UISelectItem item2 = new UISelectItem();
- item2.setItemValue("new2");
- input.getChildren().add(item1);
- input.getChildren().add(item2);
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- // Verify that a UIInput instance that has a local value,
- // and the valid property is true all validators associated
- // with the component are invoked, if the component is marked
- // invalid by a validator, no listener is invoked.
- input.setSubmittedValue("new");
-
- // Setup the validators
- TCKValidator validator1 = new TCKValidator("VL1", false);
- TCKValidator validator2 = new TCKValidator("VL2", true);
-
- input.addValidator(validator1);
- request.setAttribute("TCKValidator", validator2);
-
-
- ELContext context2 = context.getELContext();
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(context2,
- "#{requestScope.TCKValidator.validate}", null, new Class[] { FacesContext.class, UIComponent.class, Object.class });
-
- MethodExpressionValidator validator = new MethodExpressionValidator(binding);
- input.addValidator(validator);
-
- // Setup the listeners
- TCKValueChangeListener listener = new TCKValueChangeListener("VCL1");
-
- input.addValueChangeListener(listener);
- input.setSubmittedValue("new2");
-
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- // All validators succeed, and the value differs from the previous.
- // ensure the listener was invoked.
- validator2.markInvalid(false);
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
- input.setValid(true);
-
- root.processValidators(context);
-
- String valTrace = TCKValidator.getTrace();
- if (!"/VL1/VL2".equals(valTrace)) {
- out.println(JSFTestUtil.FAIL + " Validator trace did not return as "
- + "expected.");
- out.println("Traced expected: /VL1/VL2");
- out.println("Trace received: " + valTrace);
- return;
- }
-
- String listenerTrace = TCKValueChangeListener.trace();
- if (!"/VCL1@ANY_PHASE".equals(listenerTrace)) {
- out.println(JSFTestUtil.FAIL + " Unexpected listener trace.");
- out.println("Expected: /VCL1@ANY_PHASE");
- out.println("Received: " + listenerTrace);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- @Override
- public void uiInputValidate3cTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- UISelectItem item1 = new UISelectItem();
- item1.setItemValue("new");
- UISelectItem item2 = new UISelectItem();
- item2.setItemValue("new2");
- input.getChildren().add(item1);
- input.getChildren().add(item2);
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- // Verify that a UIInput instance that has a local value,
- // and the valid property is true all validators associated
- // with the component are invoked, if the component is marked
- // invalid by a validator, no listener is invoked.
- input.setSubmittedValue("new");
-
- // Setup the validators
- TCKValidator validator1 = new TCKValidator("VL1", false);
- TCKValidator validator2 = new TCKValidator("VL2", true);
-
- input.addValidator(validator1);
- request.setAttribute("TCKValidator", validator2);
-
- ELContext context2 = context.getELContext();
- MethodExpression binding = getApplication().getExpressionFactory().createMethodExpression(context2,
- "#{requestScope.TCKValidator.validate}", null, new Class[] { FacesContext.class, UIComponent.class, Object.class });
-
- MethodExpressionValidator validator = new MethodExpressionValidator(binding);
- input.addValidator(validator);
-
- // Setup the listeners
- TCKValueChangeListener listener = new TCKValueChangeListener("VCL1");
-
- input.addValueChangeListener(listener);
- input.setSubmittedValue("new2");
-
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- // finally, if the new and previous values do not differ,
- // the listener will not be invoked.
- input.setSubmittedValue("new");
- input.setValue("new");
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- root.processValidators(context);
-
- String valTrace = TCKValidator.getTrace();
- if (!"/VL1/VL2".equals(valTrace)) {
- out.println(JSFTestUtil.FAIL + " Validator trace did not return as "
- + "expected.");
- out.println("Traced expected: /VL1/VL2");
- out.println("Trace received: " + valTrace);
- return;
- }
-
- String listenerTrace = TCKValueChangeListener.trace();
- if (listenerTrace.length() != 0) {
- out.println(JSFTestUtil.FAIL + " ValueChangeListener was incorrectly"
- + " invoked after a Validator marked the component as invalid.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- @Override
- public void uiInputValidate4Test(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- UISelectItem item1 = new UISelectItem();
- item1.setItemValue("converted");
- UISelectItem item2 = new UISelectItem();
- item2.setItemValue("converted2");
- input.getChildren().add(item1);
- input.getChildren().add(item2);
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- Converter converter = new TCKConverter();
- input.setConverter(converter);
-
- input.setSubmittedValue("new");
-
- input.setValid(true);
- input.setRequired(true);
- input.validate(context);
-
- if (!"converted".equals(input.getValue())) {
- out.println(JSFTestUtil.FAIL + " Converter available to the component"
- + " via getConverter(), but the converter wasn't called.");
- out.println("Expected the value after conversion to be 'converted'");
- out.println("Value received: " + input.getValue());
- return;
- }
-
- // now verify the proper behavior if conversion fails
- input.setSubmittedValue("fail");
- input.validate(context);
-
- if (input.isValid()) {
- out.println(JSFTestUtil.FAIL + " Conversion failure should have resulted"
- + " in the component in question being marked as invalid.");
- return;
- }
-
- if (JSFTestUtil.getAsArray(context.getMessages()).length < 1) {
- out.println(JSFTestUtil.FAIL + " No messages queued as required in the "
- + "case of conversion failure.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- @Override
- public void uiInputValidate5Test(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- input.setRendererType(null);
- UISelectItem item1 = new UISelectItem();
- item1.setItemValue("converted");
- UISelectItem item2 = new UISelectItem();
- item2.setItemValue("converted2");
- input.getChildren().add(item1);
- input.getChildren().add(item2);
- FacesContext context = getFacesContext();
- Application application = getApplication();
- UIViewRoot root = application.getViewHandler().createView(context, "/root");
- context.setViewRoot(root);
- root.getChildren().add(input);
-
- application.addConverter(Boolean.class,
- "com.sun.ts.tests.jsf.api.jakarta_faces.component.common.TCKConverter");
-
- // setup value binding
- request.setAttribute("simple", new TestBean());
-
- ELContext context2 = context.getELContext();
- ValueExpression binding = getApplication().getExpressionFactory().createValueExpression(context2,
- "#{requestScope.simple.boolWrapProp}", Object.class);
- input.setValueExpression("value", binding);
-
- // run through validation
- input.setSubmittedValue("new");
-
- input.setValid(true);
- input.setRequired(true);
- input.validate(context);
-
- if (!"converted".equals(input.getValue())) {
- out.println(JSFTestUtil.FAIL + " Converter available to the component"
- + " via getConverter(), but the converter wasn't called.");
- out.println("Expected the value after conversion to be 'converted'");
- out.println("Value received: " + input.getValue());
- return;
- }
-
- // now verify the proper behavior if conversion fails
- input.setSubmittedValue("fail");
- input.validate(context);
-
- if (input.isValid()) {
- out.println(JSFTestUtil.FAIL + " Conversion failure should have resulted"
- + " in the component in question being marked as invalid.");
- return;
- }
-
- if (JSFTestUtil.getAsArray(context.getMessages()).length < 1) {
- out.println(JSFTestUtil.FAIL + " No messages queued as required in the "
- + "case of conversion failure.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void uiInputValidate6Test(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIInput input = (UIInput) createComponent();
- UISelectItem item1 = new UISelectItem();
- item1.setItemValue("converted");
- UISelectItem item2 = new UISelectItem();
- item2.setItemValue("converted2");
- input.getChildren().add(item1);
- input.getChildren().add(item2);
- FacesContext context = getFacesContext();
- UIViewRoot root = getApplication().getViewHandler().createView(context,
- "/root");
- root.getChildren().add(input);
-
- // if the item selected doens't match the list of
- // available items, then queue a message and mark the component
- // invalid.
-
- input.setSubmittedValue("invalid");
- input.setValid(true);
- TCKValueChangeListener.trace(null);
- TCKValidator.clearTrace();
-
- root.processValidators(context);
-
- int messageCount = checkMessages();
- if (messageCount != 1) {
- out.println(JSFTestUtil.FAIL + " No message queued into the FacesContext"
- + " when the item selected doesn't match the list of available"
- + " items.");
- return;
- }
-
- if (input.isValid()) {
- out.println(JSFTestUtil.FAIL + " UIInput instance was not marked invalid"
- + " when the item selected didn't match the list of available"
- + " values.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/URLClient.java
deleted file mode 100644
index ac49db5900..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/URLClient.java
+++ /dev/null
@@ -1,1400 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectone;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient
- extends com.sun.ts.tests.jsf.api.jakarta_faces.component.uiinput.URLClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_selone_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /* Run tests */
- // ============================================ Tests ======
- // -----------------------------------------------------------------
- // UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null if there is no
- * currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:887
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:536
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:541; JSF:JAVADOC:483
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:540
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:443
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
- /**
- * @testName: valueHolderGetSetValueTest
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- /**
- * @testName: valueHolderGetSetConverterTest
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // ----------------------------------------------------- EditableValueHolder
- /**
- * @testName: editableValueHolderIsSetValidTest
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetSubmittedValueTest
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426
- * @test_Strategy: Verify {get,set}SubmittedValue() - if a value is set, the
- * expected value is returned.
- */
- public void editableValueHolderGetSetSubmittedValueTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetSubmittedValueTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- * @assertion_ids: JSF:JAVADOC:407; JSF:JAVADOC:888
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:409; JSF:JAVADOC:888
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- * @assertion_ids: JSF:JAVADOC:421; JSF:JAVADOC:888
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderIsSetImmediateTest
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:423
- * @test_Strategy: editableValueHolder.{is,set}Immediate(): Validate that the
- * default value is false and that if we change the value via
- * setImmediate that we get the correct value back.
- */
- public void editableValueHolderIsSetImmediateTest() throws EETest.Fault {
- super.editableValueHolderIsSetImmediateTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetLocalValueSetTest
- * @assertion_ids: JSF:JAVADOC:416; JSF:JAVADOC:424
- * @test_Strategy: Validate the following statements. isLocalValueSet() -
- * Return the "local value set" state for this component.
- * Calls to setValue() automatically reset this property to
- * true.
- *
- * setLocalValueSet() - Sets the "local value set" state for
- * this component.
- */
- public void editableValueHolderIsSetLocalValueSetTest() throws EETest.Fault {
- super.editableValueHolderIsSetLocalValueSetTest();
- }
-
- // ----------------------------------------------------------------- UIInput
- /**
- * @testName: uiInputBroadcastTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify that the ValueChangeListeners are invoked in order
- * or registration and that they are only invoked during the
- * PROCESS_VALIDATIONS phase.
- */
- public void uiInputBroadcastTest() throws EETest.Fault {
- super.uiInputBroadcastTest();
- }
-
- /**
- * @testName: uiInputBroadcastValueChangeListenerTest
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:741
- * @test_Strategy: Verify any listeners referenced via a value change listener
- * ref are invoked when broadcast() is invoked().
- */
- public void uiInputBroadcastValueChangeListenerTest() throws EETest.Fault {
- super.uiInputBroadcastValueChangeListenerTest();
- }
-
- /**
- * @testName: uiInputUpdateModelFailsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is unsuccessful, the
- * underlying bean is not updated, the local value is not
- * modified, the valid property of the component is false, and
- * a message is queued into the FacesContext.
- */
- public void uiInputUpdateModelFailsTest() throws EETest.Fault {
- super.uiInputUpdateModelFailsTest();
- }
-
- /**
- * @testName: uiInputUpdateModelNoActionTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify if the component's valid property is false, or there
- * is no ValueExpression associated wit the component, no action
- * is taken when updateModel() is called.
- */
- public void uiInputUpdateModelNoActionTest() throws EETest.Fault {
- super.uiInputUpdateModelNoActionTest();
- }
-
- /**
- * @testName: uiInputUpdateModelSucceedsTest
- * @assertion_ids: JSF:JAVADOC:785
- * @test_Strategy: Verify when the updateModel() call is successful, the
- * underlying bean is indeed updated and the local value of
- * the component is set to null.
- */
- public void uiInputUpdateModelSucceedsTest() throws EETest.Fault {
- super.uiInputUpdateModelSucceedsTest();
- }
-
- /**
- * @testName: uiInputValidate1Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify a message is queued to the FacesContext and the
- * UIInput object is marked invalid if it has a null or a
- * zero-length String as its value when processing
- * validations.
- */
- public void uiInputValidate1Test() throws EETest.Fault {
- super.uiInputValidate1Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate2Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that getConvertedValue() is called on the Renderer
- * that is associated with the component under test when the
- * validate() method is called.
- */
- public void uiInputValidate2Test() throws EETest.Fault {
- super.uiInputValidate2Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate3aTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If a
- * validator marked a component as invalid, the associated
- * ValueChangeListener must not be invoked.
- */
- public void uiInputValidate3aTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate3aTest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate3bTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is
- * different from the previous value, invoke the
- * ValueChangeListener.
- */
- public void uiInputValidate3bTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate3bTest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate3cTest
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: - If the component is valid, call the validate() method on
- * all registered validators, and THEN the validate() method
- * on the validator referenced by validatorRef - If the
- * validators pass the component, and the new value is the
- * same as the old, do not invoke the ValueChangeListener
- */
- public void uiInputValidate3cTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate3cTest");
- invoke();
- }
-
- /**
- * @testName: uiInputValidate4Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that a converter available via getConverter() is
- * called to convert the submitted value. Additionally verify
- * if an exception is thrown during the conversion process, a
- * message is queued to the FacesContext and the component is
- * marked invalid.
- */
- public void uiInputValidate4Test() throws EETest.Fault {
- super.uiInputValidate4Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate5Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: Verify that if no Converter is returned by getConverter()
- * and 'value' is a ValueExpression, get the use the type to
- * create a Converter for that type and use it to convert the
- * submitted value. Additionally verify if an exception is
- * thrown during the conversion process, a message is queued
- * to the FacesContext and the component is marked invalid.
- */
- public void uiInputValidate5Test() throws EETest.Fault {
- super.uiInputValidate5Test(); // To change body of overridden methods
- // use Options | File Templates.
- }
-
- /**
- * @testName: uiInputValidate6Test
- * @assertion_ids: JSF:JAVADOC:787
- * @test_Strategy: If the selected item is not one of the available sections,
- * ensure a message is queued to the FacesContext and the
- * component is marked invalid.
- */
- public void uiInputValidate6Test() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiInputValidate6Test");
- invoke();
- }
-
- /**
- * @testName: uiInputResetValueTest
- * @assertion_ids: JSF:JAVADOC:770
- * @test_Strategy: Verify that calling resetValue() will cause the following:
- * - value set to null - submitted value set to null -
- * component is marked as valid - flag denoting that a local
- * value is set is false
- * @since 1.2
- */
- public void uiInputResetValueTest() throws Fault {
- super.uiInputResetValueTest();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/build.xml
deleted file mode 100644
index 47657aa01e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/jsf_comp_selone_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/jsf_comp_selone_web.war.sun-web.xml
deleted file mode 100644
index cc2a3e7b9d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/jsf_comp_selone_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_selone_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/jsf_comp_selone_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/jsf_comp_selone_web.xml
deleted file mode 100644
index 1a6dfb2a3d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiselectone/jsf_comp_selone_web.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-jsf_comp_selone
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiselectone.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/TestServlet.java
deleted file mode 100644
index 6f7cdd460e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/TestServlet.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiviewaction;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIViewAction;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UIViewAction();
- }
-
- // ------------------------------------------- UIViewAction Tests
-
- // UIViewAction.broadcast(FacesContext) throws NullPointerException
- public void uiViewActionBroadcastNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIViewAction viewAction = (UIViewAction) createComponent();
- viewAction.setRendererType(null);
-
- try {
- viewAction.broadcast(null);
- out.println(JSFTestUtil.FAIL
- + "Expected a NullPointerException to be thrown and it wasn't!");
-
- } catch (NullPointerException npe) {
- out.println(JSFTestUtil.PASS);
-
- } catch (Exception e) {
- out.println(JSFTestUtil.FAIL + "Wrong Exception Thrown!" + JSFTestUtil.NL
- + "Expected: NullPointerException" + JSFTestUtil.NL + "Received: "
- + e.toString());
- }
-
- } // End uiViewActionBroadcastNPETest
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/URLClient.java
deleted file mode 100644
index 0b69309e71..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/URLClient.java
+++ /dev/null
@@ -1,1212 +0,0 @@
-/*
- * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/**
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiviewaction;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_viewaction_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /**
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
- /** Run tests */
-
- // ------------------------------------------------ UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- *
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- *
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- *
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- *
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- *
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- *
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- *
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- *
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- *
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- *
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- *
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- *
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- *
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- *
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- *
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- *
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- *
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- *
- * @assertion_ids: JSF:JAVADOC:487
- *
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- *
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- *
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- *
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- *
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- *
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- *
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- *
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- *
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- *
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- *
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- *
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- *
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- *
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- *
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- *
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- *
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- *
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- *
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- *
- * @assertion_ids: JSF:JAVADOC:504
- *
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- *
- * @assertion_ids: JSF:JAVADOC:509
- *
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- *
- * @assertion_ids: JSF:JAVADOC:510
- *
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- *
- * @assertion_ids: JSF:JAVADOC:509
- *
- * @test_Strategy: Verify getCurrentComponent() returns null if there is no
- * currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- *
- * @assertion_ids: JSF:JAVADOC:512
- *
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- *
- * @assertion_ids: JSF:JAVADOC:511
- *
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- *
- * @assertion_ids: JSF:JAVADOC:535
- *
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- *
- * @assertion_ids: JSF:JAVADOC:535
- *
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- *
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- *
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- *
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- *
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- *
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- *
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- *
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- *
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- *
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:887
- *
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- *
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- *
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- *
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- *
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- *
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- *
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- *
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- *
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- *
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- *
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- *
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- *
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- *
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- *
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- *
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- *
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- *
- * @assertion_ids: JSF:JAVADOC:536
- *
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- *
- * @assertion_ids: JSF:JAVADOC:536
- *
- * @test_Strategy: Verify isInView() Retuns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- *
- * @assertion_ids: JSF:JAVADOC:541
- *
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- *
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- *
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- *
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- *
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:549
- *
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- *
- * @assertion_ids: JSF:JAVADOC:549
- *
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- *
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- *
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- *
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- *
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- *
- * @assertion_ids: JSF:JAVADOC:628
- *
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:628
- *
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- *
- * @assertion_ids: JSF:JAVADOC:628
- *
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- *
- * @assertion_ids: JSF:JAVADOC:628
- *
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- *
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- *
- * @assertion_ids: JSF:JAVADOC:553
- *
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- *
- * @assertion_ids: JSF:JAVADOC:554
- *
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- *
- * @assertion_ids: JSF:JAVADOC:539
- *
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- *
- * @assertion_ids: JSF:JAVADOC:540
- *
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- *
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- *
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- *
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- *
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- *
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- *
- * @assertion_ids: JSF:JAVADOC:529
- *
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- *
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- *
- * @assertion_ids: JSF:JAVADOC:569
- *
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- *
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- *
- * @assertion_ids: JSF:JAVADOC:568
- *
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- *
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- *
- * @assertion_ids: JSF:JAVADOC:570
- *
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- *
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- *
- * @assertion_ids: JSF:JAVADOC:2547
- *
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- *
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- *
- * @assertion_ids: JSF:JAVADOC:575
- *
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- *
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- *
- * @assertion_ids: JSF:JAVADOC:575
- *
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- *
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
- /**
- * @testName: stateHolderIsSetTransientTest
- *
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- *
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- *
- * @assertion_ids: JSF:JAVADOC:443
- *
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- *
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:446
- *
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- *
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- *
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // ---------------------------------------------------UIViewAction
-
- /**
- * @testName: uiViewActionBroadcastNPETest
- *
- * @assertion_ids: JSF:JAVADOC:478; JSF:JAVADOC:2559
- *
- * @test_Strategy: Validate that a NullPointerException is thrown, if event is
- * null.
- *
- * @since: 2.2
- */
- public void uiViewActionBroadcastNPETest() throws EETest.Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewActionBroadcastNPETest");
- invoke();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/build.xml
deleted file mode 100644
index c0ab8b2f2a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/build.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/jsf_comp_viewaction_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/jsf_comp_viewaction_web.war.sun-web.xml
deleted file mode 100644
index 80f8893f7f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/jsf_comp_viewaction_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_viewaction_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/jsf_comp_viewaction_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/jsf_comp_viewaction_web.xml
deleted file mode 100644
index 3b398a76bc..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewaction/jsf_comp_viewaction_web.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
- uiviewaction
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiviewaction.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/TestServlet.java
deleted file mode 100644
index 128bea9668..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/TestServlet.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiviewparameter;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIViewParameter;
-import jakarta.faces.context.FacesContext;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class TestServlet extends BaseComponentTestServlet {
-
- /**
- *
- * Initializes this {@link jakarta.servlet.Servlet}.
- *
- * Creates a new {@link UIComponent} instance.
- *
- *
- * @return a new {@link UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UIViewParameter();
- }
-
- // ----------------------------------------- UIViewParameter
-
- public void uiViewParameterIsImmediateTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIViewParameter viewparam = (UIViewParameter) createComponent();
-
- if (viewparam.isImmediate()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Default setting for 'isImmediate() " + " MUST be false!");
-
- } else {
- // UIViewparameter.isImmediate() should always return false.
- // (according to API doc.)
- viewparam.setImmediate(true);
- if (viewparam.isImmediate()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unxpected value returned from isImmediate()" + JSFTestUtil.NL
- + "Expected: false" + JSFTestUtil.NL + "Received: true");
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
- } // End uiViewParameterIsImmediateTest
-
- public void uiViewParameterGetSetNameTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String golden = "Bytor";
- UIViewParameter viewparam = (UIViewParameter) createComponent();
-
- viewparam.setName(golden);
-
- if (golden.equals(viewparam.getName())) {
- out.println(JSFTestUtil.PASS);
-
- } else {
- out.println(
- JSFTestUtil.FAIL + " Unexpected Value returned from getName()!"
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Received: " + viewparam.getName());
- }
-
- } // End uiViewParameterGetSetNameTest
-
- public void uiViewParameterGetSetSubmittedValueTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIViewParameter viewparam = (UIViewParameter) createComponent();
- String golden = "true";
-
- viewparam.setSubmittedValue(golden);
- String result = (String) viewparam.getSubmittedValue();
-
- if (!(golden.equals(result))) {
- out.println(JSFTestUtil.FAIL
- + " Value returned by getSubmittedValue() was not the value set by "
- + "setSubmittedValue()." + JSFTestUtil.NL + "Expected: " + golden
- + JSFTestUtil.NL + "Received: " + result);
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // End uiViewParameterGetSetSubmittedValueTest
-
- public void uiViewParameterGetStringValueTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- UIViewParameter viewparam = (UIViewParameter) createComponent();
- String golden = "true";
-
- viewparam.setValue(golden);
- String result = viewparam.getStringValue(context);
-
- if (!(golden.equals(result))) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Wrong value returned by getStringValue()!" + JSFTestUtil.NL
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Received: " + result);
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // End uiViewParameterGetStringValueTest
-
-} // End TestServlet
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/URLClient.java
deleted file mode 100644
index 719ccff270..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/URLClient.java
+++ /dev/null
@@ -1,1378 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiviewparameter;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_viewparameter_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String[] args, PrintWriter out, PrintWriter err) {
- // don't reset the context root if already been set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- // ============================================ Tests ======
-
- // ----------------------------------------------------- EditableValueHolder
- /**
- * @testName: editableValueHolderIsSetValidTest
- *
- * @assertion_ids: JSF:JAVADOC:418; JSF:JAVADOC:427
- *
- * @test_Strategy: Verify {is,set}Valid() - if a value is set, the same value
- * is returned.
- */
- public void editableValueHolderIsSetValidTest() throws EETest.Fault {
- super.editableValueHolderIsSetValidTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValidatorTest
- *
- * @assertion_ids: JSF:JAVADOC:412; JSF:JAVADOC:406; JSF:JAVADOC:411;
- * JSF:JAVADOC:419
- *
- * @test_Strategy: Verify the default behavior of addValidator(),
- * removeValidator(), and getValidators() by first adding a
- * validator to the EditableValueHolder instance, then calling
- * getValidators() and ensure the expected length and instance
- * contained in the array. Then call removeValidator(). Ensure
- * the array size is as expected.
- */
- public void editableValueHolderAddGetRemoveValidatorTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValidatorTest();
- }
-
- /**
- * @testName: editableValueHolderIsSetRequiredTest
- *
- * @assertion_ids: JSF:JAVADOC:417; JSF:JAVADOC:425
- *
- * @test_Strategy: Verify {is,set}Required - if a value is set, the expected
- * value is returned.
- */
- public void editableValueHolderIsSetRequiredTest() throws EETest.Fault {
- super.editableValueHolderIsSetRequiredTest();
- }
-
- /**
- * @testName: editableValueHolderAddGetRemoveValueChangeListenerTest
- *
- * @assertion_ids: JSF:JAVADOC:414; JSF:JAVADOC:408; JSF:JAVADOC:413;
- * JSF:JAVADOC:420
- *
- * @test_Strategy: Verify the addition and or removal of ValueChangeListeners
- * from the component is property reflected in the value
- * returned by getValueChangeListeners().
- */
- public void editableValueHolderAddGetRemoveValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderAddGetRemoveValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderGetSetValueChangeListenerTest
- *
- * @assertion_ids: JSF:JAVADOC:413; JSF:JAVADOC:429
- *
- * @test_Strategy: editableValueHolder.{set,get}ValueChangeListener - if a
- * value is set, the expected value is returned.
- */
- public void editableValueHolderGetSetValueChangeListenerTest()
- throws EETest.Fault {
- super.editableValueHolderGetSetValueChangeListenerTest();
- }
-
- /**
- * @testName: editableValueHolderAddValidatorNPETest
- *
- * @assertion_ids: JSF:JAVADOC:407; JSF:JAVADOC:888
- *
- * @test_Strategy: Validate that addValidator throws a NullPointerException
- * when Validator is null
- */
- public void editableValueHolderAddValidatorNPETest() throws EETest.Fault {
- super.editableValueHolderAddValidatorNPETest();
- }
-
- /**
- * @testName: editableValueHolderAddValueChangeListenerNPETest
- *
- * @assertion_ids: JSF:JAVADOC:409; JSF:JAVADOC:888
- *
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderAddValueChangeListenerNPETest() throws Fault {
- super.editableValueHolderAddValueChangeListenerNPETest();
- }
-
- /**
- * @testName: editableValueHolderRemoveValueChangeListenerNPETest
- *
- * @assertion_ids: JSF:JAVADOC:421; JSF:JAVADOC:888
- *
- * @test_Strategy: Validate that addValueChangeListener throws a
- * NullPointerException when ValueChangeListener is null
- */
- public void editableValueHolderRemoveValueChangeListenerNPETest()
- throws Fault {
- super.editableValueHolderRemoveValueChangeListenerNPETest();
- }
-
- // -----------------------------------------------------------------
- // UIComponent
-
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- *
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- *
- * @assertion_ids: JSF:JAVADOC:490; JSF:JAVADOC:586
- *
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginELTest
- *
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- *
- * @test_Strategy: Verify that when encodeBegin() is called that a call is
- * made to
- * pushComponentToEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeBeginELTest() throws EETest.Fault {
- super.uiComponentEncodeBeginELTest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginTest
- *
- * @assertion_ids: JSF:JAVADOC:488; JSF:JAVADOC:584
- *
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- *
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- *
- * @assertion_ids: JSF:JAVADOC:493; JSF:JAVADOC:589
- *
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- *
- * @assertion_ids: JSF:JAVADOC:491; JSF:JAVADOC:587
- *
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- *
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- *
- * @assertion_ids: JSF:JAVADOC:496; JSF:JAVADOC:592
- *
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- *
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- *
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- *
- * @assertion_ids: JSF:JAVADOC:487
- *
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndELTest
- *
- * @assertion_ids: JSF:JAVADOC:494; JSF:JAVADOC:590
- *
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it calls
- * popComponentFromEL(jakarta.faces.context.FacesContext).
- *
- * @since 2.0
- */
- public void uiComponentEncodeEndELTest() throws EETest.Fault {
- super.uiComponentEncodeEndELTest();
-
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- *
- * @assertion_ids: JSF:JAVADOC:498; JSF:JAVADOC:594
- *
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- *
- * @assertion_ids: JSF:JAVADOC:499; JSF:JAVADOC:595
- *
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- *
- * @assertion_ids: JSF:JAVADOC:497; JSF:JAVADOC:593
- *
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- *
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:500
- *
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- *
- * @assertion_ids: JSF:JAVADOC:597; JSF:JAVADOC:501
- *
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- *
- * @assertion_ids: JSF:JAVADOC:502; JSF:JAVADOC:598
- *
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- *
- * @assertion_ids: JSF:JAVADOC:505; JSF:JAVADOC:601
- *
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- *
- * @assertion_ids: JSF:JAVADOC:503; JSF:JAVADOC:600
- *
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- *
- * @assertion_ids: JSF:JAVADOC:504
- *
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- *
- * @assertion_ids: JSF:JAVADOC:509
- *
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- *
- * @assertion_ids: JSF:JAVADOC:510
- *
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- *
- * @assertion_ids: JSF:JAVADOC:509
- *
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- *
- * @assertion_ids: JSF:JAVADOC:512
- *
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- *
- * @assertion_ids: JSF:JAVADOC:511
- *
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- *
- * @assertion_ids: JSF:JAVADOC:535
- *
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- *
- * @assertion_ids: JSF:JAVADOC:534
- *
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- *
- * @assertion_ids: JSF:JAVADOC:516; JSF:JAVADOC:607
- *
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- *
- * @assertion_ids: JSF:JAVADOC:515; JSF:JAVADOC:606
- *
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- *
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:604
- *
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- *
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- *
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- *
- * @assertion_ids: JSF:JAVADOC:517; JSF:JAVADOC:892
- *
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- *
- * @assertion_ids: JSF:JAVADOC:524; JSF:JAVADOC:611
- *
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- *
- * @assertion_ids: JSF:JAVADOC:518; JSF:JAVADOC:558; JSF:JAVADOC:608;
- * JSF:JAVADOC:641
- *
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- *
- * @assertion_ids: JSF:JAVADOC:522; JSF:JAVADOC:561; JSF:JAVADOC:609;
- * JSF:JAVADOC:642
- *
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- *
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- *
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- *
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- *
- * @assertion_ids: JSF:JAVADOC:523;JSF:JAVADOC:563; JSF:JAVADOC:610;
- * JSF:JAVADOC:644
- *
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- *
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:614
- *
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- *
- * @assertion_ids: JSF:JAVADOC:531; JSF:JAVADOC:532; JSF:JAVADOC:533;
- * JSF:JAVADOC:615; JSF:JAVADOC:616
- *
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:537; JSF:JAVADOC:562; JSF:JAVADOC:617;
- * JSF:JAVADOC:643
- *
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentIsInViewTest
- *
- * @assertion_ids: JSF:JAVADOC:536
- *
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewTest() throws EETest.Fault {
- super.uiComponentIsInViewTest();
- }
-
- /**
- * @testName: uiComponentIsInViewNegTest
- *
- * @assertion_ids: JSF:JAVADOC:536
- *
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- */
- public void uiComponentIsInViewNegTest() throws EETest.Fault {
- super.uiComponentIsInViewNegTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- *
- * @assertion_ids: JSF:JAVADOC:541; JSF:JAVADOC:889
- *
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- *
- * @assertion_ids: JSF:JAVADOC:545; JSF:JAVADOC:547; JSF:JAVADOC:622;
- * JSF:JAVADOC:624
- *
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:548; JSF:JAVADOC:625
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:546; JSF:JAVADOC:623
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- *
- * @assertion_ids: JSF:JAVADOC:545;JSF:JAVADOC:547
- *
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:549
- *
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- *
- * @assertion_ids: JSF:JAVADOC:549
- *
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- *
- * @assertion_ids: JSF:JAVADOC:549; JSF:JAVADOC:763
- *
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- *
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:627
- *
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- *
- * @assertion_ids: JSF:JAVADOC:628
- *
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- *
- * @assertion_ids: JSF:JAVADOC:628
- *
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- *
- * @assertion_ids: JSF:JAVADOC:628
- *
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- *
- * @assertion_ids: JSF:JAVADOC:628
- *
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- *
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629; JSF:JAVADOC:899
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- *
- * @assertion_ids: JSF:JAVADOC:553
- *
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- *
- * @assertion_ids: JSF:JAVADOC:554
- *
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- *
- * @assertion_ids: JSF:JAVADOC:539
- *
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- *
- * @assertion_ids: JSF:JAVADOC:540
- *
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- *
- * @assertion_ids: JSF:JAVADOC:640; JSF:JAVADOC:559
- *
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- *
- * @assertion_ids: JSF:JAVADOC:567;JSF:JAVADOC:528
- *
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- *
- * @since 2.0
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- *
- * @assertion_ids: JSF:JAVADOC:529
- *
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- *
- * @since 2.0
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- *
- * @assertion_ids: JSF:JAVADOC:569
- *
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- *
- * @since 2.0
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- *
- * @assertion_ids: JSF:JAVADOC:568
- *
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- *
- * @since 2.0
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- *
- * @assertion_ids: JSF:JAVADOC:570
- *
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- *
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- *
- * @assertion_ids: JSF:JAVADOC:2547
- *
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- *
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- *
- * @assertion_ids: JSF:JAVADOC:575
- *
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- *
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- *
- * @assertion_ids: JSF:JAVADOC:575
- *
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- *
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -----------------------------------------------------------------
- // StateHolder
-
- /**
- * @testName: stateHolderIsSetTransientTest
- *
- * @assertion_ids: JSF:JAVADOC:442;JSF:JAVADOC:447
- *
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderSaveRestoreStateTest
- *
- * @assertion_ids: JSF:JAVADOC:443
- *
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:444; JSF:JAVADOC:445
- *
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- *
- * @assertion_ids: JSF:JAVADOC:446
- *
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // -------------------------------------------------------------
- // PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- *
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- *
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
- // --------------------------------------------------------------
- // ValueHolder
-
- /**
- * @testName: valueHolderGetSetValueTest
- *
- * @assertion_ids: JSF:JAVADOC:966; JSF:JAVADOC:968
- *
- * @test_Strategy: Verify {get,set}Value() - if a value is set, the same value
- * is returned.
- */
- public void valueHolderGetSetValueTest() throws EETest.Fault {
- super.valueHolderGetSetValueTest();
- }
-
- // ------------------------------------------------------------- ValueHolder
-
- /**
- * @testName: valueHolderGetSetConverterTest
- *
- * @assertion_ids: JSF:JAVADOC:964; JSF:JAVADOC:967
- *
- * @test_Strategy: Verify {get,set}Converter() - if a value is set, the same
- * value is returned.
- */
- public void valueHolderGetSetConverterTest() throws EETest.Fault {
- super.valueHolderGetSetConverterTest();
- }
-
- // --------------------------------------------- UIViewParameter
-
- /**
- * @testName: uiViewParameterIsImmediateTest
- *
- * @assertion_ids: JSF:JAVADOC:415; JSF:JAVADOC:898; JSF:JAVADOC:902
- *
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiViewParameterIsImmediateTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewParameterIsImmediateTest");
- invoke();
- }
-
- /**
- * @testName: uiViewParameterGetSetNameTest
- *
- * @assertion_ids: JSF:JAVADOC:893; JSF:JAVADOC:900
- *
- * @test_Strategy: Validate the following: we can set the name
- * value(setname()) we can get the name value(getname())
- */
- public void uiViewParameterGetSetNameTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewParameterGetSetNameTest");
- invoke();
- }
-
- /**
- * @testName: uiViewParameterGetStringValueTest
- *
- * @assertion_ids: JSF:JAVADOC:410; JSF:JAVADOC:426; JSF:JAVADOC:894
- *
- * @test_Strategy: Verify getStringValue() - if a value is set, the expected
- * value is returned.
- */
- public void uiViewParameterGetStringValueTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewParameterGetStringValueTest");
- invoke();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/build.xml
deleted file mode 100644
index a0f0dcc298..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/build.xml
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/jsf_comp_viewparameter_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/jsf_comp_viewparameter_web.war.sun-web.xml
deleted file mode 100644
index 9150129192..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/jsf_comp_viewparameter_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_viewparameter_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/jsf_comp_viewparameter_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/jsf_comp_viewparameter_web.xml
deleted file mode 100644
index 67060151b1..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewparameter/jsf_comp_viewparameter_web.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
- jsf_comp_viewparameter
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiviewparameter.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/CustomOutput.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/CustomOutput.java
deleted file mode 100644
index ed8fe9a233..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/CustomOutput.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiviewroot;
-
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.event.AbortProcessingException;
-import jakarta.faces.event.ComponentSystemEvent;
-
-public class CustomOutput extends UIOutput {
-
- private boolean processEventInvoked;
-
- private ComponentSystemEvent event;
-
- private String myValue = "Default_Test_Value";
-
- public void processEvent(ComponentSystemEvent event)
- throws AbortProcessingException {
- processEventInvoked = true;
- this.event = event;
- }
-
- public void reset() {
- processEventInvoked = false;
- event = null;
- }
-
- public boolean isProcessEventInvoked() {
- return processEventInvoked;
- }
-
- public ComponentSystemEvent getEvent() {
- return event;
- }
-
- @Override
- public String getValue() {
- return myValue;
- }
-
- public void setValue(Object s) {
- myValue = s.toString();
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/TCKPhaseListener.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/TCKPhaseListener.java
deleted file mode 100644
index 1785eeb905..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/TCKPhaseListener.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiviewroot;
-
-import jakarta.faces.event.PhaseEvent;
-import jakarta.faces.event.PhaseId;
-import jakarta.faces.event.PhaseListener;
-
-public class TCKPhaseListener implements PhaseListener {
-
- @Override
- public void afterPhase(PhaseEvent event) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void beforePhase(PhaseEvent event) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public PhaseId getPhaseId() {
- // TODO Auto-generated method stub
- return null;
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/TCKSystemEventListener.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/TCKSystemEventListener.java
deleted file mode 100644
index 4c93384915..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/TCKSystemEventListener.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*
- * Copyright (c) 2018, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiviewroot;
-
-import jakarta.faces.event.AbortProcessingException;
-import jakarta.faces.event.SystemEvent;
-import jakarta.faces.event.SystemEventListener;
-
-public class TCKSystemEventListener implements SystemEventListener {
-
- @Override
- public void processEvent(SystemEvent event) throws AbortProcessingException {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public boolean isListenerForSource(Object source) {
- // TODO Auto-generated method stub
- return false;
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/TestServlet.java
deleted file mode 100644
index 2b35bbda69..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/TestServlet.java
+++ /dev/null
@@ -1,612 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiviewroot;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Locale;
-
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseComponentTestServlet;
-import com.sun.ts.tests.jsf.common.beans.AlbumBean;
-import com.sun.ts.tests.jsf.common.event.TCKSystemEvent;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.el.ExpressionFactory;
-import jakarta.el.MethodExpression;
-import jakarta.faces.component.UICommand;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIComponentBase;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.event.FacesEvent;
-import jakarta.faces.event.PhaseListener;
-import jakarta.faces.event.SystemEventListener;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-import jakarta.servlet.jsp.JspFactory;
-
-public final class TestServlet extends BaseComponentTestServlet {
-
- private static final String TEST_VALUE = "Default_Test_Value";
-
- @Override
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- setRendererType(null);
- }
-
- /**
- *
- * Creates a new {@link jakarta.faces.component.UIComponent} instance.
- *
- *
- * @return a new {@link jakarta.faces.component.UIComponent} instance.
- */
- @Override
- protected UIComponentBase createComponent() {
- return new UIViewRoot();
- }
-
- // ------------------------------------------- Test Methods
-
- // Test for UIViewRoot.addComponentResource(FacesContext, UIComponent)
- public void uiViewRootaddComponentResourceFCTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- UIComponent myComp = new CustomOutput();
-
- root.addComponentResource(context, myComp);
- List children = root.getComponentResources(context, "head");
-
- if (testValue(out, children, TEST_VALUE)
- && testSize(out, children, 1, "head")) {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // UIViewRoot.addComponentResource(FacesContext, UIComponent, String)
- public void uiViewRootaddComponentResourceFCTTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- UIComponent myComp = new CustomOutput();
-
- root.addComponentResource(context, myComp, "body");
- List children = root.getComponentResources(context, "body");
-
- if (testValue(out, children, TEST_VALUE)
- && testSize(out, children, 1, "body")) {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // UIViewRoot.addComponentResource(FacesContext, UIComponent, null)
- public void uiViewRootaddComponentResourceComponentTargetTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- UIComponent myComp = new CustomOutput();
-
- boolean tf = true;
- root.addComponentResource(context, myComp, null);
- List children = root.getComponentResources(context, "head");
-
- if (!(testValue(out, children, TEST_VALUE)
- && testSize(out, children, 1, "head"))) {
- tf = false;
- }
-
- // Added target value to teh Component itself.
- myComp.getAttributes().put("target", "body");
- root.addComponentResource(context, myComp, null);
- List childrenTwo = root.getComponentResources(context, "body");
- if (!(testValue(out, childrenTwo, TEST_VALUE)
- && testSize(out, childrenTwo, 1, "body "))) {
- tf = false;
- }
-
- if (tf) {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // Test for UIViewRoot.addComponentResource(FacesContext, UIComponent,
- // String)
- public void uiViewRootaddComponentResourceComponentNegTargetTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- UIComponent myComp = new CustomOutput();
-
- boolean tf = true;
- myComp.getAttributes().put("target", "head");
- root.addComponentResource(context, myComp, "body");
- List bodyComp = root.getComponentResources(context, "body");
- List headComp = root.getComponentResources(context, "head");
-
- if (!(headComp.isEmpty())) {
- if (!(testValue(out, headComp, "NONE"))) {
- tf = false;
- }
- }
- if (!(testSize(out, bodyComp, 1, "body"))) {
- tf = false;
- }
-
- if (tf) {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // Test for UIViewRoot.getComponentResources(FacesContext, null)
- public void uiViewRootgetComponentResourcesNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // UIViewRoot.getComponentResources(FacesContext, null)
- JSFTestUtil.checkForNPE("jakarta.faces.component.UIViewRoot",
- "getComponentResources",
- new Class>[] { FacesContext.class, String.class },
- new Object[] { getFacesContext(), null }, out);
-
- }
-
- // Test for UIViewRoot.removeComponentResource(FacesContext, UIComponent)
- public void uiViewRootremoveComponentResourceTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- UIComponent myComp = new CustomOutput();
-
- // add the resource & test to make sure its there.
- root.addComponentResource(context, myComp);
- List children = root.getComponentResources(context, "head");
-
- if (testValue(out, children, TEST_VALUE)
- && testSize(out, children, 1, "head")) {
- // do nothing the resource is has been added.
- } else {
- return;
- }
-
- // Remove the resource & test to make sure it is no longer available.
- root.removeComponentResource(context, myComp);
- children = root.getComponentResources(context, "head");
- if (children.isEmpty()) {
- out.println(JSFTestUtil.PASS);
- } else {
- testValue(out, children, "Empty");
- }
-
- }
-
- // Test for UIViewRoot.removeComponentResource(FacesContext, UIComponent)
- public void uiViewRootremoveComponentResourceNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // UIViewRoot.removeComponentResource(FacesContext, null)
- JSFTestUtil.checkForNPE("jakarta.faces.component.UIViewRoot",
- "removeComponentResource",
- new Class>[] { FacesContext.class, UIComponent.class },
- new Object[] { getFacesContext(), null }, out);
- }
-
- // UIViewRoot.isInView()
- public void uiViewRootIsInViewTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIViewRoot root = getFacesContext().getViewRoot();
- UIComponent comp = createComponent();
-
- String ct = comp.getClass().getName();
- root.getChildren().add(comp);
-
- if (!comp.isInView()) {
- out.println(JSFTestUtil.FAIL + ct + "isInView() returned false. "
- + "Expected UIcomponent to be in the View.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIViewRoot.isInView()
- public void uiViewRootIsInViewNegTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- UIComponent comp = createComponent();
-
- String ct = comp.getClass().getName();
-
- if (!comp.isInView()) {
- out.println(JSFTestUtil.FAIL + ct + "isInView() returned false. "
- + "Expected UIcomponent to be in the View.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // UIViewRoot.addPhaseListeners(PhaseListener)
- // UIViewRoot.getPhaseListeners()
- public void uiViewRootAddGetPhaseListenersTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- List result = new ArrayList();
-
- PhaseListener myListener = new TCKPhaseListener();
- root.addPhaseListener(myListener);
-
- result = root.getPhaseListeners();
-
- if (!result.contains(myListener)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected result from add/getPhaseListners!" + JSFTestUtil.NL
- + "We are missing a customer PhaseListener that should "
- + "have been added by this testcase.");
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- }// End uiViewRootAddGetPhaseListenersTest
-
- // UIViewRoot.getViewId()
- // UIViewRoot.setViewId(String)
- public void uiViewRootSetGetViewIdTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- String myId = "myId";
-
- root.setViewId(myId);
- String result = root.getViewId();
-
- if (!myId.equals(result)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected result set/getViewId()!" + JSFTestUtil.NL + "Expected: "
- + myId + JSFTestUtil.NL + "Received: " + result);
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- }// End uiViewRootSetGetViewIdTest
-
- public void uiViewRootSubscribeToViewEventTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- List listeners;
- SystemEventListener tckListener = new TCKSystemEventListener();
-
- // Added listener to UIViewRoot
- root.subscribeToViewEvent(TCKSystemEvent.class, tckListener);
-
- // Check to make sure listener is available.
- listeners = root.getViewListenersForEventClass(TCKSystemEvent.class);
- if (!listeners.contains(tckListener)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected TCKSystemEventListener to be available!");
- return;
- }
-
- // Remove listener from UIViewRoot
- root.unsubscribeFromViewEvent(TCKSystemEvent.class, tckListener);
-
- // Check to make sure listener is NOT available.
- listeners = root.getViewListenersForEventClass(TCKSystemEvent.class);
- if (listeners.contains(tckListener)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected TCKSystemEventListener NOT to be available!");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }// End uiViewRootSubscribeToViewEventNPETest
-
- // UIViewRoot.unsubscribeFromViewEvent(Class,SystemEventListener)
- // throws NullPointerException
- public void uiViewRootUnsubscribeFromViewEventNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // UIViewRoot.unsubscribeFromViewEvent(null, SystemEventListener)
- JSFTestUtil.checkForNPE("jakarta.faces.component.UIViewRoot",
- "unsubscribeFromViewEvent",
- new Class>[] { Class.class, SystemEventListener.class },
- new Object[] { null, new TCKSystemEventListener() }, out);
-
- // UIViewRoot.unsubscribeFromViewEvent(Class, null)
- JSFTestUtil.checkForNPE("jakarta.faces.component.UIViewRoot",
- "unsubscribeFromViewEvent",
- new Class>[] { Class.class, SystemEventListener.class },
- new Object[] { new TCKSystemEvent(new UICommand()).getClass(), null },
- out);
-
- }// End uiViewRootUnsubscribeFromViewEventNPETest
-
- // UIViewRoot.subscribeToViewEvent(Class, SystemEventListener)
- // throws NullPointerException
- public void uiViewRootSubscribeToViewEventNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- // UIViewRoot.subscribeToViewEvent(null, SystemEventListener)
- JSFTestUtil.checkForNPE("jakarta.faces.component.UIViewRoot",
- "subscribeToViewEvent",
- new Class>[] { Class.class, SystemEventListener.class },
- new Object[] { null, new TCKSystemEventListener() }, out);
-
- // UIViewRoot.subscribeToViewEvent(Class, null)
- JSFTestUtil.checkForNPE("jakarta.faces.component.UIViewRoot",
- "subscribeToViewEvent",
- new Class>[] { Class.class, SystemEventListener.class },
- new Object[] { new TCKSystemEvent(new UICommand()).getClass(), null },
- out);
-
- }// End uiViewRootSubscribeToViewEventNPETest
-
- // UIViewRoot.createUniquId(FacesContext, String)
- public void uiViewRootCreateUniqueIDTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String tckSeed = "TCK_ID";
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- root.setId(root.createUniqueId(context, tckSeed));
- String result = root.getId();
- String prefix = UIViewRoot.UNIQUE_ID_PREFIX;
-
- if (!result.contains(tckSeed)) {
- out.println(JSFTestUtil.FAIL + "Unexpected result from .getId()!"
- + JSFTestUtil.NL + "Expected ViewId to contain: " + tckSeed
- + JSFTestUtil.NL + "Received: " + root);
-
- } else if (!result.contains(prefix)) {
- out.println(JSFTestUtil.FAIL + "Unexpected result from .getId()!"
- + JSFTestUtil.NL + "Expected ViewId to contain: " + prefix
- + JSFTestUtil.NL + "Received: " + root);
- } else {
- out.println(JSFTestUtil.PASS);
- }
- } // End uiViewRootCreateUniqueIDTest
-
- // UIViewRoot.setLocale(Locale)
- // UIViewRoot.getLocale()
- public void uiViewRootSetGetLocaleTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String golden = "English";
- getFacesContext().getViewRoot().setLocale(Locale.ENGLISH);
- String result = getFacesContext().getViewRoot().getLocale()
- .getDisplayName();
-
- if (!golden.equalsIgnoreCase(result)) {
- out.println(JSFTestUtil.FAIL + "Inexpected result from set/getLocale!"
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Received: " + result);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- } // End uiViewRootSetGetLocaleTest
-
- // UIViewRoot.setRenderKitId(String)
- // UIViewRoot.getRenderKitId()
- public void uiViewRootSetGetRenderKitIdTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String golden = "tck_kit";
- getFacesContext().getViewRoot().setRenderKitId(golden);
- String result = getFacesContext().getViewRoot().getRenderKitId();
-
- if (!golden.equals(result)) {
- out.println(JSFTestUtil.FAIL
- + "Inexpected result from set/getRenderKitId!" + JSFTestUtil.NL
- + "Expected: " + golden + JSFTestUtil.NL + "Received: " + result);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- } // End uiViewRootSetGetRenderKitIdTest
-
- // UIViewRoot.getViewListenersForEventClass(Class) throws
- // NullPointerException
- public void uiViewRootGetViewListenersForEventClassNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE("jakarta.faces.component.UIViewRoot",
- "getViewListenersForEventClass", new Class>[] { Class.class },
- new Object[] { null }, out);
-
- }// End uiViewRootGetViewListenersForEventClassNPETest
-
- // UIViewRoot.processApplication(FacesContext) throws NullPointerException
- public void uiViewRootProcessApplicationNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE("jakarta.faces.component.UIViewRoot",
- "processApplication", new Class>[] { FacesContext.class },
- new Object[] { null }, out);
-
- }// End uiViewRootProcessApplicationNPETest
-
- // UIViewRoot.processDecodes(FacesContext) throws NullPointerException
- public void uiViewRootProcessDecodesNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE("jakarta.faces.component.UIViewRoot",
- "processDecodes", new Class>[] { FacesContext.class },
- new Object[] { null }, out);
-
- }// End uiViewRootProcessDecodesNPETest
-
- // UIViewRoot.processUpdates(FacesContext) throws NullPointerException
- public void uiViewRootProcessUpdatesNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE("jakarta.faces.component.UIViewRoot",
- "processUpdates", new Class>[] { FacesContext.class },
- new Object[] { null }, out);
-
- }// End uiViewRootProcessUpdatesNPETest
-
- // UIViewRoot.queueEvent(FacesEvent) throws NullPointerException
- public void uiViewRootQueueEventNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE("jakarta.faces.component.UIViewRoot", "queueEvent",
- new Class>[] { FacesEvent.class }, new Object[] { null }, out);
-
- }// End uiViewRootQueueEventNPETest
-
- public void uiViewRootGetSetBeforePhaseListenerTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIViewRoot root = getFacesContext().getViewRoot();
- MethodExpression me = createMethodExpression(request);
-
- root.setBeforePhaseListener(me);
- String result = root.getBeforePhaseListener().getExpressionString();
- String golden = me.getExpressionString();
-
- if (!golden.equals(result)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected result returned from getBeforePhaseListener()"
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // End uiViewRootGetSetBeforePhaseListenerTest
-
- public void uiViewRootGetSetAfterPhaseListenerTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- UIViewRoot root = getFacesContext().getViewRoot();
- MethodExpression me = createMethodExpression(request);
-
- root.setAfterPhaseListener(me);
- String result = root.getAfterPhaseListener().getExpressionString();
- String golden = me.getExpressionString();
-
- if (!golden.equals(result)) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected result returned from getAfterPhaseListener()"
- + JSFTestUtil.NL + "Expected: " + golden + JSFTestUtil.NL
- + "Received: " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // End uiViewRootGetSetAfterPhaseListenerTest
-
- // ------------------------------------------------ private methods
-
- private MethodExpression createMethodExpression(HttpServletRequest request) {
- request.setAttribute("LP", new AlbumBean());
- ExpressionFactory factory = JspFactory.getDefaultFactory()
- .getJspApplicationContext(servletContext).getExpressionFactory();
- MethodExpression me = factory.createMethodExpression(
- getFacesContext().getELContext(), "#{LP.album}", java.lang.String.class,
- new Class[] {});
-
- return me;
- }
-
- private boolean testValue(PrintWriter out, List components,
- String expValue) {
- // Validate the Value of the Component.
- Iterator> childIterator = components.listIterator();
- while (childIterator.hasNext()) {
- UIOutput uio = (UIOutput) childIterator.next();
- String resValue = (String) uio.getValue();
-
- if (!(expValue.equals(resValue))) {
- out.println("Test FAILED Incorrect value for " + "value attribute."
- + JSFTestUtil.NL + "Expected: " + expValue + JSFTestUtil.NL
- + "Received: " + resValue + JSFTestUtil.NL);
- return false;
- }
-
- }
-
- return true;
- }
-
- private boolean testSize(PrintWriter out, List components,
- int expSize, String target) {
- int resultSize = components.size();
-
- if (components.isEmpty()) {
- out.println("Test FAILED no Resources rendered in the " + target
- + " of the rendered output.");
- return false;
- }
-
- if (expSize != resultSize) {
- out.println("Test FAILED wrong number of Resource objects"
- + JSFTestUtil.NL + "Expected: " + expSize + JSFTestUtil.NL
- + "Received: " + resultSize + JSFTestUtil.NL);
- return false;
- }
-
- return true;
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/URLClient.java
deleted file mode 100644
index 6a243eac79..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/URLClient.java
+++ /dev/null
@@ -1,1375 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.component.uiviewroot;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.lib.harness.EETest;
-import com.sun.ts.tests.jsf.api.jakarta_faces.component.common.BaseUIComponentClient;
-
-import jakarta.faces.component.NamingContainer;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIViewRoot;
-
-public class URLClient extends BaseUIComponentClient {
-
- private static final String CONTEXT_ROOT = "/jsf_comp_viewroot_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- // don't reset the context root if already set
- if (getContextRoot() == null) {
- setContextRoot(CONTEXT_ROOT);
- }
- // don't reset the Servlet name if already set
- if (getServletName() == null) {
- setServletName(DEFAULT_SERVLET_NAME);
- }
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- // ------------------------------------------------------------- UIComponent
- /**
- * @testName: uiComponentEncodeBeginNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:488
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeBegin() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeBeginNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeBeginNotRenderedTest();
- }
-
- /**
- * /**
- *
- * @testName: uiComponentEncodeBeginTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:912
- * @test_Strategy: Verify that when encodeBegin() is called on the component
- * under test, it delegates this call to the encodeBegin()
- * method of the Renderer
- */
- public void uiComponentEncodeBeginTest() throws EETest.Fault {
- super.uiComponentEncodeBeginTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:914
- * @test_Strategy: Verify that the component doesn't delegate the
- * encodeChildren() call when the rendered property of the
- * component is false.
- */
- public void uiComponentEncodeChildrenNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:914
- * @test_Strategy: Verify that when encodeChildren() is called on the
- * component under test, it delegates this call to the
- * encodeChildren() method of the Renderer
- */
- public void uiComponentEncodeChildrenTest() throws EETest.Fault {
- super.uiComponentEncodeChildrenTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:916
- * @test_Strategy: Verify that the component doesn't delegate the encodeEnd()
- * call when the rendered property of the component is false.
- */
- public void uiComponentEncodeEndNotRenderedTest() throws EETest.Fault {
- super.uiComponentEncodeEndNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentEncodeEndTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:916
- * @test_Strategy: Verify that when encodeEnd() is called on the component
- * under test, it delegates this call to the encodeEnd()
- * method of the Renderer
- */
- public void uiComponentEncodeEndTest() throws EETest.Fault {
- super.uiComponentEncodeEndTest();
- }
-
- /**
- * @testName: uiComponentEncodeAllNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:487
- * @test_Strategy: Verify that when encodeAll() is called passing null as the
- * context, a NullPointException is thrown.
- *
- * @since 2.0
- */
- public void uiComponentEncodeAllNPETest() throws EETest.Fault {
- super.uiComponentEncodeAllNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeBeginNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:490
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeBeginNPETest() throws EETest.Fault {
- super.uiComponentEncodeBeginNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeChildrenNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:493
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeChildrenNPETest() throws EETest.Fault {
- super.uiComponentEncodeChildrenNPETest();
- }
-
- /**
- * @testName: uiComponentEncodeEndNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:496
- * @test_Strategy: Verify an NPE is thrown if the context
- * argument is null.
- */
- public void uiComponentEncodeEndNPETest() throws EETest.Fault {
- super.uiComponentEncodeEndNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentIAETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:498; JSF:JAVADOC:594
- * @test_Strategy: Verify an IllegalArgumentException is thrown by
- * findComponent when an intermediate identifier in a search
- * expression identifies a UIComponent that is not a
- * NamingContainer
- */
- public void uiComponentFindComponentIAETest() throws EETest.Fault {
- super.uiComponentFindComponentIAETest();
- }
-
- /**
- * @testName: uiComponentFindComponentNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:499
- * @test_Strategy: Verify a NullPointerException is thrown if expr is null.
- */
- public void uiComponentFindComponentNPETest() throws EETest.Fault {
- super.uiComponentFindComponentNPETest();
- }
-
- /**
- * @testName: uiComponentFindComponentTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:497; JSF:JAVADOC:593
- * @test_Strategy: Validate the behavior of findConponent(): - Identify the
- * UIComponent that will be the base for searching, by
- * stopping as soon as one of the following conditions is met:
- * o If the search expression begins with the the separator
- * character (called an "absolute" search expression), the
- * base will be the root UIComponent of the component tree.
- * The leading separator character will be stripped off, and
- * the remainder of the search expression will be treated as a
- * "relative" search expression as described below. o
- * Otherwise, if this UIComponent is a NamingContainer it will
- * serve as the basis. o Otherwise, search up the parents of
- * this component. If a NamingContainer is encountered, it
- * will be the base. o Otherwise (if no NamingContainer is
- * encountered) the root UIComponent will be the base. - The
- * search expression (possibly modified in the previous step)
- * is now a "relative" search expression that will be used to
- * locate the component (if any) that has an id that matches,
- * within the scope of the base component. The match is
- * performed as follows: o If the search expression is a
- * simple identifier, this value is compared to the id
- * property, and then recursively through the facets and
- * children of the base UIComponent (except that if a
- * descendant NamingContainer is found, its own facets and
- * children are not searched). o If the search expression
- * includes more than one identifier separated by the
- * separator character, the first identifier is used to locate
- * a NamingContainer by the rules in the previous bullet
- * point. Then, the findComponent() method of this
- * NamingContainer will be called, passing the remainder of
- * the search expression.
- */
- public void uiComponentFindComponentTest() throws EETest.Fault {
- super.uiComponentFindComponentTest();
- }
-
- /**
- * @testName: uiComponentGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:596; JSF:JAVADOC:958; JSF:JAVADOC:500
- * @test_Strategy: Assert the following:
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
If the attribute name specified as a key matches a
- * property of this {@link UIComponent}'s implementation
- * class, the following methods will have special behavior:
- *
- *
containsKey - Return false.
- *
- *
remove - Throw
- * IllegalArgumentException.
- *
- *
- *
- *
- */
- public void uiComponentGetAttributesTest() throws EETest.Fault {
- super.uiComponentGetAttributesTest();
- }
-
- /**
- * @testName: uiComponentGetChildCountTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:501
- * @test_Strategy: Validate getChildCount() returns the expected value.
- */
- public void uiComponentGetChildCountTest() throws EETest.Fault {
- super.uiComponentGetChildCountTest();
- }
-
- /**
- * @testName: uiComponentGetChildrenTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:502
- * @test_Strategy: Verify the following: * implementation must support all of
- * the standard and optional List methods, plus
- * support the following additional requirements:
- *
- *
- *
The List implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null must throw a
- * NullPointerException
- *
Any attempt to add an object that does not implement
- * {@link UIComponent} must throw a ClassCastException.
- *
- *
Any attempt to add a child {@link UIComponent} with a
- * non-null componentId that contains invalid
- * characters, or begins with
- * {@link NamingContainer#SEPARATOR_CHAR}, or
- * {@link UIViewRoot#UNIQUE_ID_PREFIX} (i.e. other than
- * letters, digits, '-', or '_') must throw
- * IllegalArgumentException.
- *
- *
Whenever a new child component is added:
- *
- *
The parent property of the child must be
- * set to this component instance.
- *
- *
- *
Whenever an existing child component is removed:
- *
- *
The parent property of the child must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetChildrenTest() throws EETest.Fault {
- super.uiComponentGetChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:505
- * @test_Strategy: Verify getClientId() throws NPE if the context
- * argument is null.
- */
- public void uiComponentGetClientIdNPETest() throws EETest.Fault {
- super.uiComponentGetClientIdNPETest();
- }
-
- /**
- * @testName: uiComponentGetClientIdTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:503
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdTest() throws EETest.Fault {
- super.uiComponentGetClientIdTest();
- }
-
- /**
- * @testName: uiComponentGetClientIdContextTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:504
- * @test_Strategy: Verify getClientId() returns a non-null value.
- */
- public void uiComponentGetClientIdContextTest() throws EETest.Fault {
- super.uiComponentGetClientIdContextTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns current component that
- * is processing.
- */
- public void uiComponentGetCurrentComponentTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:510
- * @test_Strategy: Verify getCurrentComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentComponentNPETest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentComponentNullTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:509
- * @test_Strategy: Verify getCurrentComponent() returns null return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentComponentNullTest() throws EETest.Fault {
- super.uiComponentGetCurrentComponentNullTest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:512
- * @test_Strategy: Verify getCurrentCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentGetCurrentCompositeComponentNPETest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentGetCurrentCompositeComponentNullTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:511
- * @test_Strategy: Verify getCurrentCompositeComponent() returns null return
- * null if there is no currently processing UIComponent
- */
- public void uiComponentGetCurrentCompositeComponentNullTest()
- throws EETest.Fault {
- super.uiComponentGetCurrentCompositeComponentNullTest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:535
- * @test_Strategy: Verify isCompositeComponent(null) throws a
- * NullPointerException when arg "FacesContext" is null.
- */
- public void uiComponentIsCompositeComponentNPETest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNPETest();
- }
-
- /**
- * @testName: uiComponentIsCompositeComponentNegTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:534
- * @test_Strategy: Verify isCompositeComponent() returns false return null if
- * there is no currently processing UIComponent
- */
- public void uiComponentIsCompositeComponentNegTest() throws EETest.Fault {
- super.uiComponentIsCompositeComponentNegTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsAndChildrenTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:516
- * @test_Strategy: Ensure the Iterator returned has the expected values, and
- * in the case of the UIComponent instances contained in the
- * iterator, ensure the order is correct.
- */
- public void uiComponentGetFacetsAndChildrenTest() throws EETest.Fault {
- super.uiComponentGetFacetsAndChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetFacetsTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:515
- * @test_Strategy: Assert the following: The returned implementation must
- * support all of the standard and optional Map
- * methods, plus support the following additional
- * requirements:
- *
- *
- *
The Map implementation must implement the
- * java.io.Serializable interface.
- *
Any attempt to add a null key or value
- * must throw a NullPointerException.
- *
Any attempt to add a key that is not a String must
- * throw a ClassCastException.
- *
Any attempt to add a value that is not a
- * {@link UIComponent} must throw a ClassCastException.
- *
Whenever a new facet {@link UIComponent} is added:
- *
- *
The parent property of the component must
- * be set to this component instance.
- *
- *
- *
Whenever an existing facet {@link UIComponent} is
- * removed:
- *
- *
The parent property of the facet must be
- * set to null.
- *
- *
- *
- */
- public void uiComponentGetFacetsTest() throws EETest.Fault {
- super.uiComponentGetFacetsTest();
- }
-
- /**
- * @testName: uiComponentGetFacetTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:513
- * @test_Strategy: Ensure a facet of a component can be obtained by name.
- */
- public void uiComponentGetFacetTest() throws EETest.Fault {
- super.uiComponentGetFacetTest();
- }
-
- /**
- * @testName: uiComponentGetFacetCountTest
- * @assertion_ids: JSF:JAVADOC:513; JSF:JAVADOC:514; JSF:JAVADOC:605
- * @test_Strategy: Validate that we receive 1 or more facets.
- */
- public void uiComponentGetFacetCountTest() throws EETest.Fault {
- super.uiComponentGetFacetCountTest();
- }
-
- /**
- * @testName: uiComponentGetFamilyTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:517; JSF:JAVADOC:922
- * @test_Strategy: Ensure we receive the correct component family.
- */
- public void uiComponentGetFamilyTest() throws EETest.Fault {
- super.uiComponentGetFamilyTest();
- }
-
- /**
- * @testName: uiComponentGetRendersChildrenTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:524; JSF:JAVADOC:926
- * @test_Strategy: Verify getRendersChildren() returns the expected value by
- * obtaining this components Renderer and calling
- * getRendersChildren() in the Renderer, and comparing that
- * value with what is returned by calling getRendersChildren()
- * on the component.
- */
- public void uiComponentGetRendersChildrenTest() throws EETest.Fault {
- super.uiComponentGetRendersChildrenTest();
- }
-
- /**
- * @testName: uiComponentGetSetIdTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:518;JSF:JAVADOC:558
- * @test_Strategy: Verify {get,set}Id() - if a value is set, the same value is
- * returned.
- */
- public void uiComponentGetSetIdTest() throws EETest.Fault {
- super.uiComponentGetSetIdTest();
- }
-
- /**
- * @testName: uiComponentGetSetParentTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:522;JSF:JAVADOC:561
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentGetSetParentTest() throws EETest.Fault {
- super.uiComponentGetSetParentTest();
- }
-
- /**
- * @testName: uiComponentQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:561; JSF:JAVADOC:632; JSF:JAVADOC:557
- * @test_Strategy: Validate that a NullPointerException is thrown when arg is
- * null.
- */
- public void uiComponentQueueEventNPETest() throws EETest.Fault {
- super.uiComponentQueueEventNPETest();
- }
-
- /**
- * @testName: uiComponentRestoreAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:635
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentRestoreAttachedStateNPETest() throws Fault {
- super.uiComponentRestoreAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentSaveAttachedStateNPETest
- * @assertion_ids: JSF:JAVADOC:550; JSF:JAVADOC:638
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- */
- public void uiComponentSaveAttachedStateNPETest() throws Fault {
- super.uiComponentSaveAttachedStateNPETest();
- }
-
- /**
- * @testName: uiComponentGetSetRendererTypeTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:523;JSF:JAVADOC:563
- * @test_Strategy: Verify {get,set}Parent() - if a value is set, the same
- * value is returned. Also verify that the default return
- * value. If a component is specified as having a specific
- * Renderer type, ensure that value is returned, otherwise
- * ensure that null is returned.
- */
- public void uiComponentGetSetRendererTypeTest() throws EETest.Fault {
- super.uiComponentGetSetRendererTypeTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:531
- * @test_Strategy: Validate the behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentTest();
- }
-
- /**
- * @testName: uiComponentInvokeOnComponentNegativeTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:531; JSF:JAVADOC:532;
- * JSF:JAVADOC:533; JSF:JAVADOC:615; JSF:JAVADOC:616
- * @test_Strategy: Validate the negative behavior of InvokeOnComponent():
- */
- public void uiComponentInvokeOnComponentNegativeTest() throws EETest.Fault {
- super.uiComponentInvokeOnComponentNegativeTest();
- }
-
- /**
- * @testName: uiComponentIsSetRenderedTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:537; JSF:JAVADOC:562
- * @test_Strategy: Verify {is,set}Rendered() - if a value is set, the same
- * value is returned.
- */
- public void uiComponentIsSetRenderedTest() throws EETest.Fault {
- super.uiComponentIsSetRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:541; JSF:JAVADOC:935
- * @test_Strategy: Assert the following when processDecodes() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessDecodesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessDecodesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:541
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling decode() on a particular component.
- */
- public void uiComponentProcessDecodesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessDecodesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesTest
- * @assertion_ids: JSF:JAVADOC:582; JSF:JAVADOC:958; JSF:JAVADOC:541
- * @test_Strategy: Assert the following when processDecodes is called: # Call
- * the processDecodes() method of all facets and children of
- * this UIComponent. # Call the decode() method of this
- * component, if this component's rendered property is true
- * and it is not nested in a parent component whose
- * rendersChildren property is true but whose rendered
- * property is false.
- */
- public void uiComponentProcessDecodesTest() throws EETest.Fault {
- super.uiComponentProcessDecodesTest();
- }
-
- /**
- * @testName: uiComponentProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:542; JSF:JAVADOC:621
- * @test_Strategy: Validate a NullPointerException is thrown when arg is null.
- */
- public void uiComponentProcessDecodesNPETest() throws EETest.Fault {
- super.uiComponentProcessDecodesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Assert the following when process{Save,Restore}State() is
- * called: - Call the process{Save,Restore}State() method of
- * all facets and children of this UIComponent in the order
- * determined by a call to getFacetsAndChildren(). - Call the
- * {save,restore}State() method of this component.
- */
- public void uiComponentProcessSaveRestoreStateTest() throws EETest.Fault {
- super.uiComponentProcessSaveRestoreStateTest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:548
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessSaveStateNPETest() throws EETest.Fault {
- super.uiComponentProcessSaveStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:546
- * @test_Strategy: Validate that a NullPointerException is thrown when context
- * is null.
- */
- public void uiComponentProcessRestoreStateNPETest() throws EETest.Fault {
- super.uiComponentProcessRestoreStateNPETest();
- }
-
- /**
- * @testName: uiComponentProcessSaveStateTransientTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:545;JSF:JAVADOC:547
- * @test_Strategy: Verify that when a component is marked transient, that
- * saveState() is not called, nor is
- * processSaveState()/saveState() is called on any children of
- * the transient component.
- */
- public void uiComponentProcessSaveStateTransientTest() throws EETest.Fault {
- super.uiComponentProcessSaveStateTransientTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:549; JSF:JAVADOC:938
- * @test_Strategy: Assert the following when processUpdates() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessUpdatesNotRenderedTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:549
- * @test_Strategy: Assert the following when calling processUpdates() and a
- * component is marked as invalid: If the valid property of
- * this UIComponent is now false, call
- * FacesContext.renderResponse() to transfer control at the
- * end of the current phase.
- */
- public void uiComponentProcessUpdatesRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessUpdatesRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:549; JSF:JAVADOC:763
- * @test_Strategy: Assert the following when processUpdates() is called: #
- * Call the processUpdates() method of all facets and children
- * of this UIComponent. # If the current component is an
- * UIInput, call its updateModel() method of this component,
- * if this component's rendered property is true and it is not
- * nested in a parent component whose rendersChildren property
- * is true but whose rendered property is false.
- */
- public void uiComponentProcessUpdatesTest() throws EETest.Fault {
- super.uiComponentProcessUpdatesTest();
- }
-
- /**
- * @testName: uiComponentProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:550
- * @test_Strategy: Validate a NullPointerException is thrown if context is
- * null.
- *
- * @since 2.0
- */
- public void uiComponentProcessUpdatesNPETest() throws EETest.Fault {
- super.uiComponentProcessUpdatesNPETest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsIsValidRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component has been marked invalid: - If the isValid()
- * method of this component returns false, call the
- * renderResponse() method on the FacesContext instance for
- * this request.
- */
- public void uiComponentProcessValidatorsIsValidRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsIsValidRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNotRenderedTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:628
- * @test_Strategy: Assert the following when processValidators() is called and
- * the component's rendered property is false: - If the
- * rendered property of this UIComponent is false, skip
- * further processing.
- */
- public void uiComponentProcessValidatorsNotRenderedTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsNotRenderedTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:628
- * @test_Strategy: Assert renderResponse() is called if a RuntimeException is
- * thrown when calling validate() on a particular component.
- */
- public void uiComponentProcessValidatorsRenderResponseTest()
- throws EETest.Fault {
- super.uiComponentProcessValidatorsRenderResponseTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:628; JSF:JAVADOC:940
- * @test_Strategy: Assert the following when processValidators() is called: #
- * Call the processValidators() method of all facets and
- * children of this UIComponent. # If the current component is
- * an UIInput, call its validate() method, if this component's
- * rendered property is true and it is not nested in a parent
- * component whose rendersChildren property is true but whose
- * rendered property is false.
- */
- public void uiComponentProcessValidatorsTest() throws EETest.Fault {
- super.uiComponentProcessValidatorsTest();
- }
-
- /**
- * @testName: uiComponentProcessValidatorsNPETest
- * @assertion_ids: JSF:JAVADOC:552; JSF:JAVADOC:629; JSF:JAVADOC:941
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * argument is null.
- */
-
- public void uiComponentProcessValidatorsNPETest() throws EETest.Fault {
- super.uiComponentProcessValidatorsNPETest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:553
- * @test_Strategy: Assert that a call to pushComponentToEL does put a
- * UIComponent onto the EL stack, and that another call to the
- * method causes the newly added component to be the current
- * component.
- */
- public void uiComponentPushComponentToELTest() throws EETest.Fault {
- super.uiComponentPushComponentToELTest();
- }
-
- /**
- * @testName: uiComponentPushComponentToELNPETest
- * @assertion_ids: JSF:JAVADOC:554
- * @test_Strategy: Validate hat a NullPointerException is thrown when
- * FacesContext is null.
- */
- public void uiComponentPushComponentToELNPETest() throws EETest.Fault {
- super.uiComponentPushComponentToELNPETest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELTest() throws EETest.Fault {
- super.uiComponentPopComponentFromELTest();
- }
-
- /**
- * @testName: uiComponentPopComponentFromELNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:539
- * @test_Strategy: Assert that a call to popComponentToEL removes "this"
- * component as being the current component and that the
- * previous UIComponent is set to the current component being
- * processed.
- */
- public void uiComponentPopComponentFromELNPETest() throws EETest.Fault {
- super.uiComponentPopComponentFromELNPETest();
- }
-
- /**
- * @testName: uiComponentSetIdRestrictionsTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:640; JSF:JAVADOC:559
- * @test_Strategy: Verify that component under test enforces the component ID
- * restrictions as specified: # Must not be a zero-length
- * String. # First character must be a letter or an underscore
- * ('_'). # Subsequent characters must be a letter, a digit,
- * an underscore ('_'), or a dash ('-').
- */
- public void uiComponentSetIdRestrictionsTest() throws EETest.Fault {
- super.uiComponentSetIdRestrictionsTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:567;JSF:JAVADOC:528
- * @test_Strategy: Verify the following: - setValueExpression with a
- * non-literal ValueExpression results in getValueExpression()
- * returning the non-literal ValueExpression -
- * setValueExpression with a literal ValueExpression results
- * in getValueExpression returning null for that particular
- * key and the evaluated value of the ValueExpression is
- * stored in the component's attribute map. - Providing a null
- * value for the ValueExpression argument of -
- * setValueExpression() where a ValueExpression has already
- * been stored using the same key, will result in the
- * ValueExpression being removed from its internal collection
- * - this is verified by calling getValueExpression() and
- * ensuring a null return
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionTest() throws Fault {
- super.uiComponentGetSetValueExpressionTest();
- }
-
- /**
- * @testName: uiComponentGetSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:529
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to getValueExpression().
- * @since 1.2
- */
- public void uiComponentGetSetValueExpressionNPETest() throws Fault {
- super.uiComponentGetSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:569
- * @test_Strategy: Verify an NPE is thrown if a null value for the 'name'
- * argument is passed to setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionNPETest() throws Fault {
- super.uiComponentSetValueExpressionNPETest();
- }
-
- /**
- * @testName: uiComponentSetValueExpressionIAETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:568
- * @test_Strategy: Verify an IAE is thrown if a null value for the 'name'
- * argument is 'id' or 'parent' setValueExpression().
- * @since 1.2
- */
- public void uiComponentSetValueExpressionIAETest() throws Fault {
- super.uiComponentSetValueExpressionIAETest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:570
- * @test_Strategy: Ensure UIComponent.subscribeToEvent Does not throw any
- * Exceptions when called correctly.
- *
- * Test case(s): UIComponent.subscribeToEvent(SystemEvent,
- * ComponentSystemEventlistener)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventTest() throws EETest.Fault {
- super.uiComponentSubscribeToEventTest();
- }
-
- /**
- * @testName: uiComponentSubscribeToEventNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:2547
- * @test_Strategy: Ensure UIComponent.uiComponentSubscribeToEventNPETest
- * throws a NullPointerException in the following test cases:
- *
- * Test cases: UIComponent.subscribeToEvent(null,
- * ComponentSystemEventlistener)
- * UIComponent.subscribeToEvent(SystemEvent, null)
- * @since 2.0
- */
- public void uiComponentSubscribeToEventNPETest() throws EETest.Fault {
- super.uiComponentSubscribeToEventNPETest();
- }
-
- /**
- * @testName: uiComponentVisitTreeTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeTest() throws Fault {
- super.uiComponentVisitTreeTest();
- }
-
- /**
- * @testName: uiComponentVisitTreeNegTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:575
- * @test_Strategy: Verify that we receive false when calling
- * UIComponent.visitTree().
- * @since 2.0
- */
- public void uiComponentVisitTreeNegTest() throws Fault {
- super.uiComponentVisitTreeNegTest();
- }
-
- // -------------------------------------------------------- UIViewRoot
- /**
- * @testName: uiViewRootaddComponentResourceFCTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:906; JSF:JAVADOC:907;
- * JSF:JAVADOC:920
- * @test_Strategy: Verify that UIViewRoot.addComponentResource, renders a
- * UIOutput Component to the 'head'(default location) and that
- * the test value returned from UIOutput.getValue() is
- * correct.
- *
- * Tested Method:
- * UIViewRoot.addComponentResource(FacesContext, UIComponent)
- * UIViewRoot.getComponentResources(FacesContext, String)
- *
- * @since 2.0
- */
- public void uiViewRootaddComponentResourceFCTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootaddComponentResourceFCTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootaddComponentResourceFCTTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:906; JSF:JAVADOC:907;
- * JSF:JAVADOC:920
- * @test_Strategy: Verify that UIViewRoot.addComponentResource, renders a
- * UIOutput Component to the 'body'(specified location) and
- * that the test value returned from UIOutput.getValue() is
- * correct.
- *
- * Tested Method:
- * UIViewRoot.addComponentResource(FacesContext, UIComponent,
- * String) UIViewRoot.getComponentResources(FacesContext,
- * String)
- *
- * @since 2.0
- */
- public void uiViewRootaddComponentResourceFCTTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootaddComponentResourceFCTTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootaddComponentResourceComponentTargetTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:906; JSF:JAVADOC:907
- * @test_Strategy: Verify that UIViewRoot.addComponentResource, renders a
- * UIOutput Component to the 'body'(specified by the
- * component) and that the test value returned from
- * UIOutput.getValue() is correct.
- *
- * Tested Method:
- * UIViewRoot.addComponentResource(FacesContext, UIComponent,
- * null) UIViewRoot.getComponentResources(FacesContext,
- * String)
- *
- * @since 2.0
- */
- public void uiViewRootaddComponentResourceComponentTargetTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiViewRootaddComponentResourceComponentTargetTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootgetComponentResourcesNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:921
- * @test_Strategy: Verify that UIViewRoot.getComponentResources, throws a
- * NullPointerException if the 'target' argument is null.
- *
- * Tested Method:
- * UIViewRoot.getComponentResources(FacesContext, null)
- *
- * @since 2.0
- */
- public void uiViewRootgetComponentResourcesNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootgetComponentResourcesNPETest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootaddComponentResourceComponentNegTargetTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:906; JSF:JAVADOC:907
- * @test_Strategy: Verify that when a target is given at the UIComponent and
- * the UIViewRoot.addComponent() level that the latter takes
- * president
- *
- * @since 2.0
- */
- public void uiViewRootaddComponentResourceComponentNegTargetTest()
- throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiViewRootaddComponentResourceComponentNegTargetTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootremoveComponentResourceTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:946
- * @test_Strategy: Verify that a given resource from the view.
- *
- * Tested Method:
- * UIViewRoot.removeComponentResource(FacesContext,
- * UIComponent)
- *
- * @since 2.0
- */
- public void uiViewRootremoveComponentResourceTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootremoveComponentResourceTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootremoveComponentResourceNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:945
- * @test_Strategy:
- *
- * Tested Method:
- * UIViewRoot.removeComponentResource(FacesContext, null)
- * @since 2.0
- */
- public void uiViewRootremoveComponentResourceNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootremoveComponentResourceNPETest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootIsInViewTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:932
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- *
- * @since 2.0
- */
- public void uiViewRootIsInViewTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootIsInViewTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootAddGetPhaseListenersTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:932; JSF:JAVADOC:908;
- * JSF:JAVADOC:924
- * @test_Strategy: Verify that we can add a PhaseListener and that that
- * PhaseListener is in the List returned from
- * getPhaseListeners().
- *
- * @since 1.2
- */
- public void uiViewRootAddGetPhaseListenersTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootAddGetPhaseListenersTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootIsInViewNegTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:932
- * @test_Strategy: Verify isInView() Returns true if the component is in the
- * current view.
- *
- * @since 2.0
- */
- public void uiViewRootIsInViewNegTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootIsInViewNegTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootSetGetViewIdTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:932; JSF:JAVADOC:927;
- * JSF:JAVADOC:955
- * @test_Strategy: Verify that we can set the ViewId and that we get the
- * correct Id back.
- *
- */
- public void uiViewRootSetGetViewIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootSetGetViewIdTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootUnsubscribeFromViewEventNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:932; JSF:JAVADOC:960
- * @test_Strategy: Verify that we get a NullPointerException if
- * systemEventClass or listener are null.
- *
- */
- public void uiViewRootUnsubscribeFromViewEventNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiViewRootUnsubscribeFromViewEventNPETest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootSubscribeToViewEventNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:932; JSF:JAVADOC:957
- * @test_Strategy: Verify that we get a NullPointerException if
- * systemEventClass or listener are null.
- *
- */
- public void uiViewRootSubscribeToViewEventNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootSubscribeToViewEventNPETest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootSubscribeToViewEventTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:951; JSF:JAVADOC:956;
- * JSF:JAVADOC:928
- * @test_Strategy: Verify that we can add SystemEventListener to the View and
- * remove it from the view as well.
- *
- * UIViewRoot.subscribeToViewEvent (Class ,
- * SystemEventListener)
- * UIViewRoot.unsubscribeFromViewEvent(Class,
- * SystemEventListener)
- * UIViewRoot.getViewListenersForEventClass(Class)
- *
- */
- public void uiViewRootSubscribeToViewEventTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootSubscribeToViewEventTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootCreateUniqueIDTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:932; JSF:JAVADOC:910;
- * JSF:JAVADOC:911
- * @test_Strategy: Validate that we are able to create a unique ID with a
- * given seed.
- *
- */
- public void uiViewRootCreateUniqueIDTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootCreateUniqueIDTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootSetGetLocaleTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:932; JSF:JAVADOC:923;
- * JSF:JAVADOC:953
- * @test_Strategy: Validate that we are able to set and get a given Locale.
- *
- */
- public void uiViewRootSetGetLocaleTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootSetGetLocaleTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootSetGetRenderKitIdTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:932; JSF:JAVADOC:925;
- * JSF:JAVADOC:954
- * @test_Strategy: Validate that we are able to set and get a RenderKitId.
- *
- */
- public void uiViewRootSetGetRenderKitIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootSetGetRenderKitIdTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootGetViewListenersForEventClassNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:929
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * SystemEven is null.
- *
- */
- public void uiViewRootGetViewListenersForEventClassNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "uiViewRootGetViewListenersForEventClassNPETest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootProcessApplicationNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:934
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * FacesContext is null.
- *
- */
- public void uiViewRootProcessApplicationNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootProcessApplicationNPETest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootProcessDecodesNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:936
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * FacesContext is null.
- *
- */
- public void uiViewRootProcessDecodesNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootProcessDecodesNPETest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootProcessUpdatesNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:939
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * FacesContext is null.
- *
- */
- public void uiViewRootProcessUpdatesNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootProcessUpdatesNPETest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootQueueEventNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:944
- * @test_Strategy: Validate that a NullPointerException is thrown when
- * FacesContext is null.
- *
- */
- public void uiViewRootQueueEventNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootQueueEventNPETest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootGetSetBeforePhaseListenerTest
- *
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:919; JSF:JAVADOC:951
- *
- * @test_Strategy: Validate that we can set an arbitrary method to be called
- * for the "beforePhase" event as the UIViewRoot runs through
- * its lifecycle.
- *
- * UIViewRoot.getBeforePhaseListener
- * UIViewRoot.setBeforePhaseListener(MethodExpression)
- */
- public void uiViewRootGetSetBeforePhaseListenerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootGetSetBeforePhaseListenerTest");
- invoke();
- }
-
- /**
- * @testName: uiViewRootGetSetAfterPhaseListenerTest
- *
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:918; JSF:JAVADOC:950
- *
- * @test_Strategy: Validate that we can set an arbitrary method to be called
- * for the "afterPhase" event as the UIViewRoot runs through
- * its lifecycle.
- *
- * UIViewRoot.getAfterPhaseListener
- * UIViewRoot.setAfterPhaseListener(MethodExpression)
- */
- public void uiViewRootGetSetAfterPhaseListenerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "uiViewRootGetSetAfterPhaseListenerTest");
- invoke();
- }
-
- // ---------------------------------------------------------- StateHolder
- /**
- * @testName: stateHolderSaveRestoreStateTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:443; JSF:JAVADOC:948;
- * JSF:JAVADOC:949
- * @test_Strategy: Verify saveState returns a serialized object of the
- * component's current state and that this state can be
- * restored when passing this state back into the
- * restoreState() method.
- */
- public void stateHolderSaveRestoreStateTest() throws EETest.Fault {
- super.stateHolderSaveRestoreStateTest();
- }
-
- /**
- * @testName: stateHolderIsSetTransientTest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:442;JSF:JAVADOC:447
- * @test_Strategy: Verify {is,set}Transient() - if a value is set, the same
- * value is returned.
- */
- public void stateHolderIsSetTransientTest() throws EETest.Fault {
- super.stateHolderIsSetTransientTest();
- }
-
- /**
- * @testName: stateHolderRestoreStateNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:444; JSF:JAVADOC:445
- * @test_Strategy: Verify restoreState throws a NullPointerException if either
- * context or state are null
- */
- public void stateHolderRestoreStateNPETest() throws EETest.Fault {
- super.stateHolderRestoreStateNPETest();
- }
-
- /**
- * @testName: stateHolderSaveStateNPETest
- * @assertion_ids: JSF:JAVADOC:958; JSF:JAVADOC:446
- * @test_Strategy: Verify saveState throws a NullPointerException if context
- * is null
- */
- public void stateHolderSaveStateNPETest() throws EETest.Fault {
- super.stateHolderSaveStateNPETest();
- }
-
- // ---------------------------------------------------- PartialStateholder
-
- /**
- * @testName: partialStateHolderMICStateTest
- * @assertion_ids: JSF:JAVADOC:482; JSF:JAVADOC:530; JSF:JAVADOC:538;
- * JSF:JAVADOC:581; JSF:JAVADOC:619; JSF:JAVADOC:431;
- * JSF:JAVADOC:432; JSF:JAVADOC:433
- * @test_Strategy: Verify that clearInitialState(), initialStateMarked(), and
- * markInitialState() work correctly, by setting and checking
- * values.
- */
- public void partialStateHolderMICStateTest() throws EETest.Fault {
- super.partialStateHolderMICStateTest();
- }
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/build.xml
deleted file mode 100644
index fd602b3429..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/jsf_comp_viewroot_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/jsf_comp_viewroot_web.war.sun-web.xml
deleted file mode 100644
index 5041bcaeb9..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/jsf_comp_viewroot_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_comp_viewroot_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/jsf_comp_viewroot_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/jsf_comp_viewroot_web.xml
deleted file mode 100644
index 6fc677184b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/component/uiviewroot/jsf_comp_viewroot_web.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-jsf_comp_vewiroot
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.component.uiviewroot.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/build.xml
deleted file mode 100644
index b0cc345067..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/build.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/DispatchTarget.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/DispatchTarget.java
deleted file mode 100644
index 0039a38cb3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/DispatchTarget.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontext;
-
-import java.io.IOException;
-
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServlet;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class DispatchTarget extends HttpServlet {
-
- public DispatchTarget() {
- }
-
- public void init(ServletConfig servletConfig) throws ServletException {
- super.init(servletConfig);
- }
-
- protected void service(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- response.getWriter().write("Test PASSED");
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/TestServlet.java
deleted file mode 100644
index 40446db9df..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/TestServlet.java
+++ /dev/null
@@ -1,900 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontext;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.ListIterator;
-import java.util.Locale;
-import java.util.Map;
-import java.util.Set;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.context.ExternalContext;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.ServletRequest;
-import jakarta.servlet.ServletResponse;
-import jakarta.servlet.http.Cookie;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-import jakarta.servlet.http.HttpSession;
-
-public final class TestServlet extends HttpTCKServlet {
-
- private static final String TCK_ATTRIBUTE = "tckattribute";
-
- private static final String TCK_VALUE = "tckValue";
-
- private static final String NO_SUCH_ATTRIBUTE = "no_such_attribute_could_possibly_exist";
-
- private static final String NO_SUCH_VALUE = "no_such_value_could_possibly_exist";
-
- private ServletContext servletContext;
-
- private static final String TCK_KEY = "tckKey1";
-
- private static final String TCK_VALUE1 = "tckValue1";
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- servletContext = config.getServletContext();
- }
-
- // ExternalContext.dispatch(String)
- public void extContextDispatchTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- getFacesContext().getExternalContext().dispatch("/target");
- }
-
- // ExternalContext.encodeActionURL(null) throws NullPointerException
- public void extContextEncodeActionURLNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- ExternalContext ec = getFacesContext().getExternalContext();
-
- JSFTestUtil.checkForNPE(ec, "encodeActionURL",
- new Class>[] { String.class }, new Object[] { null }, out);
-
- }// End extContextEncodeActionURLNPETest
-
- // ExternalContext.encodePartialActionURL(null) throws NullPointerException
- public void extContextEncodePartialActionURLNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- ExternalContext ec = getFacesContext().getExternalContext();
-
- JSFTestUtil.checkForNPE(ec, "encodePartialActionURL",
- new Class>[] { String.class }, new Object[] { null }, out);
-
- }// End extContextEncodePartialActionURLNPETest
-
- // ExternalContext.encodeResourceURL(null) throws NullPointerException
- public void extContextEncodeResourceURLNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- ExternalContext ec = getFacesContext().getExternalContext();
-
- JSFTestUtil.checkForNPE(ec, "encodeResourceURL",
- new Class>[] { String.class }, new Object[] { null }, out);
-
- }// End extContextEncodeResourceURLNPETest
-
- // ExternalContext.getResource(null) throws NullPointerException
- public void extContextGetResourceNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- ExternalContext ec = getFacesContext().getExternalContext();
-
- JSFTestUtil.checkForNPE(ec, "getResource", new Class>[] { String.class },
- new Object[] { null }, out);
-
- }// End extContextGetResourceNPETest
-
- // ExternalContext.getResourceAsStream(null) throws NullPointerException
- public void extContextGetResourceAsStreamNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- ExternalContext ec = getFacesContext().getExternalContext();
-
- JSFTestUtil.checkForNPE(ec, "getResourceAsStream",
- new Class>[] { String.class }, new Object[] { null }, out);
-
- }// End extContextGetResourceAsStreamNPETest
-
- // ExternalContext.getResourcePaths(null) throws NullPointerException
- public void extContextGetResourcePathsNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- ExternalContext ec = getFacesContext().getExternalContext();
-
- JSFTestUtil.checkForNPE(ec, "getResourcePaths",
- new Class>[] { String.class }, new Object[] { null }, out);
-
- }// End extContextGetResourcePathsNPETest
-
- // ExternalContext.getInitParameter(null) throws NullPointerException
- public void extContextGetInitParameterNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
-
- PrintWriter out = response.getWriter();
- ExternalContext ec = getFacesContext().getExternalContext();
-
- JSFTestUtil.checkForNPE(ec, "getInitParameter",
- new Class>[] { String.class }, new Object[] { null }, out);
-
- }// End extContextGetInitParameterNPETest
-
- // ExternalContext.redirect(String)
- public void extContextRedirectTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- getFacesContext().getExternalContext().redirect("/target");
- }
-
- // ExternalContext.getSession(boolean)
- public void extContextGetSessionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContext context = getFacesContext().getExternalContext();
- // no current session, so false will result in null
- Object session = context.getSession(false);
- if (session != null) {
- out.println(JSFTestUtil.FAIL
- + " No session has been established - ExternalContext."
- + "getSession(false) should have returned null.");
- return;
- }
-
- session = context.getSession(true);
- if (session == null) {
- out.println(JSFTestUtil.FAIL
- + " No session was returned whne calling ExternalContext."
- + "getSession(true).");
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExtenalContext.getContext()
- // Test CANNOT run in a Portlet env.
- public void extContextGetContextTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Object context = getFacesContext().getExternalContext().getContext();
- if (context != null) {
- if (context instanceof ServletContext) {
- if (servletContext != context) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getContext() returned a ServletContext,"
- + " but it was not the ServletContext instance that was expected.");
- out.println("Expected: " + servletContext);
- out.println("Received: " + context);
- return;
- }
- } else {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getContext() did not return a ServletContext"
- + " as expected.");
- out.println(
- "Class of object received: " + context.getClass().getName());
- return;
- }
- } else {
- out.println(
- JSFTestUtil.FAIL + " ExternalContext.getContext() returned null.");
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequest()
- // Test CANNOT run in a Portlet env.
- public void extContextGetRequestTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- request.setAttribute(TCK_ATTRIBUTE, TCK_VALUE);
- Object req = getFacesContext().getExternalContext().getRequest();
- if (req != null) {
- if (req instanceof ServletRequest) {
- if (!TCK_VALUE
- .equals(((ServletRequest) req).getAttribute(TCK_ATTRIBUTE))) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getRequest() returned a ServletRequest,"
- + " but it was not the same ServletRequest used by the current request.");
- return;
- }
- } else {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getRequest() did not return a ServletRequest"
- + " as expected.");
- out.println("Class of object received: " + req.getClass().getName());
- }
- } else {
- out.println(
- JSFTestUtil.FAIL + " ExternalContext.getRequest() returned null.");
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getResponse()
- // Test CANNOT run in a Portlet env.
- public void extContextGetResponseTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- response.addHeader(TCK_ATTRIBUTE, TCK_VALUE);
- Object res = getFacesContext().getExternalContext().getResponse();
- if (res != null) {
- if (res instanceof ServletResponse) {
- if (!((HttpServletResponse) res).containsHeader(TCK_ATTRIBUTE)) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getResponse() returned a ServletResponse,"
- + " but it was not the same ServletResponse used by the current request.");
- return;
- }
- } else {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getRequest() did not return a ServletResponse"
- + " as expected.");
- out.println("Class of object received: " + res.getClass().getName());
- }
- } else {
- out.println(
- JSFTestUtil.FAIL + " ExternalContext.getResponse() returned null.");
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getApplicationMap()
- public void extContextGetApplicationMapTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- servletContext.setAttribute(TCK_ATTRIBUTE, TCK_VALUE);
- Map applMap = getFacesContext().getExternalContext().getApplicationMap();
-
- if (applMap == null) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getApplicationMap() returned null");
- return;
- }
-
- String result = validateMutableMap(applMap, TCK_VALUE);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- if (!TCK_VALUE1.equals(servletContext.getAttribute(TCK_KEY))) {
- out.println(
- "Unable to find expected value for attribute 'tckKey1' in ServletContext");
- out.println("value: " + servletContext.getAttribute(TCK_KEY));
- return;
- }
-
- // cleanup
- servletContext.removeAttribute(TCK_ATTRIBUTE);
- servletContext.removeAttribute(TCK_KEY);
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getSessionMap()
- public void extContextGetSessionMapTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- HttpSession session = request.getSession(true);
- session.setAttribute(TCK_ATTRIBUTE, TCK_VALUE);
- Map sessMap = getFacesContext().getExternalContext().getSessionMap();
-
- if (sessMap == null) {
- out.println(
- JSFTestUtil.FAIL + " ExternalContext.getSessionMap() returned null");
- return;
- }
-
- String result = validateMutableMap(sessMap, TCK_VALUE);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- if (!TCK_VALUE1.equals(session.getAttribute(TCK_KEY))) {
- out.println(
- "Unable to find expected value for attribute 'tckKey1' in Session");
- out.println("value: " + session.getAttribute(TCK_KEY));
- return;
- }
-
- // cleanup
- session.removeAttribute(TCK_ATTRIBUTE);
- session.removeAttribute(TCK_KEY);
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestMap()
- public void extContextGetRequestMapTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- request.setAttribute(TCK_ATTRIBUTE, TCK_VALUE);
- Map applMap = getFacesContext().getExternalContext().getRequestMap();
-
- if (applMap == null) {
- out.println(
- JSFTestUtil.FAIL + " ExternalContext.getRequestMap() returned null");
- return;
- }
-
- String result = validateMutableMap(applMap, TCK_VALUE);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- if (!TCK_VALUE1.equals(request.getAttribute(TCK_KEY))) {
- out.println(
- "Unable to find expected value for attribute 'tckKey1' in Request");
- out.println("value: " + request.getAttribute(TCK_KEY));
- return;
- }
-
- // cleanup
- request.removeAttribute(TCK_ATTRIBUTE);
- request.removeAttribute(TCK_KEY);
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getInitParameterMap()
- public void extContextGetInitParameterMapTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Map initMap = getFacesContext().getExternalContext().getInitParameterMap();
-
- if (initMap == null) {
- out.println(
- JSFTestUtil.FAIL + " ExternalContext.getRequestMap() returned null");
- return;
- }
-
- String result = validateNonMutableMap(initMap, TCK_VALUE, false);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestHeaderMap()
- public void extContextGetRequestHeaderMapTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Map headerMap = getFacesContext().getExternalContext()
- .getRequestHeaderMap();
-
- if (headerMap == null) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getRequestHeaderMap() returned null");
- return;
- }
-
- String result = validateNonMutableMap(headerMap, TCK_VALUE, true);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestParameterMap()
- public void extContextGetRequestParameterMapTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Map parameterMap = getFacesContext().getExternalContext()
- .getRequestParameterMap();
-
- if (parameterMap == null) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getRequestParameterMap() returned null");
- return;
- }
-
- String result = validateNonMutableMap(parameterMap, TCK_VALUE, false);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestParameterValuesMap()
- public void extContextGetRequestParameterValuesMapTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Map parameterValuesMap = getFacesContext().getExternalContext()
- .getRequestParameterValuesMap();
-
- if (parameterValuesMap == null) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getRequestParameterValuesMap() returned null");
- return;
- }
-
- String result = validateNonMutableMap(parameterValuesMap, TCK_VALUE, false);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestCookieMap()
- public void extContextGetRequestCookieMapTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Map cookieMap = getFacesContext().getExternalContext()
- .getRequestCookieMap();
-
- if (cookieMap == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ExternalContext.getCookieMap() returned null");
- return;
- }
-
- Cookie[] cookies = request.getCookies();
- Cookie controlCookie = null;
- for (int i = 0; i < cookies.length; i++) {
- if (cookies[i].getName().equals(TCK_ATTRIBUTE)) {
- controlCookie = cookies[i];
- break;
- }
- }
-
- if (controlCookie == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected cookie not found in request.");
- return;
- }
-
- String result = validateNonMutableMap(cookieMap, controlCookie, false);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getInitParamter(String)
- public void extContextGetInitParameterTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String value = getFacesContext().getExternalContext()
- .getInitParameter(TCK_ATTRIBUTE);
-
- if (!TCK_VALUE.equals(value)) {
- out.println(JSFTestUtil.FAIL + " Expected a value of '" + TCK_VALUE
- + "' for Context init parameter" + " '" + TCK_ATTRIBUTE + "'.");
- out.println("Received: " + value);
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.isUserInRole(String)
- public void extContextIsUserInRoleNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter pw = response.getWriter();
-
- JSFTestUtil.checkForNPE(getFacesContext().getExternalContext(),
- "isUserInRole", new Class>[] { String.class }, new Object[] { null },
- pw);
-
- }// End extContextIsUserInRoleNPETest
-
- // ExternalContext.log(String)
- // ExternalContext.log(String, Throwable)
- public void extContextLogNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter pw = response.getWriter();
-
- pw.println("Testing: ExternalContext.log(null)");
- JSFTestUtil.checkForNPE(getFacesContext().getExternalContext(), "log",
- new Class>[] { String.class }, new Object[] { null }, pw);
-
- pw.println("Testing: ExternalContext.log(null, Exception)");
- JSFTestUtil.checkForNPE(getFacesContext().getExternalContext(), "log",
- new Class>[] { String.class, Throwable.class },
- new Object[] { null, new Exception() }, pw);
-
- pw.println("Testing: ExternalContext.log(String, null)");
- JSFTestUtil.checkForNPE(getFacesContext().getExternalContext(), "log",
- new Class>[] { String.class, Throwable.class },
- new Object[] { "message", null }, pw);
-
- }// End extContextLogNPETest
-
- // ExternalContext.getMimeType(String)
- public void extContextGetMimeTypeTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- String fileName = "duke-boxer.gif";
- String expected = "image/gif";
- String value = getFacesContext().getExternalContext().getMimeType(fileName);
-
- if (!expected.equals(value)) {
- out.println(JSFTestUtil.FAIL + " Unexpected value return from "
- + "ExternalContext.getMimeType(" + fileName + ")" + JSFTestUtil.NL
- + "Expected: " + expected + JSFTestUtil.NL + "Received: " + value
- + JSFTestUtil.NL);
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRemoteUser()
- // Security is optional in ServletContainers, so expect null from this
- // method
- public void extContextGetRemoteUserTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String result = getFacesContext().getExternalContext().getRemoteUser();
- if (result != null) {
- out.println(JSFTestUtil.FAIL
- + " No 'login' performed, yet ExternalContext.getRemoveUser() returned"
- + " a non-null value.");
- out.println("Received: " + result);
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getResourcePaths()
- public void extContextGetResourcePathsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Set resourcePaths = servletContext.getResourcePaths("/");
- Set extResourcePaths = getFacesContext().getExternalContext()
- .getResourcePaths("/");
- if (!resourcePaths.equals(extResourcePaths)) {
- out.println(JSFTestUtil.FAIL
- + " The Set returned by ServletContext.getResourcePaths(String),"
- + " was not the same as the Set returned by ExternalContext.getResourcePaths(String).");
- out.println(
- "Expected: " + JSFTestUtil.getAsString(resourcePaths.iterator()));
- out.println(
- "Received: " + JSFTestUtil.getAsString(extResourcePaths.iterator()));
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getResourceAsStream()
- public void extContextGetResourceAsStreamTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- InputStream in = getFacesContext().getExternalContext()
- .getResourceAsStream("/WEB-INF/web.xml");
- if (in == null) {
- out.println(
- "ExternalContext.getResourceAsStream(\"/WEB-INF/web.xml\") returned null.");
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestContextPath()
- public void extContextGetRequestContextPathTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String expectedPath = request.getContextPath();
- String testPath = getFacesContext().getExternalContext()
- .getRequestContextPath();
-
- if (!expectedPath.equals(testPath)) {
- out.println(JSFTestUtil.FAIL
- + " The value returned by ExternalContext.getRequestContextPath()"
- + " returned a different result than that from ServletRequest.getContextPath().");
- out.println("Expected: " + expectedPath);
- out.println("Received: " + testPath);
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestLocale()
- public void extContextGetRequestLocaleTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Locale controlLocale = request.getLocale();
- Locale testLocale = getFacesContext().getExternalContext()
- .getRequestLocale();
-
- if (!controlLocale.equals(testLocale)) {
- out.println(JSFTestUtil.FAIL
- + " The values returned by ExternalContext.getRequestLocale() "
- + "and ServletRequest.getLocale() differ.");
- out.println("Expected: " + controlLocale);
- out.println("Received:" + testLocale);
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestParameterNames
- public void extContextGetRequestParameterNamesTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String[] controlNames = JSFTestUtil
- .getAsStringArray(request.getParameterNames());
- String[] testNames = JSFTestUtil.getAsStringArray(
- getFacesContext().getExternalContext().getRequestParameterNames());
-
- if (controlNames.length != testNames.length) {
- out.println(JSFTestUtil.FAIL
- + " The number of parameter names returned by ServletRequest."
- + "getParameterNames() differs from what was returned by ExternalContext."
- + "getParameterNames().");
- return;
- }
-
- for (int i = 0; i < controlNames.length; i++) {
- if (Arrays.binarySearch(testNames, controlNames[i]) < 0) {
- out.println(JSFTestUtil.FAIL + " Unable to find the parameter name '"
- + controlNames[i] + "'"
- + " in the set of parameter names returned by ExternalContext.getParameterNames().");
- out.println("ExternalContext.getParameterNames() returned: "
- + JSFTestUtil.getAsString(testNames));
- return;
- }
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestPathInfo()
- public void extContextGetRequestPathInfoTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String controlPath = request.getPathInfo();
- String testPath = getFacesContext().getExternalContext()
- .getRequestPathInfo();
-
- if (!controlPath.equals(testPath)) {
- out.println(JSFTestUtil.FAIL
- + " The path info returned by ExternalContext.getRequestPathInfo()"
- + " didn't match the value returned by ServletRequest.getPathInfo().");
- out.println("Expected: " + controlPath);
- out.println("Received: " + testPath);
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.setSessionMaxInactiveInterval(int)
- public void setGetSessionMaxInactiveIntervalTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContext econtext = getFacesContext().getExternalContext();
- int result;
-
- ArrayList testValues = new ArrayList();
- {
- testValues.add(-1);
- testValues.add(0);
- testValues.add(1);
- }
-
- ListIterator litr = testValues.listIterator();
- while (litr.hasNext()) {
- Integer tv = (Integer) litr.next();
-
- try {
- econtext.setSessionMaxInactiveInterval(tv);
- } catch (Exception e) {
- out.println("Test FAILED. Unexpected Exception when setting "
- + "MaxInactiveInterval to " + tv + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- result = econtext.getSessionMaxInactiveInterval();
- if (result != tv) {
- out.println("Test FAILED. " + JSFTestUtil.NL
- + "Unexpected value returned from getSessionMaxInactiveInterval()."
- + JSFTestUtil.NL + "Expected: " + tv + JSFTestUtil.NL
- + "Received: " + result);
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
-
- }// End setGetSessionMaxInactiveIntervalTest
-
- // ------------------------------------------------------ Private Methods
- // --------
- private String validateCommonMethods(Map map, Object value,
- boolean ignoreCase) {
-
- if (!value.equals(map.get(TCK_ATTRIBUTE))) {
- return "Map.get(\"" + TCK_ATTRIBUTE
- + "\") didn't return the expected value, '" + TCK_VALUE + "'.\n"
- + " Received: " + map.get(TCK_ATTRIBUTE);
- }
-
- if (map.get(NO_SUCH_ATTRIBUTE) != null) {
- return "Map.get() for a non-existent attribute returned a non-null value.";
- }
-
- if (!map.containsKey(TCK_ATTRIBUTE)) {
- return "Map.containsKey(\"" + TCK_ATTRIBUTE + "\") returned false";
- }
-
- if (map.containsKey(NO_SUCH_ATTRIBUTE)) {
- return "Map.containsKey(Object) returned true for a key that doesn't exist in the map.";
- }
-
- Set entrySet = map.entrySet();
- if (entrySet == null) {
- return "Map.entrySet() returned null.";
- }
-
- boolean found = false;
- for (Iterator i = entrySet.iterator(); i.hasNext();) {
- Map.Entry entry = (Map.Entry) i.next();
- boolean test = (ignoreCase)
- ? TCK_ATTRIBUTE.equalsIgnoreCase(entry.getKey().toString())
- : TCK_ATTRIBUTE.equals(entry.getKey());
- if (test) {
- if (value.equals(entry.getValue())) {
- found = true;
- break;
- }
- }
- }
-
- if (!found) {
- return "Map.entrySet() did not return a Map.Entry for a key/value pair.\n"
- + "Key " + TCK_ATTRIBUTE + ", Value: " + value;
- }
-
- if (!(map.equals(map))) {
- return "Map.equals(Object) returned false when passing the same map as an argument.";
- }
-
- if (map.equals(new HashMap())) {
- return "Map.equals(new HashMap()) returned true when the two instances were not equal";
- }
-
- if (!map.containsValue(value)) {
- return "Map.containsValue(\"" + value + "\") returned false";
- }
-
- if (map.containsValue(NO_SUCH_VALUE)) {
- return "Map.containsvalue() returned true for a value that doesn't exist in the map.";
- }
-
- if (map.hashCode() != map.hashCode()) {
- return "Map.hasCode() returned different values each time it was called on the "
- + "same Map instance.";
- }
-
- if (map.isEmpty()) {
- return "Map.isEmtpy() returned true when values exist in the Map.";
- }
-
- Set keySet = map.keySet();
- if (!keySet.contains(TCK_ATTRIBUTE)) {
- return "Map.keySet() returned a Set that didn't contain one of the expected keys: "
- + TCK_ATTRIBUTE;
- }
-
- if (!(map.size() > 0)) {
- return "Map.size() returned a value less than or equal to zero when there are entries in the Map.";
- }
-
- Collection values = map.values();
- if (!values.contains(value)) {
- return "Map.values() returned a Collection missing one of the values expected to be found in the Map.";
- }
-
- if (values.contains(NO_SUCH_VALUE)) {
- return "Map.values() returned a Collection with a value that should not have been present";
- }
-
- return null;
- }
-
- private String validateMutableMap(Map map, Object value) {
- map.remove(NO_SUCH_ATTRIBUTE);
-
- String result = validateCommonMethods(map, value, false);
- if (result != null) {
- return result;
- }
-
- map.put(TCK_KEY, TCK_VALUE1);
- if (!"tckValue1".equals(map.get("tckKey1"))) {
- return "Unable to find value for key 'tckKey1' that was just added to the Map.";
- }
-
- map.remove(TCK_KEY);
- if (map.get("tckKey1") != null) {
- return "Map.remove() didn't remove the key/value pair from map.";
- }
-
- map.put(TCK_KEY, TCK_VALUE1);
-
- return null;
- }
-
- private String validateNonMutableMap(Map map, Object value,
- boolean ignoreCase) {
-
- String result = validateCommonMethods(map, value, ignoreCase);
- if (result != null) {
- return result;
- }
-
- try {
- map.remove(NO_SUCH_ATTRIBUTE);
- return "Map.remove() should not be supported by this Map.";
- } catch (Throwable t) {
- ;
- }
-
- try {
- map.put("key1", "val1");
- return "Map.put() should not be supported by this Map.";
- } catch (Throwable t) {
- ;
- }
-
- return null;
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/URLClient.java
deleted file mode 100644
index 730540b75c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/URLClient.java
+++ /dev/null
@@ -1,473 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontext;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String TCK_ATTRIBUTE = "tckattribute";
-
- private static final String TCK_VALUE = "tckValue";
-
- private static final String CONTEXT_ROOT = "/jsf_ctx_extctx_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: extContextDispatchTest
- *
- * @assertion_ids: JSF:SPEC:85; JSF:SPEC:86; JSF:JAVADOC:1094
- *
- * @test_Strategy: Verify that dispatch(), in a Servlet environment, can be
- * successfully used to dispatch the current request to
- * another resource within the web application.
- */
- public void extContextDispatchTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextDispatchTest");
- invoke();
- }
-
- /**
- * @testName: extContextEncodeActionURLNPETest
- *
- * @assertion_ids: JSF:SPEC:85; JSF:SPEC:86; JSF:JAVADOC:1100
- *
- * @test_Strategy: Verify that a NullPointerException is thrown if url is null
- */
- public void extContextEncodeActionURLNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextEncodeActionURLNPETest");
- invoke();
- }
-
- /**
- * @testName: extContextEncodePartialActionURLNPETest
- *
- * @assertion_ids: JSF:SPEC:85; JSF:SPEC:86; JSF:JAVADOC:1105
- *
- * @test_Strategy: Verify that a NullPointerException is thrown if url is null
- */
- public void extContextEncodePartialActionURLNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextEncodePartialActionURLNPETest");
- invoke();
- }
-
- /**
- * @testName: extContextEncodeResourceURLNPETest
- *
- * @assertion_ids: JSF:SPEC:85; JSF:SPEC:86; JSF:JAVADOC:1108
- *
- * @test_Strategy: Verify that a NullPointerException is thrown if url is null
- */
- public void extContextEncodeResourceURLNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextEncodeResourceURLNPETest");
- invoke();
- }
-
- /**
- * @testName: extContextGetResourceNPETest
- *
- * @assertion_ids: JSF:SPEC:85; JSF:SPEC:86; JSF:JAVADOC:1142
- *
- * @test_Strategy: Verify that a NullPointerException is thrown if arg is null
- */
- public void extContextGetResourceNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetResourceNPETest");
- invoke();
- }
-
- /**
- * @testName: extContextGetResourceAsStreamNPETest
- *
- * @assertion_ids: JSF:SPEC:85; JSF:SPEC:86; JSF:JAVADOC:1144
- *
- * @test_Strategy: Verify that a NullPointerException is thrown if arg is null
- */
- public void extContextGetResourceAsStreamNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetResourceAsStreamNPETest");
- invoke();
- }
-
- /**
- * @testName: extContextGetResourcePathsNPETest
- *
- * @assertion_ids: JSF:SPEC:85; JSF:SPEC:86; JSF:JAVADOC:1146
- *
- * @test_Strategy: Verify that a NullPointerException is thrown if arg is null
- */
- public void extContextGetResourcePathsNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetResourcePathsNPETest");
- invoke();
- }
-
- /**
- * @testName: extContextIsUserInRoleNPETest
- *
- * @assertion_ids: JSF:SPEC:85; JSF:SPEC:86; JSF:JAVADOC:1161
- *
- * @test_Strategy: Verify that a NullPointerException is thrown if arg is null
- */
- public void extContextIsUserInRoleNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextIsUserInRoleNPETest");
- invoke();
- }
-
- /**
- * @testName: extContextLogNPETest
- *
- * @assertion_ids: JSF:SPEC:85; JSF:SPEC:86; JSF:JAVADOC:1163;
- * JSF:JAVADOC:1165
- *
- * @test_Strategy: Verify that a NullPointerException is thrown if arg is null
- */
- public void extContextLogNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextLogNPETest");
- invoke();
- }
-
- /**
- * @testName: extContextGetInitParameterNPETest
- *
- * @assertion_ids: JSF:SPEC:85; JSF:SPEC:86; JSF:JAVADOC:1116
- *
- * @test_Strategy: Verify that a NullPointerException is thrown if name is
- * null
- */
- public void extContextGetInitParameterNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetInitParameterNPETest");
- invoke();
- }
-
- /**
- * @testName: extContextRedirectTest
- * @assertion_ids: JSF:SPEC:85; JSF:SPEC:86
- * @test_Strategy: Verify that redirect(), in a Servlet environment, can be
- * successfully used to redirect the current request to
- * another resource. The client will verify that the Location
- * header is present in the response with the appropriate
- * host, port, and path.
- */
- public void extContextRedirectTest() throws Fault {
- TEST_PROPS.setProperty(REQUEST, "GET " + CONTEXT_ROOT
- + "/TestServlet?testname=extContextRedirectTest HTTP/1.0");
- TEST_PROPS.setProperty(EXPECTED_HEADERS,
- "Location:http://" + _hostname + ":" + _port + "/target");
- invoke();
- }
-
- /**
- * @testName: extContextGetSessionTest
- * @assertion_ids: JSF:JAVADOC:1155; JSF:JAVADOC:1109
- * @test_Strategy: Ensure the behavior of getSession(). - if no session
- * established with client, getSession(false) returns null. -
- * getSession(true) will create a new session
- */
- public void extContextGetSessionTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetSessionTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetContextTest
- * @assertion_ids: JSF:JAVADOC:1113; JSF:JAVADOC:1109
- * @test_Strategy: Ensure getContext() returns the ServletContext of the
- * current web application instance.
- */
- public void extContextGetContextTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetContextTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetRequestTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1121
- * @test_Strategy: Ensure getRequest() returns the same ServletRequest as what
- * was used to invoke the test servlet.
- */
- public void extContextGetRequestTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetRequestTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetResponseTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1147
- * @test_Strategy: Ensure getResponse() returns the same ServletResponse as
- * what was used to invoke the test servlet.
- */
- public void extContextGetResponseTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetResponseTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetApplicationMapTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1110
- * @test_Strategy: Verify attributes added to the Map can be retrieved from
- * the application map instance. Additionally verify the
- * required specialized behavior of the map (mutable) as well
- * as verifying that the methods of the Map work as expected.
- */
- public void extContextGetApplicationMapTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetApplicationMapTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetSessionMapTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1156
- * @test_Strategy: Verify attributes added to the Map can be retrieved from
- * the session map instance. Additionally verify the required
- * specialized behavior of the map (mutable) as well as
- * verifying that the methods of the Map work as expected.
- */
- public void extContextGetSessionMapTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetSessionMapTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetRequestMapTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1131
- * @test_Strategy: Verify attributes added to the Map can be retrieved from
- * the request map instance. Additionally verify the required
- * specialized behavior of the map (mutable) as well as
- * verifying that the methods of the Map work as expected.
- */
- public void extContextGetRequestMapTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetRequestMapTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetInitParameterMapTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1115
- * @test_Strategy: Verify context init parameters can be retrieved from the
- * init parameter map. Additionally ensure that the map is
- * immutable and the methods that don't affect its content
- * work as expected.
- */
- public void extContextGetInitParameterMapTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetInitParameterMapTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetRequestHeaderMapTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1127
- * @test_Strategy: Verify request headers can be retrieved from the init
- * parameter map. Additionally ensure that the map is
- * immutable and the methods that don't affect its content
- * work as expected.
- */
- public void extContextGetRequestHeaderMapTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetRequestHeaderMapTest");
- TEST_PROPS.setProperty(REQUEST_HEADERS, TCK_ATTRIBUTE + ":" + TCK_VALUE);
- invoke();
- }
-
- /**
- * @testName: extContextGetRequestParameterMapTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1132
- * @test_Strategy: Verify request parameters can be retrieved from the init
- * parameter map. Additionally ensure that the map is
- * immutable and the methods that don't affect its content
- * work as expected.
- */
- public void extContextGetRequestParameterMapTest() throws Fault {
- TEST_PROPS.setProperty(REQUEST,
- "GET /jsf_ctx_extctx_web/TestServlet?testname=extContextGetRequestParameterMapTest&"
- + TCK_ATTRIBUTE + "=" + TCK_VALUE + " HTTP/1.0");
- invoke();
- }
-
- /**
- * @testName: extContextGetRequestParameterValuesMapTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1134
- * @test_Strategy: Verify request parameter values can be retrieved from the
- * init parameter map. Additionally ensure that the map is
- * immutable and the methods that don't affect its content
- * work as expected.
- */
- public void extContextGetRequestParameterValuesMapTest() throws Fault {
- TEST_PROPS.setProperty(REQUEST,
- "GET /jsf_ctx_extctx_web/TestServlet?testname=extContextGetRequestParameterValuesMapTest&"
- + TCK_ATTRIBUTE + "=" + TCK_VALUE + " HTTP/1.0");
- invoke();
- }
-
- /**
- * @testName: extContextGetRequestCookieMapTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1126
- * @test_Strategy: Verify request cookies can be retrieved from the init
- * parameter map. Additionally ensure that the map is
- * immutable and the methods that don't affect its content
- * work as expected.
- */
- public void extContextGetRequestCookieMapTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetRequestCookieMapTest");
- TEST_PROPS.setProperty(REQUEST_HEADERS,
- "Cookie: $Version=1; " + TCK_ATTRIBUTE + "=" + TCK_VALUE + "; $Domain="
- + _hostname + "; $Path=" + getContextRoot());
- invoke();
- }
-
- /**
- * @testName: extContextGetInitParameterTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1115
- * @test_Strategy: Ensure context initialization parameters are correctly
- * returned by getInitParameter().
- */
- public void extContextGetInitParameterTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetInitParameterTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetMimeTypeTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1118
- * @test_Strategy: Ensure when getMimeType(String) is called that the correct
- * mime type is returned.
- */
- public void extContextGetMimeTypeTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetMimeTypeTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetRemoteUserTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1120
- * @test_Strategy: Ensure getRemoveUser() returns null as no login
- * authentication is performed.
- */
- public void extContextGetRemoteUserTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetRemoteUserTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetResourcePathsTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1145
- * @test_Strategy: Ensure the Set returned by
- * ExternalContext.getResourcePaths() is equal to the Set
- * returned by ServletContext.getResourcePaths().
- */
- public void extContextGetResourcePathsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetResourcePathsTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetResourceAsStreamTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1143
- * @test_Strategy: Ensure a non-null stream is returned when calling
- * ExternalContext.getResourceAsStream() passing the path to
- * the web application's deployment descriptor.
- */
- public void extContextGetResourceAsStreamTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetResourceAsStreamTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetRequestContextPathTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1125
- * @test_Strategy: Ensure the path returned by getRequestContextPath() is the
- * same as that returned by ServletContext.getContextPath().
- */
- public void extContextGetRequestContextPathTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetRequestContextPathTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetRequestLocaleTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1129
- * @test_Strategy: Ensure the Locale returned by getRequestLocale() is the
- * same as the Locale returned by ServletRequest.getLocale().
- */
- public void extContextGetRequestLocaleTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetRequestLocaleTest");
- TEST_PROPS.setProperty(REQUEST_HEADERS, "Accept-Language: en-IE-EURO");
- invoke();
- }
-
- /**
- * @testName: extContextGetRequestParameterNamesTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1133
- * @test_Strategy: Ensure the parameter names returned by
- * getRequestParameterNames() are the same as those returned
- * by ServletRequest.getParameterNames().
- */
- public void extContextGetRequestParameterNamesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextGetRequestParameterNamesTest");
- invoke();
- }
-
- /**
- * @testName: extContextGetRequestPathInfoTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:1135
- * @test_Strategy: Ensure the path info returned by getRequestPathInfo() is
- * the same as that returned by ServletRequest.getPathInfo().
- */
- public void extContextGetRequestPathInfoTest() throws Fault {
- TEST_PROPS.setProperty(REQUEST,
- "GET /jsf_ctx_extctx_web/TestServlet/pathInfo?testname=extContextGetRequestPathInfoTest"
- + " HTTP/1.0");
- invoke();
- }
-
- /**
- * @testName: setGetSessionMaxInactiveIntervalTest
- * @assertion_ids: JSF:JAVADOC:1109; JSF:JAVADOC:2582
- * @test_Strategy: Validate that we can set/get the Inactive value. Test
- * values used are ( 1, 0, -1).
- *
- * @since 2.1
- */
- public void setGetSessionMaxInactiveIntervalTest() throws Fault {
- TEST_PROPS.setProperty(REQUEST,
- "GET /jsf_ctx_extctx_web/TestServlet/pathInfo?testname=setGetSessionMaxInactiveIntervalTest"
- + " HTTP/1.0");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/build.xml
deleted file mode 100644
index 373c0101fe..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/build.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/jsf_ctx_extctx_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/jsf_ctx_extctx_web.war.sun-web.xml
deleted file mode 100644
index bdee70e151..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/jsf_ctx_extctx_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_ctx_extctx_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/jsf_ctx_extctx_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/jsf_ctx_extctx_web.xml
deleted file mode 100644
index ff8c41ffa0..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontext/jsf_ctx_extctx_web.xml
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
- jsf_ctx_extctx
-
- tckattribute
- tckValue
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontext.TestServlet
-
-
- DispatchTarget
- com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontext.DispatchTarget
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- DispatchTarget
- /target
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/TestServlet.java
deleted file mode 100644
index 8b58782e1e..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/TestServlet.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontextfactory;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.context.ExternalContext;
-import jakarta.faces.context.ExternalContextFactory;
-import jakarta.faces.lifecycle.Lifecycle;
-import jakarta.faces.lifecycle.LifecycleFactory;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public final class TestServlet extends HttpTCKServlet {
-
- ServletContext servletContext;
-
- Lifecycle lifecycle;
-
- public void init(ServletConfig config) throws ServletException {
- servletContext = config.getServletContext();
- LifecycleFactory lifeFactory = (LifecycleFactory) FactoryFinder
- .getFactory(FactoryFinder.LIFECYCLE_FACTORY);
- lifecycle = lifeFactory.getLifecycle(LifecycleFactory.DEFAULT_LIFECYCLE);
- super.init(config);
- }
-
- // ------------------------------------------- Test Methods ----
-
- public void externalContextFactoryGetExternalContextTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ExternalContextFactory contextFactory = (ExternalContextFactory) FactoryFinder
- .getFactory(FactoryFinder.EXTERNAL_CONTEXT_FACTORY);
-
- ExternalContext context = contextFactory.getExternalContext(servletContext,
- request, response);
-
- if (context == null) {
- out.println(
- JSFTestUtil.FAIL + " Unable to obtain a FacesContext instance from"
- + " the FacesContextFactory.");
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // End externalContextFactoryGetExternalContextTest
-
- public void externalCtxFactoryGetExternalContextNPETest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ExternalContextFactory contextFactory = (ExternalContextFactory) FactoryFinder
- .getFactory(FactoryFinder.EXTERNAL_CONTEXT_FACTORY);
-
- // null context
- JSFTestUtil.checkForNPE(contextFactory, "getExternalContext",
- new Class>[] { Object.class, Object.class, Object.class },
- new Object[] { null, request, response }, out);
-
- // null request
- JSFTestUtil.checkForNPE(contextFactory, "getExternalContext",
- new Class>[] { Object.class, Object.class, Object.class },
- new Object[] { servletContext, null, response }, out);
-
- // null response
- JSFTestUtil.checkForNPE(contextFactory, "getExternalContext",
- new Class>[] { Object.class, Object.class, Object.class },
- new Object[] { servletContext, request, null }, out);
-
- }// End externalCtxFactoryGetExternalContextNPETest
-
- public void externalContextFactoryGetWrappedTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- ExternalContextFactory contextFactory = (ExternalContextFactory) FactoryFinder
- .getFactory(FactoryFinder.EXTERNAL_CONTEXT_FACTORY);
-
- ExternalContextFactory context = contextFactory.getWrapped();
-
- if (context != null) {
- out.println(
- JSFTestUtil.FAIL + " Unable to obtain a FacesContext instance from"
- + " the FacesContextFactory.");
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // End externalContextFactoryGetWrappedTest
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/URLClient.java
deleted file mode 100644
index f51addd533..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/URLClient.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/*
- * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontextfactory;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_ctx_externalctxfactory_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: externalContextFactoryGetExternalContextTest
- *
- * @assertion_ids: JSF:JAVADOC:1186; JSF:JAVADOC:1187
- *
- * @test_Strategy: Ensure a ExternalContext instance can be obtained from the
- * ExternalContextFactory when providing the correct objects.
- */
- public void externalContextFactoryGetExternalContextTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "externalContextFactoryGetExternalContextTest");
- invoke();
- }
-
- /**
- * @testName: externalCtxFactoryGetExternalContextNPETest
- *
- * @assertion_ids: JSF:JAVADOC:1186; JSF:JAVADOC:1189
- *
- * @test_Strategy: Ensure NullPointerExceptions are thrown if any of the
- * arguments to ExternalContextFactory are null.
- */
- public void externalCtxFactoryGetExternalContextNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "externalCtxFactoryGetExternalContextNPETest");
- invoke();
- }
-
- /**
- * @testName: externalContextFactoryGetWrappedTest
- *
- * @assertion_ids: JSF:JAVADOC:1186; JSF:JAVADOC:1190
- *
- * @test_Strategy: Ensure that A default implementation is provided that
- * returns null.
- */
- public void externalContextFactoryGetWrappedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "externalContextFactoryGetWrappedTest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/build.xml
deleted file mode 100644
index 070220a140..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/build.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/jsf_ctx_externalctxfactory_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/jsf_ctx_externalctxfactory_web.war.sun-web.xml
deleted file mode 100644
index f6559ac13a..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/jsf_ctx_externalctxfactory_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_ctx_externalctxfactory_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/jsf_ctx_externalctxfactory_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/jsf_ctx_externalctxfactory_web.xml
deleted file mode 100644
index b9e61218ce..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextfactory/jsf_ctx_externalctxfactory_web.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
- jsf_ctx_externalctxfactory
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontextfactory.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet
-
-
- 54
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/DispatchTarget.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/DispatchTarget.java
deleted file mode 100644
index 48b66a0d28..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/DispatchTarget.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontextwrapper;
-
-import java.io.IOException;
-
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServlet;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public class DispatchTarget extends HttpServlet {
-
- public DispatchTarget() {
- }
-
- public void init(ServletConfig servletConfig) throws ServletException {
- super.init(servletConfig);
- }
-
- protected void service(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- response.getWriter().write("Test PASSED");
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/TestServlet.java
deleted file mode 100644
index 81541f3e82..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/TestServlet.java
+++ /dev/null
@@ -1,833 +0,0 @@
-/*
- * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontextwrapper;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.PrintWriter;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.ListIterator;
-import java.util.Locale;
-import java.util.Map;
-import java.util.Set;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.context.ExternalContext;
-import jakarta.faces.context.ExternalContextWrapper;
-import jakarta.faces.context.FacesContext;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.ServletRequest;
-import jakarta.servlet.ServletResponse;
-import jakarta.servlet.http.Cookie;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-import jakarta.servlet.http.HttpSession;
-
-public final class TestServlet extends HttpTCKServlet {
-
- private static final String TCK_ATTRIBUTE = "tckattribute";
-
- private static final String TCK_VALUE = "tckValue";
-
- private static final String NO_SUCH_ATTRIBUTE = "no_such_attribute_could_possibly_exist";
-
- private static final String NO_SUCH_VALUE = "no_such_value_could_possibly_exist";
-
- private ServletContext servletContext;
-
- private static final String TCK_KEY = "tckKey1";
-
- private static final String TCK_VALUE1 = "tckValue1";
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- servletContext = config.getServletContext();
- }
-
- // ExternalContext.dispatch(String)
- public void extContextWrapperDispatchTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- ExternalContextWrapper ecw = new TCKExternalContext();
- ecw.dispatch("/target");
- }
-
- // ExternalContext.redirect(String)
- public void extContextWrapperRedirectTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- ExternalContextWrapper ecw = new TCKExternalContext();
- ecw.redirect("/target");
- }
-
- // ExternalContext.getSession(boolean)
- public void extContextWrapperGetSessionTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContextWrapper context = new TCKExternalContext();
-
- // no current session, so false will result in null
- Object session = context.getSession(false);
- if (session != null) {
- out.println(JSFTestUtil.FAIL
- + " No session has been established - ExternalContext."
- + "getSession(false) should have returned null.");
- return;
- }
-
- session = context.getSession(true);
- if (session == null) {
- out.println(JSFTestUtil.FAIL
- + " No session was returned whne calling ExternalContext."
- + "getSession(true).");
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExtenalContext.getContext()
- // Test CANNOT run in a Portlet env.
- public void extContextWrapperGetContextTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContextWrapper ecw = new TCKExternalContext();
- Object context = ecw.getContext();
-
- if (context != null) {
- if (context instanceof ServletContext) {
- if (servletContext != context) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getContext() returned a ServletContext,"
- + " but it was not the ServletContext instance that was expected.");
- out.println("Expected: " + servletContext);
- out.println("Received: " + context);
- return;
- }
- } else {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getContext() did not return a ServletContext"
- + " as expected.");
- out.println(
- "Class of object received: " + context.getClass().getName());
- return;
- }
- } else {
- out.println(
- JSFTestUtil.FAIL + " ExternalContext.getContext() returned null.");
- return;
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequest()
- // Test CANNOT run in a Portlet env.
- public void extContextWrapperGetRequestTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- request.setAttribute(TCK_ATTRIBUTE, TCK_VALUE);
- ExternalContextWrapper ecw = new TCKExternalContext();
- Object req = ecw.getRequest();
-
- if (req != null) {
- if (req instanceof ServletRequest) {
- if (!TCK_VALUE
- .equals(((ServletRequest) req).getAttribute(TCK_ATTRIBUTE))) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getRequest() returned a ServletRequest,"
- + " but it was not the same ServletRequest used by the current request.");
- return;
- }
- } else {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getRequest() did not return a ServletRequest"
- + " as expected.");
- out.println("Class of object received: " + req.getClass().getName());
- }
- } else {
- out.println(
- JSFTestUtil.FAIL + " ExternalContext.getRequest() returned null.");
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getResponse()
- // Test CANNOT run in a Portlet env.
- public void extContextWrapperGetResponseTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- response.addHeader(TCK_ATTRIBUTE, TCK_VALUE);
- ExternalContextWrapper ecw = new TCKExternalContext();
- Object res = ecw.getResponse();
-
- if (res != null) {
- if (res instanceof ServletResponse) {
- if (!((HttpServletResponse) res).containsHeader(TCK_ATTRIBUTE)) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getResponse() returned a ServletResponse,"
- + " but it was not the same ServletResponse used by the current request.");
- return;
- }
- } else {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getRequest() did not return a ServletResponse"
- + " as expected.");
- out.println("Class of object received: " + res.getClass().getName());
- }
- } else {
- out.println(
- JSFTestUtil.FAIL + " ExternalContext.getResponse() returned null.");
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getApplicationMap()
- public void extContextWrapperGetApplicationMapTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- servletContext.setAttribute(TCK_ATTRIBUTE, TCK_VALUE);
- ExternalContextWrapper ecw = new TCKExternalContext();
- Map applMap = ecw.getApplicationMap();
-
- if (applMap == null) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getApplicationMap() returned null");
- return;
- }
-
- String result = validateMutableMap(applMap, TCK_VALUE);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- if (!TCK_VALUE1.equals(servletContext.getAttribute(TCK_KEY))) {
- out.println(
- "Unable to find expected value for attribute 'tckKey1' in ServletContext");
- out.println("value: " + servletContext.getAttribute(TCK_KEY));
- return;
- }
-
- // cleanup
- servletContext.removeAttribute(TCK_ATTRIBUTE);
- servletContext.removeAttribute(TCK_KEY);
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getSessionMap()
- public void extContextWrapperGetSessionMapTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- HttpSession session = request.getSession(true);
- session.setAttribute(TCK_ATTRIBUTE, TCK_VALUE);
- ExternalContextWrapper ecw = new TCKExternalContext();
- Map sessMap = ecw.getSessionMap();
-
- if (sessMap == null) {
- out.println(
- JSFTestUtil.FAIL + " ExternalContext.getSessionMap() returned null");
- return;
- }
-
- String result = validateMutableMap(sessMap, TCK_VALUE);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- if (!TCK_VALUE1.equals(session.getAttribute(TCK_KEY))) {
- out.println(
- "Unable to find expected value for attribute 'tckKey1' in Session");
- out.println("value: " + session.getAttribute(TCK_KEY));
- return;
- }
-
- // cleanup
- session.removeAttribute(TCK_ATTRIBUTE);
- session.removeAttribute(TCK_KEY);
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestMap()
- public void extContextWrapperGetRequestMapTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- request.setAttribute(TCK_ATTRIBUTE, TCK_VALUE);
- ExternalContextWrapper ecw = new TCKExternalContext();
- Map applMap = ecw.getRequestMap();
-
- if (applMap == null) {
- out.println(
- JSFTestUtil.FAIL + " ExternalContext.getRequestMap() returned null");
- return;
- }
-
- String result = validateMutableMap(applMap, TCK_VALUE);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- if (!TCK_VALUE1.equals(request.getAttribute(TCK_KEY))) {
- out.println(
- "Unable to find expected value for attribute 'tckKey1' in Request");
- out.println("value: " + request.getAttribute(TCK_KEY));
- return;
- }
-
- // cleanup
- request.removeAttribute(TCK_ATTRIBUTE);
- request.removeAttribute(TCK_KEY);
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getInitParameterMap()
- public void extContextWrapperGetInitParameterMapTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContextWrapper ecw = new TCKExternalContext();
- Map, ?> initMap = ecw.getInitParameterMap();
-
- if (initMap == null) {
- out.println(
- JSFTestUtil.FAIL + " ExternalContext.getRequestMap() returned null");
- return;
- }
-
- String result = validateNonMutableMap(initMap, TCK_VALUE, false);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestHeaderMap()
- public void extContextWrapperGetRequestHeaderMapTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContextWrapper ecw = new TCKExternalContext();
- Map headerMap = ecw.getRequestHeaderMap();
-
- if (headerMap == null) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getRequestHeaderMap() returned null");
- return;
- }
-
- String result = validateNonMutableMap(headerMap, TCK_VALUE, true);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestParameterMap()
- public void extContextWrapperGetRequestParameterMapTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContextWrapper ecw = new TCKExternalContext();
- Map parameterMap = ecw.getRequestParameterMap();
-
- if (parameterMap == null) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getRequestParameterMap() returned null");
- return;
- }
-
- String result = validateNonMutableMap(parameterMap, TCK_VALUE, false);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestParameterValuesMap()
- public void extContextWrapperGetRequestParameterValuesMapTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContextWrapper ecw = new TCKExternalContext();
- Map parameterValuesMap = ecw
- .getRequestParameterValuesMap();
-
- if (parameterValuesMap == null) {
- out.println(JSFTestUtil.FAIL
- + " ExternalContext.getRequestParameterValuesMap() returned null");
- return;
- }
-
- String result = validateNonMutableMap(parameterValuesMap, TCK_VALUE, false);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestCookieMap()
- public void extContextWrapperGetRequestCookieMapTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContextWrapper ecw = new TCKExternalContext();
- Map cookieMap = ecw.getRequestCookieMap();
-
- if (cookieMap == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "ExternalContext.getCookieMap() returned null");
- return;
- }
-
- Cookie[] cookies = request.getCookies();
- Cookie controlCookie = null;
- for (int i = 0; i < cookies.length; i++) {
- if (cookies[i].getName().equals(TCK_ATTRIBUTE)) {
- controlCookie = cookies[i];
- break;
- }
- }
-
- if (controlCookie == null) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Expected cookie not found in request.");
- return;
- }
-
- String result = validateNonMutableMap(cookieMap, controlCookie, false);
-
- if (result != null) {
- out.println("Test FAILED. " + result);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getInitParamter(String)
- public void extContextWrapperGetInitParameterTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContextWrapper ecw = new TCKExternalContext();
- String value = ecw.getInitParameter(TCK_ATTRIBUTE);
-
- if (!TCK_VALUE.equals(value)) {
- out.println(JSFTestUtil.FAIL + " Expected a value of '" + TCK_VALUE
- + "' for Context init parameter" + " '" + TCK_ATTRIBUTE + "'."
- + JSFTestUtil.NL + "Received: " + value);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // ExternalContext.getMimeType(String)
- public void extContextWrapperGetMimeTypeTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String fileName = "duke-boxer.gif";
- String expected = "image/gif";
- ExternalContextWrapper ecw = new TCKExternalContext();
- String value = ecw.getMimeType(fileName);
-
- if (!expected.equals(value)) {
- out.println(JSFTestUtil.FAIL + " Unexpected value return from "
- + "ExternalContext.getMimeType(" + fileName + ")" + JSFTestUtil.NL
- + "Expected: " + expected + JSFTestUtil.NL + "Received: " + value
- + JSFTestUtil.NL);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // ExternalContext.getRemoteUser()
- // Security is optional in ServletContainers, so expect null from this method
- public void extContextWrapperGetRemoteUserTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContextWrapper ecw = new TCKExternalContext();
- String result = ecw.getRemoteUser();
-
- if (result != null) {
- out.println(JSFTestUtil.FAIL
- + " No 'login' performed, yet ExternalContext.getRemoveUser() returned"
- + " a non-null value." + JSFTestUtil.NL + "Received: " + result);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // ExternalContext.getResourcePaths()
- public void extContextWrapperGetResourcePathsTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Set resourcePaths = servletContext.getResourcePaths("/");
- ExternalContextWrapper ecw = new TCKExternalContext();
- Set extResourcePaths = ecw.getResourcePaths("/");
-
- if (!resourcePaths.equals(extResourcePaths)) {
- out.println(JSFTestUtil.FAIL
- + " The Set returned by ServletContext.getResourcePaths(String),"
- + " was not the same as the Set returned by ExternalContext.getResourcePaths(String)."
- + JSFTestUtil.NL + "Expected: "
- + JSFTestUtil.getAsString(resourcePaths.iterator()) + "Received: "
- + JSFTestUtil.getAsString(extResourcePaths.iterator()));
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- }
-
- // ExternalContext.getResourceAsStream()
- public void extContextWrapperGetResourceAsStreamTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContextWrapper ecw = new TCKExternalContext();
- InputStream in = ecw.getResourceAsStream("/WEB-INF/web.xml");
-
- if (in == null) {
- out.println(
- "ExternalContext.getResourceAsStream(\"/WEB-INF/web.xml\") returned null.");
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- }
-
- // ExternalContext.getRequestContextPath()
- public void extContextWrapperGetRequestContextPathTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String expectedPath = request.getContextPath();
- ExternalContextWrapper ecw = new TCKExternalContext();
- String testPath = ecw.getRequestContextPath();
-
- if (!expectedPath.equals(testPath)) {
- out.println(JSFTestUtil.FAIL
- + " The value returned by ExternalContext.getRequestContextPath()"
- + " returned a different result than that from ServletRequest.getContextPath()."
- + JSFTestUtil.NL + "Expected: " + expectedPath + JSFTestUtil.NL
- + "Received: " + testPath);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- }
-
- // ExternalContext.getRequestLocale()
- public void extContextWrapperGetRequestLocaleTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- Locale controlLocale = request.getLocale();
- ExternalContextWrapper ecw = new TCKExternalContext();
- Locale testLocale = ecw.getRequestLocale();
-
- if (!controlLocale.equals(testLocale)) {
- out.println(JSFTestUtil.FAIL + " The values returned by "
- + "ExternalContext.getRequestLocale() and ServletRequest.getLocale() differ."
- + JSFTestUtil.NL + "Expected: " + controlLocale + JSFTestUtil.NL
- + "Received:" + testLocale);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // ExternalContext.getRequestParameterNames
- public void extContextWrapperGetRequestParameterNamesTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContextWrapper ecw = new TCKExternalContext();
-
- String[] controlNames = JSFTestUtil
- .getAsStringArray(request.getParameterNames());
-
- String[] testNames = JSFTestUtil
- .getAsStringArray(ecw.getRequestParameterNames());
-
- if (controlNames.length != testNames.length) {
- out.println(JSFTestUtil.FAIL
- + " The number of parameter names returned by ServletRequest."
- + "getParameterNames() differs from what was returned by ExternalContext."
- + "getParameterNames().");
- return;
- }
-
- for (int i = 0; i < controlNames.length; i++) {
- if (Arrays.binarySearch(testNames, controlNames[i]) < 0) {
- out.println(JSFTestUtil.FAIL + " Unable to find the parameter name '"
- + controlNames[i] + "'"
- + " in the set of parameter names returned by "
- + "ExternalContext.getParameterNames()." + JSFTestUtil.NL
- + "ExternalContext.getParameterNames() returned: "
- + JSFTestUtil.getAsString(testNames));
- return;
- }
- }
- out.println(JSFTestUtil.PASS);
- }
-
- // ExternalContext.getRequestPathInfo()
- public void extContextWrapperGetRequestPathInfoTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- String controlPath = request.getPathInfo();
- ExternalContextWrapper ecw = new TCKExternalContext();
- String testPath = ecw.getRequestPathInfo();
-
- if (!controlPath.equals(testPath)) {
- out.println(JSFTestUtil.FAIL
- + " The path info returned by ExternalContext.getRequestPathInfo()"
- + " didn't match the value returned by ServletRequest.getPathInfo()."
- + JSFTestUtil.NL + "Expected: " + controlPath + JSFTestUtil.NL
- + "Received: " + testPath);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- // ExternalContext.setSessionMaxInactiveInterval(int)
- public void extContextWrapperSetGetSessionMaxInactiveIntervalTest(
- HttpServletRequest request, HttpServletResponse response)
- throws ServletException, IOException {
- PrintWriter out = response.getWriter();
- ExternalContextWrapper econtext = new TCKExternalContext();
- int result;
-
- ArrayList testValues = new ArrayList();
- {
- testValues.add(-1);
- testValues.add(0);
- testValues.add(1);
- }
-
- ListIterator litr = testValues.listIterator();
- while (litr.hasNext()) {
- Integer tv = (Integer) litr.next();
-
- try {
- econtext.setSessionMaxInactiveInterval(tv);
- } catch (Exception e) {
- out.println("Test FAILED. Unexpected Exception when setting "
- + "MaxInactiveInterval to " + tv + JSFTestUtil.NL);
- e.printStackTrace();
- }
-
- result = econtext.getSessionMaxInactiveInterval();
- if (result != tv) {
- out.println("Test FAILED. " + JSFTestUtil.NL
- + "Unexpected value returned from getSessionMaxInactiveInterval()."
- + JSFTestUtil.NL + "Expected: " + tv + JSFTestUtil.NL
- + "Received: " + result);
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
-
- }// End extContextWrapperSetGetSessionMaxInactiveIntervalTest
-
- // ------------------------------------------------------ Private Methods
- // --------
- private String validateCommonMethods(Map map, Object value,
- boolean ignoreCase) {
-
- if (!value.equals(map.get(TCK_ATTRIBUTE))) {
- return "Map.get(\"" + TCK_ATTRIBUTE
- + "\") didn't return the expected value, '" + TCK_VALUE + "'.\n"
- + " Received: " + map.get(TCK_ATTRIBUTE);
- }
-
- if (map.get(NO_SUCH_ATTRIBUTE) != null) {
- return "Map.get() for a non-existent attribute returned a non-null value.";
- }
-
- if (!map.containsKey(TCK_ATTRIBUTE)) {
- return "Map.containsKey(\"" + TCK_ATTRIBUTE + "\") returned false";
- }
-
- if (map.containsKey(NO_SUCH_ATTRIBUTE)) {
- return "Map.containsKey(Object) returned true for a key that doesn't exist in the map.";
- }
-
- Set entrySet = map.entrySet();
- if (entrySet == null) {
- return "Map.entrySet() returned null.";
- }
-
- boolean found = false;
- for (Iterator i = entrySet.iterator(); i.hasNext();) {
- Map.Entry entry = (Map.Entry) i.next();
- boolean test = (ignoreCase)
- ? TCK_ATTRIBUTE.equalsIgnoreCase(entry.getKey().toString())
- : TCK_ATTRIBUTE.equals(entry.getKey());
- if (test) {
- if (value.equals(entry.getValue())) {
- found = true;
- break;
- }
- }
- }
-
- if (!found) {
- return "Map.entrySet() did not return a Map.Entry for a key/value pair.\n"
- + "Key " + TCK_ATTRIBUTE + ", Value: " + value;
- }
-
- if (!(map.equals(map))) {
- return "Map.equals(Object) returned false when passing the same map as an argument.";
- }
-
- if (map.equals(new HashMap())) {
- return "Map.equals(new HashMap()) returned true when the two instances were not equal";
- }
-
- if (!map.containsValue(value)) {
- return "Map.containsValue(\"" + value + "\") returned false";
- }
-
- if (map.containsValue(NO_SUCH_VALUE)) {
- return "Map.containsvalue() returned true for a value that doesn't exist in the map.";
- }
-
- if (map.hashCode() != map.hashCode()) {
- return "Map.hasCode() returned different values each time it was called on the "
- + "same Map instance.";
- }
-
- if (map.isEmpty()) {
- return "Map.isEmtpy() returned true when values exist in the Map.";
- }
-
- Set keySet = map.keySet();
- if (!keySet.contains(TCK_ATTRIBUTE)) {
- return "Map.keySet() returned a Set that didn't contain one of the expected keys: "
- + TCK_ATTRIBUTE;
- }
-
- if (!(map.size() > 0)) {
- return "Map.size() returned a value less than or equal to zero when there are entries in the Map.";
- }
-
- Collection values = map.values();
- if (!values.contains(value)) {
- return "Map.values() returned a Collection missing one of the values expected to be found in the Map.";
- }
-
- if (values.contains(NO_SUCH_VALUE)) {
- return "Map.values() returned a Collection with a value that should not have been present";
- }
-
- return null;
- }
-
- private String validateMutableMap(Map map, Object value) {
- map.remove(NO_SUCH_ATTRIBUTE);
-
- String result = validateCommonMethods(map, value, false);
- if (result != null) {
- return result;
- }
-
- map.put(TCK_KEY, TCK_VALUE1);
- if (!"tckValue1".equals(map.get("tckKey1"))) {
- return "Unable to find value for key 'tckKey1' that was just added to the Map.";
- }
-
- map.remove(TCK_KEY);
- if (map.get("tckKey1") != null) {
- return "Map.remove() didn't remove the key/value pair from map.";
- }
-
- map.put(TCK_KEY, TCK_VALUE1);
-
- return null;
- }
-
- private String validateNonMutableMap(Map map, Object value,
- boolean ignoreCase) {
-
- String result = validateCommonMethods(map, value, ignoreCase);
- if (result != null) {
- return result;
- }
-
- try {
- map.remove(NO_SUCH_ATTRIBUTE);
- return "Map.remove() should not be supported by this Map.";
- } catch (Throwable t) {
- ;
- }
-
- try {
- map.put("key1", "val1");
- return "Map.put() should not be supported by this Map.";
- } catch (Throwable t) {
- ;
- }
-
- return null;
- }
-
- // --------------------------------------------------------- private classes
-
- private static class TCKExternalContext extends ExternalContextWrapper {
-
- @Override
- public ExternalContext getWrapped() {
- return FacesContext.getCurrentInstance().getExternalContext();
- }
-
- } // End TCKExternalContext
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/URLClient.java
deleted file mode 100644
index 618a7cec7b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/URLClient.java
+++ /dev/null
@@ -1,366 +0,0 @@
-/*
- * Copyright (c) 2012, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontextwrapper;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String TCK_ATTRIBUTE = "tckattribute";
-
- private static final String TCK_VALUE = "tckValue";
-
- private static final String CONTEXT_ROOT = "/jsf_ctx_extctxwrapper_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: extContextWrapperDispatchTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1193
- * @test_Strategy: Verify that dispatch(), in a Servlet environment, can be
- * successfully used to dispatch the current request to
- * another resource within the web application.
- */
- public void extContextWrapperDispatchTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperDispatchTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperRedirectTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:SPEC:1253
- * @test_Strategy: Verify that redirect(), in a Servlet environment, can be
- * successfully used to redirect the current request to
- * another resource. The client will verify that the Location
- * header is present in the response with the appropriate
- * host, port, and path.
- */
- public void extContextWrapperRedirectTest() throws Fault {
- TEST_PROPS.setProperty(REQUEST, "GET " + CONTEXT_ROOT
- + "/TestServlet?testname=extContextWrapperRedirectTest HTTP/1.0");
- TEST_PROPS.setProperty(EXPECTED_HEADERS,
- "Location:http://" + _hostname + ":" + _port + "/target");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetSessionTest
- * @assertion_ids: JSF:JAVADOC:1155; JSF:JAVADOC:1244
- * @test_Strategy: Ensure the behavior of getSession(). - if no session
- * established with client, getSession(false) returns null. -
- * getSession(true) will create a new session
- */
- public void extContextWrapperGetSessionTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetSessionTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetContextTest
- * @assertion_ids: JSF:JAVADOC:1205; JSF:JAVADOC:1202
- * @test_Strategy: Ensure getContext() returns the ServletContext of the
- * current web application instance.
- */
- public void extContextWrapperGetContextTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetContextTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetRequestTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1213
- * @test_Strategy: Ensure getRequest() returns the same ServletRequest as what
- * was used to invoke the test servlet.
- */
- public void extContextWrapperGetRequestTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetRequestTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetResponseTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1236
- * @test_Strategy: Ensure getResponse() returns the same ServletResponse as
- * what was used to invoke the test servlet.
- */
- public void extContextWrapperGetResponseTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetResponseTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetApplicationMapTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1203
- * @test_Strategy: Verify attributes added to the Map can be retrieved from
- * the application map instance. Additionally verify the
- * required specialized behavior of the map (mutable) as well
- * as verifying that the methods of the Map work as expected.
- */
- public void extContextWrapperGetApplicationMapTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetApplicationMapTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetSessionMapTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1245
- * @test_Strategy: Verify attributes added to the Map can be retrieved from
- * the session map instance. Additionally verify the required
- * specialized behavior of the map (mutable) as well as
- * verifying that the methods of the Map work as expected.
- */
- public void extContextWrapperGetSessionMapTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetSessionMapTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetRequestMapTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1223
- * @test_Strategy: Verify attributes added to the Map can be retrieved from
- * the request map instance. Additionally verify the required
- * specialized behavior of the map (mutable) as well as
- * verifying that the methods of the Map work as expected.
- */
- public void extContextWrapperGetRequestMapTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetRequestMapTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetInitParameterMapTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1209
- * @test_Strategy: Verify context init parameters can be retrieved from the
- * init parameter map. Additionally ensure that the map is
- * immutable and the methods that don't affect its content
- * work as expected.
- */
- public void extContextWrapperGetInitParameterMapTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetInitParameterMapTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetRequestHeaderMapTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1219
- * @test_Strategy: Verify request headers can be retrieved from the init
- * parameter map. Additionally ensure that the map is
- * immutable and the methods that don't affect its content
- * work as expected.
- */
- public void extContextWrapperGetRequestHeaderMapTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetRequestHeaderMapTest");
- TEST_PROPS.setProperty(REQUEST_HEADERS, TCK_ATTRIBUTE + ":" + TCK_VALUE);
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetRequestParameterMapTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1224
- * @test_Strategy: Verify request parameters can be retrieved from the init
- * parameter map. Additionally ensure that the map is
- * immutable and the methods that don't affect its content
- * work as expected.
- */
- public void extContextWrapperGetRequestParameterMapTest() throws Fault {
- TEST_PROPS.setProperty(REQUEST,
- "GET /jsf_ctx_extctxwrapper_web/TestServlet?testname="
- + "extContextWrapperGetRequestParameterMapTest&" + TCK_ATTRIBUTE
- + "=" + TCK_VALUE + " HTTP/1.0");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetRequestParameterValuesMapTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1226
- * @test_Strategy: Verify request parameter values can be retrieved from the
- * init parameter map. Additionally ensure that the map is
- * immutable and the methods that don't affect its content
- * work as expected.
- */
- public void extContextWrapperGetRequestParameterValuesMapTest() throws Fault {
- TEST_PROPS.setProperty(REQUEST,
- "GET /jsf_ctx_extctxwrapper_web/TestServlet?testname="
- + "extContextWrapperGetRequestParameterValuesMapTest&"
- + TCK_ATTRIBUTE + "=" + TCK_VALUE + " HTTP/1.0");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetRequestCookieMapTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1218
- * @test_Strategy: Verify request cookies can be retrieved from the init
- * parameter map. Additionally ensure that the map is
- * immutable and the methods that don't affect its content
- * work as expected.
- */
- public void extContextWrapperGetRequestCookieMapTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetRequestCookieMapTest");
- TEST_PROPS.setProperty(REQUEST_HEADERS,
- "Cookie: $Version=1; " + TCK_ATTRIBUTE + "=" + TCK_VALUE + "; $Domain="
- + _hostname + "; $Path=" + getContextRoot());
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetInitParameterTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1208
- * @test_Strategy: Ensure context initialization parameters are correctly
- * returned by getInitParameter().
- */
- public void extContextWrapperGetInitParameterTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetInitParameterTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetMimeTypeTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1210
- * @test_Strategy: Ensure when getMimeType(String) is called that the correct
- * mime type is returned.
- */
- public void extContextWrapperGetMimeTypeTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetMimeTypeTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetRemoteUserTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1212
- * @test_Strategy: Ensure getRemoveUser() returns null as no login
- * authentication is performed.
- */
- public void extContextWrapperGetRemoteUserTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetRemoteUserTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetResourcePathsTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1235
- * @test_Strategy: Ensure the Set returned by
- * ExternalContext.getResourcePaths() is equal to the Set
- * returned by ServletContext.getResourcePaths().
- */
- public void extContextWrapperGetResourcePathsTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetResourcePathsTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetResourceAsStreamTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1234
- * @test_Strategy: Ensure a non-null stream is returned when calling
- * ExternalContext.getResourceAsStream() passing the path to
- * the web application's deployment descriptor.
- */
- public void extContextWrapperGetResourceAsStreamTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetResourceAsStreamTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetRequestContextPathTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1217
- * @test_Strategy: Ensure the path returned by getRequestContextPath() is the
- * same as that returned by ServletContext.getContextPath().
- */
- public void extContextWrapperGetRequestContextPathTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "extContextWrapperGetRequestContextPathTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetRequestLocaleTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1221
- * @test_Strategy: Ensure the Locale returned by getRequestLocale() is the
- * same as the Locale returned by ServletRequest.getLocale().
- */
- public void extContextWrapperGetRequestLocaleTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "extContextWrapperGetRequestLocaleTest");
- TEST_PROPS.setProperty(REQUEST_HEADERS, "Accept-Language: en-IE-EURO");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetRequestParameterNamesTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1225
- * @test_Strategy: Ensure the parameter names returned by
- * getRequestParameterNames() are the same as those returned
- * by ServletRequest.getParameterNames().
- */
- public void extContextWrapperGetRequestParameterNamesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "extContextWrapperGetRequestParameterNamesTest");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperGetRequestPathInfoTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:1227
- * @test_Strategy: Ensure the path info returned by getRequestPathInfo() is
- * the same as that returned by ServletRequest.getPathInfo().
- */
- public void extContextWrapperGetRequestPathInfoTest() throws Fault {
- TEST_PROPS.setProperty(REQUEST,
- "GET /jsf_ctx_extctxwrapper_web/TestServlet/pathInfo?testname="
- + "extContextWrapperGetRequestPathInfoTest HTTP/1.0");
- invoke();
- }
-
- /**
- * @testName: extContextWrapperSetGetSessionMaxInactiveIntervalTest
- * @assertion_ids: JSF:JAVADOC:1202; JSF:JAVADOC:2586
- * @test_Strategy: Validate that we can set/get the Inactive value. Test
- * values used are ( 1, 0, -1).
- *
- * @since 2.1
- */
- public void extContextWrapperSetGetSessionMaxInactiveIntervalTest()
- throws Fault {
- TEST_PROPS.setProperty(REQUEST,
- "GET /jsf_ctx_extctxwrapper_web/TestServlet/pathInfo?testname="
- + "extContextWrapperSetGetSessionMaxInactiveIntervalTest HTTP/1.0");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/build.xml
deleted file mode 100644
index 8802db846c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/build.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/jsf_ctx_extctxwrapper_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/jsf_ctx_extctxwrapper_web.war.sun-web.xml
deleted file mode 100644
index 35e46f9f38..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/jsf_ctx_extctxwrapper_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_ctx_extctxwrapper_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/jsf_ctx_extctxwrapper_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/jsf_ctx_extctxwrapper_web.xml
deleted file mode 100644
index b88fc2204d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/externalcontextwrapper/jsf_ctx_extctxwrapper_web.xml
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-
-
- jsf_ctx_extctxwrapper
-
- tckattribute
- tckValue
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontextwrapper.TestServlet
-
-
- DispatchTarget
- com.sun.ts.tests.jsf.api.jakarta_faces.context.externalcontextwrapper.DispatchTarget
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- DispatchTarget
- /target
-
-
- 54
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/TestServlet.java
deleted file mode 100644
index e309417c03..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/TestServlet.java
+++ /dev/null
@@ -1,1323 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.facescontext;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.Writer;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.el.ELContext;
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.application.Application;
-import jakarta.faces.application.FacesMessage;
-import jakarta.faces.application.ProjectStage;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.ExceptionHandler;
-import jakarta.faces.context.ExceptionHandlerWrapper;
-import jakarta.faces.context.ExternalContext;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.context.PartialViewContext;
-import jakarta.faces.context.ResponseStream;
-import jakarta.faces.context.ResponseWriter;
-import jakarta.faces.event.PhaseId;
-import jakarta.faces.render.RenderKit;
-import jakarta.faces.render.RenderKitFactory;
-import jakarta.faces.render.RenderKitWrapper;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public final class TestServlet extends HttpTCKServlet {
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- }
- // ------------------------------------------------ Test Methods -------
- // FacesContext.getClientIdsWithMessages()
-
- public void facesCtxGetClientIdsWithMessagesTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- context.setViewRoot(createViewRoot());
-
- UIComponent component1 = getApplication()
- .createComponent(UIInput.COMPONENT_TYPE);
- component1.setId("component1");
- UIComponent component2 = getApplication()
- .createComponent(UIOutput.COMPONENT_TYPE);
- component2.setId("component2");
- FacesMessage message1 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message1 summary", "message1 detail", "message1");
-
- context.addMessage(component1.getClientId(context), message1);
- context.addMessage(component2.getClientId(context), message1);
-
- String[] controlClientIds = { component1.getClientId(context),
- component2.getClientId(context) };
- String[] testClientIds = JSFTestUtil
- .getAsStringArray(context.getClientIdsWithMessages());
-
- if (controlClientIds.length != testClientIds.length) {
- out.println(
- JSFTestUtil.FAIL + " Unexpected number of client IDs returned by "
- + "FacesContext.getComponentIdsWithMessages().");
- out.println(
- "Exected the number of IDs returned to be 2. Actual number returned: "
- + testClientIds.length);
- return;
- }
-
- List list = Arrays.asList(testClientIds);
- for (int i = 0; i < controlClientIds.length; i++) {
- if (!list.contains(controlClientIds[i])) {
- out.println(JSFTestUtil.FAIL + " Unable to find '" + controlClientIds[i]
- + "' in the client IDs returned"
- + " by FacesContext.getClientIdsWithMessages().");
- for (int j = 0; j < testClientIds.length; j++) {
- out.println("Client ID received: " + testClientIds[j]);
- }
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
- // FacesContext.getClientIdsWithMessages() returning an empty Iterator when no
- // components are found.
-
- public void facesCtxGetClientIdsWithMessagesEmptyTest(
- HttpServletRequest request, HttpServletResponse response)
- throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- Iterator i = context.getClientIdsWithMessages();
-
- if (i == null) {
- out.println(JSFTestUtil.FAIL
- + " FacesContext.getClientIdsWithMessages() returned null"
- + " when instead of an empty Iterator.");
- return;
- }
-
- if (i.hasNext()) {
- out.println(JSFTestUtil.FAIL
- + " FacesContext.getClientIdsWithMessages() returned a"
- + " non-empty Iterator even though no messages have been added.");
- while (i.hasNext()) {
- UIComponent comp = (UIComponent) i.next();
- out.println("Component: " + ((comp == null) ? null : comp.getId()));
- }
- return;
- }
-
- context.addMessage(null, new FacesMessage());
- context.addMessage(null, new FacesMessage());
- i = context.getClientIdsWithMessages();
-
- if (i == null) {
- out.println("Test FAILED[2]. FacesContext.getClientIds"
- + "WithMessages() returned null when instead of an empty "
- + "Iterator.");
- return;
- }
-
- if (i.hasNext()) {
- UIComponent comp = (UIComponent) i.next();
- if (comp != null) {
- out.println(
- JSFTestUtil.FAIL + " Non-null value returned from iterator.");
- return;
- }
-
- if (i.hasNext()) {
- out.println(JSFTestUtil.FAIL + " Iterator contained more than 1"
- + " value after when getClientIdWithMessages() was "
- + "called where a Message existed with no client id.");
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
- }
- // FacesContext.addMessage(UIComponent, FacesMessage)
- // FacesContext.getMessages()
- // FacesContext.getMessages(UIComponent)
- // 7/18/05 updated test to ensure message order is retained by returned
- // iterators.
-
- public void facesCtxAddGetMessagesTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent component = getApplication()
- .createComponent(UIInput.COMPONENT_TYPE);
- component.setId("input1");
- FacesMessage message1 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message1 summary", "message1 detail", "message1");
- FacesMessage message2 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message2 summary", "message2 detail", "message2");
- FacesMessage message3 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message3 summary", "message3 detail", "message3");
- FacesMessage message4 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message4 summary", "message4 detail", "message4");
-
- FacesContext context = getFacesContext();
- context.setViewRoot(createViewRoot());
-
- context.addMessage(component.getClientId(context), message1);
- context.addMessage(component.getClientId(context), message3);
- context.addMessage(null, message2);
- context.addMessage(null, message4);
-
- FacesMessage[] controlMessagesComp = { message1, message3 };
- FacesMessage[] controlMessagesNoComp = { message1, message3, message2,
- message4 };
- FacesMessage[] controlMessagesNullComp = { message2, message4 };
-
- FacesMessage[] testMessagesComp = getMessagesAsArray(
- context.getMessages(component.getClientId(context)));
-
- // the next two should be equivalent
- FacesMessage[] testMessagesNullComp = getMessagesAsArray(
- context.getMessages(null));
- FacesMessage[] testMessages = getMessagesAsArray(context.getMessages());
-
- // check the messages associated with a component
- if (controlMessagesComp.length != testMessagesComp.length) {
- out.println(JSFTestUtil.FAIL + " An unexpected number of messages"
- + " returned when FacesContext. getMessages(UIComponent)"
- + " was called.");
- out.println("Expected 2 messages to be returned. Actual message "
- + "count: " + testMessagesComp.length);
- return;
- }
-
- List messages = Arrays.asList(testMessagesComp);
- for (int i = 0; i < controlMessagesComp.length; i++) {
- if (!messages.get(i).equals(controlMessagesComp[i])) {
- out.println(JSFTestUtil.FAIL + " Unable to find '"
- + controlMessagesComp[i] + "' in the return value of FacesContext."
- + "getMessages(UIComponent) when the appropriate"
- + " component was provided.");
- out.println(
- "Messages returned: " + JSFTestUtil.getAsString(testMessagesComp));
- return;
- }
- }
-
- // check the messages returned when a null value is provided
- // to FacesContext.getMessages(null)
- if (controlMessagesNullComp.length != testMessagesNullComp.length) {
- out.println(JSFTestUtil.FAIL + " An unexpected number of messages "
- + "returned when FacesContext. getMessages(null) was " + "called.");
- out.println("Expected 2 messages to be returned. Actual message "
- + "count: " + testMessagesNullComp.length);
- return;
- }
-
- messages = Arrays.asList(testMessagesNullComp);
- for (int i = 0; i < controlMessagesNullComp.length; i++) {
- if (!messages.get(i).equals(controlMessagesNullComp[i])) {
- out.println(
- JSFTestUtil.FAIL + " Unable to find '" + controlMessagesNullComp[i]
- + "' in the return value of FacesContext."
- + "getMessages(UIComponent) when null was passed to the"
- + " method.");
- out.println("Messages returned: "
- + JSFTestUtil.getAsString(testMessagesNullComp));
- return;
- }
- }
-
- // check the messages returned by FacesContext.getMessages()
- if (controlMessagesNoComp.length != testMessages.length) {
- out.println(JSFTestUtil.FAIL + " An unexpected number of messages "
- + "returned when FacesContext." + "getMessages() was called.");
- out.println("Expected 4 messages to be returned. Actual message"
- + " count: " + testMessages.length);
- return;
- }
-
- messages = Arrays.asList(testMessages);
- for (int i = 0; i < controlMessagesNoComp.length; i++) {
- if (!messages.get(i).equals(controlMessagesNoComp[i])) {
- out.println(
- JSFTestUtil.FAIL + " Unable to find '" + controlMessagesNoComp[i]
- + "' in the return value of FacesContext." + "getMessages()");
- out.println(
- "Messages returned: " + JSFTestUtil.getAsString(testMessages));
- return;
- }
- }
- out.println(JSFTestUtil.PASS);
- }
- // FacesContext.getMessages(UIComponent)
- // FacesContext.getMessages()
- // - both return an empty Iterator if no messages were added.
-
- public void facesCtxGetMessagesEmptyTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- context.setViewRoot(createViewRoot());
-
- Iterator i = context.getMessages();
- if (i != null) {
- if (i.hasNext()) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getMessages() "
- + "returned a non-empty Iterator when no FacesMessage "
- + "instances were added.");
- return;
- }
- } else {
- out.println(JSFTestUtil.FAIL + " FacesContext.getMessages() returned "
- + "null as opposed to an empty Iterator.");
- return;
- }
-
- i = context.getMessages(getApplication()
- .createComponent(UIInput.COMPONENT_TYPE).getClientId(context));
- if (i != null) {
- if (i.hasNext()) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getMessages("
- + "UIComponent) returned a non-empty Iterator when no "
- + "FacesMessage instances were added.");
- return;
- }
- } else {
- out.println(JSFTestUtil.FAIL + " FacesContext.getMessages(UIComponent)"
- + " returned null as opposed to an empty Iterator.");
- return;
- }
-
- i = context.getMessages(null);
- if (i != null) {
- if (i.hasNext()) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getMessages(null) "
- + "returned a non-empty Iterator when no FacesMessage"
- + " instances were added.");
- return;
- }
- } else {
- out.println(JSFTestUtil.FAIL + " FacesContext.getMessages(null) "
- + "returned null as opposed to an empty Iterator.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- public void facesCtxGetMessageListTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- this.addTestMessagesToContext(context, null);
-
- try {
- List allMessages = context.getMessageList();
- if (allMessages.size() != 4) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Call to "
- + "FacesContext.getMessageList unexepected size! " + JSFTestUtil.NL
- + "Expected: 4" + JSFTestUtil.NL + "Received: "
- + allMessages.size());
- return;
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxgetMessageListTest
-
- public void facesCtxGetMessageListByIdTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- this.addTestMessagesToContext(context, "test_one");
-
- try {
- List allMessages = context.getMessageList("test_one");
- if (allMessages.size() != 2) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Call to "
- + "FacesContext.getMessageList unexepected size! " + JSFTestUtil.NL
- + "Expected: 2" + JSFTestUtil.NL + "Received: "
- + allMessages.size());
- return;
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxgetMessageListByIdTest
-
- public void facesCtxisValidationFailedTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- Boolean isFailed;
- try {
- isFailed = context.isValidationFailed();
- if (isFailed) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Unexpected result from "
- + "FacesContext.isValadationFailed()" + JSFTestUtil.NL
- + "Expected: false" + JSFTestUtil.NL + "Received: " + isFailed);
- return;
- }
-
- context.validationFailed();
- isFailed = context.isValidationFailed();
- if (!isFailed) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Unexpected result from "
- + "FacesContext.isValadationFailed() after calling "
- + "FacesContext.validationFailed." + JSFTestUtil.NL
- + "Expected: true" + JSFTestUtil.NL + "Received: " + isFailed);
- return;
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxisValidationFailedTest
-
- public void facesCtxisPostbackTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- context.getApplication();
- Boolean isPB;
-
- try {
- isPB = context.isPostback();
- if (isPB) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Unexpected result from "
- + "FacesContext.isPostback() before calling "
- + "StateManger.writeState()." + JSFTestUtil.NL + "Expected: false"
- + JSFTestUtil.NL + "Received: " + isPB);
- return;
- }
-
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxisPostbackTest
-
- // FacesContext.getApplication()
- public void facesCtxGetApplicationTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- Application controlApplication = getApplication();
- Application testApplication = getFacesContext().getApplication();
-
- if (controlApplication == null) {
- out.println(JSFTestUtil.FAIL + " Application.getCurrentInstance() "
- + "unexpectedly returned null.");
- return;
- }
-
- if (controlApplication != testApplication) {
- out.println(JSFTestUtil.FAIL + " The Application instance returned by "
- + "Application. getCurrentInstance() differs from the "
- + "Application returned by FacesContext.getApplication().");
- out.println("Application.getCurrentInstance(): " + controlApplication);
- out.println("FacesContext.getApplication():" + testApplication);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
- // FacesContext.addMessage(UIComponent, FacesMessage) throws NPE if
- // FacesMessage is null
-
- public void facesCtxAddMessageNPETest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getFacesContext(), "addMessage",
- new Class>[] { String.class, FacesMessage.class },
- new Object[] { "id", null }, out);
- }
-
- // FacesContext.isProjectStage(ProjectStage stage) throws NPE if stage is null
- public void facesCtxIsProjectStageNPETest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getFacesContext(), "isProjectStage",
- new Class>[] { ProjectStage.class }, new Object[] { null }, out);
- }
-
- // FacesContext.getCurrentInstance()
- public void facesCtxSetGetCurrentInstanceTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext controlContext = getFacesContext();
- FacesContext testContext = FacesContext.getCurrentInstance();
-
- if (controlContext != testContext) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getCurrentInstance() "
- + "returned a FacesContext instance that differs from the "
- + "one that is currently services this request.");
- out.println("Current FacesContext: " + controlContext);
- out.println("FacesContext.getCurrentInstance(): " + testContext);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // FacesContext.getMaximumSeverity()
- public void facesCtxGetMaximumSeverityTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- context.setViewRoot(new UIViewRoot());
- FacesMessage message1 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message1 summary", "message1 detail", "message1");
- FacesMessage message2 = new TCKMessage(FacesMessage.SEVERITY_WARN,
- "message2 summary", "message2 detail", "message2");
- FacesMessage message3 = new TCKMessage(FacesMessage.SEVERITY_ERROR,
- "message3 summary", "message3 detail", "message3");
- FacesMessage message4 = new TCKMessage(FacesMessage.SEVERITY_FATAL,
- "message4 summary", "message4 detail", "message4");
-
- /*
- * if no messages have been queued, then FacesContext.getMaximumSeverity
- * should return null
- */
- if (context.getMaximumSeverity() != null) {
- out.println(
- JSFTestUtil.FAIL + " FacesContext.getMaximumSeverity returned a"
- + "non null value when no messages have been added to the"
- + " FacesContext.");
- out.println(
- "Severity received: " + context.getMaximumSeverity().getOrdinal());
- return;
- }
-
- context.addMessage(null, message1);
- int severity = context.getMaximumSeverity().getOrdinal();
- if (severity != FacesMessage.SEVERITY_INFO.getOrdinal()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getMaximumSeverity() to return FacesMessage."
- + "SEVERITY_INFO when only a SEVERITY_INFO message exists"
- + " in the FacesContext.");
- out.println("Severity Recieved: " + severity);
- out.println("Integer value of FacesMessage.SEVERITY_INFO: "
- + FacesMessage.SEVERITY_INFO);
- return;
- }
-
- context.addMessage(null, message2);
- severity = context.getMaximumSeverity().getOrdinal();
- if (severity != FacesMessage.SEVERITY_WARN.getOrdinal()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getMaximumSeverity() to return FacesMessage."
- + "SEVERITY_WARN when both a SEVERITY_INFO and "
- + "SEVERITY_WARN message exist in the FacesContext.");
- out.println("Severity Recieved: " + severity);
- out.println("Integer value of FacesMessage.SEVERITY_WARN: "
- + FacesMessage.SEVERITY_WARN);
- return;
- }
-
- context.addMessage(null, message3);
- severity = context.getMaximumSeverity().getOrdinal();
- if (severity != FacesMessage.SEVERITY_ERROR.getOrdinal()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getMaximumSeverity() to return FacesMessage."
- + "SEVERITY_ERROR when messages with SEVERITY_INFO, "
- + "SEVERITY_WARN, and SEVERITY_ERROR exist in the"
- + " FacesContext.");
- out.println("Severity Recieved: " + severity);
- out.println("Integer value of FacesMessage.SEVERITY_ERROR: "
- + FacesMessage.SEVERITY_ERROR);
- return;
- }
-
- context.addMessage(null, message4);
- severity = context.getMaximumSeverity().getOrdinal();
- if (severity != FacesMessage.SEVERITY_FATAL.getOrdinal()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getMaximumSeverity() to return FacesMessage."
- + "SEVERITY_ERROR when messages with SEVERITY_INFO, "
- + "SEVERITY_WARN, SEVERITY_ERROR, SEVERITY_FATAL exist"
- + " in the FacesContext.");
- out.println("Severity Recieved: " + severity);
- out.println("Integer value of FacesMessage.SEVERITY_FATAL: "
- + FacesMessage.SEVERITY_FATAL);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
- // FacesContext.getResponseComplete()
- // FacesContext.responseComplete()
-
- public void facesCtxResponseCompleteTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- context.setViewRoot(new UIViewRoot());
-
- if (context.getResponseComplete()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getResponseComplete() to return false if FacesContext."
- + "responseComplete() hasn't been called.");
- return;
- }
-
- context.responseComplete();
-
- if (!context.getResponseComplete()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getResponseComplete() to return true if"
- + " FacesContext.responseComplete() has been called.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
- // FacesContext.getRenderResponse()
- // FacesContext.renderResponse()
-
- public void facexCtxRenderResponseTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- context.setViewRoot(new UIViewRoot());
-
- if (context.getRenderResponse()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getRenderResponse() to return false if"
- + " FacesContext.renderResponse() hasn't been called.");
- return;
- }
-
- context.renderResponse();
-
- if (!context.getRenderResponse()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getRenderResponse() to return true if"
- + " FacesContext.renderResponse() has been called.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
- // FacesContext.setResponseWriter()
- // FacesContext.getResponseWriter()
-
- public void facesCtxSetGetResponseWriterTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- context.setViewRoot(new UIViewRoot());
-
- ResponseWriter writer = new TCKResponseWriter();
-
- context.setResponseWriter(writer);
- ResponseWriter test = context.getResponseWriter();
-
- if (test == null) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getResponseWriter() "
- + "returned null after FacesContext.setResponseWriter("
- + "ResponseWriter) was called.");
- return;
- }
-
- if (test != writer) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getResponseWriter()"
- + " did not return the expected" + " ResponseWriter instance.");
- out.println("Expected: " + writer);
- out.println("Received: " + test);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // FacesContext.[get, set]ResponseStream()
- public void facesCtxSetGetResponseStreamTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- context.setViewRoot(new UIViewRoot());
-
- ResponseStream stream = new TCKResponseStream();
-
- context.setResponseStream(stream);
- ResponseStream test = context.getResponseStream();
-
- if (test == null) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getResponseStream()"
- + " returned null after FacesContext.setResponseStream("
- + "ResponseStream) was called.");
- return;
- }
-
- if (test != stream) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getResponseStream() "
- + "did not return the expected ResponseStream instance.");
- out.println("Expected: " + stream);
- out.println("Received: " + test);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }// End facesCtxSetGetResponseStreamTest
-
- public void facesCtxSetResponseStreamNPETest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getFacesContext(), "setResponseStream",
- new Class>[] { ResponseStream.class }, new Object[] { null }, out);
-
- }// End facesCtxSetResponseStreamNPETest
-
- public void facesCtxSetResponseWriterNPETest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getFacesContext(), "setResponseWriter",
- new Class>[] { ResponseWriter.class }, new Object[] { null }, out);
-
- }// End facesCtxSetResponseWriterNPETest
-
- // FacesContext.[get, set]ViewRoot()
- public void facesCtxSetGetViewRootTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- UIViewRoot root = (UIViewRoot) getApplication()
- .createComponent(UIViewRoot.COMPONENT_TYPE);
-
- context.setViewRoot(root);
- UIViewRoot test = context.getViewRoot();
-
- if (test == null) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getViewRoot() returned "
- + "null after FacesContext.setViewRoot(UIViewRoot) " + "was called.");
- return;
- }
-
- if (test != root) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getViewRoot() did not "
- + "return the expected UIViewRoot instance.");
- out.println("Expected: " + root);
- out.println("Received: " + test);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // End facesCtxSetGetViewRootTest
-
- // FacesContext.[is, set]ProcessingEvents()
- public void facesCtxIsGetProcessingEventTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- context.setProcessingEvents(true);
- if (!context.isProcessingEvents()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected value returned from FacesContext.isProcessingEvents()"
- + JSFTestUtil.NL + "Expected: true" + JSFTestUtil.NL + "Received: "
- + context.isProcessingEvents());
-
- } else {
- context.setProcessingEvents(false);
- if (context.isProcessingEvents()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected value returned from FacesContext.isProcessingEvents()"
- + JSFTestUtil.NL + "Expected: false" + JSFTestUtil.NL + "Received: "
- + context.isProcessingEvents());
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- } // End facesCtxIsGetProcessingEventTest
-
- // FacesContext.[get, set]CurrentPhaseId()
- public void facesCtxSetGetCurrentPhaseIdTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- context.setCurrentPhaseId(PhaseId.ANY_PHASE);
- PhaseId result = context.getCurrentPhaseId();
- if (PhaseId.ANY_PHASE.equals(result)) {
- out.println(JSFTestUtil.PASS);
-
- } else {
- out.println(
- JSFTestUtil.FAIL + " FacesContext.getCurrentPhaseId() did not "
- + "return the expected PhaseId.");
- out.println("Expected: " + PhaseId.ANY_PHASE);
- out.println("Received: " + result);
- }
-
- } // End facesCtxSetGetCurrentPhaseIdTest
-
- // Ensure NPE is thrown if a null argument is passed to
- // FacesContext.setViewRoot().
- public void facesCtxSetViewRootNPETest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
-
- JSFTestUtil.checkForNPE(getFacesContext(), "setViewRoot",
- new Class>[] { UIViewRoot.class }, new Object[] { null }, out);
- }
-
- // All methods of FacesContext must throw an IllegalStateException
- // if called after FacesContext.release() has been called with the
- // Exception of those referenced in the exMethods List.
- public void facesCtxISEAfterReleaseTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- // Excluded methods that do not throw IllegalStateException.
- List exMethods = new ArrayList();
- exMethods.add("release");
- exMethods.add("isReleased");
- exMethods.add("getComponentModificationManager");
- exMethods.add("setCurrentInstance");
- exMethods.add("getCurrentInstance");
- exMethods.add("getCurrentPhaseId");
- exMethods.add("setExceptionHandler");
- exMethods.add("getExceptionHandler");
- exMethods.add("setProcessingEvents");
- exMethods.add("isProcessingEvents");
-
- Method[] methods = FacesContext.class.getDeclaredMethods();
- // loop through the remaining methods an ensure they all
- // throw an IllegalStateException
- context.release();
-
- for (int i = 0; i < methods.length; i++) {
- Method method = methods[i];
- String name = method.getName();
-
- if (!isExcluded(name, exMethods)) {
- Class>[] types = method.getParameterTypes();
- Object[] params = new Object[types.length];
-
- if (name.equals("isProjectStage")) {
- params[0] = ProjectStage.Development;
- }
-
- JSFTestUtil.checkForISE(context, name, types, params, out);
-
- }
- }
- }
-
- public void facesCtxGetELContextTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- ELContext elContext = context.getELContext();
-
- if (elContext == null) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getELContext() returned"
- + " null.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxGetELContextTest
-
- public void facesCtxGetAttributesTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- if (!(context.getAttributes() instanceof Map)) {
- out.println("Test FAILED. Unexpected class type returned from"
- + "FacesContext.getAttributes() method." + JSFTestUtil.NL
- + "Expected: java.util.Map" + JSFTestUtil.NL + "Received: "
- + context.getAttributes().getClass().getName());
- return;
- } else {
- try {
- context.getAttributes().put("test_key", "test_value");
-
- } catch (UnsupportedOperationException usoe) {
- out.print("Test FAILED. Map Not Mutable!");
- out.print(usoe.toString());
- } catch (Exception e) {
- /*
- * Swallow any other exception since we only care if the Map is mutable.
- */
- }
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxgetAttributesTest
-
- public void facesCtxGetAttributesEmptyTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- try {
- context.getAttributes().put("test_key", "test_value");
- // validate that the attribute was put in.
- HashMap, ?> hm = (HashMap, ?>) context.getAttributes();
- if (!hm.containsKey("test_key")) {
- out.println(
- "Test FAILED. Attribute not added to context" + "attribute Map!");
- return;
- } else {
- // map should be empty after this call.
- context.release();
- if (!hm.isEmpty()) {
- out.println("Test FAILED. Attributes still found in "
- + "context attribute Map, After 'context.release()"
- + "was called!");
- return;
- }
-
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxgetAttributesEmptyTest
-
- public void facesCtxGetPartialViewContextTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- try {
- PartialViewContext pvc = context.getPartialViewContext();
- if (!(pvc instanceof PartialViewContext)) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Call to "
- + "FacesContext.getPartialViewContext() should have "
- + "returned a PartialViewContext." + JSFTestUtil.NL
- + "Instead Received: " + pvc.getClass().getSimpleName());
- return;
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxgetPartialViewContextTest
-
- public void facesCtxSetGetExceptionHandlerTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- ExceptionHandler eh = new TCKExceptionHandler();
- context.setExceptionHandler(eh);
-
- String golden = "TCKExceptionHandler";
- String result = context.getExceptionHandler().getClass().getSimpleName();
-
- if (golden.equals(result)) {
- out.println(JSFTestUtil.PASS);
-
- } else {
- out.print(
- "Test FAILED." + JSFTestUtil.NL + " Unexpected value returned from"
- + "FacesContext.getExceptionHandler()!" + JSFTestUtil.NL
- + "Expected: " + golden + JSFTestUtil.NL + "Received: " + result);
- }
-
- } // END facesCtxSetGetExceptionHandlerTest
-
- public void facesCtxsetExceptionHandlerTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- try {
- context.setExceptionHandler(new TCKExceptionHandler());
- ExceptionHandler eh = context.getExceptionHandler();
- if (!("TCKExceptionHandler".equals(eh.getClass().getSimpleName()))) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Call to "
- + "FacesContext.setExceptionHandler() did not set " + "Handler!"
- + JSFTestUtil.NL + "Expected: TCKExceptionHandler" + JSFTestUtil.NL
- + "Received: " + eh.getClass().getSimpleName());
- return;
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxgetExceptionHandlerTest
-
- public void facesCtxGetExternalContextTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- try {
- ExternalContext ec = context.getExternalContext();
- if (!(ec instanceof ExternalContext)) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Call to "
- + "FacesContext.getExternalContext did not return"
- + "correct instance type." + JSFTestUtil.NL
- + "Expected: ExternalContext" + JSFTestUtil.NL + "Received: "
- + ec.getClass().getSimpleName());
- return;
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxgetExternalContextTest
-
- public void facesCtxisReleasedTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
-
- // Test before release.
- if (context.isReleased()) {
- out.println("Test FAILED");
- out.println("Unexpected value returned from FacesContext.isReleased() "
- + "before FacesContext.release() was callled." + JSFTestUtil.NL
- + "Expected: FALSE " + JSFTestUtil.NL + "Received: TRUE"
- + JSFTestUtil.NL);
- return;
- }
-
- // Test After release
- context.release();
- if (!context.isReleased()) {
- out.println("Test FAILED");
- out.println("Unexpected value returned from FacesContext.isReleased() "
- + "after FacesContext.release() was called. " + JSFTestUtil.NL
- + "Expected: TRUE " + JSFTestUtil.NL + "Received: FALSE"
- + JSFTestUtil.NL);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxisReleasedTest
-
- public void facesCtxGetRenderKitTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContext context = getFacesContext();
- UIViewRoot root = context.getViewRoot();
- String rkn = "TCKRenderKit";
-
- // Setup renderKit
- RenderKit renderKit = new TCKRenderKit();
- RenderKitFactory factory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- factory.addRenderKit(rkn, renderKit);
-
- root.setRenderKitId(rkn);
- RenderKit result = context.getRenderKit();
-
- if (rkn.equals(result.getClass().getSimpleName())) {
- out.println(JSFTestUtil.PASS);
-
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected RenderKit returned from FacesContext.getRenderKit()"
- + JSFTestUtil.NL + "Expected: " + rkn + JSFTestUtil.NL + "Received: "
- + result);
- }
- } // END facesCtxGetRenderKitTest
-
- // ------------------------------------------- Private Methods -----------
- private String validateIllegalStateException(Method methodToInvoke,
- Object target, Object[] params) {
- String result = null;
-
- try {
- methodToInvoke.invoke(target, params);
- result = JSFTestUtil.FAIL + " No Exception thrown when calling '"
- + methodToInvoke.getName() + "'"
- + " after FacesContext.release() was called.";
-
- } catch (Throwable throwable) {
- Throwable t = throwable;
- if (throwable instanceof InvocationTargetException) {
- t = ((InvocationTargetException) throwable).getTargetException();
- }
-
- if (!(t instanceof IllegalStateException)) {
- StringBuffer sb = new StringBuffer(100);
- sb.append(JSFTestUtil.FAIL + " Exception thrown when '")
- .append(methodToInvoke.getName());
- sb.append("' was called after FacesContext.release(), but it "
- + "wasn't an instance of");
- sb.append(" IllegalStateException.\nException received: ")
- .append(t.getClass().getName());
- result = sb.toString();
- }
- }
- return result;
- }
-
- private boolean isExcluded(String methodName, List excludeList) {
- boolean result = false;
-
- for (String excluded : excludeList) {
- if (excluded.equals(methodName) || methodName.charAt(0) == '$') {
- result = true;
- }
- }
-
- return result;
- }
-
- private FacesMessage[] getMessagesAsArray(Iterator iterator) {
- List list = new ArrayList();
- while (iterator.hasNext()) {
- list.add(iterator.next());
- }
- return (FacesMessage[]) list.toArray(new FacesMessage[list.size()]);
- }
-
- /*
- * Add test messages to the given FacesContext.
- */
- private void addTestMessagesToContext(FacesContext context, String compId) {
-
- UIComponent component = getApplication()
- .createComponent(UIInput.COMPONENT_TYPE);
- if (compId == null) {
- component.setId("nothing");
- } else {
- component.setId(compId);
- }
-
- FacesMessage message1 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message1 summary", "message1 detail", "message1");
- FacesMessage message2 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message2 summary", "message2 detail", "message2");
- FacesMessage message3 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message3 summary", "message3 detail", "message3");
- FacesMessage message4 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message4 summary", "message4 detail", "message4");
-
- context.setViewRoot(createViewRoot());
-
- context.addMessage(component.getClientId(context), message1);
- context.addMessage(component.getClientId(context), message3);
- context.addMessage(null, message2);
- context.addMessage(null, message4);
- }
-
- // ------------------------------------------- Inner Classes -----------
- // skeletal implementation of ResponseStream
- private static final class TCKResponseStream extends ResponseStream {
-
- @Override
- public void write(int b) throws IOException {
- }
- }
-
- // skeletal implementation of ResponseWriter
- private static final class TCKResponseWriter extends ResponseWriter {
-
- public void closeStartTag(UIComponent component) throws IOException {
- }
-
- @Override
- public String getContentType() {
- return null;
- }
-
- @Override
- public String getCharacterEncoding() {
- return null;
- }
-
- @Override
- public void write(char cbuf[], int off, int len) throws IOException {
- }
-
- @Override
- public void flush() throws IOException {
- }
-
- @Override
- public void close() throws IOException {
- }
-
- @Override
- public void startDocument() throws IOException {
- }
-
- @Override
- public void endDocument() throws IOException {
- }
-
- @Override
- public void startElement(String name, UIComponent component)
- throws IOException {
- }
-
- @Override
- public void endElement(String name) throws IOException {
- }
-
- @Override
- public void writeAttribute(String name, Object value, String property)
- throws IOException {
- }
-
- @Override
- public void writeURIAttribute(String name, Object value, String property)
- throws IOException {
- }
-
- @Override
- public void writeComment(Object comment) throws IOException {
- }
-
- @Override
- public void writeText(Object text, String property) throws IOException {
- }
-
- @Override
- public void writeText(char text[], int off, int len) throws IOException {
- }
-
- @Override
- public ResponseWriter cloneWithWriter(Writer writer) {
- return null;
- }
- }
-
- // simple implementation of FacesMessage
- private static final class TCKMessage extends FacesMessage {
-
- private FacesMessage.Severity messageSeverity;
-
- private String messageSummary;
-
- private String messageDetail;
-
- String name;
-
- TCKMessage(FacesMessage.Severity severity, String messageSummary,
- String messageDetail, String name) {
- this.messageSeverity = severity;
- this.messageSummary = messageSummary;
- this.messageDetail = messageDetail;
- this.name = name;
- }
-
- @Override
- public String getDetail() {
- return messageDetail;
- }
-
- @Override
- public FacesMessage.Severity getSeverity() {
- return messageSeverity;
- }
-
- @Override
- public String getSummary() {
- return messageSummary;
- }
-
- @Override
- public String toString() {
- return name;
- }
- }
-
- // simple implementation of ExceptionHandler
- private static final class TCKExceptionHandler
- extends ExceptionHandlerWrapper {
-
- @Override
- public ExceptionHandler getWrapped() {
- // TODO Auto-generated method stub
- return null;
- }
-
- } // End TCKExceptionHandler
-
- private static class TCKRenderKit extends RenderKitWrapper {
-
- @Override
- public RenderKit getWrapped() {
- return FacesContext.getCurrentInstance().getRenderKit();
- }
-
- } // End TCKRenderKit
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/URLClient.java
deleted file mode 100644
index 070cb2cc83..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/URLClient.java
+++ /dev/null
@@ -1,480 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.facescontext;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_ctx_facesctx_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: facesCtxAddGetMessagesTest
- * @assertion_ids: JSF:JAVADOC:1270; JSF:JAVADOC:1280; JSF:JAVADOC:1294;
- * JSF:JAVADOC:1273
- * @test_Strategy: Verify the behavior of addMessage(UIComponent,
- * FacesMessage), FacesContext.getMessage(), and
- * FacesContext.getMessages(UIComponent). Add four messages to
- * the FacesContext, two of them have a client ID and the
- * others have no client ID. - call getMessages(clientID) -
- * ensure the expected 2 messages are returned. - call
- * getMessages(null) - ensure the expected 2 messages are
- * returned. - call getMessages() - ensure the expected 4
- * messages are returned. This will additionally ensure that
- * the messages returned by the implementations Iterator
- * preserves the order in which the messages were added.
- */
- public void facesCtxAddGetMessagesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxAddGetMessagesTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxGetClientIdsWithMessagesEmptyTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1280; JSF:JAVADOC:1278
- * @test_Strategy: Ensure an empty Iterator is returned if there are no
- * messages queued. Additionally, if there are messages with
- * no particular client ID, the iterator will contain a null
- * value.
- */
- public void facesCtxGetClientIdsWithMessagesEmptyTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "facesCtxGetClientIdsWithMessagesEmptyTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxGetClientIdsWithMessagesTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1280; JSF:JAVADOC:1278;
- * JSF:JAVADOC:1296
- * @test_Strategy: Ensure getClientIdsWithMessages returns the expected values
- * based on messages added to the faces context that may or
- * may not have an ID.
- */
- public void facesCtxGetClientIdsWithMessagesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxGetClientIdsWithMessagesTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxGetMessagesEmptyTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1280; JSF:JAVADOC:1294
- * @test_Strategy: Ensure both getMessages(UIComponent) and getMessages()
- * returns an empty Iterator if no messages are queued within
- * the FacesContext.
- */
- public void facesCtxGetMessagesEmptyTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxGetMessagesEmptyTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxGetApplicationTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1274
- * @test_Strategy: Ensure the Application instance returned by
- * getApplication() is the same instance as that returned by
- * Application.getCurrentInstance().
- */
- public void facesCtxGetApplicationTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxGetApplicationTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxAddMessageNPETest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1272
- * @test_Strategy: Ensure a NullPointerException is thrown if the FacesContext
- * argument provided to addMessage(String, FacesContext) is
- * null.
- */
- public void facesCtxAddMessageNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxAddMessageNPETest");
- invoke();
- }
-
- /**
- * @testName: facesCtxIsProjectStageNPETest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1317
- * @test_Strategy: Ensure a NullPointerException is thrown if the
- * FacesContext.isPrejectStage(null) is called.
- *
- * @since 2.0
- */
- public void facesCtxIsProjectStageNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxIsProjectStageNPETest");
- invoke();
- }
-
- /**
- * @testName: facesCtxSetGetCurrentInstanceTest
- * @assertion_ids: JSF:JAVADOC:1280
- * @test_Strategy: Ensure the FacesContext instance can be set and returned by
- * calling {set,get}CurrentInstance.
- */
- public void facesCtxSetGetCurrentInstanceTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxSetGetCurrentInstanceTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxGetMaximumSeverityTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1288
- * @test_Strategy: Validate the severity hierarchy of Messages stored in the
- * FacesContext instance. First, if there are no messages
- * getMaximumSeverity() must return null. Then add a
- * SEVERITY_INFO message and ensure getMaximumSeverity()
- * returns the expected message. Add SEVERITY_WARN, and ensure
- * that the SEVERITY_WARN message is returned by
- * getMaximumSeverity(). Add SEVERITY_ERROR and ensure
- * getMaximumSeverity() returns the SEVERITY_ERROR message.
- * Finally, add a SEVERITY_FATAL message to the context and
- * ensure SEVERITY_FATAL message is returned by
- * getMaximumSeverity().
- */
- public void facesCtxGetMaximumSeverityTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxGetMaximumSeverityTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxResponseCompleteTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1324
- * @test_Strategy: Ensure getResponseComplete() returns false on a new
- * FacesContext instance. Call responseComplete() and ensure
- * getResponseComplete() returns true.
- */
- public void facesCtxResponseCompleteTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxResponseCompleteTest");
- invoke();
- }
-
- /**
- * @testName: facexCtxRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1322
- * @test_Strategy: Ensure getRenderResponse() returns false on a new
- * FacesContext instance. Call renderResponse() and ensure
- * getRenderResponse() returns true.
- */
- public void facexCtxRenderResponseTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facexCtxRenderResponseTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxSetGetResponseWriterTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1380; JSF:JAVADOC:1333
- * @test_Strategy: Ensure the Writer set by setResponseWriter() is returned by
- * getResponseWriter().
- */
- public void facesCtxSetGetResponseWriterTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxSetGetResponseWriterTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxSetGetResponseStreamTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1306; JSF:JAVADOC:1330
- * @test_Strategy: Ensure the Stream set by setResponseStream() is returned by
- * getResponseStream().
- */
- public void facesCtxSetGetResponseStreamTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxSetGetResponseStreamTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxSetResponseStreamNPETest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1331
- * @test_Strategy: Validate a NullPointerException is thrown when response
- * stream is null
- */
- public void facesCtxSetResponseStreamNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxSetResponseStreamNPETest");
- invoke();
- }
-
- /**
- * @testName: facesCtxSetResponseWriterNPETest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1335
- * @test_Strategy: Validate a NullPointerException is thrown when response
- * stream is null
- */
- public void facesCtxSetResponseWriterNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxSetResponseWriterNPETest");
- invoke();
- }
-
- /**
- * @testName: facesCtxSetGetViewRootTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1310; JSF:JAVADOC:1336
- * @test_Strategy: Ensure the UIViewRoot set by setViewRoot() is properly
- * returned by getViewRoot().
- */
- public void facesCtxSetGetViewRootTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxSetGetViewRootTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxSetViewRootNPETest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1338
- * @test_Strategy: Ensure an NPE is thrown if a null argument is passed to
- * FacesContext.setViewRoot();
- *
- * @since 1.2
- */
- public void facesCtxSetViewRootNPETest() throws Fault {
-
- TEST_PROPS.setProperty(APITEST, "facesCtxSetViewRootNPETest");
- invoke();
-
- } // END facesCtxSetViewRootNPETest
-
- /**
- * @testName: facesCtxSetGetCurrentPhaseIdTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1281; JSF:JAVADOC:1326
- * @test_Strategy: Validate that we can can set and retrieve the current
- * PhaseId.
- *
- * @since 2.0
- */
- public void facesCtxSetGetCurrentPhaseIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxSetGetCurrentPhaseIdTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxISEAfterReleaseTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1337; JSF:JAVADOC:1271;
- * JSF:JAVADOC:1275; JSF:JAVADOC:1279; JSF:JAVADOC:1282;
- * JSF:JAVADOC:1284; JSF:JAVADOC:1287; JSF:JAVADOC:1289;
- * JSF:JAVADOC:1291; JSF:JAVADOC:1293; JSF:JAVADOC:1295;
- * JSF:JAVADOC:1297; JSF:JAVADOC:1299; JSF:JAVADOC:1301;
- * JSF:JAVADOC:1303; JSF:JAVADOC:1305; JSF:JAVADOC:1307;
- * JSF:JAVADOC:1309; JSF:JAVADOC:1311; JSF:JAVADOC:1313;
- * JSF:JAVADOC:1316; JSF:JAVADOC:1319; JSF:JAVADOC:1321;
- * JSF:JAVADOC:1323; JSF:JAVADOC:1325; JSF:JAVADOC:1327;
- * JSF:JAVADOC:1332; JSF:JAVADOC:1334; JSF:JAVADOC:1337;
- * JSF:JAVADOC:1340; JSF:JAVADOC:1277; JSF:JAVADOC:2720
- * @test_Strategy: Ensure all methods, with the exception of the following
- * throw an IllegalStateException if called after
- * FacesContext.release() has been called.
- *
- * Excluding the following methods: release() isReleased()
- * setCurrentInstance() getCurrentInstance()
- * getCurrentPhaseId() setExceptionHandler()
- * getExceptionHandler() setProcessingEvents()
- * isProcessingEvents()
- */
- public void facesCtxISEAfterReleaseTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxISEAfterReleaseTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxGetELContextTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1283
- * @test_Strategy: Ensure we get a non-null return when calling this method.
- *
- * @since 1.2
- */
- public void facesCtxGetELContextTest() throws Fault {
-
- TEST_PROPS.setProperty(APITEST, "facesCtxGetELContextTest");
- invoke();
-
- } // END facesCtxGetELContextTest
-
- /**
- * @testName: facesCtxGetAttributesEmptyTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1276
- * @test_Strategy: Validate that a the Attribute map is empty after
- * FacesContext.release() is called.
- *
- * @since 2.0
- */
- public void facesCtxGetAttributesEmptyTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxGetAttributesEmptyTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1276
- * @test_Strategy: Validate that a returned mutable Map is returned.
- *
- * @since 2.0
- */
- public void facesCtxGetAttributesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxGetAttributesTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxGetPartialViewContextTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1298
- * @test_Strategy: Validate that a PartialViewContext is returned for this
- * request. This method must return a new PartialViewContext
- * if one does not already exist.
- *
- * @since 2.0
- */
- public void facesCtxGetPartialViewContextTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxGetPartialViewContextTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxSetGetExceptionHandlerTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1285; JSF:JAVADOC:1328
- * @test_Strategy: Validate that a ExceptionHandler is returned for this
- * request.
- * @since 2.0
- */
- public void facesCtxSetGetExceptionHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxSetGetExceptionHandlerTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxGetExternalContextTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1286
- * @test_Strategy: Validate that we get an instance of ExternalContext.
- * @since 2.0
- */
- public void facesCtxGetExternalContextTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxGetExternalContextTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxGetMessageListTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1290
- * @test_Strategy: Validate that we get the correct number of messages from
- * the context.
- * @since 2.0
- */
- public void facesCtxGetMessageListTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxGetMessageListTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxGetMessageListByIdTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1292
- * @test_Strategy: Validate that we get the correct number of messages from
- * the context when passing in with UIComponent ID.
- * @since 2.0
- */
- public void facesCtxGetMessageListByIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxGetMessageListByIdTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxisValidationFailedTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1318
- * @test_Strategy: Validate that: - if a call to isValidationFailed comes
- * before a call to validationFailed that 'false' is returned.
- * - if a call to isValidationFailed comes after a call to
- * validationFailed that 'true' is returned.
- *
- * @since 2.0
- */
- public void facesCtxisValidationFailedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxisValidationFailedTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxisPostbackTest
- * @assertion_ids: JSF:JAVADOC:1273; JSF:JAVADOC:1312
- * @test_Strategy: Validate that we get the correct number of messages from
- * the context.
- * @since 2.0
- */
- public void facesCtxisPostbackTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxisPostbackTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxisReleasedTest
- * @assertion_ids: JSF:JAVADOC:2589; JSF:JAVADOC:1320
- * @test_Strategy: Validate that if the resources associated with this
- * FacesContext instance have been released.
- *
- * @since 2.1
- */
- public void facesCtxisReleasedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxisReleasedTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxGetRenderKitTest
- * @assertion_ids: JSF:JAVADOC:2589; JSF:JAVADOC:1300
- * @test_Strategy: Validate that FacesContext.getRenderKit() returns the
- * current RenderKit that has been set for the current
- * UIViewRoot.
- *
- * @since 1.2
- */
- public void facesCtxGetRenderKitTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxGetRenderKitTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxIsGetProcessingEventTest
- * @assertion_ids: JSF:JAVADOC:1314; JSF:JAVADOC:1329
- * @test_Strategy: Validate that we can set the processing event flag and we
- * we get the correct value returned.
- *
- * @since 1.2
- */
- public void facesCtxIsGetProcessingEventTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxIsGetProcessingEventTest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/build.xml
deleted file mode 100644
index df11f4adea..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/build.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/jsf_ctx_facesctx_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/jsf_ctx_facesctx_web.war.sun-web.xml
deleted file mode 100644
index 67b96ccb4c..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/jsf_ctx_facesctx_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_ctx_facesctx_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/jsf_ctx_facesctx_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/jsf_ctx_facesctx_web.xml
deleted file mode 100644
index 4f16d38646..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontext/jsf_ctx_facesctx_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_ctx_facesctx
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.context.facescontext.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/TestServlet.java
deleted file mode 100644
index 3466fd0a79..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/TestServlet.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.facescontextfactory;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.context.FacesContextFactory;
-import jakarta.faces.lifecycle.Lifecycle;
-import jakarta.faces.lifecycle.LifecycleFactory;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletContext;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public final class TestServlet extends HttpTCKServlet {
-
- ServletContext servletContext;
-
- Lifecycle lifecycle;
-
- public void init(ServletConfig config) throws ServletException {
- servletContext = config.getServletContext();
- LifecycleFactory lifeFactory = (LifecycleFactory) FactoryFinder
- .getFactory(FactoryFinder.LIFECYCLE_FACTORY);
- lifecycle = lifeFactory.getLifecycle(LifecycleFactory.DEFAULT_LIFECYCLE);
- super.init(config);
- }
-
- // ------------------------------------------- Test Methods ----
-
- // FacesContextFactory.getFacesContext()
- public void facesCtxFactoryGetFacesContextTest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContextFactory contextFactory = (FacesContextFactory) FactoryFinder
- .getFactory(FactoryFinder.FACES_CONTEXT_FACTORY);
- FacesContext context = contextFactory.getFacesContext(servletContext,
- request, response, lifecycle);
-
- if (context == null) {
- out.println(
- JSFTestUtil.FAIL + " Unable to obtain a FacesContext instance from"
- + " the FacesContextFactory.");
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // End facesCtxFactoryGetFacesContextTest
-
- // FacesContextFactory.getFacesContext() throws NPE if any arguments are
- // null.
- public void facesCtxFactoryGetFacesContextNPETest(HttpServletRequest request,
- HttpServletResponse response) throws ServletException, IOException {
- PrintWriter out = response.getWriter();
-
- FacesContextFactory contextFactory = (FacesContextFactory) FactoryFinder
- .getFactory(FactoryFinder.FACES_CONTEXT_FACTORY);
-
- // null context
- JSFTestUtil.checkForNPE(contextFactory, "getFacesContext",
- new Class>[] { Object.class, Object.class, Object.class,
- Lifecycle.class },
- new Object[] { null, request, response, lifecycle }, out);
-
- // null request
- JSFTestUtil.checkForNPE(contextFactory, "getFacesContext",
- new Class>[] { Object.class, Object.class, Object.class,
- Lifecycle.class },
- new Object[] { servletContext, null, response, lifecycle }, out);
-
- // null response
- JSFTestUtil.checkForNPE(contextFactory, "getFacesContext",
- new Class>[] { Object.class, Object.class, Object.class,
- Lifecycle.class },
- new Object[] { servletContext, request, null, lifecycle }, out);
-
- // null lifecycle
- JSFTestUtil.checkForNPE(contextFactory, "getFacesContext",
- new Class>[] { Object.class, Object.class, Object.class,
- Lifecycle.class },
- new Object[] { servletContext, request, response, null }, out);
- }
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/URLClient.java
deleted file mode 100644
index af0497bf45..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/URLClient.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.facescontextfactory;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_ctx_facesctxfactory_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: facesCtxFactoryGetFacesContextTest
- * @assertion_ids: JSF:JAVADOC:1341; JSF:JAVADOC:1342
- * @test_Strategy: Ensure a FacesContext instance can be obtained from the
- * FacesContextFactory when providing the correct objects.
- */
- public void facesCtxFactoryGetFacesContextTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxFactoryGetFacesContextTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxFactoryGetFacesContextNPETest
- *
- * @assertion_ids: JSF:JAVADOC:1341; JSF:JAVADOC:1344
- *
- * @test_Strategy: Ensure NullPointerExceptions are thrown if any of the
- * arguments to FacesContextFactory are null.
- */
- public void facesCtxFactoryGetFacesContextNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxFactoryGetFacesContextNPETest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/build.xml
deleted file mode 100644
index b8cc8a2fad..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/build.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/jsf_ctx_facesctxfactory_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/jsf_ctx_facesctxfactory_web.war.sun-web.xml
deleted file mode 100644
index fe530e09df..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/jsf_ctx_facesctxfactory_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_ctx_facesctxfactory_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/jsf_ctx_facesctxfactory_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/jsf_ctx_facesctxfactory_web.xml
deleted file mode 100644
index 6ee0e9dbb3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextfactory/jsf_ctx_facesctxfactory_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_ctx_facesctxfactory
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.context.facescontextfactory.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/TestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/TestServlet.java
deleted file mode 100644
index 7039a31155..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/TestServlet.java
+++ /dev/null
@@ -1,1208 +0,0 @@
-/*
- * Copyright (c) 2013, 2018, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.facescontextwrapper;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.io.Writer;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.el.ELContext;
-import jakarta.faces.FacesException;
-import jakarta.faces.FactoryFinder;
-import jakarta.faces.application.Application;
-import jakarta.faces.application.FacesMessage;
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.component.UIOutput;
-import jakarta.faces.component.UIViewRoot;
-import jakarta.faces.context.ExceptionHandler;
-import jakarta.faces.context.ExternalContext;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.context.FacesContextWrapper;
-import jakarta.faces.context.PartialViewContext;
-import jakarta.faces.context.ResponseStream;
-import jakarta.faces.context.ResponseWriter;
-import jakarta.faces.event.AbortProcessingException;
-import jakarta.faces.event.ExceptionQueuedEvent;
-import jakarta.faces.event.PhaseId;
-import jakarta.faces.event.SystemEvent;
-import jakarta.faces.render.RenderKit;
-import jakarta.faces.render.RenderKitFactory;
-import jakarta.faces.render.RenderKitWrapper;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-public final class TestServlet extends HttpTCKServlet {
-
- public void init(ServletConfig config) throws ServletException {
- super.init(config);
- }
-
- // ------------------------------------------------ Test Methods -------
-
- // FacesContextWrapper.getClientIdsWithMessages()
- public void facesCtxWrapperGetClientIdsWithMessagesTest(
- HttpServletRequest request, HttpServletResponse response)
- throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
- context.setViewRoot(createViewRoot());
-
- UIComponent component1 = getApplication()
- .createComponent(UIInput.COMPONENT_TYPE);
- component1.setId("component1");
- UIComponent component2 = getApplication()
- .createComponent(UIOutput.COMPONENT_TYPE);
- component2.setId("component2");
- FacesMessage message1 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message1 summary", "message1 detail", "message1");
-
- context.addMessage(component1.getClientId(context), message1);
- context.addMessage(component2.getClientId(context), message1);
-
- String[] controlClientIds = { component1.getClientId(context),
- component2.getClientId(context) };
-
- String[] testClientIds = JSFTestUtil
- .getAsStringArray(context.getClientIdsWithMessages());
-
- if (controlClientIds.length != testClientIds.length) {
- out.println(
- JSFTestUtil.FAIL + " Unexpected number of client IDs returned by "
- + "FacesContext.getComponentIdsWithMessages().");
- out.println(
- "Exected the number of IDs returned to be 2. Actual number returned: "
- + testClientIds.length);
- return;
- }
-
- List list = Arrays.asList(testClientIds);
- for (int i = 0; i < controlClientIds.length; i++) {
- if (!list.contains(controlClientIds[i])) {
- out.println(JSFTestUtil.FAIL + " Unable to find '" + controlClientIds[i]
- + "' in the client IDs returned"
- + " by FacesContext.getClientIdsWithMessages().");
- for (int j = 0; j < testClientIds.length; j++) {
- out.println("Client ID received: " + testClientIds[j]);
- }
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // End facesCtxWrapperGetClientIdsWithMessagesTest
-
- public void facesCtxWrapperGetClientIdsWithMessagesEmptyTest(
- HttpServletRequest request, HttpServletResponse response)
- throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- Iterator i = context.getClientIdsWithMessages();
-
- if (i == null) {
- out.println(JSFTestUtil.FAIL
- + " FacesContext.getClientIdsWithMessages() returned null"
- + " when instead of an empty Iterator.");
- return;
- }
-
- if (i.hasNext()) {
- out.println(JSFTestUtil.FAIL
- + " FacesContext.getClientIdsWithMessages() returned a"
- + " non-empty Iterator even though no messages have been added.");
- return;
- }
-
- context.addMessage(null, new FacesMessage());
- context.addMessage(null, new FacesMessage());
- i = context.getClientIdsWithMessages();
-
- if (i == null) {
- out.println("Test FAILED[2]. FacesContext.getClientIds"
- + "WithMessages() returned null when instead of an empty "
- + "Iterator.");
- return;
- }
-
- if (i.hasNext()) {
- String clientId = i.next();
- if (!(clientId == null)) {
- out.println(
- JSFTestUtil.FAIL + " Non-null value returned from iterator.");
- return;
- }
-
- if (i.hasNext()) {
- out.println(JSFTestUtil.FAIL + " Iterator contained more than 1"
- + " value after when getClientIdWithMessages() was "
- + "called where a Message existed with no client id.");
- return;
- }
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // End facesCtxWrapperGetClientIdsWithMessagesEmptyTest
-
- // FacesContextWrapper.addMessage(UIComponent, FacesMessage)
- // FacesContextWrapper.getMessages()
- // FacesContextWrapper.getMessages(UIComponent)
- public void facesCtxWrapperAddGetMessagesTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
-
- UIComponent component = getApplication()
- .createComponent(UIInput.COMPONENT_TYPE);
- component.setId("input1");
- FacesMessage message1 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message1 summary", "message1 detail", "message1");
- FacesMessage message2 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message2 summary", "message2 detail", "message2");
- FacesMessage message3 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message3 summary", "message3 detail", "message3");
- FacesMessage message4 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message4 summary", "message4 detail", "message4");
-
- FacesContextWrapper context = new TCKFacesContext();
-
- context.setViewRoot(createViewRoot());
-
- context.addMessage(component.getClientId(context), message1);
- context.addMessage(component.getClientId(context), message3);
- context.addMessage(null, message2);
- context.addMessage(null, message4);
-
- FacesMessage[] controlMessagesComp = { message1, message3 };
- FacesMessage[] controlMessagesNoComp = { message1, message3, message2,
- message4 };
- FacesMessage[] controlMessagesNullComp = { message2, message4 };
-
- FacesMessage[] testMessagesComp = getMessagesAsArray(
- context.getMessages(component.getClientId(context)));
-
- // the next two should be equivalent
- FacesMessage[] testMessagesNullComp = getMessagesAsArray(
- context.getMessages(null));
- FacesMessage[] testMessages = getMessagesAsArray(context.getMessages());
-
- // check the messages associated with a component
- if (controlMessagesComp.length != testMessagesComp.length) {
- out.println(JSFTestUtil.FAIL + " An unexpected number of messages"
- + " returned when FacesContext. getMessages(UIComponent)"
- + " was called.");
- out.println("Expected 2 messages to be returned. Actual message "
- + "count: " + testMessagesComp.length);
- return;
- }
-
- List messages = Arrays.asList(testMessagesComp);
- for (int i = 0; i < controlMessagesComp.length; i++) {
- if (!messages.get(i).equals(controlMessagesComp[i])) {
- out.println(JSFTestUtil.FAIL + " Unable to find '"
- + controlMessagesComp[i] + "' in the return value of FacesContext."
- + "getMessages(UIComponent) when the appropriate"
- + " component was provided.");
- out.println(
- "Messages returned: " + JSFTestUtil.getAsString(testMessagesComp));
- return;
- }
- }
-
- // check the messages returned when a null value is provided
- // to FacesContextWrapper.getMessages(null)
- if (controlMessagesNullComp.length != testMessagesNullComp.length) {
- out.println(JSFTestUtil.FAIL + " An unexpected number of messages "
- + "returned when FacesContext. getMessages(null) was " + "called.");
- out.println("Expected 2 messages to be returned. Actual message "
- + "count: " + testMessagesNullComp.length);
- return;
- }
-
- messages = Arrays.asList(testMessagesNullComp);
- for (int i = 0; i < controlMessagesNullComp.length; i++) {
- if (!messages.get(i).equals(controlMessagesNullComp[i])) {
- out.println(
- JSFTestUtil.FAIL + " Unable to find '" + controlMessagesNullComp[i]
- + "' in the return value of FacesContext."
- + "getMessages(UIComponent) when null was passed to the"
- + " method.");
- out.println("Messages returned: "
- + JSFTestUtil.getAsString(testMessagesNullComp));
- return;
- }
- }
-
- // check the messages returned by FacesContext.getMessages()
- if (controlMessagesNoComp.length != testMessages.length) {
- out.println(JSFTestUtil.FAIL + " An unexpected number of messages "
- + "returned when FacesContext." + "getMessages() was called.");
- out.println("Expected 4 messages to be returned. Actual message"
- + " count: " + testMessages.length);
- return;
- }
-
- messages = Arrays.asList(testMessages);
- for (int i = 0; i < controlMessagesNoComp.length; i++) {
- if (!messages.get(i).equals(controlMessagesNoComp[i])) {
- out.println(
- JSFTestUtil.FAIL + " Unable to find '" + controlMessagesNoComp[i]
- + "' in the return value of FacesContext." + "getMessages()");
- out.println(
- "Messages returned: " + JSFTestUtil.getAsString(testMessages));
- return;
- }
- }
- out.println(JSFTestUtil.PASS);
-
- } // End facesCtxWrapperAddGetMessagesTest
-
- // FacesContextWrapper.getMessages(UIComponent)
- // FacesContextWrapper.getMessages()
- public void facesCtxWrapperGetMessagesEmptyTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
- context.setViewRoot(createViewRoot());
-
- Iterator i = context.getMessages();
- if (i != null) {
- if (i.hasNext()) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getMessages() "
- + "returned a non-empty Iterator when no FacesMessage "
- + "instances were added.");
- return;
- }
- } else {
- out.println(JSFTestUtil.FAIL + " FacesContext.getMessages() returned "
- + "null as opposed to an empty Iterator.");
- return;
- }
-
- i = context.getMessages(getApplication()
- .createComponent(UIInput.COMPONENT_TYPE).getClientId(context));
- if (i != null) {
- if (i.hasNext()) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getMessages("
- + "UIComponent) returned a non-empty Iterator when no "
- + "FacesMessage instances were added.");
- return;
- }
- } else {
- out.println(JSFTestUtil.FAIL + " FacesContext.getMessages(UIComponent)"
- + " returned null as opposed to an empty Iterator.");
- return;
- }
-
- i = context.getMessages(null);
- if (i != null) {
- if (i.hasNext()) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getMessages(null) "
- + "returned a non-empty Iterator when no FacesMessage"
- + " instances were added.");
- return;
- }
- } else {
- out.println(JSFTestUtil.FAIL + " FacesContext.getMessages(null) "
- + "returned null as opposed to an empty Iterator.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // End facesCtxWrapperGetMessagesEmptyTest
-
- public void facesCtxWrapperGetMessageListTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
- this.addTestMessagesToContext(context, null);
-
- try {
- List allMessages = context.getMessageList();
- if (allMessages.size() != 4) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Call to "
- + "FacesContext.getMessageList unexepected size! " + JSFTestUtil.NL
- + "Expected: 4" + JSFTestUtil.NL + "Received: "
- + allMessages.size());
- return;
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxWrappergetMessageListTest
-
- public void facesCtxWrapperGetMessageListByIdTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
- this.addTestMessagesToContext(context, "test_one");
-
- try {
- List allMessages = context.getMessageList("test_one");
- if (allMessages.size() != 2) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Call to "
- + "FacesContext.getMessageList unexepected size! " + JSFTestUtil.NL
- + "Expected: 2" + JSFTestUtil.NL + "Received: "
- + allMessages.size());
- return;
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxWrappergetMessageListByIdTest
-
- public void facesCtxWrapperIsValidationFailedTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
- Boolean isFailed;
-
- try {
- isFailed = context.isValidationFailed();
- if (isFailed) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Unexpected result from "
- + "FacesContext.isValadationFailed()" + JSFTestUtil.NL
- + "Expected: false" + JSFTestUtil.NL + "Received: " + isFailed);
- return;
- }
-
- context.validationFailed();
- isFailed = context.isValidationFailed();
- if (!isFailed) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Unexpected result from "
- + "FacesContext.isValadationFailed() after calling "
- + "FacesContext.validationFailed." + JSFTestUtil.NL
- + "Expected: true" + JSFTestUtil.NL + "Received: " + isFailed);
- return;
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxWrapperIsValidationFailedTest
-
- public void facesCtxWrapperIsReleasedTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- // Test before release.
- if (context.isReleased()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected value returned from FacesContextWrapper.isReleased() "
- + "before FacesContextWrapper.release() was callled." + JSFTestUtil.NL
- + "Expected: FALSE " + JSFTestUtil.NL + "Received: TRUE"
- + JSFTestUtil.NL);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxWrapperIsReleasedTest
-
- public void facesCtxWrapperIsPostbackTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- context.getApplication();
- Boolean isPB;
-
- try {
- isPB = context.isPostback();
- if (isPB) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Unexpected result from "
- + "FacesContext.isPostback() before calling "
- + "StateManger.writeState()." + JSFTestUtil.NL + "Expected: false"
- + JSFTestUtil.NL + "Received: " + isPB);
- return;
- }
-
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxWrapperIsPostbackTest
-
- // FacesContextWrapper.getApplication()
- public void facesCtxWrapperGetApplicationTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- Application controlApplication = getApplication();
- FacesContextWrapper context = new TCKFacesContext();
-
- Application testApplication = context.getApplication();
-
- if (controlApplication == null) {
- out.println(JSFTestUtil.FAIL + " Application.getCurrentInstance() "
- + "unexpectedly returned null.");
- return;
- }
-
- if (controlApplication != testApplication) {
- out.println(JSFTestUtil.FAIL + " The Application instance returned by "
- + "Application. getCurrentInstance() differs from the "
- + "Application returned by FacesContext.getApplication().");
- out.println("Application.getCurrentInstance(): " + controlApplication);
- out.println("FacesContext.getApplication():" + testApplication);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // End facesCtxWrapperGetApplicationTest
-
- // FacesContextWrapper.getMaximumSeverity()
- public void facesCtxWrapperGetMaximumSeverityTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- context.setViewRoot(new UIViewRoot());
- FacesMessage message1 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message1 summary", "message1 detail", "message1");
- FacesMessage message2 = new TCKMessage(FacesMessage.SEVERITY_WARN,
- "message2 summary", "message2 detail", "message2");
- FacesMessage message3 = new TCKMessage(FacesMessage.SEVERITY_ERROR,
- "message3 summary", "message3 detail", "message3");
- FacesMessage message4 = new TCKMessage(FacesMessage.SEVERITY_FATAL,
- "message4 summary", "message4 detail", "message4");
-
- /*
- * if no messages have been queued, then FacesContext.getMaximumSeverity
- * should return null
- */
- if (context.getMaximumSeverity() != null) {
- out.println(
- JSFTestUtil.FAIL + " FacesContext.getMaximumSeverity returned a"
- + "non null value when no messages have been added to the"
- + " FacesContext.");
- out.println(
- "Severity received: " + context.getMaximumSeverity().getOrdinal());
- return;
- }
-
- context.addMessage(null, message1);
- int severity = context.getMaximumSeverity().getOrdinal();
- if (severity != FacesMessage.SEVERITY_INFO.getOrdinal()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getMaximumSeverity() to return FacesMessage."
- + "SEVERITY_INFO when only a SEVERITY_INFO message exists"
- + " in the FacesContext.");
- out.println("Severity Recieved: " + severity);
- out.println("Integer value of FacesMessage.SEVERITY_INFO: "
- + FacesMessage.SEVERITY_INFO);
- return;
- }
-
- context.addMessage(null, message2);
- severity = context.getMaximumSeverity().getOrdinal();
- if (severity != FacesMessage.SEVERITY_WARN.getOrdinal()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getMaximumSeverity() to return FacesMessage."
- + "SEVERITY_WARN when both a SEVERITY_INFO and "
- + "SEVERITY_WARN message exist in the FacesContext.");
- out.println("Severity Recieved: " + severity);
- out.println("Integer value of FacesMessage.SEVERITY_WARN: "
- + FacesMessage.SEVERITY_WARN);
- return;
- }
-
- context.addMessage(null, message3);
- severity = context.getMaximumSeverity().getOrdinal();
- if (severity != FacesMessage.SEVERITY_ERROR.getOrdinal()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getMaximumSeverity() to return FacesMessage."
- + "SEVERITY_ERROR when messages with SEVERITY_INFO, "
- + "SEVERITY_WARN, and SEVERITY_ERROR exist in the"
- + " FacesContext.");
- out.println("Severity Recieved: " + severity);
- out.println("Integer value of FacesMessage.SEVERITY_ERROR: "
- + FacesMessage.SEVERITY_ERROR);
- return;
- }
-
- context.addMessage(null, message4);
- severity = context.getMaximumSeverity().getOrdinal();
- if (severity != FacesMessage.SEVERITY_FATAL.getOrdinal()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getMaximumSeverity() to return FacesMessage."
- + "SEVERITY_ERROR when messages with SEVERITY_INFO, "
- + "SEVERITY_WARN, SEVERITY_ERROR, SEVERITY_FATAL exist"
- + " in the FacesContext.");
- out.println("Severity Recieved: " + severity);
- out.println("Integer value of FacesMessage.SEVERITY_FATAL: "
- + FacesMessage.SEVERITY_FATAL);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // End facesCtxWrapperGetMaximumSeverityTest
-
- // FacesContextWrapper.getResponseComplete()
- // FacesContextWrapper.responseComplete()
- public void facesCtxWrapperGetResponseCompleteTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
- context.setViewRoot(new UIViewRoot());
-
- if (context.getResponseComplete()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getResponseComplete() to return false if FacesContext."
- + "responseComplete() hasn't been called.");
- return;
- }
-
- context.responseComplete();
-
- if (!context.getResponseComplete()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getResponseComplete() to return true if"
- + " FacesContext.responseComplete() has been called.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // End facesCtxWrapperGetResponseCompleteTest
-
- // FacesContextWrapper.getRenderResponse()
- // FacesContextWrapper.renderResponse()
- public void facesCtxWrapperRenderResponseTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
- context.setViewRoot(new UIViewRoot());
-
- if (context.getRenderResponse()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getRenderResponse() to return false if"
- + " FacesContext.renderResponse() hasn't been called.");
- return;
- }
-
- context.renderResponse();
-
- if (!context.getRenderResponse()) {
- out.println(JSFTestUtil.FAIL + " Expected FacesContext."
- + "getRenderResponse() to return true if"
- + " FacesContext.renderResponse() has been called.");
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // FacesContextWrapper.setResponseWriter()
- // FacesContextWrapper.getResponseWriter()
- public void facesCtxWrapperSetGetResponseWriterTest(
- HttpServletRequest request, HttpServletResponse response)
- throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
- context.setViewRoot(new UIViewRoot());
-
- ResponseWriter writer = new TCKResponseWriter();
-
- context.setResponseWriter(writer);
- ResponseWriter test = context.getResponseWriter();
-
- if (test == null) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getResponseWriter() "
- + "returned null after FacesContext.setResponseWriter("
- + "ResponseWriter) was called.");
- return;
- }
-
- if (test != writer) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getResponseWriter()"
- + " did not return the expected" + " ResponseWriter instance.");
- out.println("Expected: " + writer);
- out.println("Received: " + test);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
- }
-
- // FacesContextWrapper.[get, set]CurrentPhaseId()
- public void facesCtxWrapperSetGetCurrentPhaseIdTest(
- HttpServletRequest request, HttpServletResponse response)
- throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- context.setCurrentPhaseId(PhaseId.ANY_PHASE);
- PhaseId result = context.getCurrentPhaseId();
- if (PhaseId.ANY_PHASE.equals(result)) {
- out.println(JSFTestUtil.PASS);
-
- } else {
- out.println(
- JSFTestUtil.FAIL + " FacesContext.getCurrentPhaseId() did not "
- + "return the expected PhaseId.");
- out.println("Expected: " + PhaseId.ANY_PHASE);
- out.println("Received: " + result);
- }
-
- } // End facesCtxWrapperSetGetCurrentPhaseIdTest
-
- // FacesContextWrapper.[get, set]ResponseStream()
- public void facesCtxWrapperSetGetResponseStreamTest(
- HttpServletRequest request, HttpServletResponse response)
- throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
- context.setViewRoot(new UIViewRoot());
-
- ResponseStream stream = new TCKResponseStream();
-
- context.setResponseStream(stream);
- ResponseStream test = context.getResponseStream();
-
- if (test == null) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getResponseStream()"
- + " returned null after FacesContext.setResponseStream("
- + "ResponseStream) was called.");
- return;
- }
-
- if (test != stream) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getResponseStream() "
- + "did not return the expected ResponseStream instance.");
- out.println("Expected: " + stream);
- out.println("Received: " + test);
- return;
- }
-
- out.println(JSFTestUtil.PASS);
-
- }// End facesCtxWrapperSetGetResponseStreamTest
-
- // FacesContextWrapper.setViewRoot()
- public void facesCtxWrapperGetViewRootTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
- UIViewRoot root = (UIViewRoot) getApplication()
- .createComponent(UIViewRoot.COMPONENT_TYPE);
-
- String golden = "TCKViewRoot";
-
- root.setId(golden);
- context.setViewRoot(root);
-
- String result = context.getViewRoot().getId();
-
- if (!golden.equals(result)) {
- out.println(JSFTestUtil.FAIL + "Unexpected value returned from "
- + "FacesContextWrapper.getViewRoot()." + JSFTestUtil.NL + "Expected: "
- + golden + JSFTestUtil.NL + "Receieved: " + result);
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- }// End facesCtxWrapperGetViewRootTest
-
- public void facesCtxWrapperGetELContextTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- ELContext elContext = context.getELContext();
-
- if (elContext == null) {
- out.println(JSFTestUtil.FAIL + " FacesContext.getELContext() returned"
- + " null.");
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
-
- } // END facesCtxGetELContextTest
-
- public void facesCtxWrapperGetAttributesTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- if (!(context.getAttributes() instanceof Map)) {
- out.println("Test FAILED. Unexpected class type returned from"
- + "FacesContext.getAttributes() method." + JSFTestUtil.NL
- + "Expected: java.util.Map" + JSFTestUtil.NL + "Received: "
- + context.getAttributes().getClass().getName());
- return;
- } else {
- try {
- context.getAttributes().put("test_key", "test_value");
-
- } catch (UnsupportedOperationException usoe) {
- out.print("Test FAILED. Map Not Mutable!");
- out.print(usoe.toString());
- } catch (Exception e) {
- /*
- * Swallow any other exception since we only care if the Map is mutable.
- */
- }
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxWrappergetAttributesTest
-
- public void facesCtxWrapperGetAttributesEmptyTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- try {
- context.getAttributes().put("test_key", "test_value");
- // validate that the attribute was put in.
- HashMap, ?> hm = (HashMap, ?>) context.getAttributes();
- if (!hm.containsKey("test_key")) {
- out.println(
- "Test FAILED. Attribute not added to context" + "attribute Map!");
- return;
- } else {
- // map should be empty after this call.
- context.release();
- if (!hm.isEmpty()) {
- out.println("Test FAILED. Attributes still found in "
- + "context attribute Map, After 'context.release()"
- + "was called!");
- return;
- }
-
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxWrappergetAttributesEmptyTest
-
- public void facesCtxWrapperGetPartialViewContextTest(
- HttpServletRequest request, HttpServletResponse response)
- throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- try {
- PartialViewContext pvc = context.getPartialViewContext();
- if (!(pvc instanceof PartialViewContext)) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Call to "
- + "FacesContext.getPartialViewContext() should have "
- + "returned a PartialViewContext." + JSFTestUtil.NL
- + "Instead Received: " + pvc.getClass().getSimpleName());
- return;
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxWrappergetPartialViewContextTest
-
- public void facesCtxWrapperGetExceptionHandlerTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- try {
- ExceptionHandler eh = context.getExceptionHandler();
-
- if (!(eh instanceof ExceptionHandler)) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Call to "
- + "FacesContext.getExceptionHandler() should have "
- + "returned a ExceptionHandler." + JSFTestUtil.NL
- + "Instead Received: " + eh.getClass().getSimpleName());
- return;
- }
-
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxWrappergetExceptionHandlerTest
-
- public void facesCtxWrapperSetExceptionHandlerTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- try {
- context.setExceptionHandler(new TCKExceptionHandler());
- ExceptionHandler eh = context.getExceptionHandler();
-
- if (!("TCKExceptionHandler".equals(eh.getClass().getSimpleName()))) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Call to "
- + "FacesContext.setExceptionHandler() did not set " + "Handler!"
- + JSFTestUtil.NL + "Expected: TCKExceptionHandler" + JSFTestUtil.NL
- + "Received: " + eh.getClass().getSimpleName());
- return;
- }
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxWrapperSetExceptionHandlerTest
-
- public void facesCtxWrapperGetExternalContextTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- try {
- ExternalContext ec = context.getExternalContext();
-
- if (!(ec instanceof ExternalContext)) {
- out.print("Test FAILED." + JSFTestUtil.NL + "Call to "
- + "FacesContext.getExternalContext did not return"
- + "correct instance type." + JSFTestUtil.NL
- + "Expected: ExternalContext" + JSFTestUtil.NL + "Received: "
- + ec.getClass().getSimpleName());
- return;
- }
-
- } catch (Exception e) {
- out.print("Test FAILED." + JSFTestUtil.NL + e.toString());
- }
-
- out.println(JSFTestUtil.PASS);
-
- } // END facesCtxWrappergetExternalContextTest
-
- public void facesCtxWrapperGetRenderKitTest(HttpServletRequest request,
- HttpServletResponse response) throws IOException {
-
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
- UIViewRoot root = context.getViewRoot();
- String rkn = "TCKRenderKit";
-
- // Setup renderKit
- RenderKit renderKit = new TCKRenderKit();
- RenderKitFactory factory = (RenderKitFactory) FactoryFinder
- .getFactory(FactoryFinder.RENDER_KIT_FACTORY);
- factory.addRenderKit(rkn, renderKit);
-
- root.setRenderKitId(rkn);
- RenderKit result = context.getRenderKit();
-
- if (rkn.equals(result.getClass().getSimpleName())) {
- out.println(JSFTestUtil.PASS);
-
- } else {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected RenderKit returned from FacesContext.getRenderKit()"
- + JSFTestUtil.NL + "Expected: " + rkn + JSFTestUtil.NL + "Received: "
- + result);
- }
- } // END facesCtxWrapperGetRenderKitTest
-
- // FacesContextWrapper.[is, set]ProcessingEvents()
- public void facesCtxWrapperIsGetProcessingEventTest(
- HttpServletRequest request, HttpServletResponse response)
- throws IOException {
- PrintWriter out = response.getWriter();
- FacesContextWrapper context = new TCKFacesContext();
-
- context.setProcessingEvents(true);
- if (!context.isProcessingEvents()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected value returned from FacesContext.isProcessingEvents()"
- + JSFTestUtil.NL + "Expected: true" + JSFTestUtil.NL + "Received: "
- + context.isProcessingEvents());
-
- } else {
- context.setProcessingEvents(false);
- if (context.isProcessingEvents()) {
- out.println(JSFTestUtil.FAIL + JSFTestUtil.NL
- + "Unexpected value returned from FacesContext.isProcessingEvents()"
- + JSFTestUtil.NL + "Expected: false" + JSFTestUtil.NL + "Received: "
- + context.isProcessingEvents());
-
- } else {
- out.println(JSFTestUtil.PASS);
- }
- }
-
- } // End facesCtxWrapperIsGetProcessingEventTest
-
- // ------------------------------------------- Private Methods -----------
-
- private FacesMessage[] getMessagesAsArray(Iterator iterator) {
- List list = new ArrayList();
- while (iterator.hasNext()) {
- list.add(iterator.next());
- }
- return (FacesMessage[]) list.toArray(new FacesMessage[list.size()]);
- }
-
- /*
- * Add test messages to the given FacesContext.
- */
- private void addTestMessagesToContext(FacesContext context, String compId) {
-
- UIComponent component = getApplication()
- .createComponent(UIInput.COMPONENT_TYPE);
- if (compId == null) {
- component.setId("nothing");
- } else {
- component.setId(compId);
- }
-
- FacesMessage message1 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message1 summary", "message1 detail", "message1");
- FacesMessage message2 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message2 summary", "message2 detail", "message2");
- FacesMessage message3 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message3 summary", "message3 detail", "message3");
- FacesMessage message4 = new TCKMessage(FacesMessage.SEVERITY_INFO,
- "message4 summary", "message4 detail", "message4");
-
- context.setViewRoot(createViewRoot());
-
- context.addMessage(component.getClientId(context), message1);
- context.addMessage(component.getClientId(context), message3);
- context.addMessage(null, message2);
- context.addMessage(null, message4);
- }
-
- // ------------------------------------------- Inner Classes -----------
- // skeletal implementation of ResponseStream
- private static final class TCKResponseStream extends ResponseStream {
-
- @Override
- public void write(int b) throws IOException {
- }
- }
- // skeletal implementation of ResponseWriter
-
- private static final class TCKResponseWriter extends ResponseWriter {
-
- public void closeStartTag(UIComponent component) throws IOException {
- }
-
- @Override
- public String getContentType() {
- return null;
- }
-
- @Override
- public String getCharacterEncoding() {
- return null;
- }
-
- @Override
- public void write(char cbuf[], int off, int len) throws IOException {
- }
-
- @Override
- public void flush() throws IOException {
- }
-
- @Override
- public void close() throws IOException {
- }
-
- @Override
- public void startDocument() throws IOException {
- }
-
- @Override
- public void endDocument() throws IOException {
- }
-
- @Override
- public void startElement(String name, UIComponent component)
- throws IOException {
- }
-
- @Override
- public void endElement(String name) throws IOException {
- }
-
- @Override
- public void writeAttribute(String name, Object value, String property)
- throws IOException {
- }
-
- @Override
- public void writeURIAttribute(String name, Object value, String property)
- throws IOException {
- }
-
- @Override
- public void writeComment(Object comment) throws IOException {
- }
-
- @Override
- public void writeText(Object text, String property) throws IOException {
- }
-
- @Override
- public void writeText(char text[], int off, int len) throws IOException {
- }
-
- @Override
- public ResponseWriter cloneWithWriter(Writer writer) {
- return null;
- }
- }
-
- // simple implementation of FacesMessage
- private static final class TCKMessage extends FacesMessage {
-
- private FacesMessage.Severity messageSeverity;
-
- private String messageSummary;
-
- private String messageDetail;
-
- String name;
-
- TCKMessage(FacesMessage.Severity severity, String messageSummary,
- String messageDetail, String name) {
- this.messageSeverity = severity;
- this.messageSummary = messageSummary;
- this.messageDetail = messageDetail;
- this.name = name;
- }
-
- @Override
- public String getDetail() {
- return messageDetail;
- }
-
- @Override
- public FacesMessage.Severity getSeverity() {
- return messageSeverity;
- }
-
- @Override
- public String getSummary() {
- return messageSummary;
- }
-
- @Override
- public String toString() {
- return name;
- }
- }
-
- // simple implementation of ExceptionHandler
- private static final class TCKExceptionHandler extends ExceptionHandler {
-
- @Override
- public void handle() throws FacesException {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public ExceptionQueuedEvent getHandledExceptionQueuedEvent() {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public Iterable getUnhandledExceptionQueuedEvents() {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public Iterable getHandledExceptionQueuedEvents() {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public void processEvent(SystemEvent arg0) throws AbortProcessingException {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public boolean isListenerForSource(Object arg0) {
- throw new UnsupportedOperationException("Not supported yet.");
- }
-
- @Override
- public Throwable getRootCause(Throwable arg0) {
- throw new UnsupportedOperationException("Not supported yet.");
- }
- }
-
- // Simple FacesContextWrapper implementation
- private static final class TCKFacesContext extends FacesContextWrapper {
-
- @Override
- public FacesContext getWrapped() {
- return FacesContext.getCurrentInstance();
- }
-
- } // EndTCKExceptionHandler
-
- private static class TCKRenderKit extends RenderKitWrapper {
-
- @Override
- public RenderKit getWrapped() {
- return FacesContext.getCurrentInstance().getRenderKit();
- }
-
- } // End TCKRenderKit
-
-}
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/URLClient.java
deleted file mode 100644
index f24ccdcf10..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/URLClient.java
+++ /dev/null
@@ -1,398 +0,0 @@
-/*
- * Copyright (c) 2013, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-package com.sun.ts.tests.jsf.api.jakarta_faces.context.facescontextwrapper;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_ctx_facesctxwrap_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: facesCtxWrapperAddGetMessagesTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1346; JSF:JAVADOC:1358;
- * JSF:JAVADOC:1358
- * @test_Strategy: Verify the default behavior of the following is to call
- * through to FacesContext...
- * FacesContextWrapper.addMessage(UIComponent, FacesMessage),
- * FacesContextWrapper.getMessage(),
- * FacesContextWrapper.getMessages(UIComponent).
- *
- * Add four messages to the FacesContext, two of them have a
- * client ID and the others have no client ID. - call
- * getMessages(clientID) - ensure the expected 2 messages are
- * returned. - call getMessages(null) - ensure the expected 2
- * messages are returned. - call getMessages() - ensure the
- * expected 4 messages are returned.
- *
- * This will additionally ensure that the messages returned by
- * the implementations Iterator preserves the order in which
- * the messages were added.
- */
- public void facesCtxWrapperAddGetMessagesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperAddGetMessagesTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetClientIdsWithMessagesEmptyTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1350
- * @test_Strategy: Ensure an empty Iterator is returned if there are no
- * messages queued. Additionally, if there are messages with
- * no particular client ID, the iterator will contain a null
- * value.
- */
- public void facesCtxWrapperGetClientIdsWithMessagesEmptyTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "facesCtxWrapperGetClientIdsWithMessagesEmptyTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetClientIdsWithMessagesTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1350
- * @test_Strategy: Ensure getClientIdsWithMessages returns the expected values
- * based on messages added to the faces context that may or
- * may not have an ID.
- */
- public void facesCtxWrapperGetClientIdsWithMessagesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST,
- "facesCtxWrapperGetClientIdsWithMessagesTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetMessagesEmptyTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1358; JSF:JAVADOC:1359
- * @test_Strategy: Ensure both getMessages(UIComponent) and getMessages()
- * returns an empty Iterator if no messages are queued within
- * the FacesContext.
- */
- public void facesCtxWrapperGetMessagesEmptyTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetMessagesEmptyTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetApplicationTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1348
- * @test_Strategy: Ensure the Application instance returned by
- * FacesContestWrapper.getApplication() is the same instance
- * as that returned by Application.getCurrentInstance().
- */
- public void facesCtxWrapperGetApplicationTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetApplicationTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperSetExceptionHandlerTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1376
- * @test_Strategy: Ensure the Application instance returned by
- * FacesContestWrapper.getApplication() is the same instance
- * as that returned by Application.getCurrentInstance().
- */
- public void facesCtxWrapperSetExceptionHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperSetExceptionHandlerTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetMaximumSeverityTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1355
- * @test_Strategy: Validate the severity hierarchy of Messages stored in the
- * FacesContext instance. First, if there are no messages
- * getMaximumSeverity() must return null. Then add a
- * SEVERITY_INFO message and ensure getMaximumSeverity()
- * returns the expected message. Add SEVERITY_WARN, and ensure
- * that the SEVERITY_WARN message is returned by
- * getMaximumSeverity(). Add SEVERITY_ERROR and ensure
- * getMaximumSeverity() returns the SEVERITY_ERROR message.
- * Finally, add a SEVERITY_FATAL message to the context and
- * ensure SEVERITY_FATAL message is returned by
- * getMaximumSeverity().
- *
- */
- public void facesCtxWrapperGetMaximumSeverityTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetMaximumSeverityTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetResponseCompleteTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1363; JSF:JAVADOC:1373
- * @test_Strategy: Ensure getResponseComplete() returns false on a new
- * FacesContext instance. Call responseComplete() and ensure
- * getResponseComplete() returns true.
- */
- public void facesCtxWrapperGetResponseCompleteTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetResponseCompleteTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperRenderResponseTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1373; JSF:JAVADOC:1362
- * @test_Strategy: Ensure getRenderResponse() returns false on a new
- * FacesContext instance. Call renderResponse() and ensure
- * getRenderResponse() returns true.
- */
- public void facesCtxWrapperRenderResponseTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperRenderResponseTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperSetGetResponseWriterTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1365; JSF:JAVADOC:1379
- * @test_Strategy: Ensure the Writer set by setResponseWriter() is returned by
- * getResponseWriter().
- */
- public void facesCtxWrapperSetGetResponseWriterTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperSetGetResponseWriterTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperSetGetCurrentPhaseIdTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1351; JSF:JAVADOC:1375
- * @test_Strategy: Validate that we can can set and retrieve the current
- * PhaseId.
- *
- * @since 2.0
- */
- public void facesCtxWrapperSetGetCurrentPhaseIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperSetGetCurrentPhaseIdTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperSetGetResponseStreamTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1364; JSF:JAVADOC:1378
- * @test_Strategy: Ensure the Stream set by setResponseStream() is returned by
- * getResponseStream().
- */
- public void facesCtxWrapperSetGetResponseStreamTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperSetGetResponseStreamTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetViewRootTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1366
- * @test_Strategy: Ensure the UIViewRoot set by setViewRoot() is properly
- * returned by getViewRoot().
- */
- public void facesCtxWrapperGetViewRootTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetViewRootTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetELContextTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1352
- * @test_Strategy: Ensure we get a non-null return when calling this method.
- *
- * @since 1.2
- */
- public void facesCtxWrapperGetELContextTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetELContextTest");
- invoke();
- } // END facesCtxWrapperGetELContextTest
-
- /**
- * @testName: facesCtxWrapperGetAttributesEmptyTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1349
- * @test_Strategy: Validate that a the Attribute map is empty after
- * FacesContextWrapper.release() is called.
- *
- * @since 2.0
- */
- public void facesCtxWrapperGetAttributesEmptyTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetAttributesEmptyTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetAttributesTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1349
- * @test_Strategy: Validate that a returned mutable Map is returned.
- *
- * @since 2.0
- */
- public void facesCtxWrapperGetAttributesTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetAttributesTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetPartialViewContextTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1360
- * @test_Strategy: Validate that a PartialViewContext is returned for this
- * request. This method must return a new PartialViewContext
- * if one does not already exist.
- *
- * @since 2.0
- */
- public void facesCtxWrapperGetPartialViewContextTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetPartialViewContextTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetExceptionHandlerTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1353
- * @test_Strategy: Validate that a ExceptionHandler is returned for this
- * request.
- *
- * @since 2.0
- */
- public void facesCtxWrapperGetExceptionHandlerTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetExceptionHandlerTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetExternalContextTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1354
- * @test_Strategy: Validate that we get an instance of ExternalContext.
- *
- * @since 2.0
- */
- public void facesCtxWrapperGetExternalContextTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetExternalContextTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetMessageListTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1356; JSF:JAVADOC:1357
- * @test_Strategy: Validate that we get the correct number of messages from
- * the context.
- *
- * @since 2.0
- */
- public void facesCtxWrapperGetMessageListTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetMessageListTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetMessageListByIdTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1359
- * @test_Strategy: Validate that we get the correct number of messages from
- * the context when passing in with UIComponent ID.
- * @since 2.0
- */
- public void facesCtxWrapperGetMessageListByIdTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetMessageListByIdTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperIsValidationFailedTest
- * @assertion_ids: JSF:JAVADOC:1374; JSF:JAVADOC:1371
- * @test_Strategy: Validate that: - if a call to isValidationFailed comes
- * before a call to validationFailed that 'false' is returned.
- * - if a call to isValidationFailed comes after a call to
- * validationFailed that 'true' is returned.
- *
- * @since 2.0
- */
- public void facesCtxWrapperIsValidationFailedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperIsValidationFailedTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperIsPostbackTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1368
- * @test_Strategy: Validate that we get the correct number of messages from
- * the context.
- * @since 2.0
- */
- public void facesCtxWrapperIsPostbackTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperIsPostbackTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperIsReleasedTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1372; JSF:JAVADOC:2590
- * @test_Strategy: Validate that if the resources associated with this
- * FacesContext instance have been released.
- *
- * @since 2.1
- */
- public void facesCtxWrapperIsReleasedTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperIsReleasedTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperGetRenderKitTest
- * @assertion_ids: JSF:JAVADOC:1347; JSF:JAVADOC:1361
- * @test_Strategy: Validate that FacesContextWrapper.getRenderKit() returns
- * the current RenderKit that has been set for the current
- * UIViewRoot.
- *
- * @since 1.2
- */
- public void facesCtxWrapperGetRenderKitTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperGetRenderKitTest");
- invoke();
- }
-
- /**
- * @testName: facesCtxWrapperIsGetProcessingEventTest
- * @assertion_ids: JSF:JAVADOC:1369; JSF:JAVADOC:1377
- * @test_Strategy: Validate that we can set the processing event flag and we
- * we get the correct value returned.
- *
- * @since 1.2
- */
- public void facesCtxWrapperIsGetProcessingEventTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "facesCtxWrapperIsGetProcessingEventTest");
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/build.xml
deleted file mode 100644
index 7a7b4bd7c9..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/build.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/jsf_ctx_facesctxwrap_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/jsf_ctx_facesctxwrap_web.war.sun-web.xml
deleted file mode 100644
index 5f620e4dd5..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/jsf_ctx_facesctxwrap_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_ctx_facesctxwrap_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/jsf_ctx_facesctxwrap_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/jsf_ctx_facesctxwrap_web.xml
deleted file mode 100644
index 600c025b9d..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/context/facescontextwrapper/jsf_ctx_facesctxwrap_web.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
-
-
- jsf_ctx_facesctxwrap
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.context.facescontextwrapper.TestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigdecimalconverter/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigdecimalconverter/URLClient.java
deleted file mode 100644
index 1e2b00cc9f..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigdecimalconverter/URLClient.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.convert.bigdecimalconverter;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_convert_bigdecimal_web";
-
- private static final String TYPE = "bigdecimal";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: bigDecimalConverterGetAsObjectTest
- * @assertion_ids: JSF:JAVADOC:1574; JSF:JAVADOC:1539; JSF:JAVADOC:1540
- * @test_Strategy: Ensure the proper result is returned when passing in a
- * valid value, null, or a zero-length String.
- */
- public void bigDecimalConverterGetAsObjectTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsObjectTest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: bigDecimalConverterGetAsObjectNPETest
- * @assertion_ids: JSF:JAVADOC:1577; JSF:JAVADOC:1539; JSF:JAVADOC:1542
- * @test_Strategy: Ensure an NPE is thrown if either the context or component
- * parameters are null.
- */
- public void bigDecimalConverterGetAsObjectNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsObjectNPETest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: bigDecimalConverterGetAsStringTest
- * @assertion_ids: JSF:JAVADOC:1579; JSF:JAVADOC:1539; JSF:JAVADOC:1543
- * @test_Strategy: Ensure the proper result is returned when passing in a
- * valid value, null, or a zero-length String.
- */
- public void bigDecimalConverterGetAsStringTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsStringTest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: bigDecimalConverterGetAsStringNPETest
- * @assertion_ids: JSF:JAVADOC:1539; JSF:JAVADOC:1545
- * @test_Strategy: Ensure an NPE is thrown if either the context or component
- * parameters are null.
- */
- public void bigDecimalConverterGetAsStringNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsStringNPETest&type=" + TYPE);
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigdecimalconverter/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigdecimalconverter/build.xml
deleted file mode 100644
index 390a80d864..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigdecimalconverter/build.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigdecimalconverter/jsf_convert_bigdecimal_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigdecimalconverter/jsf_convert_bigdecimal_web.war.sun-web.xml
deleted file mode 100644
index 7a8db1ddb7..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigdecimalconverter/jsf_convert_bigdecimal_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_convert_bigdecimal_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigdecimalconverter/jsf_convert_bigdecimal_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigdecimalconverter/jsf_convert_bigdecimal_web.xml
deleted file mode 100644
index 5961ac0832..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigdecimalconverter/jsf_convert_bigdecimal_web.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jsf_convert_bigdecimal
-
- tckattribute
- tckValue
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.convert.common.BaseConverterTestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigintegerconverter/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigintegerconverter/URLClient.java
deleted file mode 100644
index c7f4c50192..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigintegerconverter/URLClient.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.convert.bigintegerconverter;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String CONTEXT_ROOT = "/jsf_convert_biginteger_web";
-
- private static final String TYPE = "biginteger";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: bigIntegerConverterGetAsObjectTest
- * @assertion_ids: JSF:JAVADOC:1546; JSF:JAVADOC:1547
- * @test_Strategy: Ensure the proper result is returned when passing in a
- * valid value, null, or a zero-length String.
- */
- public void bigIntegerConverterGetAsObjectTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsObjectTest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: bigIntegerConverterGetAsObjectNPETest
- * @assertion_ids: JSF:JAVADOC:1546; JSF:JAVADOC:1549
- * @test_Strategy: Ensure an NPE is thrown if either the context or component
- * parameters are null.
- */
- public void bigIntegerConverterGetAsObjectNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsObjectNPETest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: bigIntegerConverterGetAsStringTest
- * @assertion_ids: JSF:JAVADOC:1546; JSF:JAVADOC:1550
- * @test_Strategy: Ensure the proper result is returned when passing in a
- * valid value, null, or a zero-length String.
- */
- public void bigIntegerConverterGetAsStringTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsStringTest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: bigIntegerConverterGetAsStringNPETest
- * @assertion_ids: JSF:JAVADOC:1546; JSF:JAVADOC:1552
- * @test_Strategy: Ensure an NPE is thrown if either the context or component
- * parameters are null.
- */
- public void bigIntegerConverterGetAsStringNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsStringNPETest&type=" + TYPE);
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigintegerconverter/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigintegerconverter/build.xml
deleted file mode 100644
index e592abb156..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigintegerconverter/build.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigintegerconverter/jsf_convert_biginteger_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigintegerconverter/jsf_convert_biginteger_web.war.sun-web.xml
deleted file mode 100644
index 2062da7756..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigintegerconverter/jsf_convert_biginteger_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_convert_biginteger_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigintegerconverter/jsf_convert_biginteger_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigintegerconverter/jsf_convert_biginteger_web.xml
deleted file mode 100644
index a760e41a85..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/bigintegerconverter/jsf_convert_biginteger_web.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jsf_convert_biginteger
-
- tckattribute
- tckValue
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.convert.common.BaseConverterTestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/booleanconverter/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/booleanconverter/URLClient.java
deleted file mode 100644
index 56663414e4..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/booleanconverter/URLClient.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.convert.booleanconverter;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String TYPE = "boolean";
-
- private static final String CONTEXT_ROOT = "/jsf_convert_boolean_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /**
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /** Test Declarations */
-
- /**
- * @testName: booleanConverterGetAsObjectTest
- * @assertion_ids: JSF:JAVADOC:1553; JSF:JAVADOC:1554; JSF:JAVADOC:1574
- * @test_Strategy: Ensure the proper result is returned when passing in a
- * valid value, null, or a zero-length String.
- */
- public void booleanConverterGetAsObjectTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsObjectTest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: booleanConverterGetAsObjectNPETest
- * @assertion_ids: JSF:JAVADOC:1553; JSF:JAVADOC:1556; JSF:JAVADOC:1576
- * @test_Strategy: Ensure an NPE is thrown if either the context or component
- * parameters are null.
- */
- public void booleanConverterGetAsObjectNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsObjectNPETest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: booleanConverterGetAsStringTest
- * @assertion_ids: JSF:JAVADOC:1553; JSF:JAVADOC:1557; JSF:JAVADOC:1577
- * @test_Strategy: Ensure the proper result is returned when passing in a
- * valid value, null, or a zero-length String.
- */
- public void booleanConverterGetAsStringTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsStringTest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: booleanConverterGetAsStringNPETest
- * @assertion_ids: JSF:JAVADOC:1553; JSF:JAVADOC:1559; JSF:JAVADOC:1579
- * @test_Strategy: Ensure an NPE is thrown if either the context or component
- * parameters are null.
- */
- public void booleanConverterGetAsStringNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsStringNPETest&type=" + TYPE);
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/booleanconverter/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/booleanconverter/build.xml
deleted file mode 100644
index 38f646d200..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/booleanconverter/build.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/booleanconverter/jsf_convert_boolean_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/booleanconverter/jsf_convert_boolean_web.war.sun-web.xml
deleted file mode 100644
index e9f63d5853..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/booleanconverter/jsf_convert_boolean_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_convert_boolean_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/booleanconverter/jsf_convert_boolean_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/booleanconverter/jsf_convert_boolean_web.xml
deleted file mode 100644
index 1150b19b61..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/booleanconverter/jsf_convert_boolean_web.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jsf_convert_boolean
-
- tckattribute
- tckValue
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.convert.common.BaseConverterTestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/build.xml
deleted file mode 100644
index a0be0d20a3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/build.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/byteconverter/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/byteconverter/URLClient.java
deleted file mode 100644
index 9dcdd29ec4..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/byteconverter/URLClient.java
+++ /dev/null
@@ -1,105 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.convert.byteconverter;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String TYPE = "byte";
-
- private static final String CONTEXT_ROOT = "/jsf_convert_byte_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /*
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /* Test Declarations */
-
- /**
- * @testName: byteConverterGetAsObjectTest
- *
- * @assertion_ids: JSF:JAVADOC:1560; JSF:JAVADOC:1561; JSF:JAVADOC:1574
- *
- * @test_Strategy: Ensure the proper result is returned when passing in a
- * valid value, null, or a zero-length String.
- */
- public void byteConverterGetAsObjectTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsObjectTest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: byteConverterGetAsObjectNPETest
- *
- * @assertion_ids: JSF:JAVADOC:1560; JSF:JAVADOC:1563; JSF:JAVADOC:1576
- *
- * @test_Strategy: Ensure an NPE is thrown if either the context or component
- * parameters are null.
- */
- public void byteConverterGetAsObjectNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsObjectNPETest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: byteConverterGetAsStringTest
- *
- * @assertion_ids: JSF:JAVADOC:1560; JSF:JAVADOC:1564; JSF:JAVADOC:1577
- *
- * @test_Strategy: Ensure the proper result is returned when passing in a
- * valid value, null, or a zero-length String.
- */
- public void byteConverterGetAsStringTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsStringTest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: byteConverterGetAsStringNPETest
- *
- * @assertion_ids: JSF:JAVADOC:1560; JSF:JAVADOC:1566; JSF:JAVADOC:1579
- *
- * @test_Strategy: Ensure an NPE is thrown if either the context or component
- * parameters are null.
- */
- public void byteConverterGetAsStringNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsStringNPETest&type=" + TYPE);
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/byteconverter/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/byteconverter/build.xml
deleted file mode 100644
index c0d80413d5..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/byteconverter/build.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/byteconverter/jsf_convert_byte_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/byteconverter/jsf_convert_byte_web.war.sun-web.xml
deleted file mode 100644
index abce13848b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/byteconverter/jsf_convert_byte_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_convert_byte_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/byteconverter/jsf_convert_byte_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/byteconverter/jsf_convert_byte_web.xml
deleted file mode 100644
index 02001b2a4b..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/byteconverter/jsf_convert_byte_web.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jsf_convert_byte
-
- tckattribute
- tckValue
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.convert.common.BaseConverterTestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/characterconverter/URLClient.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/characterconverter/URLClient.java
deleted file mode 100644
index c8eb296695..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/characterconverter/URLClient.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
- * $Id$
- */
-
-package com.sun.ts.tests.jsf.api.jakarta_faces.convert.characterconverter;
-
-import java.io.PrintWriter;
-
-import com.sun.javatest.Status;
-import com.sun.ts.tests.jsf.common.client.AbstractUrlClient;
-
-public final class URLClient extends AbstractUrlClient {
-
- private static final String TYPE = "character";
-
- private static final String CONTEXT_ROOT = "/jsf_convert_character_web";
-
- public static void main(String[] args) {
- URLClient theTests = new URLClient();
- Status s = theTests.run(args, new PrintWriter(System.out),
- new PrintWriter(System.err));
- s.exit();
- }
-
- public Status run(String args[], PrintWriter out, PrintWriter err) {
- setContextRoot(CONTEXT_ROOT);
- setServletName(DEFAULT_SERVLET_NAME);
- return super.run(args, out, err);
- }
-
- /**
- * @class.setup_props: webServerHost; webServerPort; ts_home;
- */
-
- /** Test Declarations */
-
- /**
- * @testName: characterConverterGetAsObjectTest
- * @assertion_ids: JSF:JAVADOC:1567; JSF:JAVADOC:1568; JSF:JAVADOC:1574
- * @test_Strategy: Ensure the proper result is returned when passing in a
- * valid value, null, or a zero-length String.
- */
- public void characterConverterGetAsObjectTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsObjectTest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: characterConverterGetAsObjectNPETest
- * @assertion_ids: JSF:JAVADOC:1567; JSF:JAVADOC:1570; JSF:JAVADOC:1576
- * @test_Strategy: Ensure an NPE is thrown if either the context or component
- * parameters are null.
- */
- public void characterConverterGetAsObjectNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsObjectNPETest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: characterConverterGetAsStringTest
- * @assertion_ids: JSF:JAVADOC:1567; JSF:JAVADOC:1571; JSF:JAVADOC:1577
- * @test_Strategy: Ensure the proper result is returned when passing in a
- * valid value, null, or a zero-length String.
- */
- public void characterConverterGetAsStringTest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsStringTest&type=" + TYPE);
- invoke();
- }
-
- /**
- * @testName: characterConverterGetAsStringNPETest
- * @assertion_ids: JSF:JAVADOC:1567; JSF:JAVADOC:1573; JSF:JAVADOC:1579
- * @test_Strategy: Ensure an NPE is thrown if either the context or component
- * parameters are null.
- */
- public void characterConverterGetAsStringNPETest() throws Fault {
- TEST_PROPS.setProperty(APITEST, "converterGetAsStringNPETest&type=" + TYPE);
- invoke();
- }
-
-} // end of URLClient
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/characterconverter/build.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/characterconverter/build.xml
deleted file mode 100644
index 35de5dff33..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/characterconverter/build.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/characterconverter/jsf_convert_character_web.war.sun-web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/characterconverter/jsf_convert_character_web.war.sun-web.xml
deleted file mode 100644
index dbbf7e8a83..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/characterconverter/jsf_convert_character_web.war.sun-web.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
- jsf_convert_character_web
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/characterconverter/jsf_convert_character_web.xml b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/characterconverter/jsf_convert_character_web.xml
deleted file mode 100644
index 2164561ca5..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/characterconverter/jsf_convert_character_web.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
-
-
- jsf_convert_character
-
- tckattribute
- tckValue
-
-
- TestServlet
- com.sun.ts.tests.jsf.api.jakarta_faces.convert.common.BaseConverterTestServlet
-
-
- Faces Servlet
- jakarta.faces.webapp.FacesServlet
-
-
- Faces Servlet
- /faces/*
-
-
- TestServlet
- /TestServlet/*
-
-
- 54
-
-
-
diff --git a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/common/BaseConverterTestServlet.java b/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/common/BaseConverterTestServlet.java
deleted file mode 100644
index 4ea3df8fa3..0000000000
--- a/src/com/sun/ts/tests/jsf/api/jakarta_faces/convert/common/BaseConverterTestServlet.java
+++ /dev/null
@@ -1,295 +0,0 @@
-/*
- * Copyright (c) 2009, 2020 Oracle and/or its affiliates. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v. 2.0, which is available at
- * http://www.eclipse.org/legal/epl-2.0.
- *
- * This Source Code may also be made available under the following Secondary
- * Licenses when the conditions for such availability set forth in the
- * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
- * version 2 with the GNU Classpath Exception, which is available at
- * https://www.gnu.org/software/classpath/license.html.
- *
- * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
- */
-
-/*
-* $Id$
-*/
-package com.sun.ts.tests.jsf.api.jakarta_faces.convert.common;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.time.LocalDate;
-import java.time.LocalDateTime;
-import java.time.LocalTime;
-import java.time.OffsetDateTime;
-import java.time.OffsetTime;
-import java.time.ZonedDateTime;
-import java.util.HashMap;
-import java.util.Map;
-
-import com.sun.ts.tests.jsf.common.servlets.HttpTCKServlet;
-import com.sun.ts.tests.jsf.common.util.JSFTestUtil;
-
-import jakarta.faces.component.UIComponent;
-import jakarta.faces.component.UIInput;
-import jakarta.faces.context.FacesContext;
-import jakarta.faces.convert.BigDecimalConverter;
-import jakarta.faces.convert.BigIntegerConverter;
-import jakarta.faces.convert.BooleanConverter;
-import jakarta.faces.convert.ByteConverter;
-import jakarta.faces.convert.CharacterConverter;
-import jakarta.faces.convert.Converter;
-import jakarta.faces.convert.DateTimeConverter;
-import jakarta.faces.convert.DoubleConverter;
-import jakarta.faces.convert.FloatConverter;
-import jakarta.faces.convert.IntegerConverter;
-import jakarta.faces.convert.LongConverter;
-import jakarta.faces.convert.ShortConverter;
-import jakarta.servlet.ServletConfig;
-import jakarta.servlet.ServletException;
-import jakarta.servlet.http.HttpServletRequest;
-import jakarta.servlet.http.HttpServletResponse;
-
-/**
- *
- * Common test Servlet for testing convertions to Object and String using
- * standard Java boxed types.
- *
- */
-public final class BaseConverterTestServlet extends HttpTCKServlet {
-
- private Map