Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.el.ELException with facelet and rich faces

 
Santiago Ramos
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody.

My problem is when run my application

javax.el.ELException: /template/menu.xhtml @10,49 binding="#{menuControl.menu}": Error reading 'menu' on type seg.transporte.action.MenuControl

I'am using Jboss 5 with jsf, facelet and richfaces no seam, I dont have idea how solve this problem , any idea many thanks
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18012
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Do have you a binding method named "menu" in your MentControl class?

2. Have you checked the server logs to see if the problem is an exception in locating or using this method?
 
Santiago Ramos
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

It is my MenuControl.class

public class MenuControl {

private HtmlPanelMenu menu;

public MenuControl() {
}

public HtmlPanelMenu getMenu() {


menu = new HtmlPanelMenu();
menu.setId("panelMenu");
menu.setSelectedChild("usersMenuItem");
menu.setMode("ajax");
menu.setExpandMode("ajax");
.
.
.
/* code for construct de HtmlPanelMenu


return menu;
}

in the binding "#{menuControl.menu}" call to get function of menu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic