Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
23. Apr 2008, 14:09 CET | Link

I've a pageflow that starts a conversation declared as join into pages.xml

    <page view-id="/mypage.xhtml" login-required="false">
      <begin-conversation join="true" pageflow="anagFlow"/>
   </page>

mypage.xhtml has a commandButton having action gotoDatiIndirizzi (as shown below)

<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-2.0.xsd"
	name="anagFlow">
   
   <start-page name="anagraficaDatiGenerali" view-id="/mypage.xhtml">
      <redirect/>
      <transition name="gotoDatiIndirizzi" to="checkDatiGenerali"/>
   </start-page>
   
   <decision name="checkDatiGenerali" expression="#{anagrafeStudentePrenotazione.isDatiUtenteValid}">
      <transition name="true" to="anagraficaDatiIndirizzi">
          <action expression="#{anagrafeStudentePrenotazione.initIndirizzi()}" />
      </transition>
      <transition name="false" to="anagraficaDatiGenerali"/>
   </decision>

...

</pageflow-definition>

Sometimes when I press the commandButton the page mypage(.seam) appears bypassing gotoDatiIndirizzi declaration. The cid is not present into url.

This problem is random and I'm unable to determine the cause, may you help me?