8 Replies Latest reply on Jan 22, 2008 8:38 AM by Tomislav Jakopec

    pageflow illegal navigation error

    Tomislav Jakopec Novice

      I have two pageflows, "Radna mjesta" and "Kriteriji". On one pageflows I get illegal navigation, on other nothing.

      Radna mjesta pageflow


      <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="radnoMjesto">
      
       <start-page name="radnoMjesto"
       view-id="/kadrovska/maticni/sifarnici/radnoMjesto/PregledRadnoMjesto.jsp"
       timeout="1800000">
       <redirect />
       <description>
       #{messages['kadrovska.maticni.sifarnik.radnoMjesto.pregled']}
       </description>
      
       </start-page>
      
      
      
      </pageflow-definition>
      





      Kriteriji pageflow


      <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="kriterij">
      
       <start-page name="kriterij"
       view-id="/kadrovska/maticni/sifarnici/kriterij/PregledKriterij.jsp"
       timeout="1800000">
       <redirect />
       <description>
       #{messages['kadrovska.maticni.sifarnik.kriterij.pregled']}
       </description>
      
       </start-page>
      
      
      </pageflow-definition>
      
      
      
      
      

      This is the way I call this pageflows (via value binding)




      <t:dataList id="lista" var="p" value="#{oper.poslovi}" layout="orderedList">
      <s:link view="#{p.link}"
      pageflow="#{p.pageflow}" propagation="begin"
      styleClass="posaoKatalog" value="#{p.naziv.naziv}" />
      </t:dataList>





      When I call Radna mjesta I get illegal navigation, and when I call Kriteriji everything is fine.


      I try to put s:link without value binding and then everything is fine. No illegal navigation on Radna Mjesta

      Code:

      <s:link view="/kadrovska/maticni/sifarnici/radnoMjesto/PregledRadnoMjesto.jsp"
      pageflow="radnoMjesto" propagation="begin"
      styleClass="posaoKatalog" value="Radna mjesta" />
      
      <s:link view="/kadrovska/maticni/sifarnici/kriterij/PregledKriterij.jsp"
      pageflow="kriterij" propagation="begin"
      styleClass="kriterij" value="Kriteriji" />
      
      



      At the end of this post I will like to ask for help on this issue. What should I do to stop getting illegal navigation.

      Thanks!