Thanks to everyone who gave us attention, we managed to make it work after thousands of frustrating attempts.
Original file:
Code: Select all
@Named
@SessionScoped
public class GuestPreferences implements Serializable {
private String menuMode = "layout-static";
Code: Select all
@ManagedBean
@SessionScoped
public class GuestPreferences implements Serializable {
private String menuMode = "layout-static";
See what it was necessary to just replace @Named with @ManagedBean this in our project.
PS. I would like to understand why this change in the Primefaces team, and something better?