Is this just to make migration easier between Facelets and JSF 2.0? Because it seems to be correct in Mojarra (actually, Mojarra permits either form).
ViewHandler.java
TagAttribute testForNull = this.getAttribute("beforePhase");
this.beforePhase = (null == testForNull) ?
thisgetAttribute("beforePhaseListener") : testForNull;
testForNull = this.getAttribute("afterPhase");
this.afterPhase = (null == testForNull) ?
this.getAttribute("afterPhaseListener") : testForNull;
-Dan
I noticed that these attributes are still named wrong in the <f:view> tag in Facelets 1.1.15. It looks like Ed committed a fix [1]. Can we push this and any other fixes in the trunk out?
[1] http://bit.ly/ct7x1F
---
Kito D. Mann | twitter: kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | twitter: jsfcentral
+1 203-404-4848 x3
Sign up for the JSFCentral newsletter: http://oi.vresp.com/?fid=ac048d0e17