Install Theme Primefaces Avalon - Netbeans

-1

I bought a primeFaces theme (Avalon). But I have no idea how to implement it in Netbeans.

The .jar file came (avalon-theme-1.0.5.jar) and test pages, WEB-INF, resources (css, fonts, images, js) and sass.

Implemented the library in netbeans already, but I do not know how to apply the theme? Does anyone have a manual that can pass me? I've been searching the net and I'm pretty confused.

  • The 'resources' folder should I put where?
  • Does the avalon-theme-1.0.5.jar file just import into the netbeans library?
  • In web.xml, I left the following param.

    primefaces.THEME

    primefaces-avalon-blue

Can anyone guide me?

    
asked by anonymous 03.05.2018 / 03:45

2 answers

0

Frames,

  • Place the .jar theme file in the webapp / WEB-INF / lib folder

In your web.xml put it like this:

<context-param>
    <param-name>primefaces.THEME</param-name>
    <param-value>avalon-blue</param-value>
</context-param>
    
20.05.2018 / 10:39
0

Just putting Lib into the project I could not. For those who have passed the least problem, the solution follows:

I requested the file 'avalon.war' that did not come in the purchase.

Once this was done, I imported the file for a new project and it was all set. There were a lot of things to set up.

Eclipse > File > Import > Web > WAR file.

;)

    
12.07.2018 / 20:05