/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: JspC/ApacheTomcat9
 * Generated at: 2026-07-06 05:24:44 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp.blog.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.GregorianCalendar;
import org.silverpeas.components.blog.control.WallPaper;
import org.silverpeas.components.blog.control.StyleSheet;
import org.silverpeas.kernel.util.StringUtil;
import org.silverpeas.core.util.WebEncodeHelper;
import org.silverpeas.core.util.DateUtil;
import org.silverpeas.core.admin.service.OrganizationControllerProvider;
import org.silverpeas.components.blog.model.Archive;
import org.silverpeas.components.blog.model.PostDetail;
import org.silverpeas.core.mylinks.model.LinkDetail;
import org.silverpeas.core.admin.user.model.UserDetail;
import org.silverpeas.core.admin.user.model.SilverpeasRole;
import org.silverpeas.core.node.model.NodeDetail;
import org.silverpeas.core.util.URLUtil;
import org.silverpeas.core.admin.user.model.User;
import org.silverpeas.core.util.WebEncodeHelper;
import org.silverpeas.core.web.util.viewgenerator.html.window.Window;
import org.silverpeas.core.web.util.viewgenerator.html.operationpanes.OperationPane;
import org.silverpeas.core.web.util.viewgenerator.html.browsebars.BrowseBar;
import org.silverpeas.core.web.util.viewgenerator.html.frame.Frame;
import org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayPane;
import org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayLine;
import org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayColumn;
import org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayCellText;
import org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayCellLink;
import org.silverpeas.core.web.util.viewgenerator.html.iconpanes.IconPane;
import org.silverpeas.core.web.util.viewgenerator.html.icons.Icon;
import org.silverpeas.core.web.util.viewgenerator.html.tabs.TabbedPane;
import org.silverpeas.core.web.util.viewgenerator.html.buttonpanes.ButtonPane;
import org.silverpeas.core.web.util.viewgenerator.html.buttons.Button;
import org.silverpeas.core.web.util.viewgenerator.html.board.Board;
import org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayCell;
import org.silverpeas.core.util.MultiSilverpeasBundle;
import org.silverpeas.kernel.bundle.ResourceLocator;
import org.silverpeas.core.web.util.viewgenerator.html.GraphicElementFactory;
import org.silverpeas.core.util.URLUtil;
import org.silverpeas.core.admin.user.model.UserDetail;
import java.util.Collection;
import java.net.URLEncoder;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import org.silverpeas.core.node.model.NodeDetail;
import org.silverpeas.core.contribution.publication.model.PublicationDetail;
import org.silverpeas.core.mylinks.model.LinkDetail;
import org.silverpeas.core.web.tools.agenda.view.CalendarHtmlView;
import org.silverpeas.core.web.tools.agenda.control.AgendaSessionController;
import org.silverpeas.core.web.util.viewgenerator.html.calendar.Calendar;
import org.silverpeas.kernel.util.StringUtil;
import org.silverpeas.core.web.mvc.controller.MainSessionController;
import org.silverpeas.core.admin.user.model.SilverpeasRole;
import org.silverpeas.components.blog.model.Archive;
import org.silverpeas.core.util.URLUtil;

public final class accueil_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent,
                 org.apache.jasper.runtime.JspSourceImports {

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  static {
    _jspx_dependants = new java.util.LinkedHashMap<java.lang.String,java.lang.Long>(8);
    _jspx_dependants.put("/blog/jsp/check.jsp", Long.valueOf(1781083279708L));
    _jspx_dependants.put("/blog/jsp/colonneDroite.jsp", Long.valueOf(1725461247772L));
    _jspx_dependants.put("uri:http://www.silverpeas.com/tld/viewGenerator", Long.valueOf(1783313428948L));
    _jspx_dependants.put("uri:http://www.silverpeas.com/tld/viewGenerator!/META-INF/viewGenerator.tld", Long.valueOf(1783313424000L));
    _jspx_dependants.put("uri:http://java.sun.com/jsp/jstl/core", Long.valueOf(1783313422412L));
    _jspx_dependants.put("uri:http://java.sun.com/jsp/jstl/core!/META-INF/c.tld", Long.valueOf(1531470420000L));
    _jspx_dependants.put("uri:http://java.sun.com/jsp/jstl/fmt", Long.valueOf(1783313422412L));
    _jspx_dependants.put("uri:http://java.sun.com/jsp/jstl/fmt!/META-INF/fmt.tld", Long.valueOf(1531470420000L));
  }

  private static final java.util.Set<java.lang.String> _jspx_imports_packages;

  private static final java.util.Set<java.lang.String> _jspx_imports_classes;

  static {
    _jspx_imports_packages = new java.util.LinkedHashSet<>(4);
    _jspx_imports_packages.add("javax.servlet");
    _jspx_imports_packages.add("javax.servlet.http");
    _jspx_imports_packages.add("javax.servlet.jsp");
    _jspx_imports_classes = new java.util.LinkedHashSet<>(59);
    _jspx_imports_classes.add("java.util.GregorianCalendar");
    _jspx_imports_classes.add("org.silverpeas.components.blog.control.WallPaper");
    _jspx_imports_classes.add("org.silverpeas.components.blog.control.StyleSheet");
    _jspx_imports_classes.add("org.silverpeas.kernel.util.StringUtil");
    _jspx_imports_classes.add("org.silverpeas.core.util.WebEncodeHelper");
    _jspx_imports_classes.add("org.silverpeas.core.util.DateUtil");
    _jspx_imports_classes.add("org.silverpeas.core.admin.service.OrganizationControllerProvider");
    _jspx_imports_classes.add("org.silverpeas.components.blog.model.Archive");
    _jspx_imports_classes.add("org.silverpeas.components.blog.model.PostDetail");
    _jspx_imports_classes.add("org.silverpeas.core.mylinks.model.LinkDetail");
    _jspx_imports_classes.add("org.silverpeas.core.admin.user.model.UserDetail");
    _jspx_imports_classes.add("org.silverpeas.core.admin.user.model.SilverpeasRole");
    _jspx_imports_classes.add("org.silverpeas.core.node.model.NodeDetail");
    _jspx_imports_classes.add("org.silverpeas.core.util.URLUtil");
    _jspx_imports_classes.add("org.silverpeas.core.admin.user.model.User");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.window.Window");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.operationpanes.OperationPane");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.browsebars.BrowseBar");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.frame.Frame");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayPane");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayLine");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayColumn");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayCellText");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayCellLink");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.iconpanes.IconPane");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.icons.Icon");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.tabs.TabbedPane");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.buttonpanes.ButtonPane");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.buttons.Button");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.board.Board");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.arraypanes.ArrayCell");
    _jspx_imports_classes.add("org.silverpeas.core.util.MultiSilverpeasBundle");
    _jspx_imports_classes.add("org.silverpeas.kernel.bundle.ResourceLocator");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.GraphicElementFactory");
    _jspx_imports_classes.add("java.util.Collection");
    _jspx_imports_classes.add("java.net.URLEncoder");
    _jspx_imports_classes.add("java.util.Iterator");
    _jspx_imports_classes.add("java.util.Date");
    _jspx_imports_classes.add("java.util.List");
    _jspx_imports_classes.add("org.silverpeas.core.contribution.publication.model.PublicationDetail");
    _jspx_imports_classes.add("org.silverpeas.core.web.tools.agenda.view.CalendarHtmlView");
    _jspx_imports_classes.add("org.silverpeas.core.web.tools.agenda.control.AgendaSessionController");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.calendar.Calendar");
    _jspx_imports_classes.add("org.silverpeas.core.web.mvc.controller.MainSessionController");
  }

  private volatile javax.el.ExpressionFactory _el_expressionfactory;
  private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public java.util.Set<java.lang.String> getPackageImports() {
    return _jspx_imports_packages;
  }

  public java.util.Set<java.lang.String> getClassImports() {
    return _jspx_imports_classes;
  }

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
  }

  public void _jspDestroy() {
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
      throws java.io.IOException, javax.servlet.ServletException {

    if (!javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
      final java.lang.String _jspx_method = request.getMethod();
      if ("OPTIONS".equals(_jspx_method)) {
        response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
        return;
      }
      if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method)) {
        response.setHeader("Allow","GET, HEAD, POST, OPTIONS");
        response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET, POST or HEAD. Jasper also permits OPTIONS");
        return;
      }
    }

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html; charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"../../admin/jsp/errorpageMain.jsp", true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");
      out.write('\n');
      out.write('\n');

response.setHeader("Cache-Control","no-store"); //HTTP 1.1
response.setHeader("Pragma","no-cache");        //HTTP 1.0
response.setDateHeader ("Expires",-1);          //prevents caching at the proxy server

      out.write("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");

GraphicElementFactory 	gef 				= (GraphicElementFactory) session.getAttribute(GraphicElementFactory.GE_FACTORY_SESSION_ATT);
MainSessionController 	m_MainSessionCtrl 	= (MainSessionController) session.getAttribute(MainSessionController.MAIN_SESSION_CONTROLLER_ATT);

String m_context = ResourceLocator.getGeneralSettingBundle().getString("ApplicationURL");

MultiSilverpeasBundle resource = (MultiSilverpeasBundle)request.getAttribute("resources");
String language = resource.getLanguage();

Window window = gef.getWindow();
BrowseBar browseBar = window.getBrowseBar();
OperationPane operationPane = window.getOperationPane();
Frame frame = gef.getFrame();

String[] browseContext = (String[]) request.getAttribute("browseContext");
String spaceLabel = browseContext[0];
String componentLabel = browseContext[1];
String spaceId = browseContext[2];
String instanceId = browseContext[3];

String userId = m_MainSessionCtrl.getUserId(); 

      out.write('\n');
      out.write('\n');

// recuperation des parametres
Collection<PostDetail>  posts   = (Collection<PostDetail>) request.getAttribute("Posts");
Collection<NodeDetail>  categories  = (Collection<NodeDetail>) request.getAttribute("Categories");
Collection<Archive>   archives  = (Collection<Archive>) request.getAttribute("Archives");
Collection<LinkDetail>  links   = (Collection<LinkDetail>) request.getAttribute("Links");
Boolean  isUserSubscribed   = (Boolean) request.getAttribute("IsUserSubscribed");
String    profile   = (String) request.getAttribute("Profile");
String    blogUrl   = (String) request.getAttribute("Url");
String    rssURL    = (String) request.getAttribute("RSSUrl");
List    events    = (List) request.getAttribute("Events");
String    dateCal   = (String) request.getAttribute("DateCalendar");
Boolean   isPdcUsed = (Boolean) request.getAttribute("IsUsePdc");
WallPaper wallPaper = (WallPaper) request.getAttribute("WallPaper");
StyleSheet styleSheet = (StyleSheet) request.getAttribute("StyleSheet");
Date dateCalendar = DateUtil.parse(dateCal);

if (SilverpeasRole.ADMIN.equals(SilverpeasRole.fromString(profile)) || SilverpeasRole.PUBLISHER.equals(SilverpeasRole.fromString(profile))) {
  if (SilverpeasRole.ADMIN.equals(SilverpeasRole.fromString(profile))) {
    if (isPdcUsed) {
      operationPane.addOperation("useless", resource.getString("GML.PDCParam"),
          "javascript:onClick=openSPWindow('" + m_context +
              "/RpdcUtilization/jsp/Main?ComponentId=" + instanceId + "','utilizationPdc1')");
    }
    operationPane.addOperation("useless", resource.getString("GML.manageSubscriptions"), "ManageSubscriptions");
    operationPane.addLine();
  }
  operationPane.addOperationOfCreation(resource.getIcon("blog.addPost"), resource.getString("blog.newPost"), "NewPost");
  if (SilverpeasRole.ADMIN.equals(SilverpeasRole.fromString(profile))) {
   operationPane.addOperation("useless", resource.getString("blog.viewCategory"), "ViewCategory");

   String url = m_context + blogUrl + "Main";
   String lien = m_context + URLUtil.getURL(URLUtil.CMP_MYLINKSPEAS) + "ComponentLinks?InstanceId="+ instanceId + "&amp;UrlReturn=" + url;
   operationPane.addOperation("useless", resource.getString("blog.viewLinks"), lien);
   operationPane.addOperation("useless", resource.getString("blog.customize"), "javascript:onClick=customize();");
   operationPane.addOperation("useless", resource.getString("blog.updateFooter"), "UpdateFooter");
   operationPane.addLine();
  }
}

if (!m_MainSessionCtrl.getCurrentUserDetail().isAccessGuest() && isUserSubscribed != null) {
  operationPane.addOperation("useless", "<span id='subscriptionMenuLabel'></span>", "javascript:spSubManager.switchUserSubscription()");
}

      out.write('\n');
      //  view:sp-page
      org.silverpeas.core.web.util.viewgenerator.html.layout.HtmlLayoutTag _jspx_th_view_005fsp_002dpage_005f0 = new org.silverpeas.core.web.util.viewgenerator.html.layout.HtmlLayoutTag();
      _jsp_getInstanceManager().newInstance(_jspx_th_view_005fsp_002dpage_005f0);
      try {
        _jspx_th_view_005fsp_002dpage_005f0.setPageContext(_jspx_page_context);
        _jspx_th_view_005fsp_002dpage_005f0.setParent(null);
        // /blog/jsp/accueil.jsp(88,0) name = angularJsAppName type = java.lang.String reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
        _jspx_th_view_005fsp_002dpage_005f0.setAngularJsAppName("silverpeas.blog");
        int _jspx_eval_view_005fsp_002dpage_005f0 = _jspx_th_view_005fsp_002dpage_005f0.doStartTag();
        if (_jspx_eval_view_005fsp_002dpage_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
          if (_jspx_eval_view_005fsp_002dpage_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
            out = org.apache.jasper.runtime.JspRuntimeLibrary.startBufferedBody(_jspx_page_context, _jspx_th_view_005fsp_002dpage_005f0);
          }
          do {
            out.write('\n');
            //  view:sp-head-part
            org.silverpeas.core.web.util.viewgenerator.html.layout.HeadLayoutPartTag _jspx_th_view_005fsp_002dhead_002dpart_005f0 = new org.silverpeas.core.web.util.viewgenerator.html.layout.HeadLayoutPartTag();
            _jsp_getInstanceManager().newInstance(_jspx_th_view_005fsp_002dhead_002dpart_005f0);
            try {
              _jspx_th_view_005fsp_002dhead_002dpart_005f0.setPageContext(_jspx_page_context);
              _jspx_th_view_005fsp_002dhead_002dpart_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_view_005fsp_002dpage_005f0);
              // /blog/jsp/accueil.jsp(89,0) name = withCheckFormScript type = boolean reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_view_005fsp_002dhead_002dpart_005f0.setWithCheckFormScript(true);
              int _jspx_eval_view_005fsp_002dhead_002dpart_005f0 = _jspx_th_view_005fsp_002dhead_002dpart_005f0.doStartTag();
              if (_jspx_eval_view_005fsp_002dhead_002dpart_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                if (_jspx_eval_view_005fsp_002dhead_002dpart_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = org.apache.jasper.runtime.JspRuntimeLibrary.startBufferedBody(_jspx_page_context, _jspx_th_view_005fsp_002dhead_002dpart_005f0);
                }
                do {
                  out.write('\n');
                  if (_jspx_meth_view_005fincludePlugin_005f0(_jspx_th_view_005fsp_002dhead_002dpart_005f0, _jspx_page_context))
                    return;
                  out.write('\n');
                  if (_jspx_meth_view_005fincludePlugin_005f1(_jspx_th_view_005fsp_002dhead_002dpart_005f0, _jspx_page_context))
                    return;
                  out.write('\n');
                  if (_jspx_meth_view_005fincludePlugin_005f2(_jspx_th_view_005fsp_002dhead_002dpart_005f0, _jspx_page_context))
                    return;
                  out.write('\n');
                  out.write('\n');
                  //  c:set
                  org.apache.taglibs.standard.tag.rt.core.SetTag _jspx_th_c_005fset_005f0 = new org.apache.taglibs.standard.tag.rt.core.SetTag();
                  _jsp_getInstanceManager().newInstance(_jspx_th_c_005fset_005f0);
                  try {
                    _jspx_th_c_005fset_005f0.setPageContext(_jspx_page_context);
                    _jspx_th_c_005fset_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_view_005fsp_002dhead_002dpart_005f0);
                    // /blog/jsp/accueil.jsp(94,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                    _jspx_th_c_005fset_005f0.setVar("wallPaper");
                    // /blog/jsp/accueil.jsp(94,0) name = value type = javax.el.ValueExpression reqTime = true required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
                    _jspx_th_c_005fset_005f0.setValue(wallPaper != null ? wallPaper : new WallPaper());
                    int _jspx_eval_c_005fset_005f0 = _jspx_th_c_005fset_005f0.doStartTag();
                    if (_jspx_th_c_005fset_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                      return;
                    }
                  } finally {
                    org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_c_005fset_005f0, _jsp_getInstanceManager());
                  }
                  out.write('\n');
                  //  c:set
                  org.apache.taglibs.standard.tag.rt.core.SetTag _jspx_th_c_005fset_005f1 = new org.apache.taglibs.standard.tag.rt.core.SetTag();
                  _jsp_getInstanceManager().newInstance(_jspx_th_c_005fset_005f1);
                  try {
                    _jspx_th_c_005fset_005f1.setPageContext(_jspx_page_context);
                    _jspx_th_c_005fset_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_view_005fsp_002dhead_002dpart_005f0);
                    // /blog/jsp/accueil.jsp(95,0) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                    _jspx_th_c_005fset_005f1.setVar("styleSheet");
                    // /blog/jsp/accueil.jsp(95,0) name = value type = javax.el.ValueExpression reqTime = true required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
                    _jspx_th_c_005fset_005f1.setValue(styleSheet != null ? styleSheet : new StyleSheet());
                    int _jspx_eval_c_005fset_005f1 = _jspx_th_c_005fset_005f1.doStartTag();
                    if (_jspx_th_c_005fset_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                      return;
                    }
                  } finally {
                    org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_c_005fset_005f1, _jsp_getInstanceManager());
                  }
                  out.write('\n');
                  out.write('\n');
 if (StringUtil.isDefined(rssURL)) { 
                  out.write("\n<link rel=\"alternate\" type=\"application/rss+xml\" title=\"");
                  out.print(componentLabel);
                  out.write(' ');
                  out.write(':');
                  out.write(' ');
                  out.print(resource.getString("blog.rssLast"));
                  out.write("\" href=\"");
                  out.print(m_context+rssURL);
                  out.write("\"/>\n");
 } 
                  out.write("\n  <script type=\"text/javascript\">\n\n  SUBSCRIPTION_PROMISE.then(function() {\n    window.spSubManager = new SilverpeasSubscriptionManager('");
                  out.print(instanceId);
                  out.write("');\n  });\n\n  function openSPWindow(fonction, windowName) {\n    pdcUtilizationWindow = SP_openWindow(fonction, windowName, '600', '400','scrollbars=yes, resizable, alwaysRaised');\n  }\n\n  function sendData() {\n    window.document.searchForm.action = \"Search\";\n    window.document.searchForm.WordSearch.value = document.searchForm.WordSearch.value;\n    window.document.searchForm.submit();\n  }\n\n  function customize() {\n    blogApp.manager.openPersonalization();\n  }\n\n  whenSilverpeasReady(function() {\n    window.blogApp = SpVue.createApp({\n      data : function() {\n        return {\n          manager : undefined,\n          wallpaper : ");
                  out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${wallPaper.asJson()}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
                  out.write(",\n          stylesheet : ");
                  out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${styleSheet.asJson()}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
                  out.write("\n        }\n      },\n      methods : {\n        customizeChange : function() {\n          sp.navRequest(location.href).go();\n        }\n      }\n    }).mount('#blog-app');\n  });\n  </script>\n  ");
                  if (_jspx_meth_c_005fif_005f0(_jspx_th_view_005fsp_002dhead_002dpart_005f0, _jspx_page_context))
                    return;
                  out.write('\n');
                  out.write(' ');
                  out.write(' ');
                  if (_jspx_meth_c_005fif_005f1(_jspx_th_view_005fsp_002dhead_002dpart_005f0, _jspx_page_context))
                    return;
                  out.write('\n');
                  int evalDoAfterBody = _jspx_th_view_005fsp_002dhead_002dpart_005f0.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
                if (_jspx_eval_view_005fsp_002dhead_002dpart_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.popBody();
                }
              }
              if (_jspx_th_view_005fsp_002dhead_002dpart_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                return;
              }
            } finally {
              org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_view_005fsp_002dhead_002dpart_005f0, _jsp_getInstanceManager());
            }
            out.write('\n');
            //  view:sp-body-part
            org.silverpeas.core.web.util.viewgenerator.html.layout.BodyPartLayoutTag _jspx_th_view_005fsp_002dbody_002dpart_005f0 = new org.silverpeas.core.web.util.viewgenerator.html.layout.BodyPartLayoutTag();
            _jsp_getInstanceManager().newInstance(_jspx_th_view_005fsp_002dbody_002dpart_005f0);
            try {
              _jspx_th_view_005fsp_002dbody_002dpart_005f0.setPageContext(_jspx_page_context);
              _jspx_th_view_005fsp_002dbody_002dpart_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_view_005fsp_002dpage_005f0);
              // /blog/jsp/accueil.jsp(150,0) name = id type = java.lang.String reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
              _jspx_th_view_005fsp_002dbody_002dpart_005f0.setId("blog");
              int _jspx_eval_view_005fsp_002dbody_002dpart_005f0 = _jspx_th_view_005fsp_002dbody_002dpart_005f0.doStartTag();
              if (_jspx_eval_view_005fsp_002dbody_002dpart_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
                if (_jspx_eval_view_005fsp_002dbody_002dpart_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = org.apache.jasper.runtime.JspRuntimeLibrary.startBufferedBody(_jspx_page_context, _jspx_th_view_005fsp_002dbody_002dpart_005f0);
                }
                do {
                  out.write("\n<div id=\"");
                  out.print(instanceId );
                  out.write("\">\n  ");

  out.println(window.printBefore());
  
                  out.write("\n  <div id=\"blog-app\">\n    <silverpeas-blog-management v-on:api=\"manager = $event\"\n                                v-bind:wallpaper=\"wallpaper\"\n                                v-bind:stylesheet=\"stylesheet\"\n                                v-on:customize-change=\"customizeChange\"></silverpeas-blog-management>\n  </div>\n  <div id=\"blogContainer\">\n    <div id=\"bandeau\">\n      <h2><a href=\"");
                  out.print("Main");
                  out.write('"');
                  out.write('>');
                  out.print(componentLabel);
                  out.write("</a></h2>\n    </div>\n    ");
                  //  view:componentInstanceIntro
                  org.silverpeas.core.web.util.viewgenerator.html.instanceintro.ComponentInstanceIntroTag _jspx_th_view_005fcomponentInstanceIntro_005f0 = new org.silverpeas.core.web.util.viewgenerator.html.instanceintro.ComponentInstanceIntroTag();
                  _jsp_getInstanceManager().newInstance(_jspx_th_view_005fcomponentInstanceIntro_005f0);
                  try {
                    _jspx_th_view_005fcomponentInstanceIntro_005f0.setPageContext(_jspx_page_context);
                    _jspx_th_view_005fcomponentInstanceIntro_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_view_005fsp_002dbody_002dpart_005f0);
                    // /blog/jsp/accueil.jsp(165,4) name = componentId type = java.lang.String reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                    _jspx_th_view_005fcomponentInstanceIntro_005f0.setComponentId(instanceId);
                    // /blog/jsp/accueil.jsp(165,4) name = language type = java.lang.String reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                    _jspx_th_view_005fcomponentInstanceIntro_005f0.setLanguage(resource.getLanguage());
                    int _jspx_eval_view_005fcomponentInstanceIntro_005f0 = _jspx_th_view_005fcomponentInstanceIntro_005f0.doStartTag();
                    if (_jspx_th_view_005fcomponentInstanceIntro_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                      return;
                    }
                  } finally {
                    org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_view_005fcomponentInstanceIntro_005f0, _jsp_getInstanceManager());
                  }
                  out.write("\n    <div id=\"navBlog\">\n      ");
                  out.write('\n');
                  out.write('\n');

Button searchButton = gef.getFormButton(" OK ", "javascript:onClick=search();", false);

                  out.write("\n<script type=\"text/javascript\">\n	function selectDay(day) {\n		location.href = \"PostByDay?Day=\"+day;\n	}\n\n	function gotoPreviousMonth() {\n		location.href = \"PreviousMonth\";\n	}\n\n	function gotoNextMonth() {\n		location.href = \"NextMonth\";\n	}\n	\n	function search() {\n		document.searchForm.action = \"Search\";\n		document.searchForm.submit();\n	}\n</script>\n\n  \n<div id=\"zoneRecherche\" class=\"bgDegradeGris\">\n	<div id=\"titreRecherche\" class=\"bgDegradeGris header\">\n	    <h4>");
                  out.print(resource.getString("GML.search"));
                  out.write("</h4>\n   </div>\n   <form name=\"searchForm\" action=\"Search\" method=\"post\">\n		<input type=\"text\" name=\"WordSearch\" class=\"inputRecherche\"/>\n		");

		ButtonPane buttonPane = gef.getButtonPane();
		buttonPane.addButton(searchButton);
		out.print(buttonPane.print());
		
                  out.write("\n	</form>\n</div>\n\n<div id=\"operationBlog\">\n</div>\n\n");
                  if (_jspx_meth_view_005fareaOfOperationOfCreation_005f0(_jspx_th_view_005fsp_002dbody_002dpart_005f0, _jspx_page_context))
                    return;
                  out.write("\n	\n<div id=\"topics\" class=\"bgDegradeGris\">\n	<div id=\"titreTopics\" class=\"bgDegradeGris  header\">\n		<h4 class=\"clean\">\n			");

			  if (SilverpeasRole.ADMIN.equals(SilverpeasRole.fromString(profile))) {
				out.println("<a href=\"ViewCategory\">"+resource.getString("GML.categories")+"</a>");
			  }
			  else {
				out.println(resource.getString("GML.categories"));
			  }
			
                  out.write("\n		</h4>\n	</div>\n	\n	");
 if (categories != null) { 
                  out.write("\n			<ul>\n			");
 for (NodeDetail uneCategory : categories) { 
                  out.write("\n					<li><a title=\"");
                  out.print(uneCategory.getDescription());
                  out.write("\" href=\"");
                  out.print("PostByCategory?CategoryId=" + uneCategory.getNodePK().getId());
                  out.write('"');
                  out.write('>');
                  out.print(uneCategory.getName());
                  out.write("</a></li>\n			");
 } 
                  out.write("\n			</ul>\n	");
 } 
                  out.write("\n</div>\n\n\n	\n<div id=\"archives\" class=\"bgDegradeGris\" >\n		<div id=\"titreArchive\" class=\"bgDegradeGris header\">\n			<h4 class=\"clean\">");
                  out.print(resource.getString("blog.archives"));
                  out.write("</h4>\n		</div>\n	\n	   ");
 if (archives != null) { 
                  out.write("\n			<ul>\n			");
 for (Archive uneArchive : archives) { 
                  out.write("\n					<li><a href=\"");
                  out.print("PostByArchive?BeginDate=" + uneArchive.getBeginDate() + "&amp;EndDate=" + uneArchive.getEndDate());
                  out.write('"');
                  out.write('>');
                  out.print(resource.getString("GML.mois"+uneArchive.getMonthId()));
                  out.write(' ');
                  out.print(uneArchive.getYear());
                  out.write("</a></li>\n			");
 } 
                  out.write("\n			</ul>\n		");
 } 
                  out.write("\n	</div>\n	<div id=\"calendar\" class=\"bgDegradeGris\">\n	   ");

			Calendar calendar = gef.getCalendar(m_context+"/agenda/jsp/", resource.getLanguage(), dateCalendar);
			calendar.setEmptyDayNonSelectable(true);
			calendar.setEvents(events);
		
                  out.write('\n');
                  out.write('	');
                  out.write('	');
                  out.print(calendar.print());
                  out.write("\n</div>\n	<div id=\"liens\" class=\"bgDegradeGris\">\n		<div id=\"titreLiens\" class=\"bgDegradeGris  header\"> \n			<h4 class=\"clean\">\n				");

				if (SilverpeasRole.ADMIN.equals(SilverpeasRole.fromString(profile))) {
					String url = m_context + blogUrl + "Main";
						String lien = m_context + URLUtil.getURL(URLUtil.CMP_MYLINKSPEAS) + "ComponentLinks?InstanceId="+ instanceId + "&amp;UrlReturn=" + url;
						out.println("<a href=\""+lien+"\">"+resource.getString("blog.links")+"</a>");
				}
				else {
					out.println(resource.getString("blog.links"));
				}
				
                  out.write("\n			</h4>\n		</div>\n	\n	   ");
 if (links != null)  { 
                  out.write("\n			<ul>\n			");

		    for (LinkDetail unLink : links) {
		      	String nameLink = unLink.getName();
		      	if (nameLink.equals("")) {
		      	   nameLink = unLink.getUrl();
		      	}
		      	String lien = unLink.getUrl();
		      	String description = unLink.getDescription();
		      	if (lien.indexOf("://") == -1) {
					lien = m_context + lien;
				}
		      	String target = "";
		      	if (unLink.isPopup())
		      	   target = "target=\"_blank\"";
		      	
                  out.write("\n		        <li><a title=\"");
                  out.print(description);
                  out.write("\" href=\"");
                  out.print(lien);
                  out.write('"');
                  out.write(' ');
                  out.print(target);
                  out.write('>');
                  out.print(WebEncodeHelper.javaStringToHtmlString(nameLink));
                  out.write("</a></li>\n		        ");

			}
			
			
                  out.write("\n			</ul>\n		");
 } 
                  out.write("\n  </div>\n	\n	");
 if (StringUtil.isDefined(rssURL)) { 
                  out.write("\n	   <div class=\"separateur\"><hr /></div>\n	   <a href=\"");
                  out.print(m_context+rssURL);
                  out.write("\"><img src=\"");
                  out.print(m_context+"/util/icons/rss.gif" );
                  out.write("\" border=\"0\" alt=\"rss\"/></a>\n	");
 } 
                  out.write('\n');
                  if (_jspx_meth_c_005fif_005f2(_jspx_th_view_005fsp_002dbody_002dpart_005f0, _jspx_page_context))
                    return;
                  out.write('\n');
                  out.write('\n');
                  out.write("\n    </div>\n    <div id=\"postsList\">\n      ");

          Iterator<PostDetail> it = posts.iterator();

          java.util.Calendar cal = GregorianCalendar.getInstance();
          while (it.hasNext())
          {
          PostDetail post = it.next();
          String categoryId = "";
          if (post.getCategory() != null) {
            categoryId = post.getCategory().getNodePK().getId();
          }
          String postId = post.getPublication().getPK().getId();
          String link = post.getPermalink();

          //Debut d'un ticket
          String blocClass = "post";
          String status = "";
          if (post.getPublication().isDraft()) {
          	blocClass = "postDraft";
          	status = resource.getString("GML.draft");
          }

          
                  out.write("\n      <div id=\"post");
                  out.print(postId);
                  out.write("\" class=\"post ");
                  out.print(blocClass);
                  out.write("\">\n        <div class=\"titreTicket\"> <a href=\"");
                  out.print("ViewPost?PostId=" + postId);
                  out.write('"');
                  out.write('>');
                  out.print(WebEncodeHelper
            .javaStringToHtmlString(post.getPublication().getName()));
                  out.write("</a> <span class=\"status\">(");
                  out.print(status);
                  out.write(")</span>\n          ");
  if ( link != null && !link.equals("")) {  
                  out.write("\n          <span class=\"permalink sp-permalink\"><a href=\"");
                  out.print(link);
                  out.write("\"><img src=\"");
                  out.print(resource.getIcon("blog.link"));
                  out.write("\" alt='");
                  out.print(resource.getString("blog.CopyPostLink"));
                  out.write("' title='");
                  out.print(resource.getString("blog.CopyPostLink"));
                  out.write("'/></a></span>\n          ");
  } 
                  out.write("\n        </div>\n\n        ");

            cal.setTime(post.getDateEvent());
            String day = resource.getString("GML.jour"+cal.get(java.util.Calendar.DAY_OF_WEEK));
           
                  out.write("\n\n		  <div class=\"infoTicket\">");
                  out.print(day);
                  out.write(' ');
                  out.print(resource.getOutputDate(post.getDateEvent()));
                  out.write("</div>\n\n		   ");
 if (!categoryId.equals("")) {  
                  out.write("\n		     <div id=\"list-categoryTicket\">\n			  <span class=\"categoryTicket\">  <a href=\"");
                  out.print("PostByCategory?CategoryId="+categoryId);
                  out.write("\" class=\"versTopic\">");
                  out.print(post.getCategory().getName());
                  out.write(" </a> </span>\n			 </div>\n			  ");
 } 
                  out.write("\n        <div class=\"contentTicket rich-content\">\n          ");
                  //  view:displayWysiwyg
                  org.silverpeas.core.web.jstl.view.WysiwygDisplayerTag _jspx_th_view_005fdisplayWysiwyg_005f0 = new org.silverpeas.core.web.jstl.view.WysiwygDisplayerTag();
                  _jsp_getInstanceManager().newInstance(_jspx_th_view_005fdisplayWysiwyg_005f0);
                  try {
                    _jspx_th_view_005fdisplayWysiwyg_005f0.setPageContext(_jspx_page_context);
                    _jspx_th_view_005fdisplayWysiwyg_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_view_005fsp_002dbody_002dpart_005f0);
                    // /blog/jsp/accueil.jsp(214,10) name = objectId type = java.lang.String reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                    _jspx_th_view_005fdisplayWysiwyg_005f0.setObjectId(postId);
                    // /blog/jsp/accueil.jsp(214,10) name = componentId type = java.lang.String reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                    _jspx_th_view_005fdisplayWysiwyg_005f0.setComponentId(instanceId );
                    // /blog/jsp/accueil.jsp(214,10) name = language type = java.lang.String reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                    _jspx_th_view_005fdisplayWysiwyg_005f0.setLanguage(resource.getLanguage() );
                    int _jspx_eval_view_005fdisplayWysiwyg_005f0 = _jspx_th_view_005fdisplayWysiwyg_005f0.doStartTag();
                    if (_jspx_th_view_005fdisplayWysiwyg_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                      return;
                    }
                  } finally {
                    org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_view_005fdisplayWysiwyg_005f0, _jsp_getInstanceManager());
                  }
                  out.write("\n        </div>\n        <div class=\"footerTicket\">\n			<span class=\"versCommentaires\"> <a href=\"");
                  out.print("ViewPost?PostId=" + postId);
                  out.write("#commentaires\" class=\"versCommentaires\"><img alt=\"commentaires\" src=\"");
                  out.print(resource.getIcon("blog.commentaires"));
                  out.write("\" /> ");
                  out.print(post.getNbComments());
                  out.write(" </a> </span>\n			  <span class=\"creatorTicket\"> <span class=\"sep\">&nbsp;|&nbsp;</span>\n			  ");
 // date de cr�ation et de modification 
                  out.write("\n			  ");
                  out.print(resource.getString("GML.creationDate"));
                  out.write(' ');
                  out.print(resource.getOutputDate(post.getPublication().getCreationDate()));
                  out.write(' ');
                  out.print(resource.getString("GML.by"));
                  out.write(' ');
                  out.print(post.getCreatorName() );
                  out.write("\n			  ");
 if (!resource.getOutputDate(post.getPublication().getCreationDate()).equals(resource.getOutputDate(post.getPublication().getLastUpdateDate())) || !post.getPublication().getCreatorId().equals(post.getPublication().getUpdaterId()))
				   {
				  User updater = User.getById(post.getPublication().getUpdaterId());
				  String updaterName = "Unknown";
				  if (updater != null)
				  updaterName = updater.getDisplayedName();
				
                  out.write("\n			  - ");
                  out.print(resource.getString("GML.updateDate"));
                  out.write(' ');
                  out.print(resource.getOutputDate(post.getPublication().getLastUpdateDate()));
                  out.write(' ');
                  out.print(resource.getString("GML.by"));
                  out.write(' ');
                  out.print(updaterName );
                  out.write("\n			  ");
 } 
                  out.write("\n			  </span>\n		  </div>\n        <div class=\"separateur\"><hr /></div>\n      </div>\n      ");

          // Fin du ticket
         }
        
                  out.write("\n    </div>\n    <div id=\"footer\">\n      ");
                  //  c:import
                  org.apache.taglibs.standard.tag.rt.core.ImportTag _jspx_th_c_005fimport_005f0 = new org.apache.taglibs.standard.tag.rt.core.ImportTag();
                  _jsp_getInstanceManager().newInstance(_jspx_th_c_005fimport_005f0);
                  try {
                    _jspx_th_c_005fimport_005f0.setPageContext(_jspx_page_context);
                    _jspx_th_c_005fimport_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_view_005fsp_002dbody_002dpart_005f0);
                    // /blog/jsp/accueil.jsp(240,6) name = url type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
                    _jspx_th_c_005fimport_005f0.setUrl("/wysiwyg/jsp/htmlDisplayer.jsp?ObjectId="+instanceId+"&ComponentId="+instanceId);
                    int[] _jspx_push_body_count_c_005fimport_005f0 = new int[] { 0 };
                    try {
                      int _jspx_eval_c_005fimport_005f0 = _jspx_th_c_005fimport_005f0.doStartTag();
                      if (_jspx_th_c_005fimport_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                        return;
                      }
                    } catch (java.lang.Throwable _jspx_exception) {
                      while (_jspx_push_body_count_c_005fimport_005f0[0]-- > 0)
                        out = _jspx_page_context.popBody();
                      _jspx_th_c_005fimport_005f0.doCatch(_jspx_exception);
                    } finally {
                      _jspx_th_c_005fimport_005f0.doFinally();
                    }
                  } finally {
                    org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_c_005fimport_005f0, _jsp_getInstanceManager());
                  }
                  out.write("\n    </div>\n</div>\n");

out.println(window.printAfter());

                  out.write("\n\n  </div>\n");
                  int evalDoAfterBody = _jspx_th_view_005fsp_002dbody_002dpart_005f0.doAfterBody();
                  if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                    break;
                } while (true);
                if (_jspx_eval_view_005fsp_002dbody_002dpart_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
                  out = _jspx_page_context.popBody();
                }
              }
              if (_jspx_th_view_005fsp_002dbody_002dpart_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
                return;
              }
            } finally {
              org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_view_005fsp_002dbody_002dpart_005f0, _jsp_getInstanceManager());
            }
            out.write('\n');
            int evalDoAfterBody = _jspx_th_view_005fsp_002dpage_005f0.doAfterBody();
            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
              break;
          } while (true);
          if (_jspx_eval_view_005fsp_002dpage_005f0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
            out = _jspx_page_context.popBody();
          }
        }
        if (_jspx_th_view_005fsp_002dpage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
          return;
        }
      } finally {
        org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_view_005fsp_002dpage_005f0, _jsp_getInstanceManager());
      }
      out.write('\n');
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_view_005fincludePlugin_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_view_005fsp_002dhead_002dpart_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  view:includePlugin
    org.silverpeas.core.web.util.viewgenerator.html.IncludeJSPluginTag _jspx_th_view_005fincludePlugin_005f0 = new org.silverpeas.core.web.util.viewgenerator.html.IncludeJSPluginTag();
    _jsp_getInstanceManager().newInstance(_jspx_th_view_005fincludePlugin_005f0);
    try {
      _jspx_th_view_005fincludePlugin_005f0.setJspContext(_jspx_page_context);
      _jspx_th_view_005fincludePlugin_005f0.setParent(_jspx_th_view_005fsp_002dhead_002dpart_005f0);
      // /blog/jsp/accueil.jsp(90,0) name = name type = java.lang.String reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_view_005fincludePlugin_005f0.setName("blog");
      _jspx_th_view_005fincludePlugin_005f0.doTag();
    } finally {
      _jsp_getInstanceManager().destroyInstance(_jspx_th_view_005fincludePlugin_005f0);
    }
    return false;
  }

  private boolean _jspx_meth_view_005fincludePlugin_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_view_005fsp_002dhead_002dpart_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  view:includePlugin
    org.silverpeas.core.web.util.viewgenerator.html.IncludeJSPluginTag _jspx_th_view_005fincludePlugin_005f1 = new org.silverpeas.core.web.util.viewgenerator.html.IncludeJSPluginTag();
    _jsp_getInstanceManager().newInstance(_jspx_th_view_005fincludePlugin_005f1);
    try {
      _jspx_th_view_005fincludePlugin_005f1.setJspContext(_jspx_page_context);
      _jspx_th_view_005fincludePlugin_005f1.setParent(_jspx_th_view_005fsp_002dhead_002dpart_005f0);
      // /blog/jsp/accueil.jsp(91,0) name = name type = java.lang.String reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_view_005fincludePlugin_005f1.setName("toggle");
      _jspx_th_view_005fincludePlugin_005f1.doTag();
    } finally {
      _jsp_getInstanceManager().destroyInstance(_jspx_th_view_005fincludePlugin_005f1);
    }
    return false;
  }

  private boolean _jspx_meth_view_005fincludePlugin_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_view_005fsp_002dhead_002dpart_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  view:includePlugin
    org.silverpeas.core.web.util.viewgenerator.html.IncludeJSPluginTag _jspx_th_view_005fincludePlugin_005f2 = new org.silverpeas.core.web.util.viewgenerator.html.IncludeJSPluginTag();
    _jsp_getInstanceManager().newInstance(_jspx_th_view_005fincludePlugin_005f2);
    try {
      _jspx_th_view_005fincludePlugin_005f2.setJspContext(_jspx_page_context);
      _jspx_th_view_005fincludePlugin_005f2.setParent(_jspx_th_view_005fsp_002dhead_002dpart_005f0);
      // /blog/jsp/accueil.jsp(92,0) name = name type = java.lang.String reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_view_005fincludePlugin_005f2.setName("subscription");
      _jspx_th_view_005fincludePlugin_005f2.doTag();
    } finally {
      _jsp_getInstanceManager().destroyInstance(_jspx_th_view_005fincludePlugin_005f2);
    }
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_view_005fsp_002dhead_002dpart_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = new org.apache.taglibs.standard.tag.rt.core.IfTag();
    _jsp_getInstanceManager().newInstance(_jspx_th_c_005fif_005f0);
    try {
      _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_view_005fsp_002dhead_002dpart_005f0);
      // /blog/jsp/accueil.jsp(137,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty wallPaper.url}", boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null)).booleanValue());
      int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag();
      if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\n    <style>\n      #blog #blogContainer #bandeau {\n        background: url(\"");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${wallPaper.url}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("\") center no-repeat;\n      }\n    </style>\n  ");
          int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } finally {
      org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_c_005fif_005f0, _jsp_getInstanceManager());
    }
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_view_005fsp_002dhead_002dpart_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 = new org.apache.taglibs.standard.tag.rt.core.IfTag();
    _jsp_getInstanceManager().newInstance(_jspx_th_c_005fif_005f1);
    try {
      _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_view_005fsp_002dhead_002dpart_005f0);
      // /blog/jsp/accueil.jsp(144,2) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty styleSheet.content}", boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null)).booleanValue());
      int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
      if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\n    <style>\n      ");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${styleSheet.content}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("\n    </style>\n  ");
          int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } finally {
      org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_c_005fif_005f1, _jsp_getInstanceManager());
    }
    return false;
  }

  private boolean _jspx_meth_view_005fareaOfOperationOfCreation_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_view_005fsp_002dbody_002dpart_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  view:areaOfOperationOfCreation
    org.silverpeas.core.web.util.viewgenerator.html.operationpanes.OperationsOfCreationAreaTag _jspx_th_view_005fareaOfOperationOfCreation_005f0 = new org.silverpeas.core.web.util.viewgenerator.html.operationpanes.OperationsOfCreationAreaTag();
    _jsp_getInstanceManager().newInstance(_jspx_th_view_005fareaOfOperationOfCreation_005f0);
    try {
      _jspx_th_view_005fareaOfOperationOfCreation_005f0.setPageContext(_jspx_page_context);
      _jspx_th_view_005fareaOfOperationOfCreation_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_view_005fsp_002dbody_002dpart_005f0);
      int _jspx_eval_view_005fareaOfOperationOfCreation_005f0 = _jspx_th_view_005fareaOfOperationOfCreation_005f0.doStartTag();
      if (_jspx_th_view_005fareaOfOperationOfCreation_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } finally {
      org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_view_005fareaOfOperationOfCreation_005f0, _jsp_getInstanceManager());
    }
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_view_005fsp_002dbody_002dpart_005f0, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f2 = new org.apache.taglibs.standard.tag.rt.core.IfTag();
    _jsp_getInstanceManager().newInstance(_jspx_th_c_005fif_005f2);
    try {
      _jspx_th_c_005fif_005f2.setPageContext(_jspx_page_context);
      _jspx_th_c_005fif_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_view_005fsp_002dbody_002dpart_005f0);
      // /blog/jsp/colonneDroite.jsp(137,0) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_c_005fif_005f2.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${post != null}", boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null)).booleanValue());
      int _jspx_eval_c_005fif_005f2 = _jspx_th_c_005fif_005f2.doStartTag();
      if (_jspx_eval_c_005fif_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write('\n');
          out.write(' ');
          out.write(' ');
          if (_jspx_meth_view_005fpdcClassificationPreview_005f0(_jspx_th_c_005fif_005f2, _jspx_page_context))
            return true;
          out.write('\n');
          int evalDoAfterBody = _jspx_th_c_005fif_005f2.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fif_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } finally {
      org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_c_005fif_005f2, _jsp_getInstanceManager());
    }
    return false;
  }

  private boolean _jspx_meth_view_005fpdcClassificationPreview_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fif_005f2, javax.servlet.jsp.PageContext _jspx_page_context)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  view:pdcClassificationPreview
    org.silverpeas.core.web.util.viewgenerator.html.pdc.PdcClassificationPreviewTag _jspx_th_view_005fpdcClassificationPreview_005f0 = new org.silverpeas.core.web.util.viewgenerator.html.pdc.PdcClassificationPreviewTag();
    _jsp_getInstanceManager().newInstance(_jspx_th_view_005fpdcClassificationPreview_005f0);
    try {
      _jspx_th_view_005fpdcClassificationPreview_005f0.setJspContext(_jspx_page_context);
      _jspx_th_view_005fpdcClassificationPreview_005f0.setParent(_jspx_th_c_005fif_005f2);
      // /blog/jsp/colonneDroite.jsp(138,2) name = componentId type = java.lang.String reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_view_005fpdcClassificationPreview_005f0.setComponentId((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${post.componentInstanceId}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      // /blog/jsp/colonneDroite.jsp(138,2) name = contentId type = java.lang.String reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_view_005fpdcClassificationPreview_005f0.setContentId((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${post.id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      _jspx_th_view_005fpdcClassificationPreview_005f0.doTag();
    } finally {
      _jsp_getInstanceManager().destroyInstance(_jspx_th_view_005fpdcClassificationPreview_005f0);
    }
    return false;
  }
}
