简体   繁体   English

JSF 2.1(faces-config.xml)

[英]JSF 2.1 (faces-config.xml)

I created a Dynamic web project in eclipse(JUNO) with JSF2.1 features , i followed all the steps in below link, http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.jst.jsf.doc.user%2Fhtml%2Fgettingstarted%2Ftutorial%2FJSFTools_tutorial_JSF20.html 我在Eclipse(JUNO)中使用JSF2.1功能创建了一个动态Web项目,我按照以下链接中的所有步骤进行操作: http: //help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.jst .jsf.doc.user%2Fhtml%2Fgettingstarted%2Ftutorial%2FJSFTools_tutorial_JSF20.html

My problem is faces-config file is in XML format only but i didn't get the "Introduction ,Overview,Navigation rule,Managed-bean ,component,others and source " tabs . 我的问题是faces-config文件仅是XML格式,但是我没有得到“简介,概述,导航规则,Managed-Bean,组件,其他和源”选项卡。 in faces.config.xml file .. 在faces.config.xml文件中..

how can i get the tabs? 我如何获得标签?

You need to open it with the Faces Config Editor. 您需要使用Faces Config Editor打开它。 To do that, 要做到这一点,

  1. Right-click your faces-config.xml >> Open With >> Other 右键单击您的faces-config.xml >>打开方式>>其他
  2. Within Internal Editors , select Faces Config Editor 内部编辑器中 ,选择Faces Config Editor

To make it permanent, 为了使其永久化,

  1. Go to General >> Editors >> File Associations 转到常规>>编辑器>>文件关联
  2. In the File Types section, click Add >> faces-config.xml 在“ 文件类型”部分中,单击“添加” >> faces-config.xml
  3. Click on the now listed faces-config.xml in this section 单击此部分中现在列出的faces-config.xml
  4. In the Associated Editors section, click Faces Config Editor >> Default 在“ 关联的编辑器”部分中,单击“ Faces Config Editor ” >>“默认”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM