private void restoreFieldsFromUserInfo() {

        String savedEmail = (String)(m_user.getAdditionalInfo().get(ADDINFO_EMAIL));
        String savedName = (String)(m_user.getAdditionalInfo().get(ADDINFO_USER));
        String savedMessage = (String)(m_user.getAdditionalInfo().get(ADDINFO_MESSAGE));

        if (savedEmail != null) {
            m_emailField.setValue(savedEmail);
        }

        if (savedName != null) {
            m_userField.setValue(savedName);
        }

        if (savedMessage != null) {
            m_commitMessage.setValue(savedMessage);
        }
    }
private void restoreFieldsFromUserInfo ( ) { String savedEmail = ( String ) ( m_user . getAdditionalInfo ( ) . get ( ADDINFO_EMAIL ) ) ; String savedName = ( String ) ( m_user . getAdditionalInfo ( ) . get ( ADDINFO_USER ) ) ; String savedMessage = ( String ) ( m_user . getAdditionalInfo ( ) . get ( ADDINFO_MESSAGE ) ) ; if ( savedEmail != null ) { m_emailField . setValue ( savedEmail ) ; } if ( savedName != null ) { m_userField . setValue ( savedName ) ; } if ( savedMessage != null ) { m_commitMessage . setValue ( savedMessage ) ; } }
Restores user/email/message input fields from saved values.<p>