This content has been marked as final.
Show 2 replies
-
1. Re: compilation error while using richfaces 4.3.0 jars
michpetrov Feb 20, 2013 5:16 AM (in response to selvamahe)1 of 1 people found this helpfulHi,
Richfaces aren't compatible with JSP from version 4, it doesn't use the TLD your page is looking for. If you want to continue with Richfaces 4.X you'll have start using Facelets instead.
Take a look here for info on Facelets and also consult the Richfaces Migration Guide.
-
2. Re: compilation error while using richfaces 4.3.0 jars
ppitonak Feb 20, 2013 5:38 AM (in response to selvamahe)Hi Selva,
JSPs are deprecated in JSF 2 so you cannot use them with RichFaces 4. Use Facelets instead. Put something like this into your InputSearch.xhtml:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" xmlns:ui="http://java.sun.com/jsf/facelets"> <h:head> <title>Input Search</title> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> </h:head> <h:body> ... </h:body> </html>
Regards,
Palo