Log In | Sign Up   View a printable version of the current page.
  Dashboard > flexive > ... > Backend Administration Development > Tooltips

Added by Daniel Lichtenberger, last edited by Daniel Lichtenberger on Feb 01, 2008
Labels: 
(None)

Tooltips in backend administration forms

The fx:formRow component supports CSS-based tooltips that can be used for a short description of a form input field. To set a tooltip, you have to set the input label using the "labelKey" attribute, where labelKey identifies a message key containing the actual label. To set a tooltip, simply create a message key by appending ".tooltip" to the labelKey and set the tooltip message.

For example, consider the following input row:

<fx:formRow labelKey="QueryEditor.label.briefcase.name">
     (...)
 </fx:formRow>

You create a label including tooltip using these message resources:

QueryEditor.label.briefcase.name=Name
QueryEditor.label.briefcase.name.tooltip=Enter the name of the briefcase you want to create.
Site running on a free Atlassian Confluence Open Source Project License granted to [fleXive] . Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.6.1 Build:#916 Nov 09, 2007) - Bug/feature request - Contact Administrators