@Override
  public void process(Situation situation) {
    super.process(situation);
    countLabel = createLabelControl(ID_Label_Count);
    search = createControl(ID_Search, SSearchText2.class);

    search.addActionListener(
        new ActionListener() {

          public void actionPerformed(ActionEvent e) {
            table.render();
          }
        });
  }
 @SuppressWarnings("unchecked")
 @Override
 public Object[] getElements(Context context, STableStatus tablestatus) {
   GetOnlineReturnListKey key =
       new GetOnlineReturnListKey(
           tablestatus.getBeginIndex(),
           tablestatus.getPageSize(),
           true,
           OnlineReturnTab.Approving);
   key.setSearchText(search.getText());
   OnlineReturnListEntity listEntity = context.find(OnlineReturnListEntity.class, key);
   if (null == listEntity) return null;
   //		int size = listEntity.getItemList().size();
   //		if (tablestatus.getPageNo() != STableStatus.FIRSTPAGE) {
   //			String preSize = countLabel.getText();
   //			if (StringHelper.isNotEmpty(preSize)) {
   //				size += Integer.parseInt(preSize);
   //			}
   //		}
   countLabel.setText(listEntity.getTotalCount() + "");
   return listEntity.getItemList().toArray();
 }