The sample empty.xhtml in documentation doesn't works
Posted: 10 May 2018, 00:22
I've done all the steps in the documentation, but the empty.xhtml does not fully work.
I did:
1) I downloaded poseidon-1.0.3.zip
2) Puted poseidon-theme-1.0.3.jar in my classpath
3) Puted templates file in WEB-INF(template.xhtml, topbar.xhtml, menu.xhtml, etc)
4) Puted layout-poseidon folder in webapp/resources/
After that, I created empty.xhtml:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
template="/WEB-INF/template.xhtml">
<ui:define name="title">Test Page</ui:define>
<ui:define name="viewname">Test</ui:define>
<ui:define name="content">
Content goes here
</ui:define>
</ui:composition>
But, the menu doesn't appear, none click works for me(like when i click in profile image, when i click in notifications, etc).
OBS: The first error is that does not exists orientationRTL attribute in GuestPreferences class, but the template.xhtml use this attribute, so to make it work i created this one.
I paid for poseidon templates, but isn't work.
Could anybody help me?
I did:
1) I downloaded poseidon-1.0.3.zip
2) Puted poseidon-theme-1.0.3.jar in my classpath
3) Puted templates file in WEB-INF(template.xhtml, topbar.xhtml, menu.xhtml, etc)
4) Puted layout-poseidon folder in webapp/resources/
After that, I created empty.xhtml:
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui"
template="/WEB-INF/template.xhtml">
<ui:define name="title">Test Page</ui:define>
<ui:define name="viewname">Test</ui:define>
<ui:define name="content">
Content goes here
</ui:define>
</ui:composition>
But, the menu doesn't appear, none click works for me(like when i click in profile image, when i click in notifications, etc).
OBS: The first error is that does not exists orientationRTL attribute in GuestPreferences class, but the template.xhtml use this attribute, so to make it work i created this one.
I paid for poseidon templates, but isn't work.
Could anybody help me?