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_2X_ROLLING@12387 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2989 forward port from 2.1.x


------------------------------------------------------------------------
r12380 | edburns | 2013-08-09 14:31:29 -0400 (Fri, 09 Aug 2013) | 14 lines



SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/el/ManagedBeanELResolver.java

- in getValue() perform the spec mandated scope attribute lookup.

A       test/agnostic/el/nbactions.xml
A  +    test/agnostic/el/src/test/java/com/sun/faces/test/agnostic/el/Issue2989IT.java
A       test/agnostic/el/src/main/webapp/WEB-INF/faces-config.xml

- New test content, taken from TCK.

------------------------------------------------------------------------


git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12388 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_2X_ROLLING@12392 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_2X_ROLLING@12397 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_2X_ROLLING@12407 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_2X_ROLLING@12417 761efcf2-d34d-6b61-9145-99dcacc3edf1
Issue 2973 
Add a sleep(3000) after clicking the simulateServerRestart button.

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12421 761efcf2-d34d-6b61-9145-99dcacc3edf1
https://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1218

SECTION: Modified Files
----------------------------
M       jsf-api/src/main/java/javax/faces/Messages_zh_HK.properties
M       jsf-api/src/main/java/javax/faces/Messages_es.properties
M       jsf-api/src/main/java/javax/faces/Messages_ko.properties
M       jsf-api/src/main/java/javax/faces/Messages.properties
M       jsf-api/src/main/java/javax/faces/Messages_zh_TW.properties
M       jsf-api/src/main/java/javax/faces/Messages_zh_CN.properties
M       jsf-api/src/main/java/javax/faces/Messages_en.properties
M       jsf-api/src/main/java/javax/faces/Messages_pt_BR.properties
M       jsf-api/src/main/java/javax/faces/Messages_fr.properties
M       jsf-api/src/main/java/javax/faces/Messages_de.properties
M       jsf-api/src/main/java/javax/faces/Messages_ja.properties

- Correct values for BYTE and BYTE_detail to reflect value of
  Byte.MIN_VALUE and Byte.MAX_VALUE.


git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12423 761efcf2-d34d-6b61-9145-99dcacc3edf1
Update test after updating property file

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12425 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes https://java.net/jira/browse/JAVASERVERFACES-2965, r=mriem, reduce table state

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12426 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2973

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

- Continuing to investigate intermittent test failure in Issue2973IT.

  Add sleeps in the HtmlUnit test and in the Bean actuated by the test.



git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12427 761efcf2-d34d-6b61-9145-99dcacc3edf1
Setting project encoding to UTF-8, removing nb-configuration.xml, hooking up projects not hooked up, fixing parent POM versions

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12428 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fix HtmlUnit test issue

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12429 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fix HtmlUnit test issue

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12430 761efcf2-d34d-6b61-9145-99dcacc3edf1
Removing annotation module because tests are invalid for 2.2

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12431 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_2X_ROLLING@12435 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_2X_ROLLING@12437 761efcf2-d34d-6b61-9145-99dcacc3edf1
https://java.net/jira/browse/JAVASERVERFACES-2997

./src/main/webapp/index.xhtml

- see button that goes to flow-with-templates

./src/main/webapp/flow-with-templates/flow-with-templates-flow.xml

    <flow-definition id="flow-with-templates">
        <flow-return id="global-return">
            <from-outcome>#{issue2997Bean.globalReturnValue}</from-outcome>
        </flow-return>
        
    </flow-definition>

This flow-return must be on every flow.  Perhaps there's a better way to
do it, I have to talk to the ADF task flow expert.  I just wanted you to
have something that works right now.

./src/main/webapp/templates/issue2997-template.xhtml

- A template used from within a flow.  The template has these buttons:

<h:commandButton id="issue2997Home" value="home" immediate="true" 
  action="global-return" actionListener="#{issue2997Bean.globalFlowReturn}" />

<br />

<h:commandButton id="issue2997UserList" value="User List" immediate="true" 
  action="global-return" actionListener="#{issue2997Bean.globalFlowReturn}" /> 

<br />

It can be used from any flow.

./src/main/java/com/sun/faces/test/webprofile/flow/issue2997/Issue2997Bean.java

- Make it so the id of the button is passed as the outcome given from
  the flow.

    public void globalFlowReturn(ActionEvent e) {
        String id = e.getComponent().getId();
        FacesContext.getCurrentInstance().getAttributes().put("returnId", id);
    }
    
    public String getGlobalReturnValue() {
        String result = (String) FacesContext.getCurrentInstance().getAttributes().get("returnId");
        return "/" + result;
    }

./src/main/webapp/flow-with-templates/flow-with-templates.xhtml
./src/main/webapp/flow-with-templates/page02.xhtml

- view nodes within the flow

./src/main/webapp/issue2997Home.xhtml
./src/main/webapp/issue2997UserList.xhtml

- navigated to upon return

./src/main/webapp/resources/templates/cssLayout.css
./src/main/webapp/resources/templates/default.css

- Resoucres referenced from the template

./src/test/java/com/sun/faces/test/webprofile/flow/basic_multi_page/issue2997/Issue2997IT.java

- Automated test


git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12438 761efcf2-d34d-6b61-9145-99dcacc3edf1
spec 1218 typo

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_2X_ROLLING@12439 761efcf2-d34d-6b61-9145-99dcacc3edf1
Issue 2973 
Put the simulateServerRestart block in a for loop.

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