Avalon 2.0.0 AvalonMenuRenderer.Class doesnt work

Post Reply
Posts: 2
Joined: 28 Mar 2018, 16:19

25 Apr 2019, 17:34

Hi i have a problem with the Avalon 2.0.0. i am trying to migrate Avalon 1.0.7 to Avalon 2.0.0 and i can´t for this problem
com.sun.faces.facelets.compiler.UIInstructions cannot be cast to org.primefaces.model.menu.MenuElement

i have checked another forum like Barcelona theme and some people write about comment this line of the .jar located at AvalonMenuRenderer.java

Code: Select all

    if (menu.getElementsCount() > 0) {
        //this.encodeElements(context, menu, menu.getElements());
Please help me

Posts: 3718
Joined: 29 Jun 2013, 12:38

26 Apr 2019, 08:54

I couldn't replicate it. Could you please attach your menu code? Also, please see this issue; viewtopic.php?t=51537

Post Reply

Return to “Avalon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest