[jboss-user] [JBoss Seam] - seam pageflow transition and ajax

tkalactomo do-not-reply at jboss.com
Fri Jun 29 04:30:59 EDT 2007


When i call on a4j:button action that points to transition in pageflow,whole page is rendered wrong...


  | <?xml version="1.0"?>
  | 
  | <pageflow-definition xmlns="http://jboss.com/products/seam/pageflow"
  | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  | 	xsi:schemaLocation="http://jboss.com/products/seam/pageflow http://jboss.com/products/seam/pageflow-1.2.xsd"
  | 	name="pocetna">
  | 
  | 	<start-page view-id="/Start.jsp" start 
  | 		timeout="3600000" redirect="yes">
  | 		<description>#{messages['start.start']} </description>
  | 		<transition name="expandAll" to="expandAllDecision"/>			
  | 	</start-page>
  | 	
  | 	
  | 	<decision name="expandAllDecision"
  | 		expression="#{bean.expandAll}">
  | 		<transition name="OK" to="start"/>
  | 	</decision>			
  | </pageflow-definition>
  | 

I've tried to move redirect="yes" but still not working


  | <?xml version="1.0"?>
  | 
  | <pageflow-definition xmlns="http://jboss.com/products/seam/pageflow"
  | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  | 	xsi:schemaLocation="http://jboss.com/products/seam/pageflow http://jboss.com/products/seam/pageflow-1.2.xsd"
  | 	name="pocetna">
  | 
  | 	<start-page view-id="/Start.jsp" start 
  | 		timeout="3600000" redirect="yes">
  | 		<description>#{messages['start.start']} </description>
  | 		<transition name="expandAll" to="expandAllDecision"/>			
  | 	</start-page>
  | 	
  | 	
  | 	<decision name="expandAllDecision"
  | 		expression="#{bean.expandAll}">
  | 		<transition name="OK" to="noRedirectStart"/>
  | 	</decision>		
  | 
  | 	<page name="noRedirectStart" view-id="/Start.jsp">
  | 		<description>#{messages['start.start']}</description>
  | 		<transition name="expandAll" to="expandAllDecision"/>
  | 	</page>	
  | </pageflow-definition>
  | 



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059051#4059051

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059051



More information about the jboss-user mailing list