What I am after is being able to have my application, in dev mode, NOT use the packed javascript libraries.
I have some code that was working and I’ve changed some things in my app that I’m sure is the source of the problem. However, the javascript error that I’m getting is not helpful:
Object required framework.pack.js.jsf, line 2797 character 1
Of course going to that line in the packed source is of no use. I realize that even if it wasn’t packed it still may not be that useful to me, but I’d like to be able to make that determination.
I know I asked this question several months ago, but I never found the answer to it and eventually got by the issue I was trying to resolve. Yesterday, I had the same type of thing come up; I’m getting a Javascript error from down in the bowels of the RichFaces Tree scripts and the packed library was of no use in trying to figure out what was going on…so I took up the search again and this time found my answer. So, for anyone else who wants to understand how to get the JavaScript in RichFaces to not be packed there are two configuration settings in your web.xml:
I had tried the last parameter before, but had no luck with it, but didn’t realize that the LoadScriptStrategy of “ALL” would cause the COMPRESS_SCRIPT parameter to be ignored.