Template topbar responsive menus not working

Forum rules
Please note that response time for technical support is within 3-5 business days.
cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

27 Jul 2016, 08:49

Thanks for the confirmation, 1.0.2 is released.

rene
Posts: 14
Joined: 20 Oct 2011, 11:37

27 Jul 2016, 10:36

The 1.0.2 is still missing in the elite store.
Primefaces 6.0.1, Omega-Layout, Majorra 2.2.13, Tomcat
Testing with Chrome and Firefox

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

28 Jul 2016, 13:17

Please check it again.

rhare
Posts: 3
Joined: 11 May 2016, 20:11

10 Aug 2016, 23:25

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:

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> 
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.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

22 Aug 2016, 00:14

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.

Post Reply

Return to “Omega - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 9 guests