public void saveValue ( ComponentParent recordOwner ) { if ( recordOwner != null ) { BaseField field = this . getOwner ( ) ; String strCommand = ( ( ComponentParent ) recordOwner ) . getParentScreen ( ) . popHistory ( 1 , false ) ; if ( m_recordOwnerCache != null ) if ( strCommand != null ) if ( strCommand . indexOf ( m_recordOwnerCache . getClass ( ) . getName ( ) ) != - 1 ) { // Yes this is the command to open this window Map < String , Object > properties = new Hashtable < String , Object > ( ) ; Util . parseArgs ( properties , strCommand ) ; properties . put ( field . getFieldName ( ) , field . toString ( ) ) ; strCommand = Utility . propertiesToURL ( null , properties ) ; } ( ( ComponentParent ) recordOwner ) . getParentScreen ( ) . pushHistory ( strCommand , false ) ; } }
Save the current value of this field to the registration database . and change the URL on the push - down stack to take this into consideration .