13.07.2015 Views

TIBCO MDM Customization Guide - TIBCO Product Documentation

TIBCO MDM Customization Guide - TIBCO Product Documentation

TIBCO MDM Customization Guide - TIBCO Product Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

256 Chapter 11 Localizing Text Strings|Externalizing ButtonsYou can display the text on a button in a different language, if required. The textdisplayed on a button is picked up from the jsresources.properties resourcebundle and can be displayed in multiple languages.To display the text on a button in a different language:1. Add an input tag and Java Script as described in Input Tag and Java ScriptTag.2. Add a DIV tag as described in DIV Tag.3. Create an entry in the jsresources.properties resource bundle asdescribed in jsresources.properties File.Input Tag and Java Script TagTo display a button on the user interface, use the tag with the TYPE as‘button’ or ‘submit’ in the HTML template. This input tag can be used underenclosing Anchor Tag (optional). The method call buttonClicked(this) isused as the first method on the event onClick() for giving the look and feel ofclicking a button. Here, function overlibWrapper('Clear') shows theexternalized tooltip. ‘Clear’ is passed as the key for the tooltip whoseexternalized value is present in jsresources.properties file.• TYPE=button: This will show a button without any submit action. If you wantto submit the page using ‘button’ type input tag, set the submit action on the‘onClick’ event of or tag.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!