Page 1 of 1

Base Layout

Posted: 27 Dec 2016, 11:47
by Melski
Hi there,

Just a minor thing but your layout zip I thought would work out of the box without any alteration. However a lot of the files have this reference in them (example):
<h:outputStylesheet name="css/layout-#{guestPreferences.layout}.css" library="atlantis-layout" />

GuestPreferences.layout of course doesn't exist as there is no code. It seems odd to assume that someone would code this up. The documentation page didn't mention it and I would have hoped the primefaces.THEME configuration would have been used here instead.

Is this on purpose?

Re: Base Layout

Posted: 28 Dec 2016, 10:01
by cagatay.civici
I think we need to add this to the documentation.

Re: Base Layout

Posted: 28 Dec 2016, 16:13
by Melloware

I just purchased this theme and I love it. the one thing that really helped me was looking at their included WAR file. Which is the fully working showcase example.

I then started my project brought in everything from that project and started stripping out what I didn't need. The is in there. The reason they have it like that is to show you how to dynamically control every aspect of the theming from this bean including in the web.xml

Code: Select all

So you might be best off starting with their war and stripping out one feature at a time and styling your app the way you want to. In the end I think you will be really happy with the end result. In less than a week I have a completely professional looking application.

Just my 2 cents!

Re: Base Layout

Posted: 02 Jan 2017, 12:38
by mert.sincan
@Melloware, +1 :)