0 Replies Latest reply on Sep 29, 2009 10:26 PM by ajanz

    skin and css depending on session

    ajanz
      in my application i need session dependend skin and css

      so i write a session with get/set css and skin

      in my web.xml i got

           <context-param>
                <param-name>org.richfaces.SKIN</param-name>
                <param-value>#{Session.skin}</param-value>
           </context-param>

      in my template xhtml i got

      <link rel="stylesheet" type="text/css" href="#{Session.css}" />

      but this seems to have heavy impact on performance.

      so i tried @BypassInterceptors on getss and getskin...

      the app seems is now faster...but now i got often "Could not aquire lock on Session Bean error"

      any suggestions what to do?