2010/6/10 Andy Schwartz <andy.schwartz@oracle.com>
On 6/10/10 6:14 PM, Leonardo Uribe wrote:

2010/6/10 Ed Burns <edward.burns@oracle.com>

As the interim mojarra technical lead, I agree with this.  Andy, if you
could attach a patch to [VisitHints-545] [1] that does this for Mojarra,
I'll give it top attention.


I'll keep an eye on this issue to include it on myfaces too.

Great, thanks guys!

BTW, any thoughts on what an acceptable name, or, at least, prefix would be?  The VisitHint will be SKIP_ITERATION.  Can we go with something like "javax.faces.visit.SKIP_ITERATION" - or do we need to stay away from the "javax.faces" prefix since this won't be part of the specification?


I think (and it is my personal opinion) it is preferred to use "javax.faces.visit.SKIP_ITERATION". If some user needs to override visitTree (example: an alternate implementation of UIData), he/she should be aware of this facesContext attribute. The only point on the api that does not use javax.faces for a facesContext attribute is this one:

public abstract class FaceletContext extends ELContext
{
    // TODO: REPORT this aberration to the EG
    public static final String FACELET_CONTEXT_KEY = "com.sun.faces.facelets.FACELET_CONTEXT";

Leonardo Uribe
 
Andy


Leonardo
 
Ed

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

--
| edburns@oracle.com | office: +1 407 458 0017
| homepage:          | http://ridingthecrest.com/
| 21 Work Days Til JSF 2.1 Milestone 1