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
>

Reply via email to