

It is possible to combine ICEfaces and other JSF implementations in the same web application. It’s a shame, since my main JSF library is usually ADF Faces, but some components in ICEfaces make for interesting complements to ADF Faces. This is caused by the special ViewHandler used by ICEfaces in conjunction with its Dynamic (Ajax) Rendering architecture. ICEfaces components cannot be used in the same page as JSF components from other libraries. Mixing ICEfaces with other JSF libraries such as ADF Faces/MyFaces Trinidad and Apache MyFaces Tomahawk When we run this page, the browser opens up with the familiar:Ī slightly more interesting ICEface component We can also drag and drop ICEfaces components from the Component Palette onto the editor: Next, add our very first ICEfaces element: ice:outputText. Tags outside f:view (the elements jsp:root, jsp:output and jsp:directive.page). He jsp:root element to the f:view element. The WYSIWYG JSP Editor opens – with a pretty much blank screen as we have not yet added any content to the page.

Select the ICEfaces Taglibrary along with the JSF Core and JSF Html libraries. Call the file for example ICEfacesTabsDemo.jspx. Go to File, New and from Web Tier, JSF choose the option JSF JSP. Let’s create our first JSF page with ICEfaces components.

Select the ICEfaces Component Suite 1.5.2 to add to the project.ĩ. Double click on the MyFirstICEfaces project (or select Edit Project Properties) and go to JSP Tag Libraries. Add the ICEfaces Taglibrary to the project. So I opened the web.xml file and pasted in the following elements:Ĭom.PersistentFacesServletĬom.BlockingServletĬom.FileUploadServletĨ. Or at least: that is what I thought should happen. Two things happen: the ICEfaces libraries are added to your project and some ICEfaces configuration details are added to the web.xml file. Now when you go to the RMB menu on the MyFirstICEfaces project, the option ICEfaces Integration is enabled. Accept all defaults in the wizard that pops up.ħ.

We can turn our project into a Web Project by creating a dummy JSF page: go to File, New and from Web Tier, JSF pick JSF JSP. Apparently, the ICEfaces Integration option in the Project’s RMB menu is only available for a Web Project. Let’s now create a new Application and a new Project.Ħ. (you may check to see either if there are new Libraries predefined or if the menu option ICEfaces Integration has been added to the RMB menu on projects).ĥ. When that is done, the plugin is installed and ready to rock. Click Next and subsequently Finish at the first opportunity.Ĥ. Then browse and select the ICEfaces-v1.5.2-JDeveloper.zip file you have downloaded from ICEfaces. Save the zip-file just anywhere on your drive (c:\temp will do nicely)ģ.
#Icefaces 3.x books download#
Download ICEfaces-v1.5.2-JDeveloper.zip by pressing the download button. Go to, Register (if this is your first visit – note: registering is free) or Login (for a returning visitor)Ģ. We will be using ICEfaces 1.5.2, which was released just days ago.
#Icefaces 3.x books how to#
I will show you how to get a simple ICEfaces application running in no time at all (well, under 30 minutes). ICEfaces comes with a plugin for JDeveloper 10.1.3.x – since I am a happy JDeveloper user, that was to be my starting point. I decided to give ICEfaces a spin, watched the demos on and became convinced that the components were worth a second look. Note however: ICEfaces does not mix freely within a JSF page with other JSF implementations. Next to for example ADF Faces/MyFaces Trinidad and MyFaces Tomahawk, ICEfaces is another set to pick components from. This basically means that a lot of rich, often AJAX powered components became much more readily available for JSF application developers. November 2006 saw the announcement by ICEsoft that their ICEfaces library of JSF components was being released under an open source license.
