Oct 14th, 2010, 04:53 AM
I have imported the SWF (2.2.0.RELEASE) booking-faces demo into STS and have started the project on the server.
I can access the web pages, but none of the widgets work i.e. sorting table columns, tooltip etc.
After viewing the console in firefox I can see lots of errors for Primefaces is not defined, jQuery is not defined.
Why are these js scripts missing?
Oct 14th, 2010, 10:19 AM
They should be there assuming the PrimeFaces jar is in place. If you type one of the missing URLs in the browser do you see any output from the DispatcherServlet or does it come back with a 404? The requests should end up getting delegated to the JSF ResourceHandler implementation. You can put a break point there assuming they get there.
Dec 15th, 2010, 07:25 AM
Sorry for the rather late reply and thanks for the advice. What had happened for reasons unknown is that the <faces:resources /> was missing.
I had downloaded and imported it straight into STS. Just one example of strangeness that STS has been playing on me. Grrrr.
Feb 2nd, 2011, 04:02 PM
Originally Posted by bradskuse
i'm new at this and encountering same problem, how did you download <faces:resources /> and import it straight into sts /
Does anyone know how, where the links would be?
Feb 4th, 2011, 11:13 AM
I'm guessing he meant he imported the project into STS and somehow the faces:resource element was missing.
Feb 21st, 2011, 09:09 PM
Yes thats exactly what happened.
Originally Posted by Rossen Stoyanchev