1 Reply Latest reply on May 28, 2009 9:58 PM by jguglielmin

    Going Crazy?!? (nested not working)

    hardaur

      Seam 2.1.1.GA Icefaces 1.8.0


      Ok, little set up.  Have a home page (just showing page.xml):


      <?xml version="1.0" encoding="utf-8"?>
      
      <page 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.1.xsd">
            
            <begin-conversation if="#{!conversation.longRunning}"/>
      </page>
      



      Starts it's conversation just fine:


      conversation: id = 3, long running? true, nested? no, parent id = n/a
      



      Have a 2nd page reached through icefaces menuItem:


      <ice:menuItem value="Second Page" link="#{request.contextPath}/secondPage.seam" rendered="#{s:hasRole('user')}"/>
      



      The page.xml for 2nd page:


      <?xml version="1.0" encoding="UTF-8"?>
      
      <page 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.1.xsd">
           
           <restrict>#{s:hasRole('user')}</restrict>
      
           <begin-conversation nested="true"/> 
      </page> 
      
      



      And the conversation info for 2nd page:


      onversation: id = 4, long running? true, nested? no, parent id = n/a
      



      So I'm clearly starting a new conversation, but I can't get it to nest to save my life!  Am I missing something silly?  I have done this on a number of other pages with no problems.


      Any help is greatly appreciated, this one's got me going in circles.


      Thanks!


      Gerald