public String getPageItemCompareTitle() throws Exception {
return siteName + " - " + getLanguageByValue("Item Compare");
}
public MenuComponentInfo getHorizontalMenu(String menuSetName, String styleClassSuffix) throws ResourceNotFoundException, ParseErrorException, Exception {
MenuComponentInfo menuComponentInfo = new MenuComponentInfo();
/* Generate unique id for yui's div. Important when rendering 2 menus with the same menuSetName. */
String menuDivId = ContentUtility.getNextMenuDivId(menuSetName);
menuComponentInfo.setMenuDivId(menuDivId);
boolean vertical = false;
boolean customerSession = ContentLookupDispatchAction.isCustomerSession(request);
String horizontalMenuCode = ContentUtility.generateMenu(api, menuSetName, menuDivId, vertical, customerSession, styleClassSuffix);
menuComponentInfo.setMenuCode(horizontalMenuCode);
return menuComponentInfo;
}