users@javaserverfaces.java.net

NavigationMenuItem and HTML

From: Manoj Goel <manoj_goel_at_msn.com>
Date: Thu, 25 Oct 2007 16:58:05 +0000 (UTC)

Hi All,

I am creating a dynamic menu list using Tomahawk <t:panelNavigation2 nested
with <t:navigationMenuItems>. The code to get the items is
 NavigationMenuItem item = new NavigationMenuItem(label, action);

The label contains a string like My benefits<sup>SM</sup>

But the HTML is not translated and and it shows the menu item as it is.

I set the setEscape(false); but to no avail. I tried using with/without
everything.

I am using Myfaces 1.2 and Tomahawk 1.1.6

Please help.

Thanks

Manoj