0 Replies Latest reply on Nov 14, 2008 9:39 PM by Francisco Philip

    Start pageflow with outcome

    Francisco Philip Newbie

      Hi,


      Can I do works something like this?



      This pageflow found if only start it but if i want use start-stat the pageflow crash...




      <s:link pageflow="my-pageflow" outcome="add" value="dosen't works" propagation="begin"/>
      
      
      
      <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"
              start-page="browse-page"
              name="my-pageflow">
      
          <start-state name="start">
              <transition to="browse-page"/>
              <transition name="add" to="new-page"/>
              <transition name="edit" to="edit-page"/>
              <transition name="remove" to="remove-page"/>
              <transition name="end" to="end-page"/>
          </start-state>
      
          <page name="browse-page" view-id="/view/browse.xhtml" redirect="true">
              <description>#{messages.ajusteBrowse}</description>
              <transition name="add" to="new-page"/>
              <transition name="edit" to="edit-page"/>
              <transition name="remove" to="remove-page"/>
              <transition name="end" to="end-page"/>
          </page>
      
      
          <page name="new-page" view-id="/view/new.xhtml" redirect="true">
              <description>#{messages.ajusteNew}</description>
              <transition name="cancel" to="browse-page"/>
              <transition name="success" to="browse-page"/>
          </page>
      
          <page name="edit-page" view-id="/view/edit.xhtml" redirect="true">
              <description>#{messages.ajusteEdit}</description>
              <transition name="cancel" to="browse-page"/>
              <transition name="success" to="browse-page"/>
          </page>
      
          <page name="remove-page" view-id="/view/remove.xhtml" redirect="true">
              <description>#{messages.ajusteRemove}</description>
              <transition name="cancel" to="browse-page"/>
              <transition name="success" to="browse-page"/>
          </page>
      
      
      </pageflow-definition>