Hi,
On Thu, Mar 21, 2013 at 3:38 AM, Edward Burns <edward.burns_at_oracle.com>wrote:
> Hello Volunteers,
>
> I can still accept editorial improvements.
I perhaps found two small potential issues in the normative specification
(the javadoc):
In javax.faces.application.ResourceHandler the specification for
createViewResource begins with the following text:
* <p class="changed_added_2_2">Create an instance of
<code>Resource</code>
* given the argument <code>resourceName</code>, which may contain "/"
However the signature of the method is as follows:
public ViewResource createViewResource(FacesContext context, String
resourceName)
ViewResource is a base class of Resource, so thus not necessarily a
Resource.
Then in facelets_jsf_core.tld, the resetValues tag contains the following
specification:
The implementation must cause an <code>ActionListener</code>
to be attached to the <code>ActionSource2</code> component
in which this tag is nested that calls
<code>UIViewRoot.resetValues()</code> passing the value of
the <code>render</code> attribute as the argument.
It explicitly mentions ActionSource2, but the actual requirement seems to
be just an ActionSource. The implementation code in the RI casts to an
ActionSource and just for adding an ActionListener the component does not
need to implement ActionSource2, just ActionSource.
Kind regards,
Arjan Tijms