Announcement Announcement Module
Collapse
No announcement yet.
Rich Faces finally integrates with Spring Web Flow Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rich Faces finally integrates with Spring Web Flow

    web.xml

    Code:
                    <filter>
    			<display-name>RichFaces Filter</display-name>
    			<filter-name>richfaces</filter-name>
    			<filter-class>org.ajax4jsf.Filter</filter-class>
    		</filter>
    		
    		<filter-mapping>
    			<filter-name>richfaces</filter-name>
    			<servlet-name>Spring MVC Dispatcher Servlet</servlet-name>
    			<dispatcher>REQUEST</dispatcher>
    			<dispatcher>FORWARD</dispatcher>
    			<dispatcher>INCLUDE</dispatcher>
    		</filter-mapping>
    context-webmvc.xml

    <bean id="flowController" class="org.springframework.webflow.mvc.servlet.Flo wController">
    <property name="flowExecutor" ref="flowExecutor" />
    <property name="ajaxHandler">
    <bean class="org.springframework.faces.richfaces.RichFac esAjaxHandler"/> </property>
    </bean>
    if you have this framework jQuery -->

    put

    <script type="text/javascript">
    var $j = jQuery.noConflict();
    // Code that uses other library's $ can follow here.
    </script>

    The libraries:

    richfaces-api-3.3.2.SR1.jar

    richfaces-impl-3.3.2.SR1.jar

    richfaces-ui-3.3.2.SR1.jar

    ----------------------------

    spring-webmvc-2.5.5.jar
    spring-2.5.5.jar
    all "Spring security" .jar version 2.0.4
Working...
X