What's the state of Facelets support in Helios? [message #535518] |
Mon, 24 May 2010 05:03  |
Eclipse User |
|
|
|
When WTP M6 was released, I read in the new & noteworthy that basic Facelet support was now included in the main WTP distribution:
Quote: |
This milestone also has basic support for source-level editing of Facelet XHTML view files in the Web Page Editor(WPE).
|
Today I downloaded Eclipse for Java EE developers RC1 (eclipse-jee-helios-RC1) and tried to open a Facelets .xhtml file in an existing (imported) project that has the Dynamic Web Module and JavaServer Faces facets.
The xhtml file was initially opened with just the html editor, which of course gave me no editing support whatsoever. I then opened the file explicitly with the Web Page Editor, which worked but unpleasantly surprised me by also giving me no support at all. There is no content assist or autocompletion, and I can't navigate into anything pointed at by EL.
Is this what is meant with "basic" support, or is autocompletion and EL navigation supposed to be working?
|
|
|
Re: What's the state of Facelets support in Helios? [message #535556 is a reply to message #535518] |
Mon, 24 May 2010 09:06   |
Eclipse User |
|
|
|
I did a little digging, but it seems there has been very little activity on Facelets support. If I take a look at this list:
https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advan ced;component=wtp.inc.facelets
Then most of the tickets have last been commented on in 2008 and are still open. For instance "Support for Facelets" (https://bugs.eclipse.org/bugs/show_bug.cgi?id=198723) has not been updated since 2008. Same for "Method expression hyperlinking does not work in XHTML" (https://bugs.eclipse.org/bugs/show_bug.cgi?id=252241), which seems to me a fundamental thing for an editor to support, is still open and has been since 2008 again.
Nevertheless, there does seem to be activity related to Facelets, as witnessed by this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=309488
If I read a little between the lines, it seems I must copy a JSF 2.0 implementation to my WEB-INF/lib?
My project is a JSF 1.2 project, with the standalone Facelets jars in WEB-INF/lib. Isn't such a project supported maybe? I would at least have thought that the editor would give me some errors somewhere, but instead my .xhtml page was simply displayed as xml, without any errors or validation markers.
I also tried creating a new project and choose JSF 2.0 (although I did not add the implementation libs to my project). Again there were no errors or warnings and my test .xhtml page was opened and displayed as if it was just a normal xml file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05284 seconds