Page 1 of 1

The sample empty.xhtml in documentation doesn't works

Posted: 10 May 2018, 00:22
by rafaelximenes
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?

Re: The sample empty.xhtml in documentation doesn't works

Posted: 10 May 2018, 10:49
by aragorn

Re: The sample empty.xhtml in documentation doesn't works

Posted: 10 May 2018, 15:57
by rafaelximenes
When i run the command line: sass -w src/main/webapp/resources/ --sourcemap=none
the result is: Could not find an option or flag "-w".

I've been used the version 1.3.2 sass.

Could anybody help me?

Re: The sample empty.xhtml in documentation doesn't works

Posted: 11 May 2018, 02:31
by rafaelximenes
I solved my problem using the video tutorial.
Thanks Aragorn.

Re: The sample empty.xhtml in documentation doesn't works

Posted: 11 May 2018, 09:51
by kubrasulukan
Glad to hear!

Re: The sample empty.xhtml in documentation doesn't works

Posted: 14 May 2018, 08:05
by aragorn
You're welcome!