[jboss-user] [JBoss Seam] - Re: Pageflow: Illegal Navigation Error
tjakopec
do-not-reply at jboss.com
Tue Jan 15 02:22:51 EST 2008
"pete.muir at jboss.org" wrote : You can only define a single entry point with a pageflow, sorry.
I really don't understand what you mean :(
I did a little digging, and this is my findings:
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
| <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!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119924#4119924
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119924
More information about the jboss-user
mailing list