4 Replies Latest reply on Jan 3, 2008 1:58 PM by pmuir

    Add no-conversation-view-id dynamically in pages.xml

    jpviragine

      Its possible to add no-conversation-view-id dynamically in pages.xml?

      Im try define the value in theme(theme-selector)


      default.properties
      
      css /css/geral.css
      template /layout/layout.xhtml
      menu /menu/menu.xhtml
      


      
      pages.xml
      
      <pages 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.0.xsd"
       no-conversation-view-id="#{theme.menu}">


      But I get:
      Exception during request processing:
      Caused by java.lang.IllegalArgumentException with message: "Illegal view ID #{theme.menu}. The ID must begin with /"


      Cheers,

      Joao Paulo