Step 9 Add Column Headings To Browse List

LANSA Web Functions

Step 9. Add Column Headings To Browse List

In this step, you will add column headings to your table to give the data in your browse list meaning.  This will also be done in the page component iiiFN11P. 

1.  Using the LANSA for the Web editor, open the HTML page iiiFN11P.

2.  Edit the page by placing the following code between the <TABLE> tag you just added in the step above and the <RDML MERGE="@BLiiiEMPLST"> line.

<TR>

<TD ALIGN="LEFT">Employee <BR>Photo</TD>

<TD COLSPAN="2" ALIGN="LEFT">Employee <BR>Name</TD>

<TD ALIGN="LEFT">Employee<BR> Number</TD>

</TR>

 

3.  The final HTML code for iiiFN11P should appear as follows:

<TR>

</TR>

<TR>

<TD><STRONG>DEPARTMENT:</STRONG></TD>

<RDML ONMODE="DIS">

<TD><RDML MERGE="DEPTMENT "></TD>

</RDML>

<RDML ONMODE="DLT">

<TD><RDML MERGE="iiiDEPTWK "></TD>

</RDML>

<RDML ONMODE="ADD">

<TD><INPUT NAME="AiiiDEPTWK" TYPE="TEXT" SIZE="004" MAXLENGTH="004"

VALUE="<RDML MERGE="iiiDEPTWK ">"

onFocus="SetNameLocation('AiiiDEPTWK',03,18)"></TD>

</RDML>

<RDML ONMODE="CHG">

<TD><INPUT NAME="AiiiDEPTWK" TYPE="TEXT" SIZE="004" MAXLENGTH="004"

VALUE="<RDML MERGE="iiiDEPTWK ">"

onFocus="SetNameLocation('AiiiDEPTWK',03,18)"></TD>

</RDML>

</TR>

<TR>

<TD><STRONG>SECTION:</STRONG></TD>

<RDML ONMODE="DIS">

<TD><RDML MERGE="SECTION"></TD>

</RDML>

<RDML ONMODE="DLT">

<TD><RDML MERGE="iiiSECTWK "></TD>

</RDML>

<RDML ONMODE="ADD">

<TD><INPUT NAME="AiiiSECTWK" TYPE="TEXT" SIZE="002" MAXLENGTH="002"

VALUE="<RDML MERGE="iiiSECTWK ">"

onFocus="SetNameLocation('AiiiSECTWK',04,18)"></TD>

</RDML>

<RDML ONMODE="CHG">

<TD><INPUT NAME="AiiiSECTWK" TYPE="TEXT" SIZE="002" MAXLENGTH="002"

VALUE="<RDML MERGE="iiiSECTWK ">"

onFocus="SetNameLocation('AiiiSECTWK',04,18)"></TD>

</RDML>

</TR>

 

</TBODY>

</TABLE>

</FONT>

 

<BR>

<TABLE BORDER="1" cellpadding="10" cellspacing="1">

<TR>

<TD ALIGN="LEFT">Employee <BR>Photo</TD>

 

<TD COLSPAN="2" ALIGN="LEFT">Employee <BR>Name</TD>

<TD ALIGN="LEFT">Employee<BR> Number</TD>

</TR>

<RDML MERGE="@BLiiiEMPLST  ">

</TABLE>

 

4.  Save the document.