anchor.diff:  		}
   			
   		if(itemEmptyOption == 'true'){
  -			if(optionValueType ==='code'){
  +			if(optionValueType<%=randomInstance %> ==='code'){
   				opts += '<option value="">' + Liferay.Language.get(emptyOptionLabel) +'</option>'
   			}else{
   				opts += '<option value="0">' + Liferay.Language.get(emptyOptionLabel) +'</option>'
  
positive.code: 		
  			boundingBox = A.one('#<portlet:namespace/>col_<%=randomInstance %>' + level);
  			var data = null;
  			if(optionValueType ==='id'){
  				
  				if(parentItem != 0){
  					Liferay.Service(
  
negative.code: 	
  	var emptyOptionLabels<%=randomInstance %> = strEmptyOptionLabel.split(",");
  	
  	var optionValueType<%=randomInstance %> = '<%=optionValueType %>';
  	
  	var rootDictItemsContainer =  null;
  	
  