2 Replies Latest reply on Oct 1, 2007 11:52 PM by samdoyle

    Why would adding the following to pages.xml give me: No acti

    samdoyle

      Here is the exception as I've seen before. As usual the exception doesn't give any indication of the true problem.

      4541-a253-1f80ffbdb7c7;|Error Rendering View[/login.xhtml]
      java.lang.IllegalStateException: No active conversation context
      


      Here are the two new entries in the pages.xml. Without these it works fine.
      <page view-id="*" login-required="true">
      
      // several more navigation rules before this
      
      <navigation>
       <rule if-outcome="NotificationAdmin">
       <redirect view-id="/notificationAdmin.xhtml"/>
       /rule>
      </navigation>
      
      </page>
      
      // several more of the same type of entry before this one.
      <page view-id="/notificationAdmin.xhtml" login-required="true">
       <restrict>#{s:hasRole('ultra-user')}</restrict>
       </page>
      


      I have commented out the notificationAdmin.xhtml so it is bare bones and not doing any form of Seam Component access and I still get this error.

      Any help would be great since there is no real indication why this would happen.

      Thanks, S.D.

        • 1. Re: Why would adding the following to pages.xml give me: No
          samdoyle

          Here is my bare bones notificationAdmin.xhtml

          <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
          <ui:composition xmlns="http://www.w3.org/1999/xhtml"
           xmlns:s="http://jboss.com/products/seam/taglib"
           xmlns:ui="http://java.sun.com/jsf/facelets"
           xmlns:f="http://java.sun.com/jsf/core"
           xmlns:h="http://java.sun.com/jsf/html"
           xmlns:rich="http://richfaces.ajax4jsf.org/rich"
           template="layout/template3col.xhtml">
          
           <h:messages globalOnly="true" styleClass="message"/>
          
           <ui:param name="activeTab" value="NotificationAdmin"/>
          
           <ui:define name="leftsidebar">
           </ui:define>
           <ui:define name="content">
           </ui:define>
           <ui:define name="rightsidebar">
           </ui:define>
          
          </ui:composition>
          


          • 2. Re: Why would adding the following to pages.xml give me: No
            samdoyle

            Please disregard this, I figured out the problem.

            S.D.