![](/img/trans.png)
[英]Is there a way to integrate Springs @ExceptionHandler with Joinfaces
我想問是否有辦法通過 Joinfaces/Primefaces 啟用 Springs @ExceptionHandler功能。 現在我能夠處理全局@ControllerAdvice bean,但如果@ExceptionHandler在@Controller類中則不能。 關於如何解決這個話題有什么 ...
[英]Is there a way to integrate Springs @ExceptionHandler with Joinfaces
我想問是否有辦法通過 Joinfaces/Primefaces 啟用 Springs @ExceptionHandler功能。 現在我能夠處理全局@ControllerAdvice bean,但如果@ExceptionHandler在@Controller類中則不能。 關於如何解決這個話題有什么 ...
[英]org.apache.catalina.core.StandardContext.filterStart Exception starting filter [OCPsoft Rewrite Filter]
我已經成功創建了一個 spring 啟動項目,它可以正常工作,但是當我嘗試將其部署到外部 tomcat 時它失敗了。 這是我的 pom XML,下面是我的 application.properties 文件。 這是我部署到外部 tomcat 時出現的錯誤堆棧跟蹤。 我不知道我可能會丟失什么或應該做 ...
[英]Caused by: java.lang.IllegalArgumentException: More than one fragment with the name [admin_theme_fragment] was found
我被困在如何解決這個錯誤上。 這可能是一個重復的問題,但提供的解決方案我不知道如何在連接面和 spring 引導中配置它,因為我沒有使用 web.xml。 這是我的 pom XML,下面是我的 application.properties 這是我嘗試部署到外部 tomcat 時出現的錯誤的完整堆棧跟 ...
[英]PrimeFaces 10 with spring boot jspFactory is missing
我想設置一個帶有primefaces 10的spring boot 2.5.5 war應用程序來擁有UI框架。 我已經開始使用 joinfaces,但我無法滿足所有需求。 然后我刪除了 joinfaces 依賴項,並希望逐步設置。 不幸的是,似乎仍然缺少某些東西,我自己無法真正弄清楚。 這是 p ...
[英]Joinfaces support JSF Primefaces 10
Joinfaces 何時計划支持JSF Primefaces 10 ? ...
[英]can't access to suffixs or enum's values in primefaces <p:selectOneMenu component.. any solution?
嗨,我目前正在使用 primefaces 開發 java 項目(jsf),並且我正在使用枚舉,但我無法使用 primefaces 從視圖中訪問它的值。 我通過從 Bean 創建一個 getter 並訪問枚舉值暫時解決了這個問題,但它應該默認使用 allSuffix = "ALL_ENUM_VALU ...
[英]Don't know how to include joinfaces into a multi module gradle build
我的一個舊應用程序是 Java 8 Enterprise mololith,我想遷移它。 我想通過使用 joinfaces 將它遷移到一個 Spring Boot 項目中,包括 primefaces、myfaces 和 omnifaces,並將其拆分為更小的部分(多模塊項目)以便更好地維護。 因 ...
[英]JoinFaces @Configurable does not inject services
我正在將舊的 JSF 應用程序遷移到較新的版本。 我對 Primefaces 的 lazyDataModel 有疑問 現在這些類不注入服務,是 null 我的新項目是 Spring Boot、JoinFaces 4 和 Spring 5。 有人可以告訴我應該使用什么新策略,或者我是否應該添加一些額外 ...
[英]Perfectly Fine Working Eclipse Project throws 404 on Tomcat
我有一個 web 應用程序,其中包括Spring Boot, Joinfaces, JSF and Spring Security 。 當我在 ECLIPSE IDE 中運行時,此 web 應用程序運行良好。 所有頁面都可以正常工作,錯誤為 0。 問題是當我執行 mvn install 和 pac ...
[英]Error on integrating Primefaces with Springboot/JoinFaces
我正在嘗試創建一個應用程序,該應用程序將 primefaces 與 spring 引導按照以下教程集成: https://medium.com/@tsepomaleka/integrating-spring-boot-with-java-server-faces-using-joinfaces-2 ...
[英]spring boot with primefaces give error : java.lang.NoClassDefFoundError: org/springframework/core/log/LogMessage
我是 Spring Boot 的新手,我正在嘗試使用 STS IDE 構建一個帶有 Primefaces 的簡單 Spring Boot 項目。 但是當我運行程序時,出現如下所示的錯誤: 對於我的項目的 pom.xml,它是這樣的: 我按照本網站的步驟操作: https : //codeno ...
[英]Unexpected behavior with ViewScoped beans when using Spring-Session clustering with Hazelcast
我正在將群集引入基於JSF的Spring-Boot Web應用程序中,一旦我們啟用了Hazelcast的會話復制功能,我們就開始注意到我們的一些使用ViewScoped bean的JSF頁面不再正常運行。 如果我們禁用會話復制和Hazelcast,則奇怪的行為不再發生。 我首先在使用Pr ...
[英]How can I configure my joinfaces correctly?
我嘗試將JoinFaces用於我的JSF項目,並與彈簧靴結合使用! 我認為這就像將JoinFaces“入門”選項卡中提供的依賴項放到我的Maven中並設置正確的啟動器一樣簡單。 要做上面描述的還有什么呢? 我正在使用primeface,Maven和TomCat! 我的依賴看起 ...
[英]Difficulty getting joinfaces project setup to serve first page
我一直在努力學習關於帶有primefaces的JSF的所有知識,我嘗試設置我現有的spring boot應用程序,以便它通過使用joinfaces提供帶有托管bean的xhtml頁面。 我的問題是,首先,我的想法是否正確? (從下一段開始)並且是因為重復導入的錯誤 spring 版本或類似的東西 ...
[英]How can I set Undertow properties in JoinFaces/Spring Boot?
到目前為止,我們使用 Wildfly 12 並增加了 standalone.xml 配置文件中 undertow 模塊(server->http-listener)內的 http max-parameters 值。 現在我們使用 JoinFaces 切換到 Spring 生態系統,並且不知道 ...
[英]Unsatisfied dependency when using OmniFaces @Param annotation. No qualifying bean of type java.lang.String
我試圖在已棄用的ManagedBean / ManagedProperty批注上使用CDI,並在一個非常簡單的Web應用程序中遇到此異常: 我正在嘗試在http://showcase.omnifaces.org/cdi/Param的OmniFaces展示櫃中使用@Param的示例。 ...
[英]Serialization exception using spring-sessions
Spring-Boot中的Primefaces / Joinfaces JSF應用程序。 App在獨立運行時運行良好,但是我最近開始通過Spring-Session實現會話復制。 當會話持久化到會話存儲區時,出現不可序列化的異常。 造成原因:java.io.NotSeriali ...
[英]How to register JSF ExceptionHandlerFactory programmatically in Spring Boot
我正在使用Joinfaces來構建JSF + Spring Boot應用程序,Omnifaces包含了它。 當View過期並導航時,我得到ViewExpiredException。 當我執行Ajax時,頁面不執行任何操作,並且錯誤顯示在控制台中。 是否可以在Spring中以編程方式 ...
[英]No FacesContext found in JoinFaces ViewScope
我們目前正在使用 JoinFaces 3.2.5 將一個相當大的項目從 JavaEE (Wildfly) 遷移到 Spring Boot 2.0.5 以獲得 JSF 支持。 不幸的是,在啟動服務器時,我們總是收到以下消息: 當前線程的范圍“視圖”未激活; 如果您打算從單例中引用它,請考慮為此 be ...
[英]Is it possible to use @Join annotation of Rewrite on JoinFaces?
我想在joinFaces項目中使用@Join批注。 如果可能,如何配置和使用它? 我正在將joinFaces 3.2.4與rewrite-spring-boot-starter一起使用。 ...