Diana 8418: Facelets file type removed?

Hi

It looks like the Facelets File type has been removed from the list of supported file types in 8418. Choosing XHTML instead for .xhtml files seems now to work for facelets files, but there are some issues. Before describing these, I would like to know if we are supposed to assign .xhtml facelet files to the XHTML file type now?

Best Regards,
Claus

0
5 comments
Avatar
Permanently deleted user

The JSPx file type works better for facelets *.xhtml files.
However I don't know if that is the intended solution.

Claus Elsborg wrote:

Hi

It looks like the Facelets File type has been removed from the list of supported file types in 8418. Choosing XHTML instead for .xhtml files seems now to work for facelets files, but there are some issues. Before describing these, I would like to know if we are supposed to assign .xhtml facelet files to the XHTML file type now?

Best Regards,
Claus

0

Hi Claus, you are right, the facelets file type is dropped. Facelets
detection relies now on facelets view handler class presence in the project
classpath, with an option to enable/disable facelets support in default JSF
facet settings.


0
Avatar
Permanently deleted user

Hi Dmitry,

Ok. That is cool (although, I cannot find the option to enable/disable facelets in the jsf facet settings).

What file type association should be used instead, XHTML?

Some functionality seems to be broken.

I can no longer auto complete attributes in tags for component libraries other than <h:/> and <f:/> tags. When I try for e.g. richfaces or seam tags, it only suggests the jsfc attribute. If I write the attributes manually it seems like there are accepted(they are not red), but if I hit ctrl-Q on the attribute, no documentation is found(the doc popup is not even shown).

Best Regards,
Claus

0

This is a known bug (http://www.jetbrains.net/jira/browse/IDEADEV-26925),
will be fixed in the next EAP release.
Facelets support should work for generic xhtml file type now.
You are right, the option is hidden well :) Go to Project Settings ->
Facets -> Root JSF node -> Defaults tab... Voila! (see attached screenshot)






Attachment(s):
facelets.jpg
0
Avatar
Permanently deleted user

Hi Dmitry,

I just tried 8445 and for me, this issue is still not solved. Nothing seems to have changed regarding this.

Regards,
Claus

0

Please sign in to leave a comment.