Hi,
We just bought the serenity theme.
That is what we did to use the theme:
- copy the serenity-layout fodler into resources
- copy the theserenity-theme.jat into the WEB-INF/lib
- configure the web.xml with primefaces.THEME
- include the js in header and css
<h:outputScript name="js/nanoscroller.js" library="serenity-layout" />
<h:outputScript name="js/layout.js" library="serenity-layout" />
<h:outputScript name="js/ripple.js" library="serenity-layout" />
<h:outputStylesheet name="css/nanoscroller.css" library="serenity-layout" />
<h:outputStylesheet name="css/ripple.css" library="serenity-layout" />
<h:outputStylesheet name="css/layout-moody.css" library="serenity-layout" />
The css seems to be correctly loaded, but the code which dynamically execute js for GUI is never called (contained in layout.js PrimeFaces.widget.Serenity = PrimeFaces.widget.BaseWidget.extend({...).
Is there something I missed to configure ?
Serenity not fully loaded
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Glad to hear, thanks a lot for the update!
Best Regards,
Best Regards,
Github Profile: https://github.com/mertsincan
-
- Posts: 2
- Joined: 26 Sep 2018, 13:05
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 20 guests