5 Replies Latest reply on Jan 12, 2009 8:36 PM by Stephen Friedrich

    Easy way to render a different view?

    Stephen Friedrich Novice

      I have a general view /todo.xhtml as a stand-in for parts of the application that are still missing.
      However I want the URLs/view ids for the missing parts to already work.
      For example currently the application's home page isn't done yet, so I have this in my pages.xml and can already use /home.xhtml in my app (say a navigation bar):


      <page view-id="/home.xhtml" login-required="true" action="#{elUtil.nullAction}">
          <rewrite pattern="/home"/>
          <navigation from-action="#{elUtil.nullAction}">
              <render view-id="/baustelle.xhtml"/>
          </navigation>
      </page>
      



      Is there a nicer/cleaner/better way to do that without using a dummy action?