I get the javascript errors when I try to use the webgird compoent on my page.I am trying to replace the trinidad component table with the netadvantage table.I followed the procedure in the tutorials regarding the jar files and the resources directory.These are the errors I get.I am using myfaces1.1.5.
igBootstrap is not defined
ig is not defined
Any pointers on what I am doing wrong here?
Thanks in advance
Hi bharath221,
It seems that you didn't add the Resources folder. You can found it at lib\runtime folder in your instalation path. You have to copy the entire folder to the project WebApp folder - next to WEB-INF folder, not in it. May be you copy it on wrong place?
Best regards,
Christo Tsvetanov
Thanks for the reply.
The set up in my project is a little different than usual.The WEB-INF folder is not direcly inside the webapp folder.Its inside another folder within webapp folder.The structure is like this
ProjectName->webapps->JSF->WEB-INF
Now I copied the folder 'resources' in the JSF folder. ie WEB-INF and 'resources' folder are at the same level now.
When I start the project,I get the following error in the logs when I try to login
ava.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see : http://myfaces.apache.org/tomahawk/extensionsFilter.html
at org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:389)
at org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:349)
at org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:279)
at org.apache.myfaces.webapp.filter.TomahawkFacesContextWrapper.<init>(TomahawkFacesContextWrapper.java:115)
.....
Thanks
Bharat