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
Hi Bharat,
Now it seems that your application cannot find folder WEB-INF.
I can recommend you to get our sample application - this is file infragistics-netadvantage.war in demos folder of your JSF NetAdvantage installation and import it in Eclipse (or IDE you are using). Check about working of the this application and see how the things are configured there.
Hello Christo,
The application is up and running perfectly before.I just wanted to replace a table in one page with the webgrid component.I have already downloaded and looked into the demo files.The configuration is different from what my current project is using.I see that there are two extra xml files ie managed-beans.xml and naviagation.xml which are usually not present in the WEB-INF folder.I am trying to use only the webgrid component on one page and leave the remaining project unchanged.Is it possible at all or should I totally get rid of trinidad components and use netadvantage for everything?
Please take a look at http://help.infragistics.com/Help/NetAdvantage/JSF/2008.2/HTML/JSF_Getting_Started_Changing_the_Location_of_the_Resource_Files.html
where you can see where is the default place for resources folder and how you can change it. I hope this will fix your problem.
We have a family of WebInput components - see http://help.infragistics.com/Help/NetAdvantage/JSF/2008.2/HTML/JSF_WebInput_About_the_WebInput_Components.html
Something more - you can use them for editing of cell in grid - see cell editing article - http://help.infragistics.com/Help/NetAdvantage/JSF/2008.2/HTML/WebGrid_Cell_Editing.html
Hi Christo
Thanks for the help.It working now.I have one more question.Does netadvantage provide only components like Webchart,Webgird etc?Does it also have components like input fields,check boxes etc or should I use the regular h:inputTex fileds inside the table columns?Also can you point me where I can find the documentation for various tags like ig:column etc ie the attributes associated with it etc.
Thanks a lot for you help