0 Replies Latest reply on Jul 29, 2010 3:07 AM by Max Meyers

    Difference between *.page.xml and pages.xml in embedded jboss

    Max Meyers Newbie
      hi!

      i wanted to test restrictions with seamtest. i noticed, that the test behaves different, whether the restriction is in pages.xml or *.page.xml. i had the same behavior in all tests that i've written.

      If i write a test and have <restrict> tag in pages.xml i get an AuthenticationException, when i request the xhtml-file in seamtest. But if i have the <restrict> tag in *.page.xml, then i get no AuthenticationException. I used exactly the same code for both tests (only the place for the <restriction> tag was different).

      did anybody got tests with restriction-tag in *.page.xml working? is this a bug or is it the expected behavior?

      thanks for any hint!

      regards,
      max.