You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by DZISIAK Jean-Paul <jp...@cirb.irisnet.be> on 2007/05/16 08:15:19 UTC

[Tomahawk] icon and label in NavigationMenuItem

Hello,

It seems that a NavigationMenuItem is unable to display both a label *and* an icon. It can however display only one of them. 

Moreover when an icon is displayed a 1px border is displayed. Id'd like to get rid of it. How can this be achieved ?

NavigationMenuItem item = new NavigationMenuItem(label, action);
item.setValue(<a value>);
item.setIcon(<an icon>);

Thanks for your help

Jean-paul DZISIAK





Re: [Tomahawk] icon and label in NavigationMenuItem

Posted by Paul Spencer <pa...@apache.org>.
Jean-paul,
Their are a few related JIRA issues.

Some places to look for more information:
   http://wiki.apache.org/myfaces/Navigation_Overview
   http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&&pid=12310272&component=12310951&resolution=-1&sorter/field=priority&sorter/order=DESC


Paul Spencer

DZISIAK Jean-Paul wrote:
> Hello,
> 
> It seems that a NavigationMenuItem is unable to display both a label *and* an icon. It can however display only one of them. 
> 
> Moreover when an icon is displayed a 1px border is displayed. Id'd like to get rid of it. How can this be achieved ?
> 
> NavigationMenuItem item = new NavigationMenuItem(label, action);
> item.setValue(<a value>);
> item.setIcon(<an icon>);
> 
> Thanks for your help
> 
> Jean-paul DZISIAK
> 
> 
> 
> 
>