[jboss-cvs] jboss-seam/examples/wiki/src/etc/WEB-INF ...

Christian Bauer christian at hibernate.org
Thu Jan 10 19:09:16 EST 2008


  User: cbauer  
  Date: 08/01/10 19:09:16

  Modified:    examples/wiki/src/etc/WEB-INF  components.xml
  Log:
  Improved macro handling in documents and URL rendering
  
  Revision  Changes    Path
  1.36      +5 -2      jboss-seam/examples/wiki/src/etc/WEB-INF/components.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: components.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/etc/WEB-INF/components.xml,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -b -r1.35 -r1.36
  --- components.xml	1 Jan 2008 13:00:49 -0000	1.35
  +++ components.xml	11 Jan 2008 00:09:16 -0000	1.36
  @@ -139,8 +139,11 @@
           </property>
       </component>
   
  -    <factory name="themePath" scope="CONVERSATION"
  -             value="#{facesContext.externalContext.request.contextPath}/themes/#{preferences.get('Wiki').themeName}"/>
  +    <factory name="basePath"
  +             value="#{facesContext.externalContext.request.scheme}://#{facesContext.externalContext.request.serverName
  +                     }:#{facesContext.externalContext.request.serverPort}#{facesContext.externalContext.request.contextPath}"/>
  +
  +    <factory name="themePath" scope="CONVERSATION" value="#{basePath}/themes/#{preferences.get('Wiki').themeName}"/>
   
       <factory name="skin" scope="SESSION" value="d"/>
   
  
  
  



More information about the jboss-cvs-commits mailing list