users@javaserverfaces-spec-public.java.net

[jsr344-experts mirror] Re: [jsr344-experts] [ADMIN] JSF 2.2 Final Release Candidate 2

From: Edward Burns <edward.burns_at_oracle.com>
Date: Fri, 22 Mar 2013 08:05:09 -0700

>>>>> On Thu, 21 Mar 2013 11:21:48 +0100, arjan tijms <arjan.tijms_at_gmail.com> said:

AT> In javax.faces.application.ResourceHandler the specification for
AT> createViewResource begins with the following text:

AT> * <p class="changed_added_2_2">Create an instance of
AT> <code>Resource</code>
AT> * given the argument <code>resourceName</code>, which may contain "/"

AT> However the signature of the method is as follows:

AT> public ViewResource createViewResource(FacesContext context, String
AT> resourceName)

AT> ViewResource is a base class of Resource, so thus not necessarily a
AT> Resource.

Fixed, r11781.

AT> Then in facelets_jsf_core.tld, the resetValues tag contains the following
AT> specification:

AT> The implementation must cause an <code>ActionListener</code>
AT> to be attached to the <code>ActionSource2</code> component
AT> in which this tag is nested that calls
AT> <code>UIViewRoot.resetValues()</code> passing the value of
AT> the <code>render</code> attribute as the argument.

AT> It explicitly mentions ActionSource2, but the actual requirement seems to
AT> be just an ActionSource. The implementation code in the RI casts to an
AT> ActionSource and just for adding an ActionListener the component does not
AT> need to implement ActionSource2, just ActionSource.

Fixed, r11782.

Ed