Questions tagged [joinfaces]

JoinFaces enables JSF usage inside JAR packaged Spring Boot Application.

JoinFaces enables JSF usage inside JAR packaged Spring Boot Application.

It autoconfigures PrimeFaces, PrimeFaces Extensions, BootsFaces, ButterFaces, RichFaces, OmniFaces, AngularFaces, Mojarra and MyFaces libraries to run at embedded Tomcat, Jetty or Undertow servlet containers.

It also aims to solve JSF and Spring Boot integration features. Current version includes JSF and CDI annotations support and Spring Security JSF Facelet Tag support.

42 questions
1
vote
1 answer

"Reading config" Spring Boot-App with Joinfaces and JSF is different between bootRun and bootJar (Gradle Build)

I'm desperate to build a Spring Boot-Applikation with JSF. The Build-Tool is Gradle and to integrate JSF in Spring we use Joinfaces. If I start the application from Spring Tool Suite(STS) or with Gradle bootRun, it loads all the available config…
1
vote
1 answer

How can I configure my joinfaces correctly?

I tried using JoinFaces for my JSF Project in combination with spring boot! I figured it must be as easy as dropping the dependencies provided in the JoinFaces "getting Started" tab into my maven and set the right starter. Is there more to it then…
W.E.B-Developer
  • 145
  • 5
  • 15
1
vote
1 answer

Difficulty getting joinfaces project setup to serve first page

I've been trying very hard to learn everything I can about JSF with primefaces, I have tried to setup my existing spring boot application so that it serves up xhtml pages with managed beans by using joinfaces. My question is, first of all, is what…
Mike
  • 609
  • 12
  • 36
1
vote
1 answer

How to register JSF ExceptionHandlerFactory programmatically in Spring Boot

I'm using Joinfaces to build a JSF + Spring Boot application and Omnifaces is packed with it. When the View expires and I navigate I get the ViewExpiredException. When I execute Ajax, the page does nothing and the error shows in the console. Is it…
BBacon
  • 2,456
  • 5
  • 32
  • 52
1
vote
0 answers

Problems adding spring webflow to a spring boot and joinfaces application

I am trying to add webflow to a spring boot app using joinfaces library. I am using primefaces-spring-boot-starter and jetty-spring-boot-starter to configure jetty server. Added necessary webflow dependencies to pom and configured necessary…
Ozius
  • 11
  • 2
1
vote
0 answers

Spring security tag lib in joinfaces using sec:authentication

It is not possible to use the spring security tag in joinfaces. It will result in : Tag Library supports namespace: http://www.springframework.org/security/tags, but no tag was defined for name: authentication Is this not…
TosKen
  • 481
  • 5
  • 20
1
vote
2 answers

How to test a viewScoped bean with Joinfaces

I'm using joinfaces v3 from some time. But I'm experiencing problems regarding tests about the viewScoped beans. In the documentation I saw that the equivalent spring scope of ViewScoped annotation is configured automatically by Jsf Spring Boot…
Gavi
  • 1,300
  • 1
  • 19
  • 39
1
vote
2 answers

Best practices for error page mapping in joinfaces

We're developing a web application with embedded tomcat, spring-boot (no mvc) and joinfaces. We don't have a web.xml nor a web-fragment.xml, so error page mapping is a bit difficult. We implemented error mapping as a @Bean annotated method in a…
dos_7
  • 21
  • 4
1
vote
2 answers

Use joinfaces with war in wildfly 10

I'm using joinfaces and trying to get up with wildfly 10, but it's like having a tomcat embedded inside the dependency. org.joinfaces jsf-spring-boot-starter
0
votes
1 answer

Updating MyFaces to 5.1.0 causes an error

I updated MyFaces from 4.7.0 to 5.1.0 and now I get the following error: 2023-06-19T16:40:51,828 ERROR [main] j.f.FactoryFinderInstance: Unable to obtain InjectionProvider from init time FacesContext. Does this container implement the Mojarra…
Adriaan
  • 1
  • 1
0
votes
0 answers

Integration of rewrite in a joinfaces project

I'm looking for a way to integrate the rewrite library in my jar packaged joinfaces project to have nice urls without the *.xhtml. I didn't find anything concrete on the joinfaces doc about this. I thank you in advance.
0
votes
1 answer

Is there a way to integrate Springs @ExceptionHandler with Joinfaces

i wanted to ask if there is a way to enable Springs @ExceptionHandler capabilities with Joinfaces/Primefaces. For now i'm able to handle global @ControllerAdvice beans, but not if the @ExceptionHandler is inside the @Controller class. Are there any…
Akroma
  • 63
  • 8
0
votes
2 answers

PrimeFaces 10 with spring boot jspFactory is missing

i want to setup a spring boot 2.5.5 war application with primefaces 10 to have the UI framework. i have started with joinfaces, but i couldn't settled up all the needs. then i removed the joinfaces dependencies, and wanted to setup step by step.…
pillesoft
  • 486
  • 1
  • 6
  • 20
0
votes
0 answers

Content assist not working joinfaces jboss

I am following this project Example I have downloded it and import it as maven project in Jboss Developer Studio but the content assist is not working. Is there any configuration which need to be done in jboss or it does not support. The project…
Animesh Prosad
  • 459
  • 4
  • 3
0
votes
0 answers

Content assist not working for joinfaces component in eclipse

Content assist and new xhtml page option is not working for joinfaces. I am following the example project present in Example. I have tried multiple solution nothing seems to be working. Not able to create new xhtml page neither getting content…
Animesh Prosad
  • 459
  • 4
  • 3