public function sasSet()
	{
		$message = __('Error');

		//set the class uri
		if($this->hasRequestParameter('classUri')){
			$clazz = $this->getCurrentClass();
			if(!is_null($clazz)){
				$this->setVariables(array($this->getDataKind().'ClassUri' => $clazz->getUri()));
				$message = $clazz->getLabel().' '.__('class selected');
			}
		}

		//set the instance uri
		if($this->hasRequestParameter('uri')){
			$instance = $this->getCurrentInstance();
			if(!is_null($instance)){
				$this->setVariables(array($this->getDataKind().'Uri' => $instance->getUri()));
				$message = __('%s %s selected', $instance->getLabel(), $this->getDataKind());
			}
		}
		$this->setData('message', $message);

		//only for the notification
		$this->setView('messages.tpl', 'tao');
	}
public function sasSet()
	{
		$message = __('Error');

		//set the class uri
		if($this->hasRequestParameter('classUri')){
			$clazz = $this->getCurrentClass();
			if(!is_null($clazz)){
				$this->setVariables(array($this->getDataKind().'ClassUri' => $clazz->getUri()));
				$message = $clazz->getLabel().' '.__('class selected');
			}
		}

		//set the instance uri
		if($this->hasRequestParameter('uri')){
			$instance = $this->getCurrentInstance();
			if(!is_null($instance)){
				$this->setVariables(array($this->getDataKind().'Uri' => $instance->getUri()));
				$message = __('%s %s selected', $instance->getLabel(), $this->getDataKind());
			}
		}
		$this->setData('message', $message);

		//only for the notification
		$this->setView('messages.tpl', 'tao');
	}
public function sasSet ( ) { $ message = __ ( 'Error' ) ; //set the class uri if ( $ this -> hasRequestParameter ( 'classUri' ) ) { $ clazz = $ this -> getCurrentClass ( ) ; if ( ! is_null ( $ clazz ) ) { $ this -> setVariables ( array ( $ this -> getDataKind ( ) . 'ClassUri' => $ clazz -> getUri ( ) ) ) ; $ message = $ clazz -> getLabel ( ) . ' ' . __ ( 'class selected' ) ; } } //set the instance uri if ( $ this -> hasRequestParameter ( 'uri' ) ) { $ instance = $ this -> getCurrentInstance ( ) ; if ( ! is_null ( $ instance ) ) { $ this -> setVariables ( array ( $ this -> getDataKind ( ) . 'Uri' => $ instance -> getUri ( ) ) ) ; $ message = __ ( '%s %s selected' , $ instance -> getLabel ( ) , $ this -> getDataKind ( ) ) ; } } $ this -> setData ( 'message' , $ message ) ; //only for the notification $ this -> setView ( 'messages.tpl' , 'tao' ) ; }
Save the uri or the classUri in parameter into the workflow engine by using the dedicated seervice
@return void
Save the uri or the classUri in parameter into the workflow engine by using the dedicated seervice