| Author |
Tooltips and command buttons
|
Ian Dunsirn
Ranch Hand
Joined: May 25, 2006
Posts: 36
|
|
I am having a problem with tooltips and command buttons. The code is: h:commandButton value="Customize Sort Order" action="#{issueListener.customSort}" onklick="" rich:toolTip span style="white-space:nowrap" Allows you to sort this list by several criteria. span rich:toolTip h:commandButton The problem is that in Firefox, I can't see the tooltips. I can see them in IE 7.0. The other odd thing is that the tooltip shows up for this code: h:inputText id="newProjectCode" value="#{addprjsys.projectCode}" required="true" requiredMessage="Please enter the Project Code." rich:toolTip span style="white-space:nowrap" The code for this project. span rich:toolTip h:inputText What gives? Why can't I see the command button tooltip in Firefox?
|
 |
Ganesha Kumar
Ranch Hand
Joined: May 04, 2006
Posts: 56
|
|
|
Have you given a value to the attribute title with h:commandButton. I used the tag h:commandButton with title attribute. The value of title is displayed as toolTip in Firefox.
|
 |
Ian Dunsirn
Ranch Hand
Joined: May 25, 2006
Posts: 36
|
|
|
I can indeed do that, but if someone looks at my application in IE7, they will see both that title tooltip as well as the richfaces one. I wanted all the tooltips to have the same look, which is why I used the richfaces tooltip in the inputText box and want to use them with the command button.
|
 |
 |
|
|
subject: Tooltips and command buttons
|
|
|