0 Replies Latest reply on Sep 26, 2008 11:25 PM by guy bashan

    Facelets and javascript

    guy bashan Apprentice

      Hi,


      I have a facelets component with some JS code. I want the JS code to be created only once for the first component. If there will be more than one component on the screen, it will use the same code...


      How can I do it?
      I tried setting request scope variable with c:set, but it seems not to be working.


      Anyway of doing this?


      Thanks,
      Guy.