Fixes https://java.net/jira/browse/JAVASERVERFACES-2937, r=mriem, make ForEachFaceletContext extend FaceletContextImplBase.

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12386 761efcf2-d34d-6b61-9145-99dcacc3edf1
Reworked 2395 to be independent of implementation

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12391 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes https://java.net/jira/browse/JAVASERVERFACES-2968, r=rogerk, makes sure that overriding an existing namespace creates a new NamespaceUnit.

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12396 761efcf2-d34d-6b61-9145-99dcacc3edf1
Added JsDoc 2 config
Added JsDoc 3 config (commented out)

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12398 761efcf2-d34d-6b61-9145-99dcacc3edf1
Commented out JsDoc 2 as well 

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12399 761efcf2-d34d-6b61-9145-99dcacc3edf1
Added showing whether or not the id is null

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12404 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes https://java.net/jira/browse/JAVASERVERFACES-2919, r=rogerk,edburns, make sure the EnumConverter honors master Converter contract.

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12406 761efcf2-d34d-6b61-9145-99dcacc3edf1
Make sure we have a button to test a redirect as well

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12408 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes https://java.net/jira/browse/JAVASERVERFACES-2938, r=rogerk, make sure that 1) child state is not savedif the row is not available, 2) after rendering the child components clientIds are reset.

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12416 761efcf2-d34d-6b61-9145-99dcacc3edf1
Update for a more recent version of WLS

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12422 761efcf2-d34d-6b61-9145-99dcacc3edf1
Adding project encoding to POMs

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12424 761efcf2-d34d-6b61-9145-99dcacc3edf1
added missing copyright

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12432 761efcf2-d34d-6b61-9145-99dcacc3edf1
added missing copyright

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12433 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes https://java.net/jira/browse/JAVASERVERFACES-3001, moving tests from test/agnostic/scope/view to test/agnostic/el

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12434 761efcf2-d34d-6b61-9145-99dcacc3edf1

<< http://java.net/jira/browse/JAVASERVERFACES-2984 >>

This tests a small web application that has JSF 2.2.2 bundled. 

SECTION: Modified Files
----------------------------
A       test/agnostic/bundle22
A       test/agnostic/bundle22/src
A       test/agnostic/bundle22/src/test
A       test/agnostic/bundle22/src/test/java
A       test/agnostic/bundle22/src/test/java/com
A       test/agnostic/bundle22/src/test/java/com/sun
A       test/agnostic/bundle22/src/test/java/com/sun/faces
A       test/agnostic/bundle22/src/test/java/com/sun/faces/test
A       test/agnostic/bundle22/src/test/java/com/sun/faces/test/agnostic
A       test/agnostic/bundle22/src/test/java/com/sun/faces/test/agnostic/bundle22
A       test/agnostic/bundle22/src/test/java/com/sun/faces/test/agnostic/bundle22/Issue2984IT.java
A       test/agnostic/bundle22/src/main
A       test/agnostic/bundle22/src/main/java
A       test/agnostic/bundle22/src/main/java/com
A       test/agnostic/bundle22/src/main/java/com/sun
A       test/agnostic/bundle22/src/main/java/com/sun/faces
A       test/agnostic/bundle22/src/main/java/com/sun/faces/test
A       test/agnostic/bundle22/src/main/java/com/sun/faces/test/agnostic
A       test/agnostic/bundle22/src/main/java/com/sun/faces/test/agnostic/bundle22
A       test/agnostic/bundle22/src/main/java/com/sun/faces/test/agnostic/bundle22/Bean.java
A       test/agnostic/bundle22/src/main/webapp
A       test/agnostic/bundle22/src/main/webapp/simple.xhtml
A       test/agnostic/bundle22/src/main/webapp/WEB-INF
A       test/agnostic/bundle22/src/main/webapp/WEB-INF/weblogic.xml
A       test/agnostic/bundle22/src/main/webapp/WEB-INF/web.xml
A       test/agnostic/bundle22/src/main/webapp/WEB-INF/glassfish-web.xml
A       test/agnostic/bundle22/pom.xml
A       test/agnostic/bundle22/README.txt


git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12436 761efcf2-d34d-6b61-9145-99dcacc3edf1
resource lib contracts demo

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12444 761efcf2-d34d-6b61-9145-99dcacc3edf1
remove resource lib contracts demo.  This belongs in 2.2 workspace

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12446 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-3005 Re-enable Groovy support

Backport from 2.2.x.  558 tests run successfully.

Ever since the 2012-08-12 commit for JAVASERVERFACES-2491 Groovy support
has been broken and the automated tests that asserted its functionality
have been commented out.  I was never content with this resolution.

This commit re-activates Groovy support without invalifating the fix for
JAVASERVERFACES-2491.

Ran the agnostic and web-profile tests with

-Dwebapp.projectStage=Development -Dwebapp.stateSavingMethod=server -Dwebapp.partialStateSaving=false

Ran the new test as well.

SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/scripting/groovy/GroovyHelperImpl.java

- Make some things in here public.

M       jsf-ri/src/main/java/com/sun/faces/util/Util.java

- In loadClass() use the newly publicized things to cause the
  performance penalty of Groovy support to only be paid if Groovy is actually enabled.

A       test/scripting
A       test/scripting/groovy
A       test/scripting/groovy/basic
A       test/scripting/groovy/basic/src
A       test/scripting/groovy/basic/src/main
A       test/scripting/groovy/basic/src/main/java
A       test/scripting/groovy/basic/src/main/java/com
A       test/scripting/groovy/basic/src/main/java/com/sun
A       test/scripting/groovy/basic/src/main/java/com/sun/faces
A       test/scripting/groovy/basic/src/main/java/com/sun/faces/test
A       test/scripting/groovy/basic/src/main/java/com/sun/faces/test/scripting
A       test/scripting/groovy/basic/src/main/java/com/sun/faces/test/scripting/groovy
A  +    test/scripting/groovy/basic/src/main/java/com/sun/faces/test/scripting/groovy/Name.java
A       test/scripting/groovy/basic/src/main/webapp
A       test/scripting/groovy/basic/src/main/webapp/WEB-INF
A  +    test/scripting/groovy/basic/src/main/webapp/WEB-INF/faces-config.xml
A  +    test/scripting/groovy/basic/src/main/webapp/WEB-INF/groovy-taglib.xml
A       test/scripting/groovy/basic/src/main/webapp/WEB-INF/groovy
A       test/scripting/groovy/basic/src/main/webapp/WEB-INF/groovy/hello
A  +    test/scripting/groovy/basic/src/main/webapp/WEB-INF/groovy/hello/MessageRenderer.groovy
A  +    test/scripting/groovy/basic/src/main/webapp/WEB-INF/groovy/hello/AgeComponent.groovy
A  +    test/scripting/groovy/basic/src/main/webapp/WEB-INF/groovy/hello/MessageOutput.groovy
A  +    test/scripting/groovy/basic/src/main/webapp/WEB-INF/groovy/hello/NameValidator.groovy
A  +    test/scripting/groovy/basic/src/main/webapp/WEB-INF/groovy/hello/NameConverter.groovy
A  +    test/scripting/groovy/basic/src/main/webapp/WEB-INF/groovy/hello/HelloBean.groovy
A  +    test/scripting/groovy/basic/src/main/webapp/hello.xhtml
A  +    test/scripting/groovy/basic/src/main/webapp/submit.xhtml

- Migrated test from old test harness to new area in new harness.  This
  test will not be run until
  <https://java.net/jira/browse/JAVASERVERFACES-3006> is fixed.



git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12449 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2999 merge revisions 12421, 12427,  12440, from 2.2.x to 2.1.x


SECTION: Modified Files
----------------------------
M       test/agnostic/flash/basic/src/test/java/com/sun/faces/test/agnostic/flash/issue2973/Issue2973IT.java
M       test/agnostic/flash/basic/src/main/java/com/sun/faces/test/agnostic/flash/issue2973/Bean.java



git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12451 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-3005 backport from 2.2.x

558 tests passed in the new harness.

SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/config/WebConfiguration.java
M       jsf-ri/src/main/java/com/sun/faces/util/Util.java

- Additional changes necessary to detect the existence of CDI.  This is
  necessary to choose the right kind of GroovySupportFilter, should the
  GroovySupportFilter be applied.

A       jsf-ri/src/main/java/com/sun/faces/scripting/WeldAwareGroovySupportFilter.java

- Use reflection to ensure the ACLSingletonProvider "Singleton not set
  for" problem does not arise when using Groovy in a CDI enabled app.

M       jsf-ri/src/main/java/com/sun/faces/scripting/GroovySupportFilter.java

- Modify this to do a cheap form of the strategy pattern, choosing the
  strategy based on the presence or absence of CDI.

M       jsf-ri/mojarra-jsf-impl.bnd

- Add an optional dependency on weld.  According to JJ this should not
  mess up non-weld-aware containers.

M       test/scripting/groovy/pom.xml

- Add new test

A       jsf-ri/src/main/java/com/sun/faces/scripting/NonWeldAwareGroovySupportFilter.java

- This is the previous GroovySupportFilter.

A       test/scripting/groovy/weldAware
A       test/scripting/groovy/weldAware/nbactions.xml
A       test/scripting/groovy/weldAware/src
A       test/scripting/groovy/weldAware/src/test
A       test/scripting/groovy/weldAware/src/test/java
A       test/scripting/groovy/weldAware/src/test/java/com
A       test/scripting/groovy/weldAware/src/test/java/com/sun
A       test/scripting/groovy/weldAware/src/test/java/com/sun/faces
A       test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test
A       test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test/scripting
A       test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test/scripting/groovyWeldAware
A       test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test/scripting/groovyWeldAware/Issue3005IT.java
A       test/scripting/groovy/weldAware/src/main
A       test/scripting/groovy/weldAware/src/main/java
A       test/scripting/groovy/weldAware/src/main/java/com
A       test/scripting/groovy/weldAware/src/main/java/com/sun
A       test/scripting/groovy/weldAware/src/main/java/com/sun/faces
A       test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test
A       test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test/scripting
A       test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test/scripting/groovy
A       test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test/scripting/groovy/Name.java
A       test/scripting/groovy/weldAware/src/main/java/com/sun/faces/scripting
A       test/scripting/groovy/weldAware/src/main/resources
A       test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites
A       test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites/groovy
A       test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites/groovy/hello
A       test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites/groovy/hello/AgeComponent.groovy
A       test/scripting/groovy/weldAware/src/main/webapp
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/faces-config.xml
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy-taglib.xml
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/MessageRenderer.groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/AgeComponent.groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/MessageOutput.groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/NameValidator.groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/NameConverter.groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/HelloBean.groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/beans.xml
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/web.xml
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/glassfish-web.xml
A       test/scripting/groovy/weldAware/src/main/webapp/hello.xhtml
A       test/scripting/groovy/weldAware/src/main/webapp/submit.xhtml
A       test/scripting/groovy/weldAware/pom.xml

- The new test.


A       jsf-ri/src/main/java/com/sun/faces/scripting/NonWeldAwareGroovySupportFilter.java
A       jsf-ri/src/main/java/com/sun/faces/scripting/WeldAwareGroovySupportFilter.java
A       test/scripting/groovy/weldAware
A       test/scripting/groovy/weldAware/nbactions.xml
A       test/scripting/groovy/weldAware/src
A       test/scripting/groovy/weldAware/src/test
A       test/scripting/groovy/weldAware/src/test/java
A       test/scripting/groovy/weldAware/src/test/java/com
A       test/scripting/groovy/weldAware/src/test/java/com/sun
A       test/scripting/groovy/weldAware/src/test/java/com/sun/faces
A       test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test
A       test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test/scripting
A       test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test/scripting/groovyWeldAware
A       test/scripting/groovy/weldAware/src/test/java/com/sun/faces/test/scripting/groovyWeldAware/Issue3005IT.java
A       test/scripting/groovy/weldAware/src/main
A       test/scripting/groovy/weldAware/src/main/java
A       test/scripting/groovy/weldAware/src/main/java/com
A       test/scripting/groovy/weldAware/src/main/java/com/sun
A       test/scripting/groovy/weldAware/src/main/java/com/sun/faces
A       test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test
A       test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test/scripting
A       test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test/scripting/groovy
A       test/scripting/groovy/weldAware/src/main/java/com/sun/faces/test/scripting/groovy/Name.java
A       test/scripting/groovy/weldAware/src/main/java/com/sun/faces/scripting
A       test/scripting/groovy/weldAware/src/main/resources
A       test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites
A       test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites/groovy
A       test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites/groovy/hello
A       test/scripting/groovy/weldAware/src/main/resources/runtime_overwrites/groovy/hello/AgeComponent.groovy
A       test/scripting/groovy/weldAware/src/main/webapp
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/faces-config.xml
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy-taglib.xml
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/MessageRenderer.groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/AgeComponent.groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/MessageOutput.groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/NameValidator.groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/NameConverter.groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/groovy/hello/HelloBean.groovy
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/beans.xml
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/web.xml
A       test/scripting/groovy/weldAware/src/main/webapp/WEB-INF/glassfish-web.xml
A       test/scripting/groovy/weldAware/src/main/webapp/hello.xhtml
A       test/scripting/groovy/weldAware/src/main/webapp/submit.xhtml
A       test/scripting/groovy/weldAware/pom.xml


git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12461 761efcf2-d34d-6b61-9145-99dcacc3edf1