如何在Eclipse中激活Faces配置编辑器? [英] How to activate Faces configuration editor in Eclipse?

查看:684
本文介绍了如何在Eclipse中激活Faces配置编辑器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在eclipse中创建JSF2.0项目时,它的faces-config.xml文件的打开始终启动faces配置编辑器。但现在我有一个Google AppEngine项目,并且手动添加了JSF2(和PrimeFaces)。当我打开faces-config.xml文件时,面孔配置编辑器不会启动,所以我可以通过xml源编辑这个文件。

When I make a JSF2.0 project in eclipse, the opening of it's faces-config.xml file always starts the faces configuration editor. But now I have a Google AppEngine project and I have added JSF2 (and PrimeFaces) manually. And when I open the faces-config.xml file, the faces configuration editor doesn't start so I can edit this file only through xml source.

如何激活该项目的面孔配置编辑器

How can I activate the Faces Configuration Editor for this project?

推荐答案

将JSF facet添加到项目方面部分项目的属性。

Add the JSF facet in the Project Facets section of the project's properties.

这篇关于如何在Eclipse中激活Faces配置编辑器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆