anchor.diff:   * along with this program. If not, see <http://www.gnu.org/licenses/>.
    */
   %>
  +
  +<%@page import="org.opencps.dossiermgt.service.DossierLocalServiceUtil"%>
  +<%@page import="org.opencps.dossiermgt.model.Dossier"%>
  +<%@page import="org.opencps.util.DateTimeUtil"%>
   
   <%@page import="com.liferay.portal.kernel.servlet.SessionErrors"%>
   <%@page import="com.liferay.portal.kernel.servlet.SessionMessages"%>
  
positive.code: 	templateFileNo = ParamUtil.getString(request, DossierDisplayTerms.TEMPLATE_FILE_NO);
  	
  	String templateFileNoTemp = StringPool.BLANK;
  	
  	try{
  		DossierPart dossierPart = DossierPartLocalServiceUtil.getDossierPart(dossierPartId);
  		if(dossierPart != null && Validator.isNotNull(dossierPart.getTemplateFileNo())){
  			templateFileNoTemp = dossierPart.getTemplateFileNo();
  		}
  	}catch(Exception e){}
  	
  	if(isSameTemplate){
  		templateFileNo = templateFileNoTemp;
  	}
  	
  %>
  
  <liferay-ui:error message="upload-error" key="upload-error"/>
  
negative.code: 	String modalDialogId = ParamUtil.getString(request, "modalDialogId");
  	
  	String redirectURL = ParamUtil.getString(request, "redirectURL");
  	
  	PortletURL iteratorURL = renderResponse.createRenderURL();
  	iteratorURL.setParameter("mvcPath", templatePath + "dossier_file.jsp");
  