[jsr-314-open] beforePhase and afterPhase

Dan Allen dan.j.allen at gmail.com
Fri Jan 29 17:49:42 EST 2010


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) ?
    this.getAttribute("beforePhaseListener") : testForNull;
testForNull = this.getAttribute("afterPhase");
this.afterPhase = (null == testForNull) ?
    this.getAttribute("afterPhaseListener") : testForNull;

-Dan

On Fri, Jan 29, 2010 at 5:24 PM, Kito Mann <kito.mann at virtua.com> wrote:

> 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
>
>


-- 
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://www.google.com/profiles/dan.j.allen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20100129/ce56487c/attachment.html 


More information about the jsr-314-open-mirror mailing list