getDataByName()

public int getDataByName(int row, String fieldName)
This method returns the entry at the specified row and field name. The following list shows the values returned for the data shown in Table 1:
  • getDataByIndex(1, TOPICID) returns the string '4'.
  • getDataByIndex(2, EXMPLID) returns the string '54'.
  • getDataByIndex(3, DESCRIPT) returns the string 'Edit Products'.
Figure 1. Example for getDataByName()
<varupdate name="$data$" value="$HMLSessionUtil.getDataByName(3,'DESCRIPT')$" />