Bug18329103

Backport from branches/MOJARRA_2_2X_ROLLING revision 13276

SECTION: Modified Files
----------------------------
M jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/core/CoreLibrary.java
A jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/core/SubviewHandler.java

- Make subview handler a proper tag handler so we can take special action
  in its apply method.


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

At the suggestion of Manfred Riem and Andy Schwartz, revert 13277 to
branches/2.1.5.  Recommend the customer to use <c:if test=> instead.  I
have verified this has the equivalent effect as the reverted
functionality.


SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/core/CoreLibrary.java
D       jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/core/SubviewHandler.java

- Revert r13277.


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

Backport JAVASERVERFACES-3193 to branches/2.1.5


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

- Save the partialStateSaving config parameter state.

M       jsf-ri/src/main/java/com/sun/faces/facelets/compiler/UIInstructionHandler.java

- Call new method ComponentSupport.findUIInstructionChildByTagId(context, parent, id)

M       jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/ComponentSupport.java

- Add FacesContext to fcbti as first parameter. This is necessary to
  call isPostback() and to discover the current lifecycle phase.

- In fcbti, take no action if we are not on a postback, or we are in the
  RestoreView phase.

- In fcbti, don't use parent.getFacetsAndChildren(). Instead, only get
  the facets if there are facets. Otherwise, just use getChildren().

M       jsf-ri/src/main/java/com/sun/faces/facelets/tag/jsf/ComponentTagHandlerDelegateImpl.java

- Pass FacesContext to fcbti.

M test/agnostic/facelets/findChild/nbactions.xml
M       test/agnostic/pom.xml
M       test/pom.xml
A       test/agnostic/facelets
A       test/agnostic/facelets/findChild
A       test/agnostic/facelets/findChild/nbactions.xml
A       test/agnostic/facelets/findChild/src
A       test/agnostic/facelets/findChild/src/test
A       test/agnostic/facelets/findChild/src/test/java
A       test/agnostic/facelets/findChild/src/test/java/com
A       test/agnostic/facelets/findChild/src/test/java/com/sun
A       test/agnostic/facelets/findChild/src/test/java/com/sun/faces
A       test/agnostic/facelets/findChild/src/test/java/com/sun/faces/test
A       test/agnostic/facelets/findChild/src/test/java/com/sun/faces/test/agnostic
A       test/agnostic/facelets/findChild/src/test/java/com/sun/faces/test/agnostic/facelets
A       test/agnostic/facelets/findChild/src/test/java/com/sun/faces/test/agnostic/facelets/AutomatedTestIT.java
A       test/agnostic/facelets/findChild/src/main
A       test/agnostic/facelets/findChild/src/main/java
A       test/agnostic/facelets/findChild/src/main/java/test
A       test/agnostic/facelets/findChild/src/main/java/test/PageAjaxTest.java
A       test/agnostic/facelets/findChild/src/main/java/test/TimerPhaseListener.java
A       test/agnostic/facelets/findChild/src/main/java/de
A       test/agnostic/facelets/findChild/src/main/java/de/suedleasing
A       test/agnostic/facelets/findChild/src/main/java/de/suedleasing/elease
A       test/agnostic/facelets/findChild/src/main/java/de/suedleasing/elease/service_requests
A       test/agnostic/facelets/findChild/src/main/java/de/suedleasing/elease/service_requests/managedBeans
A       test/agnostic/facelets/findChild/src/main/java/de/suedleasing/elease/service_requests/managedBeans/IndexMB.java
A       test/agnostic/facelets/findChild/src/main/resources
A       test/agnostic/facelets/findChild/src/main/webapp
A       test/agnostic/facelets/findChild/src/main/webapp/performance
A       test/agnostic/facelets/findChild/src/main/webapp/performance/performanceNoneRenderedObjects.xhtml
A       test/agnostic/facelets/findChild/src/main/webapp/performance/performanceNoneRenderedObjectsMultiplikator.xhtml
A       test/agnostic/facelets/findChild/src/main/webapp/performance/performanceTest.xhtml
A       test/agnostic/facelets/findChild/src/main/webapp/index.xhtml
A       test/agnostic/facelets/findChild/src/main/webapp/WEB-INF
A       test/agnostic/facelets/findChild/src/main/webapp/WEB-INF/faces-config.xml
A       test/agnostic/facelets/findChild/src/main/webapp/WEB-INF/web.xml
A       test/agnostic/facelets/findChild/src/main/webapp/WEB-INF/glassfish-web.xml
A       test/agnostic/facelets/findChild/src/main/webapp/simplestPage.xhtml
A       test/agnostic/facelets/findChild/src/main/webapp/jsfInfo.xhtml
A       test/agnostic/facelets/findChild/src/main/webapp/AjaxTest.xhtml
A       test/agnostic/facelets/findChild/pom.xml
A       test/agnostic/facelets/pom.xml

- New test content.


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