1 Reply Latest reply on Jul 2, 2007 7:18 AM by Tomislav Tkal?evi?

    seam pageflow transition and ajax

    Tomislav Tkal?evi? Novice

      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>