Two problems when using ListMenuDisplayer.java. I am using version 2.3
1. In the displayComponents method the domId should be unique in the menu. Why are we using menu title? Can we use menu name instead because that should be unique? What are the ramification of this?
Change:
String domId = StringUtils.deleteWhitespace(getMessage(menu.getTitle()));
To:
String domId = StringUtils.deleteWhitespace(getMessage(menu.getName()));
This worked for me! I was having problems because some of my menu titles were the same and since menu name should be unique, I would think it would be better to use name.
2. In the displayComponents method the following code is putting an extra </li> in the html. I commented it out and it cleaned up the html. What are the ramification of this?
if (i == (components[i].getMenuComponents().length - 1)) { // last one
out.println("</li>");
}
Randy