This content has been marked as final.
Show 1 reply
-
1. Re: Richfaces 4.5.x doesn't support dynamic loading bundled javascript.
michpetrov Jan 6, 2015 5:20 AM (in response to wangliyu)Hi,
this is the way it works, JSF reads the page and loads resources for the components it finds there, no component - no resources.
So if you need a particular library you either have to include the component associated with the library or you can include the library manually, e.g.
<h:outputScript library="flot" name="jquery.flot.js" target="head" />
Although I don't understand what you're trying to do, if you're not working with charts on the first page then you shouldn't need flot.