Page 1 of 1

Menu not working with PF 2.2 RC

Posted: 01 Nov 2010, 06:09
by MISS_DUKE
Menu component was working without any problem with PF 2.2 M1. But after I upgraded to PF 2.2 RC, the submenu of the menu component is always visible and Firebug reveals the following error messages:

Code: Select all

PrimeFaces is not defined
PrimeFaces.widget.MenuBar is not a constructor

Re: Menu not working with PF 2.2 RC

Posted: 01 Nov 2010, 10:49
by cagatay.civici
http://www.primefaces.org/showcase/ui/menu.jsf

is working fine for me, try clearing your browser cache.

Re: Menu not working with PF 2.2 RC

Posted: 01 Nov 2010, 11:27
by MISS_DUKE
I tried clearing browser cache, deleting the "built" folder in my Netbeans project, cleaning & building the project ect., but no success. I tested with FF, Chrome, Opera


Menu looks like the following: (submenu always visible)
Image


Firebug reports as follows:
Image

Re: Menu not working with PF 2.2 RC

Posted: 01 Nov 2010, 16:45
by kwintesencja
Maybe we should comment on the issue to avoid double posts in the forum, i also cleared the browser cache and the menu is always visible, if i change do PF 2.2.M1 the menu works as expected.

http://code.google.com/p/primefaces/iss ... ail?id=516

Re: Menu not working with PF 2.2 RC

Posted: 11 Nov 2010, 14:33
by theDude
The same thing is happening here. Falling back to M1 makes everything work again. But this is not an option since the FileUploader in M1 is broken.

Stack: PF 2.2.RC1 on Majorra 2.0 on Jetty 6.1.18, Browser: FF 3.0.18 and IE v7

Re: Menu not working with PF 2.2 RC

Posted: 11 Nov 2010, 14:50
by MISS_DUKE
This issue has been fixed. Just get the latest PF nightly built.

Re: Menu not working with PF 2.2 RC

Posted: 11 Nov 2010, 15:57
by bumble.bee
Probably should link this thread to the explanation thread:

http://primefaces.prime.com.tr/forum/vi ... f=3&t=5657

Re: Menu not working with PF 2.2 RC

Posted: 11 Nov 2010, 18:10
by theDude
This issue has been fixed. Just get the latest PF nightly built.
Can't do that due to company restrictions. But thanks for the hint!

I may only use milestone/RC/final releases. Any workarounds until the next RC comes out? Or an ETA on the RC?

Re: Menu not working with PF 2.2 RC

Posted: 11 Nov 2010, 18:14
by cagatay.civici
You can ask your company to consider getting enterprise support service from us, in that case, we can create a patched custom version based on the milestone you use.

Re: Menu not working with PF 2.2 RC

Posted: 11 Nov 2010, 19:09
by theDude
It's not about getting the jar but deploying it to our own maven repo. we may not access external repos (incl. central), even (or especially) the CI machine is protected.

Well, that means we have to wait a bit.