Converting ICEfaces 1.8 Components to ICEfaces 3

compared with
Current by Mark Collette
on Jul 18, 2012 05:53.


 
Key
These lines were removed. This word was removed.
These lines were added. This word was added.

View page history


There are 2 changes. View first change.

 h1. 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|ICEfaces+Advanced+Components+Environment].
  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|ICE:ICEfaces 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:
  
 {code:xml}<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>
 {code}
  
 and
  
 {code:xml}<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>
 {code}

© Copyright 2021 ICEsoft Technologies Canada Corp.