1 Reply Latest reply on Oct 27, 2008 4:46 PM by Uros Majeric

    pages.xml not found in Seam 2.1GA

    Uros Majeric Newbie

      Hi,


      I'm using Seam since 1.2 and have tried 2.1GA now. But I've got an issue. I updated my project generated with seam-gen 2.0 to Seam 2.1. My problem is following: I have a page RoleList.xhtml and RoleList.page.xml and some tags in it, but whenever I load a page RoleList.xhtml, everything is done like there were no RoleList.page.xml file. File looks like this:



      <page 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.1.xsd"
            login-required="true">
      
        <restrict>#{s:hasRole('system')}</restrict>
        #{messages.roleList_title}
             
           <action execute="#{roleList.begin()}"/>
           
           <param name="firstResult" value="#{roleList.firstResult}"/>
           <param name="naziv" value="#{roleList.role.name}"/>
      
      </page>




      Any suggestions?


      Thanks, Uros