[jboss-user] [JBoss Seam] - Add no-conversation-view-id dynamically in pages.xml

jpviragine do-not-reply at jboss.com
Tue Dec 4 07:38:43 EST 2007

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 /"


Joao Paulo

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110157#4110157

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110157

More information about the jboss-user mailing list