we could make a special log entry instead of just ignoring old facelets
libraries.

...and you do not have to set the config parameter if the
com.sun.facelets.FaceletViewHandler is installed in the faces-config.
MyFaces does this automatically!


2010/2/9 Matthias Wessendorf <[email protected]>

> On Tue, Feb 9, 2010 at 7:31 PM, Mike Kienenberger <[email protected]>
> wrote:
> > Never mind.  I see in the jira issue that it's possible to drop in the
> > old facelets implementation.   That seems like the right approach to
> > me.
>
> I see both ways; I think I don't like the fact that the RI has this "bug"
> :)
> So, end of the story is, almost everybody will blame this to use ;-)
> "Oh, crappy MyFaces doesn't work" etc :) All the FUD! :)
>
> >
> > On Tue, Feb 9, 2010 at 1:27 PM, Mike Kienenberger <[email protected]>
> wrote:
> >> Can it be made into a configuration option?
> >>
> >> On Tue, Feb 9, 2010 at 1:25 PM, Matthias Wessendorf <[email protected]>
> wrote:
> >>> ... on the other hand, the EG says, that JSF2.0 RT can be used to
> >>> deploy a JSF1.2 based application.
> >>> Since Facelets was just some random proprietary framework, ignoring
> >>> the "old" Facelets DTD is I
> >>> think correct;
> >>>
> >>> Still it is IMO a bit lame.
> >>>
> >>> -Matthias
> >>>
> >>> On Tue, Feb 9, 2010 at 7:20 PM, Matthias Wessendorf <[email protected]>
> wrote:
> >>>> maybe I am conservative, but I doubt that it is a bug, to allow "old"
> >>>> facelets-based tag JARs.
> >>>> You are saying it is, right ?
> >>>>
> >>>> On Tue, Feb 9, 2010 at 7:04 PM, Leonardo Uribe <[email protected]>
> wrote:
> >>>>> Hi
> >>>>>
> >>>>> I agree with Jakob.
> >>>>>
> >>>>> Just a small comment, doing some black box tests between myfaces and
> ri I
> >>>>> notice long time ago that ri cannot read faces-config.xml without
> have
> >>>>> version 2.0 in that file. It seems they fix that but a side effect is
> what
> >>>>> we are seeing right now (facelets taglibs 1.1.x read). I think
> myfaces is
> >>>>> doing right and really ri is mixing the two config files by some
> unknown
> >>>>> reason.
> >>>>>
> >>>>> regards,
> >>>>>
> >>>>> Leonardo Uribe
> >>>>>
> >>>>> 2010/2/9 Jakob Korherr <[email protected]>
> >>>>>>
> >>>>>> On my opinion you have to differentiate between 1.x taglibs and 2.0
> >>>>>> taglibs in some way, because MyFaces cannot know if this taglib will
> or
> >>>>>> won't run. If you can ensure that your 1.x-taglib runs with facelets
> 2.0 you
> >>>>>> simply have to add version="2.0" to your taglib and it will function
> >>>>>> properly.
> >>>>>>
> >>>>>> This is also specified in the spec (although completely hidden in
> the
> >>>>>> appendix): take a look at the xsd type definition of
> >>>>>> facelet-taglib-versionType. It says "This type contains the
> recognized
> >>>>>> versions of facelet-taglib supported." and "2.0" is the only allowed
> value
> >>>>>> for this attribute.
> >>>>>>
> >>>>>> Regards,
> >>>>>> Jakob
> >>>>>>
> >>>>>> 2010/2/9 Matthias Wessendorf <[email protected]>
> >>>>>>>
> >>>>>>> Deplyoing very simple JARs, like:
> >>>>>>>
> >>>>>>>
> https://issues.apache.org/jira/secure/attachment/12435313/MyFaces_Test.jar
> >>>>>>>
> >>>>>>> should work, out of the box. Doesn't the spec explicitly talk about
> this
> >>>>>>> for backward compatibility?
> >>>>>>> Sure, when you extend the "old" Facelets classes, you have to have
> it
> >>>>>>> deployed
> >>>>>>> as well (and there is some parameter to disable Facelets2)
> >>>>>>>
> >>>>>>> -Matthias
> >>>>>>>
> >>>>>>> --
> >>>>>>> Matthias Wessendorf
> >>>>>>>
> >>>>>>> blog: http://matthiaswessendorf.wordpress.com/
> >>>>>>> sessions: http://www.slideshare.net/mwessendorf
> >>>>>>> twitter: http://twitter.com/mwessendorf
> >>>>>>
> >>>>>
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> Matthias Wessendorf
> >>>>
> >>>> blog: http://matthiaswessendorf.wordpress.com/
> >>>> sessions: http://www.slideshare.net/mwessendorf
> >>>> twitter: http://twitter.com/mwessendorf
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Matthias Wessendorf
> >>>
> >>> blog: http://matthiaswessendorf.wordpress.com/
> >>> sessions: http://www.slideshare.net/mwessendorf
> >>> twitter: http://twitter.com/mwessendorf
> >>>
> >>
> >
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>

Reply via email to