[英]The “Palette” doesn't show Richfaces or Ajax4Jsf library after Richfaces installation
I am try to add richfaces to my jsf project. 我尝试为我的jsf项目添加richfaces。 My IDE is Eclipse Helios, Tomcat 6. I had my project setup as Dynamic web project, configured with JSF 1.2 (Mojarra JSF API Implementation), added jsf-facelets.jar, jstl-api-1.2.jar, jstl-impl-1.2.jar to web-inf/lib.
我的IDE是Eclipse Helios,Tomcat6。我将项目设置为动态Web项目,并配置了JSF 1.2(Mojarra JSF API实现),并添加了jsf-facelets.jar,jstl-api-1.2.jar,jstl-impl-1.2 .jar到web-inf / lib。
I have a page masterPage1.jsp, it runs fine before adding richfaces library to web-inf/lib. 我有一个页面masterPage1.jsp,在将richfaces库添加到web-inf / lib之前,它运行良好。 After I added richfaces-api-3.3.3.final.jar, richfaces-impl-3.3.3.final.jar, richfaces-ui-3.3.3.final.jar, commons-beanutils-1.8.3.jar, commons-collections-3.2.1.jar, commons-digester-2.1.jar, commons-logging-1.1.1.jar.
在我添加了richfaces-api-3.3.3.final.jar,richfaces-impl-3.3.3.final.jar,richfaces-ui-3.3.3.final.jar,commons-beanutils-1.8.3.jar,commons之后-collections-3.2.1.jar,commons-digester-2.1.jar,commons-logging-1.1.1.jar。
The "Palette" doesn't show Richfaces or Ajax4Jsf libary. “调色板”不显示Richfaces或Ajax4Jsf库。 Also I following code in web.xml
我也遵循web.xml中的代码
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</param-value>
</context-param>
<filter>
<display-name>RichFaces Filter</display-name>
<filter-name>richfaces</filter-name>
<filter-class>org.ajax4jsf.Filter</filter-class>
</filter>
<filter-mapping>
<filter-name>richfaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
Thanks all. 谢谢大家
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.