myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Wessendorf <mat...@apache.org>
Subject Re: [MyFaces2] TagDecorator in IMPL and API ...
Date Wed, 14 Apr 2010 15:49:33 GMT
https://issues.apache.org/jira/browse/MYFACES-2659

already fixed on trunk...

-M

On Wed, Apr 14, 2010 at 5:48 PM, Matthias Wessendorf <matzew@apache.org> wrote:
> Hi,
>
> in IMPL we have this interface:
> https://svn.apache.org/repos/asf/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/view/facelets/tag/TagDecorator.java
>
> However it has been promoted to be an API:
> https://svn.apache.org/repos/asf/myfaces/core/trunk/api/src/main/java/javax/faces/view/facelets/TagDecorator.java
>
> the IMPL one is used in these classes:
>
> core/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewHandler.java
> core/impl/src/main/java/org/apache/myfaces/view/facelets/FaceletViewDeclarationLanguage.java
> core/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/CompilationManager.java
> core/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/Compiler.java
> core/impl/src/main/java/org/apache/myfaces/view/facelets/tag/jsf/html/HtmlDecorator.java
> core/impl/src/main/java/org/apache/myfaces/view/facelets/tag/CompositeTagDecorator.java
>
> and this "dependency" leeds to problems like:
>
>
> SEVERE: Error Loading decorator:
> oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator
> java.lang.ClassCastException:
> oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator cannot be
> cast to org.apache.myfaces.view.facelets.tag.TagDecorator
>        at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.loadDecorators(FaceletViewDeclarationLanguage.java:1645)
>        at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.createCompiler(FaceletViewDeclarationLanguage.java:1286)
>        at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.initialize(FaceletViewDeclarationLanguage.java:1617)
>        at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.<init>(FaceletViewDeclarationLanguage.java:238)
>        at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguageStrategy.<init>(FaceletViewDeclarationLanguageStrategy.java:52)
>        at org.apache.myfaces.view.ViewDeclarationLanguageFactoryImpl.initialize(ViewDeclarationLanguageFactoryImpl.java:106)
>        at org.apache.myfaces.view.ViewDeclarationLanguageFactoryImpl.getViewDeclarationLanguage(ViewDeclarationLanguageFactoryImpl.java:79)
>        at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl.getViewDeclarationLanguage(ViewDeclarationLanguageFactoryImpl.java:77)
>        at org.apache.myfaces.application.ViewHandlerImpl.getViewDeclarationLanguage(ViewHandlerImpl.java:136)
>
>
>
>
>
> --
> 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

Mime
View raw message