Announcement Announcement Module
Collapse
No announcement yet.
h:outputLink not triggering webflow event Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • h:outputLink not triggering webflow event

    I am building the link like this:

    HTML Code:
    <h:outputLink value="#{flowExecutionUrl}&amp;_eventId=displayBrief&amp;briefId=#{brief.briefId}">
         <h:outputText value="#{brief.eventName}"/>	                        			
    </h:outputLink>
    Note that I had to add the '&' this way due to encoding the flowExecuteUrl may contain the '?' so I can't use faram.

    Clicking this link does nothing but render the same view again.

    Here is my webflow config:

    HTML Code:
    	<bean class="org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter" />
    
    	<!-- JSF for representation layer. All JSF files under /WEB-INF/pages directory -->
    	<bean id="faceletsViewResolver"
    		class="org.springframework.web.servlet.view.UrlBasedViewResolver">
    		<property name="cache" value="false" />
    		<property name="viewClass" value="org.springframework.faces.mvc.JsfView" />
    		<property name="prefix" value="/WEB-INF/" />
    		<property name="suffix" value=".xhtml" />
    	</bean>
    
    	<!-- ******************************************************************** -->
    	<!-- Configure Spring Web Flow -->
    	<!-- ******************************************************************** -->
    	<!-- Launches new flow executions and resumes existing executions. -->
    	<flow:flow-executor id="flowExecutor" flow-registry="flowRegistry">
    		<flow:flow-execution-listeners>
    			<flow:listener ref="jpaFlowExecutionListener" />
    			<flow:listener ref="facesContextListener" />
    		</flow:flow-execution-listeners>
    	</flow:flow-executor>
    
    	<flow:flow-registry id="flowRegistry"	flow-builder-services="flowBuilderServices" base-path="/WEB-INF/flows">
    		<flow:flow-location-pattern value="/**/*-flow.xml" />
    	</flow:flow-registry>
    
    	<faces:flow-builder-services id="flowBuilderServices"
    		development="true" />
    
    	<bean id="facesContextListener"
    		class="org.springframework.faces.webflow.FlowFacesContextLifecycleListener" />
    
    	<faces:resources />
    
    	<bean class="org.springframework.webflow.mvc.servlet.FlowHandlerMapping">
    		<property name="order" value="1"/>
    		<property name="flowRegistry" ref="flowRegistry" />
    		<property name="defaultHandler">
    			<bean class="org.springframework.web.servlet.mvc.UrlFilenameViewController" />
    		</property>
    	</bean>
    	
    	<bean class="org.springframework.faces.webflow.JsfFlowHandlerAdapter">
    		<property name="flowExecutor" ref="flowExecutor" />
    	</bean>
    
    	<bean id="jpaFlowExecutionListener"
    		class="org.springframework.webflow.persistence.JpaFlowExecutionListener">
    		<constructor-arg ref="entityManagerFactory" />
    		<constructor-arg ref="transactionManager" />
    	</bean>
    Please point out anything that I may have incorrect here!! This is really putting me behind!
Working...
X