The sample empty.xhtml in documentation doesn't works

Post Reply
rafaelximenes
Posts: 5
Joined: 04 May 2018, 15:17

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?


rafaelximenes
Posts: 5
Joined: 04 May 2018, 15:17

10 May 2018, 15:57

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?

rafaelximenes
Posts: 5
Joined: 04 May 2018, 15:17

11 May 2018, 02:31

I solved my problem using the video tutorial.
Thanks Aragorn.

kubrasulukan
Posts: 87
Joined: 10 Jan 2018, 16:04

11 May 2018, 09:51

Glad to hear!

User avatar
aragorn
Posts: 3406
Joined: 29 Jun 2013, 12:38

14 May 2018, 08:05

You're welcome!

Post Reply

Return to “Poseidon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest