Converting ICEfaces 1.8 Components to ICEfaces 3

Table of Contents

Converting ICEfaces 1.8 Components to ICEfaces 3 Tutorial

Fully converting a component that was designed to work with ICEfaces 1.8 on JSF 1.1 or JSF 1.2 to working with ICEfaces 3 on JSF 2 is an extensive topic. For the most part, old components work as is in the new environment, and so all that is necessary are a few configuration changes. The complexity comes in adding new JSF 2 functionality to old components. In many cases, to receive the full benefits of JSF 2, it might prove simpler to port your components to the Advanced Components Environment.

For the minimal update route, you need only change your faces-config.xml file and Facelets Taglib.xml file to use the new JSF 2 schemas:

<faces-config
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
    version="2.0"
    metadata-complete="false">
...
</<faces-config>

and

<facelet-taglib
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
    version="2.0">
...
</facelet-taglib>
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2018 ICEsoft Technologies Canada Corp.