2 Replies Latest reply on Aug 15, 2011 10:22 AM by koallen

    Cannot convert server of type class java.lang.String to class org.richfaces.PanelMenuMode

    koallen Newbie

      I have just upgraded an app previously running on Richfaces 3and JSF 1.2 to JSF2 and Richfaces 4, the app was also using tomahawk for the spread radio buttons,so, we also upgraded to the JSF2 version for tomahawk, I am getting the error below when I try to load a page.

      I checked the tags for Richfaces 4, which have changed from version 3, everything looks fine, I was wondering if anyone has come across this issue.

      The app is deployed on Tomcat 7.0.16

      Thanks

      javax.el.ELException: Cannot convert server  of type class java.lang.String to class org.richfaces.PanelMenuMode at org.apache.el.lang.ELSupport.coerceToEnum(ELSupport.java:186) at org.apache.el.lang.ELSupport.coerceToType(ELSupport.java:409) at org.apache.el.ExpressionFactoryImpl.coerceToType(ExpressionFactoryImpl.java:47)  at com.sun.faces.facelets.tag.BeanPropertyTagRule$LiteralPropertyMetadata.applyMetadata(BeanPropertyTagRule.java:88)  at com.sun.faces.facelets.tag.MetadataImpl.applyMetadata(MetadataImpl.java:81)  at javax.faces.view.facelets.MetaTagHandler.setAttributes(MetaTagHandler.java:129)  at javax.faces.view.facelets.DelegatingMetaTagHandler.setAttributes(DelegatingMetaTagHandler.java:102)  at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.setAttributes(BehaviorsAddingComponentHandlerWrapper.java:115)  at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.doNewComponentActions(ComponentTagHandlerDelegateImpl.java:398)  at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:159)  at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)  at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:98)  at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)  at org.richfaces.view.facelets.html.BehaviorsAddingComponentHandlerWrapper.applyNextHandler(BehaviorsAddingComponentHandlerWrapper.java:55)  at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:184)  at