Hi all I have written a component for JSF that needs a javascript file. I packed the component inside a jar file and I want to put the js file inside that jar file so read that file as stream and my component use it.
in the renderer for my component I have to use ResponseWriter for building response, but as far as I know to attach another resource like js, I should use ResponseStream. but they dont work at a time with each other. I have seen in myfaces components they are using some javascripts file in their api and use them, how can I use that feature? thank you very much in advance. -- Regards, Mohammad

