Page 1 of 1

Pandora integrated Spring boot

Posted: 28 Dec 2020, 10:49
by bmoguz
How can I integrate pandora to spring boot,Please help

Re: Pandora integrated Spring boot

Posted: 08 Jan 2021, 12:49
by merve7
Hi,
@mert.sincan Could you please check this issue?

Best regards,

Re: Pandora integrated Spring boot

Posted: 20 Jan 2021, 05:21
by siris
Hi,

First of all, you will be install according to the documentation on the link.
https://www.primefaces.org/pandora/docs.xhtml

One different thing you need to do if you use spring boot, you need to add the theme as pandora to your "application.yml" file

Code: Select all

jsf:
  primefaces: 
    theme: pandora-#{guestPreferences.componentTheme}
    FONT_AWESOME: true
jsf:
  facelets-libraries: /WEB-INF/primefaces-pandora.taglib.xml
or "application.properties" file

Code: Select all

jsf.primefaces.theme=pandora-#{guestPreferences.componentTheme}
jsf.primefaces.font-awesome=true
jsf.facelets-libraries=/WEB-INF/primefaces-pandora.taglib.xml
or if you want to use primefaces with joinfaces add this line to "application.properties" file.

Code: Select all

joinfaces.primefaces.theme=pandora-#{guestPreferences.componentTheme}
joinfaces.primefaces.font-awesome=true
joinfaces.jsf.facelets-libraries=/WEB-INF/primefaces-pandora.taglib.xml
Apart from that, there are many different spring boot setups. Since we cannot know your needs, we cannot configure a sample project.

If you still cannot solve your problem, please prepare a more detailed question so we can solve it.

Best Regards,