You will probably have to change any jsp taglib entries to html namespace entries so instead of:
 
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
... etc ....
<html>
 
You would need:
 
<html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:t="http://myfaces.apache.org/tomahawk"
        xmlns:ui="http://java.sun.com/jsf/facelets">
 
Or something like that.
 
Regards,
David
-----Original Message-----
From: Yee CN [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 05, 2006 11:03 PM
To: 'MyFaces Discussion'
Subject: Q: migrating to Facelets

Hi,

 

I am thinking of migrating to Facelets and I need to gauge the efforts required. Assuming that my jsf pages are relatively pure (i.e. no jstl etc), would my pages compile and run as it is without modifications? I got the impression that this is so – can someone please confirm?

 

Is there any gotcha to watch out for?

 

Many thanks.

 

Best regards,

Yee

Reply via email to