private function addMessageInternal($msg, $msg2, $fieldId, $value, $vcomp, $level='error') {
		$txt=($msg)?$msg:$msg2;
		if (is_array($vcomp)) {
			$first=@$vcomp[0];
			$second=@$vcomp[1];
			$vcomp=@$vcomp[0]; // is not array anymore
		} else {
			$first=$vcomp;
			$second=$vcomp;
		}
		if (is_array($this->originalValue)) {
			$txt=str_replace(['%field','%realfield','%value','%comp','%first','%second']
				,[($this->friendId===null)?$fieldId:$this->friendId,$fieldId
					,$value,$vcomp,$first,$second],$txt);
		} else {
			$txt=str_replace(['%field','%realfield','%value','%comp','%first','%second']
				,[($this->friendId===null)?$fieldId:$this->friendId,$fieldId
					,$this->originalValue,$vcomp,$first,$second],$txt);
		}
		$this->messageList->addItem($fieldId,$txt, $level);
	}