<%@page import="java.util.Map"%> <%@page import="org.xdams.utility.TrasformXslt20"%> <%@page import="org.xdams.workflow.bean.WorkFlowBean"%> <%@page import="org.xdams.page.view.bean.ManagingBean"%> <%@page import="org.apache.commons.lang3.text.StrSubstitutor"%> <%@page import="org.xdams.utility.TitleManager"%> <%@page import="org.xdams.xml.builder.XMLBuilder"%> <%@page import="it.highwaytech.db.HierPath"%> <%@page import="org.xdams.utility.request.MyRequest"%> <%@page import="org.xdams.page.view.bean.ViewBean"%> <%@page import="org.xdams.user.bean.UserBean"%> <%@page import="org.xdams.conf.master.ConfBean"%> <%@taglib uri="/WEB-INF/xDamsJSTL.tld" prefix="xDamsJSTL"%> <%@taglib uri="http://www.springframework.org/tags" prefix="spring"%> <% ConfBean confBean = (ConfBean)request.getAttribute("confBean"); UserBean userBean = (UserBean)request.getAttribute("userBean"); ViewBean viewBean = (ViewBean)request.getAttribute("viewBean"); WorkFlowBean workFlowBean = (WorkFlowBean)request.getAttribute("workFlowBean"); //da vedere quando facciamo ricerca per titoli String pos = viewBean.getPos(); //da vedere quando facciamo ricerca per titoli String selId = viewBean.getSelid(); int docNumber = viewBean.getPhysDoc(); int docFather = viewBean.getDocFather(); int docSon = viewBean.getDocSon(); int docUpperBrother = viewBean.getDocUpperBrother(); int docLowerBrother = viewBean.getDocLowerBrother(); int treePos = viewBean.getTreePos(); //da rivedere per la gestione generica dello hierpath HierPath laGerarchia = viewBean.getHierPath(); String imagePath = "????????????????"; boolean flagInventario = false; if(docFather!=docNumber){flagInventario=true;} XMLBuilder theXML = viewBean.getXmlBuilder(); XMLBuilder theXMLconf = confBean.getTheXMLConfPresentation(); XMLBuilder theXMLconfTitle = confBean.getTheXMLConfTitle(); XMLBuilder theXMLValControllati = confBean.getTheXMLValControllati(); XMLBuilder theXMLconfEditing = confBean.getTheXMLConfEditing(); XMLBuilder theXMLConfMedia = confBean.getTheXMLConfMedia(); XMLBuilder theXMLConfManaging = confBean.getTheXMLConfManaging(); TitleManager titleManager = new TitleManager(theXMLconfTitle); String ilTitolo = titleManager.defaultParsedTitle(viewBean.getTitle(),"defaultTitle"); String ilTitoloEncoded = java.net.URLEncoder.encode(ilTitolo,"ISO-8859-1"); String elementoPath=""; String extraFunction=""; /* LockData lockData = null; Object objData = getServletContext().getAttribute("lockData"); if(objData!=null){ lockData = ((LockData)objData); } String uniqueId = viewBean.getPhysDoc() + userBean.getIdAccount() + userBean.getTheArch(); */ %> xDams - <%=workFlowBean.getArchive().getArchiveDescr()%> <% if(theXMLConfManaging.contaNodi("/root/param/elemento[@id='substitutor']")>0){ StrSubstitutor strSubstitutor = new StrSubstitutor(); } %>
<% if(session.getAttribute(workFlowBean.getManagingBeanName())==null || ((ManagingBean) session.getAttribute(workFlowBean.getManagingBeanName())).getCutPhysDoc()==-1){%>
<%}else{ ManagingBean managingBean = (ManagingBean) session.getAttribute(workFlowBean.getManagingBeanName()); if(managingBean.getCutPhysDoc()!=-1){%>
<%=managingBean.getCutHtmlOutput(String.valueOf(viewBean.getPhysDoc()))%>
<%} }%>
<% try { if(confBean.getPresentationXsl()==null){ %><%@include file="inc_shortTabViewResult.jsp"%><% }else{ %><%=TrasformXslt20.xslt(theXML.getXML("ISO-8859-1",false), confBean.getPresentationXsl(),((Map)request.getAttribute("mapParams")))%><% } } catch (Exception e) { throw new Exception("error loading conf file aaa"+e.getMessage()); } %>
<%System.out.println(" ---- INFO ---- schedabreve page"); %>
<%System.out.println(" ---- INFO ---- schedabreve page"); %>
<%System.out.println(" ---- INFO ---- schedabreve page"); %>