layout.js - PrimeFaces.widget.Olympos not invoked

UI Components for JSF
Post Reply
michael.amann
Posts: 6
Joined: 15 Apr 2014, 12:12

22 Oct 2016, 13:18

Hi guys,

I have recently updated to Olympos Layout 1.1.3 from an older version. I realized that the layout.js has changed from

Code: Select all

var Olympos = {
  
    init: function() {
...
};

$(function() {
   Olympos.init();
});
to

Code: Select all

PrimeFaces.widget.Olympos = PrimeFaces.widget.BaseWidget.extend({
	
    init: function(cfg) {
...
});
When using the new layout.js the menu on the left hand side does not work anymore. When clicking on another element from the layout-tab-menu the CSS class active is not assigned to layout-tab-submenu. The menu-resize-btn does not work anymore too.

Question: What am I missing to register, configure etc. in order to have the

Code: Select all

PrimeFaces.widget.Olympos
invoked and the

Code: Select all

init
method called?

I am using PrimeFaces 6.0.6

Thanks for your help
Michael

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 51 guests