Cannot expand the menus

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
Francesco.Tran
Posts: 5
Joined: 01 Mar 2017, 19:50

22 Apr 2021, 19:38

Hello,

I started a new project and copied all the resources from the layout theme.
The template load fine and I can open all the demo data, however there seems to be something not working with js, all the menus are not loading (left menu, topbar menus, user preference gear).
Is there anything I am missing?

Thank you.

Francesco.Tran
Posts: 5
Joined: 01 Mar 2017, 19:50

23 Apr 2021, 16:59

My bad, I managed to fix it, looking at suggestions for other themes.

Just for anyone else with similar issues, you need to import the jar first

Code: Select all

mvn install:install-file -Dfile=<path-to-file> -DgroupId=org.primefaces.themes -DartifactId=rain -Dversion=2.0.0 -Dpackaging=jar
Then add the following to the pom.xml file

Code: Select all

[...]
<dependency>
		<groupId>org.primefaces.themes</groupId>
		<artifactId>rain</artifactId>
		<version>2.0.0</version>
</dependency>
[...]
<repository>
  			<id>prime-repo</id>
  			<name>Prime Repo</name>
  			<url>http://repository.primefaces.org</url>
 </repository>
 
Finally compile the css

Code: Select all

sass --update src/main/webapp/resources:src/main/webapp/resources --no-source-map
copy the resource folder into your project and switch theme.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

04 May 2021, 15:01

Hi,

Thanks a lot for your update! This info will help other users as well.

Best Regards,

Post Reply

Return to “Rain - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests