Uiinfrastructure API Docs  
 

FactoryHelper.updateStrings Method 

This method updates all of the appropriate strings within a construct with localized versions of those strings.

Each construct offers a StrinDictionary containing ElementName/stringid pairs. The ElementName indicates a nested HTMLElement object, the string id indicates a localized string.

This method obtains each nested element indicated by the set of ElementName objects. If that nested HTMLElement is an HTMLGenericElement, then it is replaced with the corresponding localized string. If the nested element is any other type of HTMLElement object, the corresponding localized string is nested within the nested element.

public static void updateStrings(
   PTConstruct construct
);

Parameters

construct
Pass a PTConstruct. Nested elements with names equivalent to those specified by the string dictionary will be updated.

See Also

FactoryHelper Class | com.plumtree.xpshared.htmlconstructs Namespace