Page 1 of 1

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

Posted: 05 May 2021, 23:15
by informatica.soib
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
  

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

Posted: 06 May 2021, 08:35
by mert.sincan
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,

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

Posted: 30 Mar 2022, 18:37
by ianfranco.1986
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,

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

Posted: 19 Apr 2022, 03:51
by mert.sincan
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,