如何重新激活code帮助我的XHTML页面(蚀3.5,JBoss的工具3.1,JSF 1.2) [英] How to reactivate code assist in my xhtml page (eclipse 3.5, jboss tools 3.1, jsf 1.2)
问题描述
我发展与JSF的Facelets XHTML页面,而我总是有code协助所有我声明我在我的XHTML根元素的标签库(H,F等)
但是,因为,例如30分钟,当我按下Ctrl + Space我只有普通的HTML和UI:*建议
我并没有改变任何东西。它刚刚打破,没有错误信息,什么都没有。
我在网上搜索,但没有任何,或者我不是寻找正确的。
请帮我:)
PS:这是我的XHTML页面标题的的一个例子:
<?XML版本=1.0编码=ISO-8859-1&GT?;
<用户界面:组成的xmlns =http://www.w3.org/1999/xhtml
的xmlns:UI =http://java.sun.com/jsf/facelets
的xmlns:H =http://java.sun.com/jsf/html
的xmlns:F =http://java.sun.com/jsf/core
的xmlns:A4J =http://richfaces.org/a4j
的xmlns:R =http://richfaces.org/rich
的xmlns:C =http://java.sun.com/jstl/core
的xmlns:S =http://jboss.com/products/seam/taglib>
-
在项目点击右键,选择属性,选择项目构面,确保在JavaServer Faces中被选中。如果选中转到步骤2。
-
创建一个用户库,包括JSF API和实现库,JSF的API-xxx.jar和JSF-implement执行-xxx.jar。这将添加JSF功能,以您的项目。
如果你不明白的,请点击:
<一href=\"http://www.mkyong.com/jsf2/eclipse-ide-xhtml-$c$c-assist-is-not-working-for-jsf-tag/\">http://www.mkyong.com/jsf2/eclipse-ide-xhtml-$c$c-assist-is-not-working-for-jsf-tag/
最好的问候。
I develop jsf xhtml pages with facelets, and I always had code assist for all the taglibs i declared i my xhtml root element (h, f etc..)
But, since, like 30 minutes, when i ctrl+space i only have regular html and ui:* proposals.
I didn't change anything. It just broke, no error message, nothing.
I searched the web, but nothing either, or i am not searching right.
Please help me :)
ps : here's an example of one of my xhtml page's header :
<?xml version="1.0" encoding="ISO-8859-1"?>
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:r="http://richfaces.org/rich"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:s="http://jboss.com/products/seam/taglib">
Right click on the project, choose properties, select "Project Facets", make sure the "JavaServer Faces" is checked. If it is checked go to step 2.
Create an user library and include the JSF API and implementation library, jsf-api-xxx.jar and jsf-impl-xxx.jar. It will add the JSF capabilities to your project.
If you don't understand click: http://www.mkyong.com/jsf2/eclipse-ide-xhtml-code-assist-is-not-working-for-jsf-tag/
Best Regards.
这篇关于如何重新激活code帮助我的XHTML页面(蚀3.5,JBoss的工具3.1,JSF 1.2)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!