public void setUnsavedStatus ( final RequestContext requestContext , final Boolean statusFlag ) { // in client js should have setUnsavedState method if ( requestContext != null ) { LOG . log ( Level . FINE , "run setUnsavedState( {} )" , statusFlag . toString ( ) ) ; requestContext . execute ( "setUnsavedState(" + statusFlag . toString ( ) + ")" ) ; } }
Sets the unsaved status .