[jsr-314-open-mirror] [jsr-314-open] [545-VisitHints] proposal

Leonardo Uribe lu4242 at gmail.com
Thu Jun 10 18:45:50 EDT 2010


2010/6/10 Andy Schwartz <andy.schwartz at oracle.com>

>  On 6/10/10 6:14 PM, Leonardo Uribe wrote:
>
>
> 2010/6/10 Ed Burns <edward.burns at 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 at oracle.com | office: +1 407 458 0017
>> | homepage:          | http://ridingthecrest.com/
>> | 21 Work Days Til JSF 2.1 Milestone 1
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20100610/14a17642/attachment-0002.html 


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