Barcelona 5.0 Primefaces 10.0.0

Post Reply
spadinha
Posts: 15
Joined: 17 Apr 2015, 00:23

23 May 2022, 15:37

Hello,

I am trying migrating Primefaces 8.0 to 10.0.0 and I am having problem with layout.js

I migrate barcelona theme, from 2.0 to 5.0 directly.

The theme is not working.

jquery.js.jsf?ln=primefaces&v=10.0.0:2 jQuery.Deferred exception: Cannot read properties of undefined (reading 'off') TypeError: Cannot read properties of undefined (reading 'off')
at c._bindEvents (http://localhost:8080/GIF/javax.faces.r ... out:182:29)
at c.init (http://localhost:8080/GIF/javax.faces.r ... yout:35:14)
at c.e.<computed> [as init] (http://localhost:8080/GIF/javax.faces.r ... 0.0:24:335)
at new c (http://localhost:8080/GIF/javax.faces.r ... 0.0:24:437)
at Object.createWidget (http://localhost:8080/GIF/javax.faces.r ... .0:18:6402)
at Object.cw (http://localhost:8080/GIF/javax.faces.r ... .0:18:6146)
at HTMLDocument.<anonymous> (http://localhost:8080/GIF/sacado/:306:118)
at e (http://localhost:8080/GIF/javax.faces.r ... .0:2:30005)
at t (http://localhost:8080/GIF/javax.faces.r ... .0:2:30307) undefined
S.Deferred.exceptionHook @ jquery.js.jsf?ln=primefaces&v=10.0.0:2


usermenuLinks object is not finding

Any idea how solve it ?

regards.
André Marcatto

spadinha
Posts: 15
Joined: 17 Apr 2015, 00:23

23 May 2022, 15:50

Problem solved,

the ids from topbarmenu was incomplete.

but the theme is not rendering like barcelona.

regards,

André Marcatto

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

25 May 2022, 11:24

Glad to hear, thanks a lot for the update!

Best Regards,

imsammyd
Posts: 2
Joined: 11 Oct 2017, 21:03

08 Jun 2022, 23:22

To make this more clear for searchers, if you use <pa:tabMenu> it has to have an id of "topbar-usermenu"

Code: Select all

 <pa:tabMenu id="topbar-usermenu">

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

18 Jun 2022, 01:07

Thanks a lot for the update!

Best Regards,

Post Reply

Return to “Barcelona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest