Fixes http://java.net/jira/browse/JAVASERVERFACES-1563, r=rogerk, Removed the extra \n in the renderer.

git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10949 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1111

SECTION: Modified Files
----------------------------
M       jsf-tools/src/main/resources/com/sun/faces/generate/facesdoc/stylesheet.css
M       test/agnostic/renderKit/passthrough/src/main/webapp/complex.xhtml
M       jsf-api/doc/standard-html-renderkit-base.xml
M       jsf-api/doc/standard-html-renderkit.xml

- For OutcomeTargetButton, CommandButton:

  Because this renderer is responsible for rendering its own children,
  the renderer will decide if the end tag is required or not based on
  the presence or absence of children for the component.

- For the "General notes on encoding" section:

  For all renderers that are responsible for rendering their own
  children, the renderer will decide if the end tag is required or not
  based on the presence or absence of children for the component.


git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10950 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes http://java.net/jira/browse/JAVASERVERFACES-2567, r=rogerk, Make sure it waits for the background JavaScript.

git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10952 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes http://java.net/jira/browse/JAVASERVERFACES-2268, r=rogerk, Rework test as per associated Glassfish issue

git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10954 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2326


SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/renderkit/html_basic/FileRenderer.java
M       test/web-profile/renderKit/pom.xml
M       jsf-api/doc/standard-html-renderkit-base.xml
M       jsf-api/doc/standard-html-renderkit.xml

- Specify and implement that an exception thrown when dealing with the
  multi-part API must reach the ExceptionHandler.

A       test/web-profile/renderKit/fileUploadFailure
A       test/web-profile/renderKit/fileUploadFailure/nbactions.xml
A       test/web-profile/renderKit/fileUploadFailure/inputFileSuccess.txt
A       test/web-profile/renderKit/fileUploadFailure/src
A       test/web-profile/renderKit/fileUploadFailure/src/test
A       test/web-profile/renderKit/fileUploadFailure/src/test/java
A       test/web-profile/renderKit/fileUploadFailure/src/test/java/com
A       test/web-profile/renderKit/fileUploadFailure/src/test/java/com/sun
A       test/web-profile/renderKit/fileUploadFailure/src/test/java/com/sun/faces
A       test/web-profile/renderKit/fileUploadFailure/src/test/java/com/sun/faces/test
A       test/web-profile/renderKit/fileUploadFailure/src/test/java/com/sun/faces/test/webprofile
A       test/web-profile/renderKit/fileUploadFailure/src/test/java/com/sun/faces/test/webprofile/renderKit
A       test/web-profile/renderKit/fileUploadFailure/src/test/java/com/sun/faces/test/webprofile/renderKit/fileUploadFailure
A       test/web-profile/renderKit/fileUploadFailure/src/test/java/com/sun/faces/test/webprofile/renderKit/fileUploadFailure/Issue2326IT.java
A       test/web-profile/renderKit/fileUploadFailure/src/main
A       test/web-profile/renderKit/fileUploadFailure/src/main/java
A       test/web-profile/renderKit/fileUploadFailure/src/main/java/com
A       test/web-profile/renderKit/fileUploadFailure/src/main/java/com/sun
A       test/web-profile/renderKit/fileUploadFailure/src/main/java/com/sun/faces
A       test/web-profile/renderKit/fileUploadFailure/src/main/java/com/sun/faces/test
A       test/web-profile/renderKit/fileUploadFailure/src/main/java/com/sun/faces/test/webprofile
A       test/web-profile/renderKit/fileUploadFailure/src/main/java/com/sun/faces/test/webprofile/renderKit
A       test/web-profile/renderKit/fileUploadFailure/src/main/java/com/sun/faces/test/webprofile/renderKit/fileUploadFailure
A       test/web-profile/renderKit/fileUploadFailure/src/main/java/com/sun/faces/test/webprofile/renderKit/fileUploadFailure/FacesContextFactoryWrapper.java
A       test/web-profile/renderKit/fileUploadFailure/src/main/java/com/sun/faces/test/webprofile/renderKit/fileUploadFailure/HttpServletRequestImpl.java
A       test/web-profile/renderKit/fileUploadFailure/src/main/java/com/sun/faces/test/webprofile/renderKit/fileUploadFailure/FacesContextImpl.java
A       test/web-profile/renderKit/fileUploadFailure/src/main/java/com/sun/faces/test/webprofile/renderKit/fileUploadFailure/ExternalContextImpl.java
A       test/web-profile/renderKit/fileUploadFailure/src/main/java/com/sun/faces/test/webprofile/renderKit/fileUploadFailure/FileUploadBean.java
A       test/web-profile/renderKit/fileUploadFailure/src/main/resources
A       test/web-profile/renderKit/fileUploadFailure/src/main/webapp
A       test/web-profile/renderKit/fileUploadFailure/src/main/webapp/WEB-INF
A       test/web-profile/renderKit/fileUploadFailure/src/main/webapp/WEB-INF/faces-config.xml
A       test/web-profile/renderKit/fileUploadFailure/src/main/webapp/WEB-INF/beans.xml
A       test/web-profile/renderKit/fileUploadFailure/src/main/webapp/WEB-INF/web.xml
A       test/web-profile/renderKit/fileUploadFailure/src/main/webapp/inputFile.xhtml
A       test/web-profile/renderKit/fileUploadFailure/pom.xml

- new test content


git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10955 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2562

SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/facelets/impl/DefaultFaceletFactory.java

- Apply fix from reporter.  Thanks.

M       test/agnostic/vdl/facelets/pom.xml
A       test/agnostic/vdl/facelets/programmaticCompositeComponent
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/nbactions.xml
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/test
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/test/java
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/test/java/com
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/test/java/com/sun
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/test/java/com/sun/faces
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/test/java/com/sun/faces/test
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/test/java/com/sun/faces/test/webprofile
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/test/java/com/sun/faces/test/webprofile/renderKit
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/test/java/com/sun/faces/test/webprofile/renderKit/programmaticCompositeComponent
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/test/java/com/sun/faces/test/webprofile/renderKit/programmaticCompositeComponent/Issue2562IT.java
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/java
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/java/com
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/java/com/sun
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/java/com/sun/faces
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/java/com/sun/faces/test
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/java/com/sun/faces/test/webprofile
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/java/com/sun/faces/test/webprofile/renderKit
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/java/com/sun/faces/test/webprofile/renderKit/programmaticCompositeComponent
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/java/com/sun/faces/test/webprofile/renderKit/programmaticCompositeComponent/RequestBean.java
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/resources
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/webapp
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/webapp/issue2562.xhtml
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/webapp/WEB-INF
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/webapp/WEB-INF/web.xml
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/webapp/resources
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/webapp/resources/ezcomp
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/src/main/webapp/resources/ezcomp/ezcomp.xhtml
A       test/agnostic/vdl/facelets/programmaticCompositeComponent/pom.xml

- New test content


git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10956 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2459

SECTION: Modified Files
----------------------------
M       test/agnostic/renderKit/basic/nbactions.xml
A  +    test/agnostic/renderKit/basic/src/test/java/com/sun/faces/test/agnostic/renderKit/basic/Issue2459IT.java
A  +    test/agnostic/renderKit/basic/src/main/webapp/issue2459.xhtml

- Verify this is fixed.  Here's how I know it's fixed.  Consider this
  markup:

 <h:form id="form" p:foo="bar">
 </h:form>

  This HtmlUnit content executes successfully.

        HtmlPage page = webClient.getPage(webUrl + "faces/issue2459.xhtml");
        HtmlForm form = (HtmlForm) page.getElementById("form");
        String fooValue = form.getAttribute("foo");
        assertEquals("bar", fooValue);

  I think this is the correct behavior, no?


git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10957 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2459

SECTION: Modified Files
----------------------------
M       test/agnostic/renderKit/basic/src/test/java/com/sun/faces/test/agnostic/renderKit/basic/Issue2459IT.java
M       test/agnostic/renderKit/basic/src/main/webapp/issue2459.xhtml

- Make the test a little more rigorous by adding all attributes save
  acceptcharset from Doug's report.  acceptcharset was omitted due to
  cross platform concerns.


git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10958 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-1141

SECTION: Modified Files
----------------------------

M       requestProcessingLifecycle.fm
M       preface.fm

- In section 2.6.1.3, specify that *all* parts of a resource identifier
  are subject to the same constraints.  For the purposes of this issue,
  this means no "/" in any part of the resource identifier.

M       test/agnostic/resource/basic/src/test/java/com/sun/faces/test/agnostic/resource/Issue2401IT.java
M       test/agnostic/resource/basic/src/main/java/com/sun/faces/test/agnostic/resource/ResourceBean.java
M       test/agnostic/resource/basic/src/main/webapp/start.xhtml

- Remove the errant test content.


git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10959 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2569 Try to apply http://stackoverflow.com/questions/8904193/best-practices-for-embedding-svn-version-number-in-java-jar-manifest

git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10961 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2569 Try to apply http://stackoverflow.com/questions/8904193/best-practices-for-embedding-svn-version-number-in-java-jar-manifest

git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10962 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2569 Try to apply http://stackoverflow.com/questions/8904193/best-practices-for-embedding-svn-version-number-in-java-jar-manifest

git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10963 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2569 Try to apply http://stackoverflow.com/questions/8904193/best-practices-for-embedding-svn-version-number-in-java-jar-manifest

git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10964 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2569


SECTION: Modified Files
----------------------------
M       jsf-ri/build.xml
M       common/ant/common.xml

- Part 1: put the <url@revision> into the runtime startup message.


git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10965 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-2569


SECTION: Modified Files
----------------------------
M       jsf-ri/build.xml

- Part 2, put it in the manifest.


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

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

JSF should not be responsible for creating unique ids given an id literal 
on components within a forEach iterator. This should be the responsibility 
of the page author/developer.
Referring issue: http://java.net/jira/browse/JAVASERVERFACES-1527

SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/ComponentSupport.java
M       jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/ComponentTagHandlerDelegateImpl.java
M       jsf-ri/src/main/java/com/sun/faces/facelets/tag/jstl/core/ForEachHandler.java
M       jsf-ri/systest/src/com/sun/faces/facelets/FaceletsTestCase.java
M       jsf-ri/systest/web/facelets/forEach.xhtml




git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10970 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-949 http://java.net/jira/browse/JAVASERVERFACES-2572

Apply suggestions from Leonardo

SECTION: API Changes
----------------------------

M       jsf-api/src/main/java/javax/faces/lifecycle/ClientWindow.java

- Modify the documentation of CLIENT_WINDOW_MODE_PARAM_NAME to allow implementation
  specific approaches.

- Add getQueryURLParameters().

- Rename methods and a constant

     private static final String PER_USE_CLIENT_WINDOW_URL_QUERY_PARAMETER_DISABLED_KEY = 
-            "javax.faces.lifecycle.ClientWindowUrlQueryParameterEnablement";
+            "javax.faces.lifecycle.ClientWindowRenderModeEnablement";

-    public static void disableClientWindowUrlQueryParameter(FacesContext context) {
+    public static void disableClientWindowRenderMode(FacesContext context) {
-    public static void enableClientWindowUrlQueryParameter(FacesContext context) {
+    public static void enableClientWindowRenderMode(FacesContext context) {
-    public static boolean isClientWindowUrlQueryParameterEnabled(FacesContext context) {
+    public static boolean isClientWindowRenderModeEnabled(FacesContext context) {

M       jsf-api/src/main/java/javax/faces/render/ResponseStateManager.java

- Modify the spec for CLIENT_WINDOW_URL_PARAM to account for the fact that the inclusion
  of a client window in a URL is not just specific to URL mode.

M       jsf-api/src/main/java/javax/faces/context/ExternalContext.java

- Require that the new method getQueryURLParameters() is called.


SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/context/ExternalContextImpl.java
M       jsf-ri/src/main/java/com/sun/faces/context/UrlBuilder.java
M       jsf-ri/src/main/java/com/sun/faces/renderkit/html_basic/OutcomeTargetRenderer.java
M       jsf-ri/src/main/java/com/sun/faces/lifecycle/ClientWindowImpl.java
M       nbproject/project.xml

- implement the changes


git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10971 761efcf2-d34d-6b61-9145-99dcacc3edf1
removed unused import

git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10972 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-802


SECTION: Modified Files
----------------------------
M       jsf-api/src/main/resources/jsf.js

- Specify high level requirements for "ajax" file upload.



git-svn-id: https://svn.java.net/svn/mojarra~svn/trunk@10973 761efcf2-d34d-6b61-9145-99dcacc3edf1
Fixes http://java.net/jira/browse/JAVASERVERFACES-2566, r=rogerk, Make sure if there is no FacesContext, the JSF EL resolver returns null.

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