Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Migration from JSF 1.2 to 2.0
Joined: Jun 27, 2012
Sep 17, 2012 09:49:22
I have developed a project in
1.2 + Richfaces 3.2.2 + jdk6
Now, I want to migrate it to JSF 2.0 + Richfaces 4 + jdk 7
I am using Eclipse Indigo IDE and
7.1.1 server. So, I do I begin? After some search I found out that I have to edit faces-config from
<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xi="http://www.w3.org/2001/XInclude" 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_1_2.xsd">
<faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xi="http://www.w3.org/2001/XInclude" 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">
and also removed the
Joined: Jun 25, 2001
Sep 18, 2012 05:21:12
I think I saw a migration guide in the RichFaces 4 docs. Bitter experience tells me that the change to the version ID in faces-config is essential, though.
Your biggest problem is that RF4 is sufficiently different from RF3 that it's on the scale of migrating Visual Basic 6 to Visual Basic.Net. A lot of grunt work.
Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Migration from JSF 1.2 to 2.0
Session managing in JSF
Weired Problem with JSF TLD on Tomcat
App doesn't work
Spring Security 3 - cant't access secured page
@PostConstruct dont work
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014