webtier@glassfish.java.net

RE: [webtier] ResourceHandler[Wrapper] in JSF 2.0

From: Giampaolo Tomassoni <Giampaolo_at_Tomassoni.biz>
Date: Fri, 24 Sep 2010 18:50:26 +0200

> Shouldn't this be better stated in the JSF specs?

Which, by the way, isn't actually stated that bad.

Section 11.4.6, "Delegating implementation support", clearly explains it.

I couldn't see it because it's Friday?

Thanks again Jason.

Giampaolo


> Regards,
>
> Giampaolo
>
>
> > On 9/24/10 10:53 AM, Giampaolo Tomassoni wrote:
> > > Hi,
> > >
> > > I have a (hopefully basic) question about implementing and
> > instantiating a
> > > ResourceHandlerWrapper in JSF 2.0.
> > >
> > > How can I wrap in a ResourceHandlerWrapper any "underlying"
> > ResourceHandler?
> > >
> > > I'm working on a library which would need to override some of the
> > behavior
> > > defined by the ResourceHandler, but I would like to be kind with
> the
> > > specific JSF 2.0 flavor my library may be going to run on.
> > >
> > > In example, I would like to avoid to make a direct reference to the
> > > com.sun.faces.application.resource.ResourceHandlerImpl in my
> > > ResourceHandlerWrapper implementation. Also, if a third-party
> library
> > is
> > > actually wrapping any "official" ResourceHandler implementation, I
> > would
> > > like to avoid breaking things by letting my library directly wrap
> the
> > > official handler, and instead wrap the third-party one.
> > >
> > > Is there any way to do this?
> > >
> > > I attempted looking for a reply to this at the JSF 2.0
> specifications
> > as
> > > well as to the JSF-ri documents and sources, but I was unable to
> find
> > any.
> > >
> > > Thank you in advance,
> > >
> > > Giampaolo
> > >
> > >
> > > -------------------------------------------------------------------
> --
> > > To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> > > For additional commands, e-mail: webtier-
> help_at_glassfish.dev.java.net
> > >
> >
> >
> > --
> > Jason Lee
> > Senior Member of Technical Staff
> > GlassFish Administration Console
> >
> > Oracle Corporation
> > Phone +1 405-216-3193
> > Blog http://blogs.steeplesoft.com
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net