How to customize the NavigationMenuItem class

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)

[839 byte] By [Sruthi.ma] at [2007-11-27 10:48:38]
# 1

I am trying to create a dynamic menu from the backing bean, the backing bean will be built from reading the XML file. If there are any examples out there please let me know, meanwhile I will continue my research.

VamsiFromVizaga at 2007-7-28 22:28:28 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...