0 Replies Latest reply on May 26, 2008 7:08 AM by guarf

    Dynamic body Background

    guarf

      Im trying to change my background when i log in my web... im trying this way:

      <a4j:loadStyle src="resource:////css/common.css" rendered="${Login.loggedIn}"/>
      <a4j:loadStyle src="resource:////css/common_1.css" rendered="${Login.notLoggedIn}"/>


      Its work perfect ONE time...

      for example, when I log in, the page show "X background" and when I log off the page show "Y background", but when I try to log in one more time nothing change... and the page show the same "Y background".
      It only change if I refresh the page from the browser.

      any answer will be appreciated.