Rain using SpringBoot - RainMenu not working (not being rendered)

Post Reply
koekiebox
Posts: 50
Joined: 18 Mar 2014, 15:44

10 Jun 2021, 14:14

Hi PF,

We are using Spring Boot as alternative for our JSF container.

I tried getting the rain template working, but there seems to be an issue with the PrimeFacesRain menu.
It is like the TagLib is being completely ignored.

The below files all seems in order;
* faces-config.xml
* primefaces-rain.taglib.xml
* web.xml

Example of my pom.xml dependencies;

Code: Select all

<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>

		<dependency>
			<groupId>org.primefaces</groupId>
			<artifactId>primefaces</artifactId>
			<version>10.0.0</version>
		</dependency>

		<dependency>
			<groupId>org.springframework</groupId>
			<artifactId>spring-webmvc</artifactId>
		</dependency>

		<dependency>
			<groupId>org.springframework.webflow</groupId>
			<artifactId>spring-faces</artifactId>
			<version>2.5.1.RELEASE</version>
		</dependency>
		
		<dependency>
			<groupId>com.sun.faces</groupId>
			<artifactId>jsf-api</artifactId>
			<version>2.2.20</version>
		</dependency>
		<dependency>
			<groupId>com.sun.faces</groupId>
			<artifactId>jsf-impl</artifactId>
			<version>2.2.20</version>
		</dependency>

		<dependency>
			<groupId>org.apache.tomcat.embed</groupId>
			<artifactId>tomcat-embed-jasper</artifactId>
			<scope>provided</scope>
		</dependency>

		<dependency>
			<groupId>org.projectlombok</groupId>
			<artifactId>lombok</artifactId>
			<optional>true</optional>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>

siris
Posts: 210
Joined: 29 Jul 2019, 13:57

11 Jun 2021, 09:00

Hi,

Please add the *menu.jar file to your project and pom.xml. Then the taglib will be available.

Best Regards,

Post Reply

Return to “Rain - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests