[英]The “Palette” doesn't show Richfaces or Ajax4Jsf library after Richfaces installation
我嘗試為我的jsf項目添加richfaces。 我的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。
我有一個頁面masterPage1.jsp,在將richfaces庫添加到web-inf / lib之前,它運行良好。 在我添加了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或Ajax4Jsf庫。 我也遵循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>
謝謝大家
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.