function _labelIsDisplayOnly(){

		if (this.getDisplayOnly) {
			if (!this.isPropertyInitial("displayOnly")) {
				return this.getDisplayOnly();
			}

			var oFormElement = this.getParent();
			return !oFormElement.getProperty("_editable");
		}

		return false;

	}
/*
	 * overwrite Labels isDisplayOnly function to use the editable property of the Form
	 * to determine the mode.
	 *
	 * If DisplayOnly is set explicitly on the Label, this is used.
	 */
overwrite Labels isDisplayOnly function to use the editable property of the Form
to determine the mode.

If DisplayOnly is set explicitly on the Label, this is used.
overwrite Labels isDisplayOnly function to use the editable property of the Form to determine the mode . If DisplayOnly is set explicitly on the Label this is used .
function _labelIsDisplayOnly(){
		if (this.getDisplayOnly) {
			if (!this.isPropertyInitial("displayOnly")) {
				return this.getDisplayOnly();
			}
			var oFormElement = this.getParent();
			return !oFormElement.getProperty("_editable");
		}
		return false;
	}
function _labelIsDisplayOnly ( ) { if ( this . getDisplayOnly ) { if ( ! this . isPropertyInitial ( "displayOnly" ) ) { return this . getDisplayOnly ( ) ; } var oFormElement = this . getParent ( ) ; return ! oFormElement . getProperty ( "_editable" ) ; } return false ; }
overwrite Labels isDisplayOnly function to use the editable property of the Form
 to determine the mode.
overwrite Labels isDisplayOnly function to use the editable property of the Form to determine the mode .