Example of Generating a Hyperlink

In this example, we use the following code make the call to the Template Manager to generate a hyperlink:

var markup = tmplMgr.GenerateMarkup({    
         type : consts.get( "SWE_CTRL_LINK" ),    
         src  : "http://www.oracle.com",    
         value: "Oracle HomePage"    
      }); 

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

<a class="siebui-link" src="http://www.oracle.com>Oracle HomePage</a>