I'm trying to configure themes in a prototype Seam application and would like to be able to rebrand the site using themes. But, I'm getting the following error followed by the world's largest stack dump:
template="#{theme.template}" /index.xhtml @8,46 template="#{theme.template}": Cannot get value for expression '#{org.jboss.seam.theme.theme}
<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" template="#{theme.template}">
<theme:theme-selector cookie-enabled="true"> <theme:available-themes> <value>default</value> </theme:available-themes> </theme:theme-selector>
To answer my own question.
The problem was that the theme properties files where not being placed into the root folder of the ear file. Once the build.xml was modified to copy the theme.properties files into the correct place, then the theme component was visible.