Template topbar responsive menus not working
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Thanks for the confirmation, 1.0.2 is released.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please check it again.
Github Profile: https://github.com/mertsincan
I'm not sure if this is the same problem but the symptoms are the same. All the CSS appears to be working correctly, but the menu buttons do not work. I have installed the war from the Omega-1.0.3 distribution and it works, but when I put it in my existing application I can't get the buttons to work.
Putting break points in under chrome, it looks like the init function inside PrimeFaces.widget.Omega, inside layout.js is never getting called so it never binds events to the omega-menu-button or the options-menu-button. I'm pretty much a noob on JavaScript so I have no idea how this is supposed to get called.
I have the following in my web.xml:
I have the primefaces-6.0.2.jar and omega-menu-1.0.3.jar in my WEB-INF/lib directory. Do I need anything else.
When I browse I get the empty page with the sidebar and topbar, but when I shrink the window and the options and sidebar are hidden, the icons are there but they don't work.
Any idea what I might be missing. The js page is loaded by the browser, but how does the init function get called.
Thanks, going crazy fighting this for the last couple of days.
Putting break points in under chrome, it looks like the init function inside PrimeFaces.widget.Omega, inside layout.js is never getting called so it never binds events to the omega-menu-button or the options-menu-button. I'm pretty much a noob on JavaScript so I have no idea how this is supposed to get called.
I have the following in my web.xml:
Code: Select all
<!-- Primefaces theme support. -->
<context-param>
<param-name>primefaces.THEME</param-name>
<param-value>omega</param-value>
</context-param>
<!-- Primefaces font awesome support. -->
<context-param>
<param-name>primefaces.FONT_AWESOME</param-name>
<param-value>true</param-value>
</context-param>
<mime-mapping>
<extension>ttf</extension>
<mime-type>application/x-font-ttf</mime-type>
</mime-mapping>
<mime-mapping>
<extension>woff</extension>
<mime-type>application/x-font-woff</mime-type>
</mime-mapping>
<mime-mapping>
<extension>woff2</extension>
<mime-type>application/x-font-woff2</mime-type>
</mime-mapping>
<mime-mapping>
<extension>eot</extension>
<mime-type>application/x-font-eot</mime-type>
</mime-mapping>
When I browse I get the empty page with the sidebar and topbar, but when I shrink the window and the options and sidebar are hidden, the icons are there but they don't work.
Any idea what I might be missing. The js page is loaded by the browser, but how does the init function get called.
Thanks, going crazy fighting this for the last couple of days.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Can you please create a new post, also please try with 1.1.1. I'm sure something is missing that we can find out.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 19 guests