%/*Encoding:UTF-8*/%> <%/*Type:Portlet*/%> <%//Def:[{"actioncode":"this.lbl_log.Hide();\nfunction SetWidth(){\n var val = this.value.Value();\n this.Box0.Ctrl.style.width = (100-((val-this.pMin.Value())\u002f(this.pMax.Value()-this.pMin.Value()))*100)+\"%\";\n}\nfunction SetColor(){\n\u002f\u002f this.Box0.Ctrl.style.width = px+\"px\";\n}\n\nfunction SetTitle(){\n this.img_bg_gradient.Ctrl.title=this.value.Value()+'\u002f'+this.pMax.Value();\n}\n\nfunction Calculate(value){\n\u002f\u002f this.lbl_log.Value('pMin:'+this.pMin.Value()+';pMax:'+this.pMax.Value()+';value:'+value+';');\n\n this.value.Value(value);\n this.SetWidth();\n this.SetColor();\n this.SetTitle();\n}\n\nfunction this_Loaded(){\n this.img_bg_gradient.Ctrl.style.width='100%';\n this.Calculate(0);\n}\n","bg_image":" ","cache_time":" ","color":"#CCCCCC","css":" ","css_class":" ","description":" ","form_action":" ","form_type":"false","h":"10","language":"false","my_library":" ","on_security_failure":"login","pages_names":" ","security":"none","sp_theme":"true","sp_uid":"false","tag":" ","title":" ","type":"Form","v_line":"100","version":"37","w":"100%"},{"anchor":"top-right","bg_color":"#FFFFFF","border_color":"#0033FF","border_weight":"0","class_Css":"box","h":"11","name":"Box0","page":"1","sequence":" ","stretch":"false","type":"Box","w":"100","x":"0","y":"0","zindex":"2"},{"dataobj":" ","field":" ","h":"19","init_par":"attribute::0","name":"pMin","page":"1","sequence":" ","type":"Variable","typevar":"numeric","w":"49","x":"-6","y":"-27"},{"dataobj":" ","field":" ","h":"18","init_par":"attribute::100","name":"pMax","page":"1","sequence":" ","type":"Variable","typevar":"numeric","w":"45","x":"50","y":"-28"},{"dataobj":" ","field":" ","h":"20","init_par":"0","name":"value","page":"1","sequence":" ","type":"Variable","typevar":"numeric","w":"56","x":"-9","y":"14"},{"anchor":"top-left-right","dataobj":" ","field":" ","h":"11","help_tips":" ","href":" ","name":"img_bg_gradient","page":"1","path_type":" ","sequence":" ","src":"..\u002fimages\u002fspadministration_pwdmeter_gradient.png","srchover":" ","tabindex":" ","target":" ","type":"Image","type_submit":"false","w":"100","x":"0","y":"0","zindex":"1"},{"align":"left","anchor":" ","bg_color":"transparent","class_Css":"label","dataobj":" ","enable_HTML":"true","field":" ","font":"Verdana","font_color":"black","font_size":"7pt","font_weight":"normal","h":"11","help_tips":" ","href":" ","name":"lbl_log","page":"1","picture":" ","sequence":" ","tabindex":" ","target":" ","type":"Label","value":" ","w":"100","x":"0","y":"0","zindex":"2"}]%> <%/*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.spadministration_pwdmeter_Static=function(){ if(typeof SetWidth !='undefined')this.SetWidth=SetWidth; if(typeof SetColor !='undefined')this.SetColor=SetColor; if(typeof SetTitle !='undefined')this.SetTitle=SetTitle; if(typeof Calculate !='undefined')this.Calculate=Calculate; if(typeof this_Loaded !='undefined')this.this_Loaded=this_Loaded; <%if(!Library.Empty(PageletId) ){%> this.this_Calc=function(){ this.PageletCalc(); } <%}%> this.lbl_log.Hide(); function SetWidth(){ var val = this.value.Value(); this.Box0.Ctrl.style.width = (100-((val-this.pMin.Value())/(this.pMax.Value()-this.pMin.Value()))*100)+"%"; } function SetColor(){ // this.Box0.Ctrl.style.width = px+"px"; } function SetTitle(){ this.img_bg_gradient.Ctrl.title=this.value.Value()+'/'+this.pMax.Value(); } function Calculate(value){ // this.lbl_log.Value('pMin:'+this.pMin.Value()+';pMax:'+this.pMax.Value()+';value:'+value+';'); this.value.Value(value); this.SetWidth(); this.SetColor(); this.SetTitle(); } function this_Loaded(){ this.img_bg_gradient.Ctrl.style.width='100%'; this.Calculate(0); } 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"); %> .spadministration_pwdmeter_container { } .spadministration_pwdmeter_portlet{ position:relative; width:100%; min-width:100px; height:10px; background-color:#CCCCCC; } .spadministration_pwdmeter_portlet[Data-page="1"]{ height:10px; width:100%; } .spadministration_pwdmeter_portlet > .Box0_ctrl { box-sizing:border-box; z-index:2; position:absolute; display:inline-block; top:0px; right:0px; width:100px; height:auto; min-height:11px; display:flex; flex-direction:column; } .spadministration_pwdmeter_portlet > .Box0_ctrl { height:11px; } .spadministration_pwdmeter_portlet > .Box0_ctrl > .box_content { height:100%; } .spadministration_pwdmeter_portlet > .Box0_ctrl { min-height:11px; background-color:#FFFFFF; border-width:0px; border-style:solid; border-color:#0033FF; } .spadministration_pwdmeter_portlet > .img_bg_gradient_ctrl { box-sizing:border-box; z-index:1; position:absolute; display:inline-block; top:0px; left:0px; right:0px; width:auto; height:11px; } .spadministration_pwdmeter_portlet > .img_bg_gradient_ctrl { } .spadministration_pwdmeter_portlet > .img_bg_gradient_ctrl > img{ width:100%; vertical-align:top; height:11px; } .spadministration_pwdmeter_portlet > .lbl_log_ctrl { box-sizing:border-box; z-index:2; position:absolute; display:inline-block; top:0px; left:0px; width:100px; height:auto; min-height:11px; } .spadministration_pwdmeter_portlet > .lbl_log_ctrl { height:auto; min-height:11px; } .spadministration_pwdmeter_portlet > .lbl_log_ctrl { overflow:hidden; font-family:Verdana; font-size:7pt; font-weight:normal; color:black; text-align:left; background-color:transparent; } <%}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\":\"10\",\"pages_names\":\"\",\"title\":\"\",\"type\":\"Form\",\"v_line\":\"100\",\"w\":\"100%\"},{\"anchor\":\"top-right\",\"h\":\"11\",\"page\":\"1\",\"type\":\"Box\",\"w\":\"100\",\"x\":\"0\",\"y\":\"0\",\"zindex\":\"2\"},{\"h\":\"19\",\"page\":\"1\",\"type\":\"Variable\",\"w\":\"49\",\"x\":\"-6\",\"y\":\"-27\"},{\"h\":\"18\",\"page\":\"1\",\"type\":\"Variable\",\"w\":\"45\",\"x\":\"50\",\"y\":\"-28\"},{\"h\":\"20\",\"page\":\"1\",\"type\":\"Variable\",\"w\":\"56\",\"x\":\"-9\",\"y\":\"14\"},{\"anchor\":\"top-left-right\",\"h\":\"11\",\"page\":\"1\",\"type\":\"Image\",\"w\":\"100\",\"x\":\"0\",\"y\":\"0\",\"zindex\":\"1\"},{\"anchor\":\"\",\"h\":\"11\",\"page\":\"1\",\"type\":\"Label\",\"w\":\"100\",\"x\":\"0\",\"y\":\"0\",\"zindex\":\"2\"}]"; 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,"spadministration_pwdmeter","UTF-8")) {return; } %><%boolean included=request.getAttribute("javax.servlet.include.request_uri")!=null || "true".equals(request.getParameter("clientsideinclusion")); Map