[jsr-314-open] Spec clarification: features not available in JSP

Andy Schwartz andy.schwartz at oracle.com
Thu Sep 24 11:58:10 EDT 2009


FWIW, I logged the following spec issue to track this:

Issue 636: Clarification of Facelets-only (non-JSP) functionality [1]

While I was at it, I also logged this spec issue:

Issue 635: Obsolete references to UIInput.encodeEnd() for default 
validator wiring [2]

To track this concern raised by Leonardo on the MyFaces thread:

> In jsf 2.0 spec section 3.5.3 Validation Registration says this:
>
> *"....The default validators are appended after any locally defined
> validators once the EditableValueHolder is populated and added to the
> component tree. See the javadocs for UIInput.encodeEnd() for the normative
> specification. A default validator must not be added to a UIInput if a
> validator having the same id is already present....."*
>
> First note that UIInput.encodeEnd() method does not exists!

Andy

[1] 
https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=636
[2] 
https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=635




Andy Schwartz wrote:
> Gang -
>
> Taking a look at the following thread from the MyFaces dev list:
>
> http://markmail.org/thread/ykjmdu6ehdqpxyq7
>
> I am concerned that this is an indication that we haven't been clear 
> enough about what is supported in Facelets vs. JSP.  After all, if the 
> MyFaces guys (who spend a lot of time in the spec) found this 
> confusing, it seems likely that our average users will too.
>
> I believe that the spec does specify that no new features/tags have 
> been added to JSP tag libraries.  However, I had a hard time tracking 
> this down... Can anyone provide me with a section #?
>
> I would like to propose two other steps that we should take to make 
> sure that this is clear:
>
> 1.  Let's update the spec to state specifically what functionality 
> (down to the tag/tag library level) is not supported in JSP.
>
> It is possible that this information is already present, but if not, I 
> would like to see a section that contains a list of all of the new 
> tags that were added in JSF 2 that are specific to Facelets (ie. not 
> available in JSP).
>
> 2.  Let's update the Facelets PDL docs to identify tags that are not 
> present in JSP.
>
> For example, the PDL doc for f:ajax should state that it is not 
> available in JSP.
>
> Do these sound like reasonable changes?
>
> Personally I think it is important to clarify this (ideally in the 
> next MR) as we have  a large (potentially soon to be confused) user 
> base of JSP users looking to upgrade to JSF 2.
>
> Andy





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