[jboss-user] [JBoss Seam] - Re: Page Navigation Problem

nhpvti do-not-reply at jboss.com
Fri Jan 18 05:26:12 EST 2008


"grdzeli_kaci" wrote : hi all,
  | i have page navigation from login page.xhtml to /inbox/maillist.xhtml  but it does not working, because i have maillist.xhtml into inbox folder, if i move this page into root directory it works,, is there any specific configuration ?????
  | 
  | my example code :
  | 1. login.page.xml 
  | 
  |   | <page>
  |   |    <navigation from-action="#{identity.login}">
  |   |       <rule if="#{identity.loggedIn}">
  |   |          <redirect view-id="/inbox/maillist.xhtml"/>
  |   |       </rule>
  |   |    </navigation>
  |   | </page>
  |   | 
  | 
  | if i change maillist path it works :( , i want create pages into different folders, but it does not working :(
  | 

I suppose maillist.xhtml uses a template, something like

<ui:composition template="layout/template.xhtml">

You have to change it so:

<ui:composition template="/layout/template.xhtml">


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121226#4121226

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121226



More information about the jboss-user mailing list