protected void saveSelection(){
  if (p_table == null)   return;
  log.config("OK=" + m_ok);
  if (!m_ok) {
    m_results.clear();
    p_table.removeAll();
    p_table=null;
    return;
  }
  if (p_table.isMultiSelection()) {
    m_results.addAll(getSelectedRowKeys());
  }
 else {
    Integer data=getSelectedRowKey();
    if (data != null)     m_results.add(data);
  }
  log.config(getSelectedSQL());
  saveSelectionDetail();
  p_table.removeAll();
  p_table=null;
}

protected void saveSelection ( ) { if ( p_table == null ) return ; log . config ( "OK=" + m_ok ) ; if ( ! m_ok ) { m_results . clear ( ) ; p_table . removeAll ( ) ; p_table = null ; return ; } if ( p_table . isMultiSelection ( ) ) { m_results . addAll ( getSelectedRowKeys ( ) ) ; } else { Integer data = getSelectedRowKey ( ) ; if ( data != null ) m_results . add ( data ) ; } log . config ( getSelectedSQL ( ) ) ; saveSelectionDetail ( ) ; p_table . removeAll ( ) ; p_table = null ; }
save selection - called by dispose
