-
Aug 2nd, 2011, 10:28 AM
#1
Spring Faces with No Web Flow
Hi,
I am trying to integrate JSF and SPring MVC.
I added the following code in the applicationContext.xml file
<bean id="viewResolver" class="org.springframework.web.servlet.view.UrlBas edViewResolver">
<property name="viewClass" value="org.springframework.faces.mvc.JsfView"></property>
<property name="prefix" value="/WEB-INF/views/"/>
<property name="suffix" value=".xhtml"/>
</bean>
I am able to get a form running but was not able to submit an action to the controller using h:form and also not able to validate the form.
Is it possible to integrate JSF with Spring MVC and not use web flow.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules