Example of Generating Markup for a Normal Text Field

In this example, we use the following code make the call to the Template Manager to generate markup for a normal text field:

var markup = tmplMgr.GenerateMarkup({    
         type : consts.get( "SWE_CTRL_TEXT" )    
      }); 

In the this example, this is the expected HTML string begin held by the markup variable:

<input type="text" class="siebui-input " />