Uiinfrastructure API Docs  
 

PTConstruct.ReplaceNestedElementsWithElement Method 

Call this method to set the inner HTML element of a specific element within this construct.

All previous inner html elements and strings will be removed, and replaced with the passed HTMLElement.

public virtual void ReplaceNestedElementsWithElement(
   ElementName enContainer,
   HTMLElement element
);

Parameters

enContainer
Pass an ElementName indicating an HTMLElement nested within this construct. All HTMLElements nested within the HTMLElement indicated by this ElementName will be replaced. ElementName objects are available from the specific PTConstructType used to obtain this construct.

element
Pass an HTMLElement. This HTMLElement will be nested within the HTMLElement indicated by the ElementName passed.

See Also

PTConstruct Class | com.plumtree.xpshared.htmlconstructs Namespace