8 Replies Latest reply on Mar 31, 2010 4:12 PM by Arno Hernach

    login-required="true" for all pages damages layout

    Robert Grampp Newbie

      I want all my pages only accessible if logged in.
      If I add

      <page view-id="/*" login-required="true">

      to my pages.xml I get the effect that the GUI layout is damaged/incomplete some way, e. g. the panel borders are missing, the GUI element positions are distorted - although the CSS file references are still in the HTML. Seems, rendering the webpage is interrupted.

      Any idea how I can accomplish what I want?

      The whole pages.xml:

      <?xml version="1.0" encoding="UTF-8"?>
      <pages xmlns="http://jboss.com/products/seam/pages"
             xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.1.xsd"


          <page view-id="/*"

                  <rule if-outcome="home">
                      <redirect view-id="/home.xhtml"/>

          ... exceptions ...   

      Regards, Robert