1 Reply Latest reply on Nov 19, 2007 3:44 PM by Konstantin Kauz

    theme

    Konstantin Kauz Newbie

      i use seam 2.GA + jboss 4.2.2

      Using theme gives follow log:

      2007-11-19 16:31:44,944 DEBUG [org.jboss.seam.Component] seam component not found: theme
      2007-11-19 16:31:44,948 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam.core.theme
      2007-11-19 16:31:44,948 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam.transaction.theme
      2007-11-19 16:31:44,948 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam.framework.theme
      2007-11-19 16:31:44,948 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam.web.theme
      2007-11-19 16:31:44,948 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam.faces.theme
      2007-11-19 16:31:44,948 DEBUG [org.jboss.seam.Component] seam component not found: org.jboss.seam.international.theme
      2007-11-19 16:31:44,948 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.theme.themeFactory
      2007-11-19 16:31:44,948 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.theme.themeFactory
      2007-11-19 16:31:44,948 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.theme.themeFactory
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.theme.themeSelector
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.theme.themeSelector
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.theme.themeSelector
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.theme.themeSelector
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.theme.themeSelector
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.theme.themeSelector
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.locale
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.locale
      2007-11-19 16:31:44,949 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.locale
      2007-11-19 16:31:44,979 DEBUG [org.jboss.seam.theme.ThemeSelector] resource bundle missing: default
      2007-11-19 16:31:44,980 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3@e582a85, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader@92a2cf9{ url=null ,addedOrder=0}
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.theme.theme
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.events
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.events
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.events
      2007-11-19 16:31:44,981 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.theme.theme
      2007-11-19 16:31:44,990 ERROR [STDERR] 19.11.2007 16:31:44 com.sun.facelets.impl.DefaultFaceletFactory createFacelet
      WARNUNG: /template not found at jndi:/localhost/bau/template


        • 1. Re: theme
          Konstantin Kauz Newbie

          this seams to be a mistake in ant build file, *.properties are not copied in the war archive. project was generated with seam generator. found follow work around:

          change in follow target

          <target name="war" depends="compile"
           description="Build the distribution .war file">


          this section:

          <copy todir="${war.dir}/WEB-INF/classes">
           <fileset dir="${basedir}/resources">
           <include name="messages*.properties"/>
          
           </fileset>
           </copy>


          to

          <copy todir="${war.dir}/WEB-INF/classes">
           <fileset dir="${basedir}/resources">
          
           <include name="*.properties" />
           </fileset>
           </copy>