0 Replies Latest reply on Mar 6, 2008 3:50 AM by JP Smith

    a4j:loadStyle and other

    JP Smith Newbie

      Hi All,

      I'm trying to use a4j:loadStyle to load a stylesheet, but I can't get it to work for my particular use case. The stylesheet is located at http://localhost/css/default.css, but the JSF page is located at http://localhost/company/registration.jsp. If I try and use /css/default.css for the src attribute of the a4j:loadStyle element, it automatically adds the context root, i.e. company, to the front of the URL and returns /company/css/default.css.

      Any ideas?
      Ristretto