- This topic has 1 reply, 2 voices, and was last updated 19 years ago by Riyad Kalla.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
Sphinx IT ConsultingMemberThe Faces XML validater complains “org.springframework.web.jsf.DelegatingVariableResolver” is not a subtype of “javax.faces.el.VariableResolver”.
But Spring’s DelegatingVariableResolver actually extends VariableResolver!Is this a bug of the Faces XML validator?
Thanks for any help,
RobertP.S. Here’s my faces-navigation.xml file:
<?xml version="1.0" ?> <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd"> <faces-config> <application> <variable-resolver>org.springframework.web.jsf.DelegatingVariableResolver</variable-resolver> <locale-config> <default-locale>de</default-locale> <supported-locale>en</supported-locale> <supported-locale>de</supported-locale> </locale-config> <message-bundle>messages</message-bundle> <!--variable-resolver>de.mindmatters.faces.spring.FacesSpringVariableResolver</variable-resolver--> </application> <application> <view-handler>org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl</view-handler> </application> <navigation-rule> <navigation-case> ... </navigation-case> ... </navigation-rule> </faces-config>
Riyad KallaMemberRobert,
I just created a new web project, added Spring and JSF support to it,a nd copied this content into a new file (removing the navigation-cases and the view-handler) and didn’t receive any validation error.What version of MyEclipse are you using (Window > Prefs > MyEclipse). I’m using version 4.0.3, I know we fixed some JSF validator issues in .1 and .2 I believe.
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)