1 Reply Latest reply on Sep 7, 2007 9:13 AM by Urs Wagner

    Multiple pages.xml file

    Urs Wagner Novice

      Hello

      I need more than one pages.xml file. My ways do not work.
      I tried it with another name somewhere in the tree. It does not
      work.
      Are there any restriction for the name and location of these files?
      The content of the file is:

      <?xml version="1.0" encoding="UTF-8"?>
      <pages xmlns="http://jboss.com/products/seam/pages"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd">
      
       <page view-id="/modules/manageMissions/missions/main.xhtml">
       <navigation>
       <rule if-outcome="missionAction_createMission">
       <redirect view-id="/modules/manageMissions/missions/editMission.xhtml"/>
       </rule>
       <rule if-outcome="missionAction_editMission">
       <redirect view-id="/modules/manageMissions/missions/editMission.xhtml"/>
       </rule>
       </navigation>
       </page>
      
      </pages>