<%/*Type:Pagelet*/%> <%/*Template*/%> <%/*Def:type||pagelet||id||pagelet||name||default_tpl||template||0||width||100%||height||100%||css|| ||css_class|| ||color|| ||align||left||security||none||on_security_failure||login||sp_theme||true|||type||column||id||header||name||header||width|| ||color|| ||align||left||valign||top||css_class|| ||height||1%||padding|| ||collapsable||false|||type||column||id||col1||name||column1||width||170||color|| ||align||left||valign||top||css_class|| ||height||100%||padding|| ||collapsable||false|||type||column||id||col2||name||column2||width||100%||color|| ||align||left||valign||top||css_class|| ||height||100%||padding|| ||collapsable||false|||type||column||id||col3||name||column3||width||1||color|| ||align||left||valign||top||css_class|| ||height||100%||padding|| ||collapsable||false|||type||column||id||footer||name||footer||width|| ||color|| ||align||center||valign||top||css_class|| ||height||0%||padding|| ||collapsable||false|||type||portlet||id||start_page_menu_orizz_portlet.jsp0||name||start_page_menu_orizz_portlet.jsp||parameters|| ||titled||false||title|| ||open||false||in_iframe||false||iframe_height|| ||condition|| ||toremove|| ||container||header||position||0||margin_bottom||10px||draggable||false|||type||group||id||sx1||name||sx||titled||false||title|| ||open||false||tabs||none||container||col1||position||0||margin_bottom||10px||draggable||false|||type||zone||id||main2||name||main||titled||false||title|| ||open||false||in_iframe||true||iframe_height|| ||container||col2||position||0||margin_bottom||10px||draggable||false|||type||portlet||id||start_page_footer_portlet.jsp3||name||start_page_footer_portlet.jsp||parameters|| ||titled||false||title|| ||open||false||in_iframe||false||iframe_height|| ||condition|| ||toremove|| ||container||footer||position||0||margin_bottom||10px||draggable||false|||*/%> <%/*Template_type:0*/%> <%/*Encoding:UTF-8*/%> <%/*Description:*/%> <%@page import="java.util.*" %><%@page import="com.zucchetti.SPBridge.*" %><%@page import="com.zucchetti.PortalStudio.*" %> <%@page import="com.zucchetti.sitepainter.Library" %><%@page import="com.zucchetti.sitepainter.SPPrxycizer" %><%@page extends="com.zucchetti.PortalStudio.PortalStudioBase" %> <%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %><%Sitepainter sp=Sitepainter.getSitepainter(request); String PageletId= (request.getAttribute("forcePageletId")!= null ? (String)request.getAttribute("forcePageletId") : JSPLib.NewCPCCCHK()); String SPParentObjId=(request.getAttribute("SPParentObjId")!=null?(String)request.getAttribute("SPParentObjId"):sp.getParameter("SPParentObjId","")); request.setAttribute("forcePageletId",null); String includerPageletId= (request.getAttribute("PageletId")!= null ? (String)request.getAttribute("PageletId") : "");%> <% if (JSPLib.checkApplication(request, response, out, sp, 37,"default_tpl","UTF-8")) {return; } %><%request.setAttribute("com.zucchetti.pagelet.template."+sp.getSkin()+".default_tpl","default_tpl"); request.setAttribute("PageletId",PageletId); String main_template = (String)request.getAttribute("com.zucchetti.pagelet.main_template"); String planName = (String)request.getAttribute("planName"); boolean pagelet_yet_included = null!=main_template; if(!pagelet_yet_included){ request.setAttribute("com.zucchetti.pagelet.main_template","default_tpl"); } boolean server_side_included = null!=request.getAttribute("javax.servlet.include.request_uri"); boolean client_side_included = "true".equals(request.getParameter("clientsideinclusion")); boolean tabs_libraries_included = null!=request.getAttribute("com.zucchetti.pagelet.tabs_libraries_included"); boolean titles_libraries_included = null!=request.getAttribute("javax.servlet.include.titles_libraries_included"); String queryString=JSPLib.getParametersList(request); if(request.getAttribute("javax.servlet.include.query_string")!=null){ if(request.getQueryString()!=null) queryString+="&"+request.getAttribute("javax.servlet.include.query_string"); else queryString+=request.getAttribute("javax.servlet.include.query_string"); } queryString=JSPLib.translateXSS(queryString); if(!server_side_included && !client_side_included){%> /> <%Library.WriteMetaTags(request,response,out); }%> <% sp.WritePortalStudioCSS(request, out); if(!server_side_included && !client_side_included){ sp.WriteStandardJSLibraries(out); %> > <%= Sitepainter.GetBodyMobileScript(request) %><%}%> <%if(!pagelet_yet_included && !client_side_included){ String userAgent = sp.getGlobal( "i_cSPMobileDeviceUserAgent", "" ); if ( Library.Empty( userAgent ) ) { userAgent = request.getHeader( "User-Agent" ); } if ( Library.IsIAR( userAgent ) ) {%> <%}%> <%if(Library.IsMobile(request)){%><%} request.setAttribute("ZtVWeb_included","true"); }%>
<% Hashtable ht=(Hashtable)request.getAttribute("content_boxes"); Map main_box=null; Map sx_group_box=null; if (ht!=null){ sx_group_box=(Map)ht.get("sx_group"); main_box=(Map)ht.get("main"); if(sx_group_box!=null) sx_group_box.remove("main"); } %> <%String droplet_header=PageletId+"_pagelet_header";%> <%String droplet_footer=PageletId+"_pagelet_footer";%>
<% request.setAttribute("PageletId",PageletId); String ID_SEP; String CONTAINER_SUFFIX; String CONTENT_SUFFIX; String uid; String resource; String container_id; String content_name; String content_id; String content_title; String res_url; ID_SEP="_"; CONTAINER_SUFFIX="container"; CONTENT_SUFFIX="content"; uid= PageletId+ID_SEP+"start_page_menu_orizz_portlet"; resource="start_page_menu_orizz_portlet"; container_id=uid + ID_SEP + resource + ID_SEP + CONTAINER_SUFFIX; content_name=uid + ID_SEP + "start_page_menu_orizz"; content_id=uid + ID_SEP + resource + ID_SEP + CONTENT_SUFFIX; content_title=""; request.setAttribute("SPParentObjId",container_id); res_url="start_page_menu_orizz_portlet.jsp"+((("start_page_menu_orizz_portlet.jsp").indexOf("?")==-1) ? "?" : "&")+"SPParentObjId="+container_id+"&PageletId="+PageletId; %>
ps-resource-name=<%=JSPLib.ToHTMLValue("start_page_menu_orizz_portlet.jsp")%> style='margin-bottom:10px;' >
style='display:block;'> <%res_url += "&"+queryString; %> <% out.flush(); if(!com.zucchetti.sitepainter.Library.includeResource(request,response,"/"+sp.getSkin()+"/jsp-decorators/start_page_menu_orizz_portlet.jsp",true)) if(!com.zucchetti.sitepainter.Library.includeResource(request,response,"/jsp-decorators/start_page_menu_orizz_portlet.jsp",true)) com.zucchetti.sitepainter.Library.includeResource(request,response,"/jsp/start_page_menu_orizz_portlet.jsp",false); %>
<%String droplet_column1=PageletId+"_pagelet_column1";%> <%String droplet_column2=PageletId+"_pagelet_column2";%>
<%droplet_column1=PageletId+"_column1_sizer"; if(sx_group_box!=null){ String GROUP_ID_SEP="_"; String GROUP_CONTAINER_SUFFIX="container"; String GROUP_CONTENT_SUFFIX="content"; String GroupId= PageletId+"_sx1"; %>
title_as_portlet='default_title_portlet_portlet.jsp'> <% {int i=0; for (Iterator it = sx_group_box.keySet().iterator(); it.hasNext();i++){ String resource_name=it.next(); if (sx_group_box.get(resource_name)!=null){ request.setAttribute("PageletId",PageletId); String GROUP_element_url=(String)((Map)sx_group_box.get(resource_name)).get("url"); String GROUP_element_resource=(String)((Map)sx_group_box.get(resource_name)).get("name"); String GROUP_element_caption=(String)((Map)sx_group_box.get(resource_name)).get("title"); String GROUP_element_opened=(String)((Map)sx_group_box.get(resource_name)).get("opened"); boolean GROUP_iframed_by_plan=GROUP_element_url.charAt(0)=='!'; GROUP_element_url= GROUP_iframed_by_plan ? GROUP_element_url.substring(1, GROUP_element_url.length()) : GROUP_element_url ; String GROUP_element_resource_url=com.zucchetti.PortalStudio.JSPLib.Strtran(GROUP_element_url,"_portlet.jsp",""); GROUP_element_resource_url=com.zucchetti.PortalStudio.JSPLib.Strtran(GROUP_element_resource_url,"../servlet/",""); GROUP_element_resource_url= GROUP_element_resource_url.indexOf("?")>-1 ? GROUP_element_resource_url.substring(0, GROUP_element_resource_url.indexOf("?")) : GROUP_element_resource_url; String GROUP_element_container_id=PageletId + GROUP_ID_SEP + GROUP_element_resource + GROUP_ID_SEP + GROUP_CONTAINER_SUFFIX; String GROUP_element_content_name=PageletId + GROUP_ID_SEP + GROUP_element_resource_url; String GROUP_element_content_id=PageletId + GROUP_ID_SEP + GROUP_element_resource + GROUP_ID_SEP + GROUP_CONTENT_SUFFIX; request.setAttribute("SPParentObjId",GROUP_element_container_id); String GROUP_element_content_title=""; if(GROUP_element_caption.equals("")){GROUP_element_content_title=sp.translate(GROUP_element_resource);}else{GROUP_element_content_title=sp.translate(GROUP_element_caption);} boolean GROUP_is_servlet=GROUP_element_url.startsWith("../servlet/"); boolean GROUP_in_iframe=GROUP_iframed_by_plan||GROUP_is_servlet; String GROUP_iframe_id, GROUP_queryString, GROUP_res_url, GROUP_iframe_src, GROUP_onload, GROUP_input_id, GROUP_input_value; GROUP_iframe_id = GROUP_queryString = GROUP_res_url = GROUP_iframe_src = GROUP_onload = GROUP_input_id = GROUP_input_value = ""; GROUP_res_url=GROUP_element_url ; String GROUP_onExpandTab="null"; GROUP_queryString+=((GROUP_res_url.indexOf("?")==-1)? "?" : "&")+"SPParentObjId="+PageletId+"_sx_container&PageletId="+PageletId; %>
ps-resource-name=<%=JSPLib.ToHTMLValue(GROUP_element_resource)%> style='margin-bottom:10px;' > <%GROUP_queryString+="&"+queryString;%>
style='display:<%if("true".equals(GROUP_element_opened)){ out.print("block");}else if("false".equals(GROUP_element_opened)){ out.print("none");}else{ out.print("block");}%>;'><%if(GROUP_in_iframe){ GROUP_iframe_id=GROUP_element_content_name; GROUP_iframe_src=GROUP_res_url+GROUP_queryString; GROUP_onload="resizeIframe(this);"; %> <%}else{ if(Library.Empty(GROUP_element_opened) || "true".equals(GROUP_element_opened)){ out.flush(); Library.includeResource(request,response,"/jsp/"+GROUP_res_url,false); } GROUP_onExpandTab="ZtVWeb.AdjustContainer"; }%>
<%}}}%>
<%}%>
<% if(main_box!=null){ request.setAttribute("PageletId",PageletId); String ZONE_ID_SEP="_"; String ZONE_CONTAINER_SUFFIX="container"; String ZONE_CONTENT_SUFFIX="content"; String ZONE_resource=(String)main_box.get("name"); String ZONE_url=(String)main_box.get("url"); boolean ZONE_iframed_by_plan=ZONE_url.charAt(0)=='!'; ZONE_url= ZONE_iframed_by_plan ? ZONE_url.substring(1, ZONE_url.length()) : ZONE_url ; String ZONE_container_id=PageletId + ZONE_ID_SEP + ZONE_resource + ZONE_ID_SEP + ZONE_CONTAINER_SUFFIX; String ZONE_content_name=PageletId + ZONE_ID_SEP + ZONE_resource; String ZONE_content_id=PageletId + ZONE_ID_SEP + ZONE_resource + ZONE_ID_SEP + ZONE_CONTENT_SUFFIX; String ZONE_content_title=(String)main_box.get("title"); request.setAttribute("SPParentObjId",ZONE_container_id); String ZONE_res_url=ZONE_url +((ZONE_url.indexOf("?")==-1) ? "?" : "&") + "SPParentObjId=" +ZONE_container_id +"&PageletId="+PageletId; %>
ps-resource-name=<%=JSPLib.ToHTMLValue("main")%> style='margin-bottom:10px;' >
style='display:block;'><% boolean ZONE_is_servlet=ZONE_url.startsWith("../servlet/"); boolean ZONE_in_iframe=ZONE_iframed_by_plan||ZONE_is_servlet; String ZONE_iframe_id, ZONE_iframe_src, ZONE_onload; ZONE_iframe_id=ZONE_iframe_src=ZONE_onload=""; %> <% ZONE_res_url+="&"+queryString; ZONE_iframe_id=ZONE_content_name; ZONE_iframe_src=ZONE_res_url; ZONE_onload="resizeIframe(this);"; %> <%if (!Library.Empty(ZONE_iframe_src)) {%><%}%>
<%}%>
<%if(!server_side_included && !client_side_included){%> <%}%>