Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsProblem creating JSF Facelets / Templating
https://www.eclipse.org/forums/index.php/mv/msg/168092/533266/#msg_533266
All of the facelets tutorials that I've found describe a step in which an HTML page is added and the user selects "New Facelet Template." There is no such option in my version of Eclipse... I noticed, however, that if I pick JSP there is an option to create a page using a "New JavaServer Faces (JSF) Page (xhtml)... I would have thought that this would create a .xhtml page but it does not - I end up with a .JSP page... so I'm completely confused as to whether or not I can create facelets applications and use templating in Eclipse.
Another, possibly related, question is how to get support for JSF 2.0... in my version of Eclipse I only have the option to select JSF 1.1 or JSF 1.2... I've downloaded and installed the latest WTP so I would have thought I'd get JSF 2.0 support but it does not show up as an option.]]>No real name2010-05-12T19:27:40-00:00Re: Problem creating JSF Facelets / Templating
https://www.eclipse.org/forums/index.php/mv/msg/168092/533420/#msg_533420
http://jsflessons.blogspot.com/2009/03/intorduction-to-facel ets.html) which gave me clear instructions on how to obtain and install the plugins to Eclipse... i.e. you need to obtain the JSF Facelets Tools from the "JSF Facelets Tools - WTP Incubator project " at the following URL:
For some reason the instructions go to state that you must add the following files to the Exclipse preferences under "Windows->Preferences->Java->Build Path->Use Libraries"
I have no idea where these jar files come from - they aren't in the package I downloaded and Eclipse seems to work perfectly fine without them... I now can create facelets in xhtml pages and see all of the page setup options relating to Facelets!
]]>No real name2010-05-13T19:15:55-00:00