Install Avalon Primefaces Theme - Netbeans

Asked

Viewed 171 times

-1

I bought a theme from the first Aces (Avalon). But I have no idea how to implement it in Netbeans.

Came the.jar file (Avalon-Theme-1.0.5.jar) and test pages, WEB-INF, Resources (css,fonts,images,js) and Sass.

I’ve deployed the library in netbeans already, but I don’t know how to apply the theme? Does anyone have a manual that can pass me? I’ve been searching the net and I’m very confused.

  • The Resources folder I should put where?
  • The Avalon-Theme-1.0.5.jar file just imports into the netbeans library?
  • In web.xml, I left the following param.

    primefaces.THEME

    primefaces-Avalon-blue

Someone can guide me?

  • When you download theme zip there is a file . War inside it, you can open it and see the structure of a project with theme.

2 answers

0

Just putting Lib on the project I couldn’t. For those who have been through at least problem, follows solution:

I requested the file 'Avalon.War' that did not come in the purchase.

After that, I imported the file to a new project and everything came ready. There were many things to configure.

Eclipse > File > Import > Web > WAR file.

;)

0

Marcos,

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

In his web.xml put it like this:

<context-param>
    <param-name>primefaces.THEME</param-name>
    <param-value>avalon-blue</param-value>
</context-param>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.