Is there a step-by-step guide to install avalon 3 theme?

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
informatica.soib
Posts: 11
Joined: 28 Aug 2019, 10:09

05 May 2021, 23:15

I tried to install from scratch avalon-3.0.0 in my project but I had some problems I am not able to fix.

1. I added primefaces dependencies to pom.xml in my project (before i install avalon theme in local mvn repository).

Code: Select all

       <dependency>
            <groupId>org.primefaces</groupId>
            <artifactId>primefaces</artifactId>
            <version>10.0.0</version>
        </dependency>
        <dependency>
            <groupId>org.primefaces.themes</groupId>
            <artifactId>avalon</artifactId>
            <version>3.0.0</version>
        </dependency>
2. Added context-param to web.xml

Code: Select all

    <context-param>
        <param-name>primefaces.THEME</param-name>
        <param-value>avalon-#{guestPreferences.theme}</param-value>
    </context-param>
3. Copied GuestPreferences.java
4. Copied xhtml files

PROBLEMS I found
- template.xhtml has a reference to <h:outputStylesheet name="css/demo.css" library="demo" />
- menu.xhtml have references in menu to /dashboard and others don't appear in layout-avalon
- other xhtml have references to dashboard as well...
- dashboard.xhtml(copied form /tag folder) throws javax.servlet.ServletException...Caused by: java.lang.NullPointerException

QUESTIONS
Am I missing some step on theme installation?
Should I add demo to my project to use some examples like dashboard? Widgets appears without styles..


Avalon layout folder from avalon-3.0.0-zip theme

avalon-layout-3.0.0 (tree depth level 3)
.
access.xhtml
empty.xhtml
error.xhtml
help.xhtml
invoice.xhtml
landing.html
login.xhtml
l.txt
notfound.xhtml
resources
- avalon-layout
sass
- _fonts.scss
- layout
- overrides
- theme
- variables
WEB-INF
- config.xhtml
- footer.xhtml
- menu.xhtml
- template.xhtml
- topbar.xhtml
wizard.xhtml
  

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

06 May 2021, 08:35

We will make a new video about it. But, these videos can help you to integrate it into your project;
https://www.dropbox.com/s/gat9a4ym373mi ... t.mp4?dl=0
https://www.dropbox.com/s/2p74g63wldbov ... t.mp4?dl=0
https://www.dropbox.com/s/s9cle2xqbwbu8 ... t.mp4?dl=0

Best Regards,

ianfranco.1986
Posts: 2
Joined: 27 Feb 2015, 17:54

30 Mar 2022, 18:37

always the same answer... when they make the video on how to install version 3, they will go to version 5


mert.sincan wrote:
06 May 2021, 08:35
We will make a new video about it. But, these videos can help you to integrate it into your project;
https://www.dropbox.com/s/gat9a4ym373mi ... t.mp4?dl=0
https://www.dropbox.com/s/2p74g63wldbov ... t.mp4?dl=0
https://www.dropbox.com/s/s9cle2xqbwbu8 ... t.mp4?dl=0

Best Regards,

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

19 Apr 2022, 03:51

Hi @ianfranco.1986,

Cagatay is preparing a new video series. Almost all layouts load the same way. We will share this video series with users as soon as possible.
For now, if you have any problems with this topic, I can help you.

Best Regards,

Post Reply

Return to “Avalon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests