cancel
Showing results for 
Search instead for 
Did you mean: 

Tooltips & title attribute - how?

eddiem
Champ in-the-making
Champ in-the-making
Hi,
Is there a way to implement tooltips & a custom tooltip icon within share using web-framework-config-custom.xml when using the edit metadata form?

In my own example I have this:
<field id="mz:pcbProductsV2" label="Product(s)"/>
Which display "Products(s)" as expected but I'd also like to be able to add a tooltip too, with additional info.

I notice that the default 'Title' textfield has the title attribute populated but can't see in webapps/share/WEB-INF/classes/alfresco/web-framework-config-commons.xml how this is achieved.

Any suggestions?

Thanks,
Eddie
2 REPLIES 2

mikeh
Star Contributor
Star Contributor
Try
<field id="mz:pcbProductsV2" description="Product(s)"/>
You can also use the attribute "description-id" to map to an i18n string.

Thanks,
Mike

eddiem
Champ in-the-making
Champ in-the-making
Hi Mike,
Thanks for this - worked perfectly.

I now need to sort out adding a 'tooltip' icon with a javascript url to open an info dialog window.

Cheers,
Eddie