Web Development Toolkit

JSP Result List

 

The results from the database are compiled by the JSP template. In the example, the titles of the columns are written in table header tags.

 

<table>
<tr>
<th><EWDT:edbft fieldName="T_MASTER_DAT.PART_ID"></EWDT:edbft></th>
<th><EWDT:edbft fieldName="T_MASTER_DAT.PART_NAME"></EWDT:edbft></th>
</tr>

 

The rows in the list are created within the <EWDT:edbrepeat>-tag, which loops through all the records returned by the Application Server.

  <EWDT:edbrepeat>
<tr>
<td>
<a id="<EWDT:edb valueName='rowid'></EWDT:edb>"
href="<EWDT:edb valueName='usx' usx='xedb_iwf_frm_ent'
params='EDB-ARTICLE EDB-ART-CFR @>' template='WWW-ART-SFR.jsp'>
</EWDT:edb>&rowid=<EWDT:edb valueName='rowid'></EWDT:edb>">
<EWDT:edb valueName='fld_val' fieldName='T_MASTER_DAT.PART_ID'>
</EWDT:edb>
</a>
</td>
<td>
<EWDT:edb valueName='fld_val' fieldName='T_MASTER_DAT.PART_NAME'>
</EWDT:edb>
</td>
</tr>
</EWDT:edbrepeat>
</table>
  The list shows a table of hits from the database. It also allows navigating to a form representing single records.