src/org/tiefaces/components/websheet/service/WebSheetLoader.java
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() + ")");
		}

	}
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() + ")");
		}

	}
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.

@param requestContext
the request context
@param statusFlag
the status flag
Sets the unsaved status .