File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes javax.el.ELException with facelet and rich faces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "javax.el.ELException with facelet and rich faces" Watch "javax.el.ELException with facelet and rich faces" New topic
Author

javax.el.ELException with facelet and rich faces

Santiago Ramos
Greenhorn

Joined: Oct 07, 2009
Posts: 2
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

Joined: Jun 25, 2001
Posts: 16305
    
  21

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?


Customer surveys are for companies who didn't pay proper attention to begin with.
Santiago Ramos
Greenhorn

Joined: Oct 07, 2009
Posts: 2
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
 
Don't get me started about those stupid light bulbs.
 
subject: javax.el.ELException with facelet and rich faces