%/*Encoding:UTF-8*/%> <%/*Type:Portlet*/%> <%//Def:[{"actioncode":"function btn_approva_Click(){\r\n if(confirm('Procedere con l\\' approvazione?')){\r\n this.selezionati.Value(this.xzoom_ord.GetSelectedDataAsTrsString())\r\n this.pi_fapprova.Link()\r\n }\r\n \r\n}\r\n\r\nfunction pi_fapprova_Executed(result,cError){\r\n alert(result)\r\n this.pi_refresh.Emit()\r\n}\r\n\r\nfunction this_Loaded(){\r\n this.pi_refresh.Emit()\r\n this.xzoom_ord.Grid.disabled_fld='MVFLPROV'\r\n}\r\n\r\nfunction codazi_onChange(){\r\n this.pi_refresh.Emit()\r\n}\r\n\r\nfunction ordprov_onChange(){\r\n this.pi_refresh.Emit()\r\n}","adaptive":"adaptive","altInterfaceFor":"","attack_protection":"","bg_image":"","bg_image_position":"","bg_image_repeat":"","bg_image_size":"","cache_in_post":"false","cache_time":"","color":"#FFFFFF","container_bg_color":"","container_bg_image":"","container_bg_pos":"","css":"","css_class":"","css_code":"[{\"version\":2,\"specific_states_value\":{\"normal\":{\"border_radius_tl\":\"2\",\"border_radius_tr\":\"2\",\"border_radius_bl\":\"2\",\"border_radius_br\":\"2\"},\"hover\":{},\":before\":{},\":after\":{}},\"current_state\":\"normal\",\"font_list\":[],\"type\":\"box\",\"class_name\":\"pi-curvato\",\"selector\":\".pi-curvato\",\"id\":\"form\"}]","custom":"","description":"","expected_conn":"60","fixed_top":"","form_action":"","form_enctype":"default","form_target":"","form_type":"false","grapesCode":"\u003cbody\u003e{{ @XZoom1 }}{{ @Button1 }}{{ @xzoom_ord }}{{ @Approva }}{{ @btn_approva }}{{ @xzoom_ord }}{{ @btn_approva }}{{ @CodAzi }}{{ @textbox1 }}{{ @codazi }}{{ @Checkbox8 }}{{ @ordprov }}\u003c\u002fbody\u003e","grapesCss":"","h":"530","hsl":"false","htmlcode":"{{ @ordprov }} \n \n{{ @codazi }} \n{{ @xzoom_ord }} \n \n{{ @btn_approva }} \n{{ @CodAzi{{ @textbox1 }} \n }} \n \n \n","included_font":"[]","language":"false","layout_step":"","layout_steps_values":"{}","lock_items":"","manifest":"Custom manifest","max_w":"","min_w":"","mode":"NORMAL","my_library":"","offline":"false","on_security_failure":"login","page_layer":"","pages":"1","pagesProp":"[{\"h\":\"530\",\"w\":\"100%\",\"title\":\"\",\"layer\":\"\",\"layout_steps_values\":{}}]","pages_names":"","portlet_position":"align center","positioning":"absolute","roles":"","sec_heredity":"","security":"logged","selectZone":"","server_cache_time":"","shared_manifest":"false","sp_theme":"true","steps":"","stretch_height":"","tabstrip_class":"","tabstrip_hidden":"","tag":"","title":"","title_block":"","title_url":"","type":"Form","v_line":"779","version":"37","w":"100%","wizard":""},{"anchor":"top-left-right-bottom","autozoom":"","checkAll":"false","checkbox":"true","config":"pi_zautord","ctrlOfVariant":"","fixed":"","h":"468","hide":"false","infinite_scroll":"","key":"AZIENDA,MVSERIAL","layer":"false","layout_steps_values":"{}","minheight":"","name":"xzoom_ord","other":"w_codazi=&w_ordprov=&ReceiverName=pi_refresh&WaitForFilter=true","page":"1","rapp":"","sequence":"1","spuid":"","tableName":"ordini_mast","type":"XZoom","w":"766","wireframe_props":"","x":"7","y":"53","zindex":"1","zone":""},{"anchor":"top-right","bg_color":"","border_color":"","border_weight":"","class_Css":"button","create_undercond":"","ctrlOfVariant":"","edit_undercond":"","fixed":"false","font":"","font_color":"","font_size":"","h":"25","help_tips":"","hide":"false","hide_undercond":"","layer":"false","layout_steps_values":"{}","name":"btn_approva","page":"1","rapp":"","sequence":"2","spuid":"","tabindex":"","type":"Button","type_submit":"false","type_wizard":"","value":"Approva","w":"96","wireframe_props":"value","x":"606","y":"8","zindex":"2","zone":""},{"calculate":"","ctrlOfVariant":"","dataobj":"","decrypt":"","decrypt_pwd":"","encrypt":"","encrypt_pwd":"","field":"","h":"20","init":"","init_par":"","name":"selezionati","page":"1","reactive":"","sequence":"3","server_side":"false","type":"Variable","typevar":"character","w":"120","x":"860","y":"-41"},{"allowedentities":"pi_fapprova","async":"false","check_exp":"","ctrlOfVariant":"","decrypted_parms":"","decrypted_parms_pwd":"","entity_type":"routine","h":"20","m_cAction":"function","name":"pi_fapprova","offline":"false","page":"1","parms":"pDATI=selezionati","popup":"false","popup_height":"","popup_maximized":"false","popup_scroll":"false","popup_style":"by skin","popup_width":"","progressbar":"","refresh":"","sequence":"4","servlet":"pi_fapprova","target":"","type":"SPLinker","w":"120","x":"860","y":"-12"},{"anchor":"top-left","calculate":"","class_Css":"combobox","create_undercond":"","ctrlOfVariant":"","dataobj":"","dataobj_value":"","disabled":"false","edit_undercond":"","empty_value":"true","field":"","fixed":"","font":"Arial, Helvetica, sans-serif","font_size":"8","h":"25","help_tips":"Azienda","hide":"false","hide_undercond":"","init":"false","init_par":"","layer":"false","layout_steps_values":"{}","name":"codazi","page":"1","picture":"","rapp":"","reactive":"","sequence":"5","spuid":"","tabindex":"0","textlist":"Polo Informatico,Metriks,Fconn","type":"Combobox","typevar":"character","valuelist":"POLOI,METRI,FCONN","visible":"true","w":"177","wireframe_props":"name,textlist","x":"93","y":"13","zindex":"3","zone":""},{"align":"right","anchor":"top-left","assoc_input":"","bg_color":"","calculate":"","class_Css":"label","create_undercond":"","ctrlOfVariant":"","dataobj":"","draggable":"","draggable_name":"","droppable":"","droppable_name":"","edit_undercond":"","enable_HTML":"false","field":"","fixed":"","font":"","font_color":"","font_size":"","font_weight":"","fontpct":"","h":"21","heading":"","help_tips":"","hide":"false","hide_undercond":"","href":"","init":"","layer":"false","layout_steps_values":"{}","n_col":"1","name":"textbox1","nowrap":"false","page":"1","picture":"","rapp":"","sanitize":"xssPrevent","sanitize_tags":"","sequence":"6","server_side":"","shrinkable":"","spuid":"","tabindex":"","target":"","template_code":"","type":"Label","value":"Azienda","w":"76","wireframe_props":"align,value,n_col","x":"9","y":"17","zindex":"4","zone":""},{"broadcast":"all","ctrlOfVariant":"","eventsNames":"","eventsObjs":"","h":"20","name":"pi_refresh","page":"1","parmsNames":"w_codazi,w_ordprov","parmsTypes":"var,var","parmsValues":"codazi,ordprov","persistent":"true","sequence":"7","type":"EventEmitter","w":"120","x":"859","y":"31"},{"anchor":"top-left","calculate":"","checked_value":"0","create_undercond":"","css_class":"label","css_class_input":"","ctrlOfVariant":"","dataobj":"","disabled":"false","edit_undercond":"","extended":"","field":"","fixed":"","h":"25","help_tips":"","hide":"false","hide_undercond":"","init":"true","init_par":"0","label_text":"Mostra solo ordini provvisori","layer":"false","layout_steps_values":"{}","name":"ordprov","page":"1","rapp":"","reactive":"","sequence":"8","spuid":"","style_type":"","tabindex":"","type":"Checkbox","typevar":"numeric","unchecked_value":"1","w":"258","wireframe_props":"label_text","x":"317","y":"14","zindex":"5","zone":""}]%> <%/*Description:*/%> <%@ page import="com.zucchetti.SPBridge.*" %><%@ page import="java.util.*" %><%@ page import="com.zucchetti.PortalStudio.*" %><%@ page import="com.zucchetti.sitepainter.*" %> <%@ page import="com.zucchetti.sitepainter.SPPrxycizer" %><%@page extends="com.zucchetti.PortalStudio.PortalStudioBase" %> <%@ page language="java" pageEncoding="UTF-8" %><%Sitepainter sp=Sitepainter.getSitepainter(request); String m_cJSPUID=getJSPUID(); String idPortlet=sp.getPortletId(request,sp.getParameter("ForcedPortletUID",JSPLib.NewCPCCCHK(5))); String PageletId = (request.getAttribute("PageletId") != null ? (String)request.getAttribute("PageletId" ) : sp.getParameter("PageletId" ,"") ); String SPPortletTitleId = (request.getAttribute("SPPortletTitleId") != null ? (String)request.getAttribute("SPPortletTitleId") : sp.getParameter("SPPortletTitleId","") ); String SPParentObjId=(request.getAttribute("SPParentObjId")!=null?(String)request.getAttribute("SPParentObjId"):sp.getParameter("SPParentObjId","")); request.setAttribute("com.zucchetti.sitepainter.PortalStudio.getCryptPwd",JSPLib.NewCPCCCHK(6)); if(sp.getParameter("SpStaticCode","").equals(m_cJSPUID)){ Library.SetMimeType(response,"text/javascript"); response.setDateHeader("Last-Modified",new Date().getTime() - 604800000L); response.setDateHeader("Expires", new Date().getTime() + 604800000L); response.setHeader("Cache-Control","public"); %> window.pi_poautord_Static=function(){ if(typeof btn_approva_Click !='undefined')this.btn_approva_Click=btn_approva_Click; if(typeof pi_fapprova_Executed !='undefined')this.pi_fapprova_Executed=pi_fapprova_Executed; if(typeof this_Loaded !='undefined')this.this_Loaded=this_Loaded; if(typeof codazi_onChange !='undefined')this.codazi_onChange=codazi_onChange; if(typeof ordprov_onChange !='undefined')this.ordprov_onChange=ordprov_onChange; <%if(!Library.Empty(PageletId) ){%> this.this_Calc=function(){ this.PageletCalc(); } <%}%> function btn_approva_Click(){ if(confirm('Procedere con l\' approvazione?')){ this.selezionati.Value(this.xzoom_ord.GetSelectedDataAsTrsString()) this.pi_fapprova.Link() } } function pi_fapprova_Executed(result,cError){ alert(result) this.pi_refresh.Emit() } function this_Loaded(){ this.pi_refresh.Emit() this.xzoom_ord.Grid.disabled_fld='MVFLPROV' } function codazi_onChange(){ this.pi_refresh.Emit() } function ordprov_onChange(){ this.pi_refresh.Emit() } this.dispatchEvent('HideUnderCondition'); this.dispatchEvent('EditUnderCondition'); } <%}else if(sp.getParameter("SpCssCode","").equals(m_cJSPUID)){ Library.SetMimeType(response,"text/css"); response.setDateHeader("Last-Modified",new Date().getTime() - 604800000L); response.setDateHeader("Expires", new Date().getTime() + 604800000L); response.setHeader("Cache-Control","public"); %> .pi_poautord_container .pi-curvato{ border-radius: 2px 2px 2px 2px; } .pi_poautord_container { } .pi_poautord_title_container { margin: auto; } .pi_poautord_portlet{ position:relative; margin: auto; width:100%; min-width:779px; height:530px; background-color:#FFFFFF; } .pi_poautord_portlet[Data-page="1"]{ height:530px; width:100%; } .pi_poautord_portlet > .xzoom_ord_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:53px; left:7px; right:6px; bottom:9px; width:auto; } .pi_poautord_portlet > .btn_approva_ctrl { box-sizing:border-box; z-index:2; position:absolute; display:inline-block; top:8px; right:77px; width:96px; height:25px; } .pi_poautord_portlet > .btn_approva_ctrl { } .pi_poautord_portlet > .codazi_ctrl { box-sizing:border-box; z-index:3; position:absolute; display:inline-block; top:13px; left:93px; width:177px; height:25px; } .pi_poautord_portlet > .textbox1_ctrl { box-sizing:border-box; z-index:4; position:absolute; display:inline-block; top:17px; left:9px; width:76px; height:auto; min-height:21px; } .pi_poautord_portlet > .textbox1_ctrl { height:auto; min-height:21px; } .pi_poautord_portlet > .textbox1_ctrl { overflow:hidden; text-align:right; } .pi_poautord_portlet > .ordprov_ctrl { box-sizing:border-box; z-index:5; position:absolute; display:inline-block; top:14px; left:317px; width:258px; height:25px; } <%}else if(sp.getParameter("SpWireframe","").equals("true")){ String containerId=sp.getParameter("containerID",idPortlet); Library.SetMimeType(response,"text/html"); response.setDateHeader("Last-Modified",new Date().getTime() - 604800000L); response.setDateHeader("Expires", new Date().getTime() + 604800000L); response.setHeader("Cache-Control","public"); PrintWireFrame(containerId,out); %> <%! void PrintWireFrame(String containerId, java.io.Writer out) throws java.lang.Throwable { String def="[{\"h\":\"530\",\"layout_steps_values\":{},\"pages_names\":\"\",\"steps\":\"\",\"title\":\"\",\"type\":\"Form\",\"v_line\":\"779\",\"w\":\"100%\",\"wizard\":\"\"},{\"anchor\":\"top-left-right-bottom\",\"h\":\"468\",\"layout_steps_values\":{},\"page\":\"1\",\"type\":\"XZoom\",\"w\":\"766\",\"x\":\"7\",\"y\":\"53\",\"zindex\":\"1\"},{\"anchor\":\"top-right\",\"h\":\"25\",\"layout_steps_values\":{},\"page\":\"1\",\"type\":\"Button\",\"value\":\"Approva\",\"w\":\"96\",\"x\":\"606\",\"y\":\"8\",\"zindex\":\"2\"},{\"h\":\"20\",\"page\":\"1\",\"type\":\"Variable\",\"w\":\"120\",\"x\":\"860\",\"y\":\"-41\"},{\"h\":\"20\",\"page\":\"1\",\"type\":\"SPLinker\",\"w\":\"120\",\"x\":\"860\",\"y\":\"-12\"},{\"anchor\":\"top-left\",\"h\":\"25\",\"layout_steps_values\":{},\"name\":\"codazi\",\"page\":\"1\",\"textlist\":\"Polo Informatico,Metriks,Fconn\",\"type\":\"Combobox\",\"w\":\"177\",\"x\":\"93\",\"y\":\"13\",\"zindex\":\"3\"},{\"align\":\"right\",\"anchor\":\"top-left\",\"h\":\"21\",\"layout_steps_values\":{},\"n_col\":\"1\",\"name\":\"textbox1\",\"page\":\"1\",\"type\":\"Label\",\"value\":\"Azienda\",\"w\":\"76\",\"x\":\"9\",\"y\":\"17\",\"zindex\":\"4\"},{\"h\":\"20\",\"name\":\"pi_refresh\",\"page\":\"1\",\"type\":\"EventEmitter\",\"w\":\"120\",\"x\":\"859\",\"y\":\"31\"},{\"anchor\":\"top-left\",\"h\":\"25\",\"label_text\":\"Mostra solo ordini provvisori\",\"layout_steps_values\":{},\"name\":\"ordprov\",\"page\":\"1\",\"type\":\"Checkbox\",\"w\":\"258\",\"x\":\"317\",\"y\":\"14\",\"zindex\":\"5\"}]"; out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("\n"); out.write("
\n"); out.write("\n"); }/**/%> <%}else{ if (JSPLib.checkApplication(request, response, out, sp, 37,"pi_poautord","UTF-8")) {return; } %><%if(!sp.isLogged()){%> <%if(true) return; }%> <%boolean included=request.getAttribute("javax.servlet.include.request_uri")!=null || "true".equals(request.getParameter("clientsideinclusion")); Map