question: 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 ; }
target:  Save Selection	- Called by dispose