The following example will create an HTML page with the structure of a given Business Component. It will receive a GeneXus ‘FrameworkObject’ parameter, traverse its attributes, and print them:
<%@ Template Language="C#" TargetLanguage="GX" Description="List Business Component" %>
<%@ Property Name="Object" Type="Artech.Architecture.Common.Objects.KBObject"%>
<TABLE>
<TR><%= Object.Name %></TR>
</TABLE>
This will output a text with a table with the object name for the given object.
GeneXus Template Language