Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to customize the NavigationMenuItem class

843844Jul 17 2007 — edited Jul 26 2007
Hello,
I have a requirement where I should create a 3 - level menu from database.For that I am asked to customize the NavigationMenuItem or jscookMenu tag so that it would take the tablename and then get details from database and create.I cant use a backing bean as I should take tablename from the user. I tried customising the jscookmenu and navigationMenuItem but the navigation menutem,but when i use it to create menuitem it gives the following error- javax.servlet.ServletException: Could not instantiate component componentType = navMenu(my implementation class name)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:154)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:97)
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 23 2007
Added on Jul 17 2007
1 comment
118 views