Firstly Infragistics let us down – you can only use Infragistics for JSF with Netbeans 5.5 (Although the website just sasy “NETBEANS”) ,… Refund please.
So our requirements:-
Netbeans 6.5
Jasper Reports
Visual Web – Woodstock/Icefaces
1. DO NOT INSTALL the Jasper Reports Plugins into Netbeans 6.5 – it breaks Visual Web
2. to Edit Reports use the stand alone Jasper Reports applciation
Secondly we need to add Jasper Reports ENGINE only to the Netbeans project so that we can run the jasper reports without upsetting visual web.
Now we can install the icefaces plugins and use them with our project.
To do this, simply download the Jasper Reports JAR file and then create a library “JasperReports” and add it to your web project – this will give you the support you need.
Save your reports into the WEB folder and then use the other code I have on this blog to execute the reports you create in your external IReport application.
Important: http://facestutorials.icefaces.org/tutorial/woodstock/PortingGuidePart1.html < Read this first before adding icefaces to your project.
Also you’ll find this 2 page crud useful as it contains both Icefaces and JSP pages. http://facestutorials.icefaces.org/tutorial/woodstock/TwoPageCrudTable_Part2.zip
Page Locations
Your old JSP pages (Woodstock) will be located at http://localhost:8080/Project-war/faces/pagename.jsp
IceFaces Pages are at http://localhost:8080/Project-war/pagename.iface
You will also find your project runs index.html which you should redirect to where you want by changing it to:-
<meta http-equiv=”refresh” content=”0;url=faces/Page1.jsp”>
March 7, 2010 at 9:30 pm |
Great information! I’ve been looking for something like this for a while now. Thanks!