3 Replies Latest reply on Jun 20, 2008 6:05 AM by ff fff

    add javascript declaration to header - like richfaces does

    ff fff Newbie

      Hello,

      i noticed that richfaces adds the necessary javascript / ressources to the head section of the document.

      This behaviour i need to reimplement for my own custom jsf component.
      In 2 month i can switch to cdk which will ?solve the problem? but currently i have to work without.

      i noticed the classes :
      AbstractInsertRenderer.java and HeaderResourcesRendererBase are involed somehow, but i can see where actually the resource is inserted in the head section.

      Can you tell me how richfaces does this? (is the filter involed maybe?)
      Just some hints so i can find out myself somehow.

      Thx very much,
      Holger