Class InfoListSubModel

java.lang.Object
org.adempiere.webui.editor.InfoListSubModel
All Implemented Interfaces:
org.zkoss.zul.ListSubModel<ValueNamePair>

public class InfoListSubModel extends Object implements org.zkoss.zul.ListSubModel<ValueNamePair>
Model to get filter list from lookup and info window/panel
Author:
hengsin
  • Constructor Details

    • InfoListSubModel

      public InfoListSubModel(Lookup lookup, GridField gridField, String tableName, String keyColumnName)
      Parameters:
      lookup -
      gridField -
      tableName -
      keyColumnName -
  • Method Details

    • setWhereClause

      public void setWhereClause(String whereClause)
      Set where clause
      Parameters:
      whereClause -
    • getWhereClause

      public String getWhereClause()
      Get where clause
      Returns:
      where clause
    • getSubModel

      public org.zkoss.zul.ListModel<ValueNamePair> getSubModel(Object value, int nRows)
      Specified by:
      getSubModel in interface org.zkoss.zul.ListSubModel<ValueNamePair>