1 Reply Latest reply on Oct 26, 2011 8:56 PM by newbee07

    Conversation id evaluating to null where no natural conversation exists

    daxxy

      I am trying to set up a natural conversation called SiteCode.


      My app has only 2 pages, home.xhtml which should NOT be part of the SiteCode conversation and EditOffice which SHOULD be part of the SiteCode conversation.


      You enter a site code into the sitecode field and enter the SiteCode conversation.  However, I don't even get that far because I cannot even load my home page.


      pages.xml




      <conversation name="SiteCode"
                parameter-name="sitecode"
                parameter-value="#{siteCodes.siteCode}"/>





      home.page.xml does NOT include any reference to a conversation




      <page login-required="false" 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.2.xsd">
           
      
      </page>
      



      And yet when I try to load the page I get


      10:01:09,599 SEVERE [viewhandler] Error Rendering View[/home.xhtml]
      java.lang.IllegalStateException: conversation id evaluated to null: SiteCode



      Why is the app even attempting to evaluate this?  This page should be completely outside the named conversation.


      I've never tried this before. What am I doing wrong?


      TDR