/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: JspC/ApacheTomcat9
 * Generated at: 2026-06-22 10:18:28 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.kmelia.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.silverpeas.core.node.model.NodeDetail;
import org.silverpeas.core.persistence.jdbc.DBUtil;
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.window.Window;
import org.silverpeas.core.web.util.viewgenerator.html.tabs.TabbedPane;
import org.silverpeas.core.web.util.viewgenerator.html.frame.Frame;
import org.silverpeas.core.util.WebEncodeHelper;
import org.silverpeas.core.i18n.I18NHelper;
import java.io.PrintWriter;
import java.io.IOException;
import java.io.FileInputStream;
import java.io.ObjectInputStream;
import java.io.File;
import java.text.SimpleDateFormat;
import java.sql.SQLException;
import java.net.URLEncoder;
import java.util.List;
import java.util.Collection;
import java.util.Iterator;
import java.util.Collections;
import org.silverpeas.core.web.util.viewgenerator.html.GraphicElementFactory;
import org.silverpeas.core.util.MultiSilverpeasBundle;
import org.silverpeas.core.util.URLUtil;
import org.silverpeas.core.persistence.jdbc.DBUtil;
import org.silverpeas.kernel.bundle.ResourceLocator;
import org.silverpeas.core.util.file.FileRepositoryManager;
import org.silverpeas.core.web.util.viewgenerator.html.buttons.Button;
import org.silverpeas.core.web.util.viewgenerator.html.buttonpanes.ButtonPane;
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.window.Window;
import org.silverpeas.core.web.util.viewgenerator.html.frame.Frame;
import org.silverpeas.core.web.util.viewgenerator.html.tabs.TabbedPane;
import org.silverpeas.core.web.util.viewgenerator.html.board.Board;
import org.silverpeas.core.web.util.viewgenerator.html.navigationlist.NavigationList;
import org.silverpeas.core.web.util.viewgenerator.html.pagination.Pagination;
import org.silverpeas.core.web.util.viewgenerator.html.iconpanes.IconPane;
import org.silverpeas.core.web.util.viewgenerator.html.icons.Icon;
import org.silverpeas.core.contribution.publication.model.PublicationDetail;
import org.silverpeas.core.contribution.publication.model.PublicationPK;
import org.silverpeas.core.contribution.publication.model.CompletePublication;
import org.silverpeas.core.contribution.publication.model.ValidationStep;
import org.silverpeas.core.node.model.NodePK;
import org.silverpeas.core.node.model.NodeDetail;
import org.silverpeas.core.node.model.NodeI18NDetail;
import org.silverpeas.core.admin.user.model.UserDetail;
import org.silverpeas.components.kmelia.control.KmeliaSessionController;
import org.silverpeas.components.kmelia.KmeliaException;
import org.silverpeas.components.kmelia.service.KmeliaHelper;
import org.silverpeas.components.kmelia.jstl.KmeliaDisplayHelper;
import org.silverpeas.core.comment.model.Comment;
import org.silverpeas.core.contribution.content.wysiwyg.service.WysiwygController;
import org.silverpeas.core.contribution.content.wysiwyg.WysiwygException;
import org.silverpeas.core.ResourceReference;
import org.silverpeas.kernel.util.StringUtil;
import org.silverpeas.core.util.WebEncodeHelper;
import org.silverpeas.core.contribution.template.publication.PublicationTemplate;
import org.silverpeas.core.silverstatistics.access.model.HistoryByUser;
import org.silverpeas.components.kmelia.KmeliaConstants;
import org.silverpeas.kernel.bundle.SettingBundle;
import org.silverpeas.core.node.model.NodeDetail;
import java.util.Collection;
import java.util.Iterator;
import org.silverpeas.components.kmelia.control.KmeliaSessionController;
import org.silverpeas.core.web.util.viewgenerator.html.GraphicElementFactory;
import org.silverpeas.core.web.util.viewgenerator.html.board.Board;
import org.silverpeas.core.web.util.viewgenerator.html.buttons.Button;
import org.silverpeas.core.web.util.viewgenerator.html.buttonpanes.ButtonPane;
import org.silverpeas.core.util.MultiSilverpeasBundle;
import org.silverpeas.core.i18n.I18NHelper;
import org.silverpeas.kernel.bundle.LocalizationBundle;
import java.util.ArrayList;
import org.owasp.encoder.Encode;

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



String m_context = ResourceLocator.getGeneralSettingBundle().getString("ApplicationURL");
//Icons
String axisUpdate = m_context + "/util/icons/update.gif";

String getAxisAllLabel(int valueMaxLength, KmeliaSessionController kmeliaScc) {

      int nbSpaces = (valueMaxLength - kmeliaScc.getString("AllComponents").length()) / 2;
      String allLabel = "";
      for (int i = 1; i <= nbSpaces; i++)
          allLabel += ".";
      allLabel = kmeliaScc.getString("AllComponents");
      for (int j = 1; j <= nbSpaces; j++)
          allLabel += ".";
      return allLabel;
}

String getTimeAxis(KmeliaSessionController kmeliaScc, LocalizationBundle timeSettings, String defaultValue) {

      List keys = kmeliaScc.getTimeAxisKeys();
      StringBuffer axis = new StringBuffer(1000);
			axis.append("<div class=\"oneAxis\"  id=\"axisTime\">");
				axis.append("<label for=\"timeAxis\">"+kmeliaScc.getString("TimeAxis")+"</label>");
					axis.append("<select id=\"timeAxis\" name=\"\" size=\"1\">");
						String key = "";
						StringBuffer values = new StringBuffer(1000);
						String value = "";
						String selectValue = ""; 
						int valueMaxLength = 0;
						
						for (int i = 0; i < keys.size(); i++) {
						selectValue = "";
						key = ((Integer) keys.get(i)).toString();
						value = timeSettings.getString(key);
						
						if (value.length() > valueMaxLength)
							valueMaxLength = value.length();
						
						if (key.equals(defaultValue))
							selectValue = "selected";
						   
						values.append("<option value=\""+key+"\""+selectValue+">"+value+"</option>");
						}
						
						axis.append("<option value=\"X\">"+kmeliaScc.getString("AllComponents")+"</option>");
						axis.append(values);
					axis.append("</select>");

			axis.append("</div>");
    return axis.toString();
}

List getAxis(KmeliaSessionController kmeliaScc, boolean axisLinked, List combination, String translation) {
      List list = kmeliaScc.getAxis();
      Iterator iterator = list.iterator();
      ArrayList axisList = new ArrayList();
      if (iterator.hasNext()) {
            String axisName = "";
            int axisNb = 0;
            StringBuffer axis = new StringBuffer(1000);
            String selectValue = "";
            while (iterator.hasNext()) {
                  NodeDetail node = (NodeDetail) iterator.next();
                  if (node.getLevel() == 2) {
                      //It's an axis
                      axisName = node.getName(translation);
                      axisNb++;
                      if (axis.length()>0) {
						axis.append("</select>");
			
				axis.append("</div>");
                          axisList.add(axis.toString());
                          axis = new StringBuffer(1000);
                      }
                      axis.append("<div  class=\"oneAxis\" id=\"axis"+node.getNodePK().getId()+"\">");
                              if (axisLinked)
                                  axis.append("<label onclick=\"axisManage('"+node.getNodePK().getId()+"')\" for=\"axe"+node.getNodePK().getId()+"\">"+ Encode.forHtml(node.getName(translation))+"</label><a  title=\""+kmeliaScc.getString("Update")+" \"  href=\"javaScript:axisManage('"+node.getNodePK().getId()+"')\" class=\"action\"><img alt=\""+kmeliaScc.getString("Update")+" \" src=\""+axisUpdate+"\"/></a>");
                              else
                                  axis.append("<label for=\"axe"+node.getNodePK().getId()+"\">"+
										  Encode.forHtml(node.getName(translation))+"</label>");
                              
                                        if (axisLinked)
                                          axis.append("<select class=\"axis\" id=\"axe"+node.getNodePK().getId()+"\" name=\""+node.getNodePK().getId()+"\" size=\"1\" onchange=\"positionManage(this)\">");
                                        else
                                          axis.append("<select class=\"axis\" id=\"axe"+node.getNodePK().getId()+"\" name=\""+node.getNodePK().getId()+"\" size=\"1\">");
                                        axis.append("<option value=\""+node.getPath()+node.getNodePK().getId()+"\">"+kmeliaScc.getString("AllComponents")+"</option>");
                  } else if (node.getLevel() == 3) {
                      selectValue = "";
										  if (combination.contains(node.getPath()+node.getId()))
                           selectValue = "selected";
						 				  axis.append("<option value=\""+node.getPath()+node.getNodePK().getId()+"|"+Encode.forHtml(axisName)+"\" class=\"intfdcolor51\" "+selectValue+">"+Encode.forHtml(node.getName(translation))+"</option>");
	                  } else {
	                      String spaces = "";
	                      for (int i=0; i<node.getLevel()-3; i++)
	                        spaces += "&nbsp;&nbsp;&nbsp;&nbsp;";
		                    selectValue = "";
											  if (combination.contains(node.getPath()+node.getId()))
	                            selectValue = "selected";
											  axis.append("<option value=\""+node.getPath()+node.getNodePK().getId()+"|"+Encode.forHtml(axisName)+"\" class=\"intfdcolor5\" "+selectValue+">"+spaces+Encode.forHtml(node.getName(translation))+"</option>");
	                  }
 			           }
						axis.append("</select>");
			
				axis.append("</div>");
      axisList.add(axis.toString());
      }

      return axisList;
}

String displayAxisCombinationToUsers(KmeliaSessionController kmeliaScc, GraphicElementFactory gef, List combination, String timeCriteria, String translation) {
    String result = displayAxis(kmeliaScc, gef, false, true, combination, timeCriteria, kmeliaScc.isTimeAxisUsed(), null, translation);
    return result;
}

String displayAxisToUsers(KmeliaSessionController kmeliaScc, GraphicElementFactory gef, String translation) {
    String result = displayAxis(kmeliaScc, gef, false, true, new ArrayList(), null, kmeliaScc.isTimeAxisUsed(), null, translation);
    return result;
}

String displayAxisToPublish(KmeliaSessionController kmeliaScc, GraphicElementFactory gef, String translation) {
	String result;
	List currentCombination = new ArrayList();
	if (kmeliaScc.getCurrentCombination() != null)
		currentCombination = kmeliaScc.getCurrentCombination();
    result = displayAxis(kmeliaScc, gef, false, true, currentCombination, null, false, null, translation);
    return result;
}

String displayAxisToAdmins(KmeliaSessionController kmeliaScc, GraphicElementFactory gef, String translation) {
    String result = displayAxis(kmeliaScc, gef, true, false, new ArrayList(), null, false, kmeliaScc.getString("AdminExplaination"), translation);
    return result;
}

String displayAxis(KmeliaSessionController kmeliaScc, GraphicElementFactory gef, boolean axisLinked, boolean searchEnabled, List combination,  String timeCriteriaValue, boolean timeAxisEnabled, String explaination, String translation) {
    StringBuffer result = new StringBuffer(1000);
    List axisList = getAxis(kmeliaScc, axisLinked, combination, translation);
    
    if (timeAxisEnabled && axisList.size() > 0) {
        //get the time axis
        LocalizationBundle timeSettings = ResourceLocator.getLocalizationBundle("org.silverpeas.kmelia.multilang.timeAxisBundle", kmeliaScc.getLanguage());
        axisList.add(getTimeAxis(kmeliaScc, timeSettings,  timeCriteriaValue));
    }
    
    Board board = gef.getBoard();

    int nbCol = 3;
    result.append("<form name=\"axisForm\" action=\"\" method=\"post\">");
	if (axisLinked) {
		result.append("<div class=\"axisManagment\">");
	} else {
		result.append("<div class=\"sousNavBulle\">");
	}
	    
			    Iterator i = axisList.iterator();
			    if (i.hasNext()) {
			        
			          while (i.hasNext()) {
			            String axis = (String) i.next();
			            result.append(axis);
			          }
			         
			    }
			

	
		if (searchEnabled && (axisList.size() > 0)) {
	    ButtonPane lebouton = gef.getButtonPane();
        Button validerButton = gef.getFormButton(kmeliaScc.getString("Validate"), "javaScript:search()", false);
        lebouton.addButton(validerButton);
        lebouton.setVerticalPosition();
        lebouton.setHorizontalPosition();
		result.append("<div id=\"btnForm\">");
		result.append(lebouton.print());
		result.append("</div>");}
	
	result.append("<br clear=\"all\"/>");
	result.append("</div>");
	


	result.append("</form>");
	result.append("<br clear=\"all\"/>");
	return result.toString();
}

String displayAxisManageView(KmeliaSessionController kmeliaScc, GraphicElementFactory gef, String axisId, String mandatoryFieldSrc, MultiSilverpeasBundle resources, String translation) {
    NodeDetail axis = kmeliaScc.getNodeHeader(axisId);
    StringBuffer result = new StringBuffer(1000);
    
    Board board = gef.getBoard();
    result.append(board.printBefore());

		result.append("<form name=\"axisManagerForm\" method=\"post\">");
			result.append("<input type=\"hidden\" name=\"Id\" value=\""+axisId+"\"/>");
			
			result.append("<table align=\"center\" cellpading=\"5\" cellspacing=\"5\" border=\"0\" width=\"100%\">");
				result.append("<tr>");
					result.append("<td>&nbsp;</td><td colspan=\"5\" class=\"txtnav\"><b>"+kmeliaScc.getString("AxisInformations")+" </b></td>");
	            result.append("</tr>");
	
	            result.append(I18NHelper.getFormLine(resources, axis, translation));
	            
	            result.append("<tr>");
					result.append("<td width=\"20%\" class=\"txtlibform\">"+kmeliaScc.getString("AxisTitle")+" : </td>");
					result.append("<td>"); 
						result.append("<input type=\"text\" id=\"nodeNameValue\" name=\"Name\" value=\""+Encode.forHtml(axis.getName(translation))+"\" size=\"61\" maxlength=\"50\">&nbsp;<img alt=\"\" src=\""+mandatoryFieldSrc+"\" border=\"0\"  width=\"5px\"  height=\"5px\" />");
					result.append("</td>");
					result.append("<td>&nbsp;</td>");
					result.append("<td>&nbsp;</td>");
					result.append("<td>&nbsp;</td>");
					result.append("<td>&nbsp;</td>");
				result.append("</tr>");
	            result.append("<tr>"); 
					result.append("<td width=\"20%\" class=\"txtlibform\">"+kmeliaScc.getString("AxisDescription")+" : </td>");
					result.append("<td>"); 
						result.append("<textarea id=\"nodeDesc\" name=\"Description\" cols=\"60\" rows=\"5\" wrap=\"physical\">"+axis.getDescription(translation)+"</textarea>");
					result.append("</td>");
					result.append("<td colspan=\"4\">&nbsp;");
					result.append("</td>");
				result.append("</tr>");
	            result.append("<tr>");
					result.append("<td colspan=\"6\"t>( <img alt=\" \" border=\"0\" src=\""+mandatoryFieldSrc+"\" width=\"5px\" height=\"5px\" /> : "+kmeliaScc.getString("ChampsObligatoires")+" ) </td>");
	            result.append("</tr>");
	            result.append("<tr>"); 
					result.append("<td colspan=\"6\">"); 
	
	                ButtonPane lebouton = gef.getButtonPane();
	                Button ajouterButton = gef.getFormButton(kmeliaScc.getString("AddComponent"), "javaScript:addPositionToAxis('"+axisId+"')", false);
	                Button validerButton = gef.getFormButton(kmeliaScc.getString("Validate"), "javaScript:axisUpdate()", false);
	                Button supprimerButton = gef.getFormButton(kmeliaScc.getString("DeleteAxis"), "javaScript:axisDelete()", false);
	
	                lebouton.addButton(validerButton);
	                lebouton.addButton(ajouterButton);
	                lebouton.addButton(supprimerButton);
	
	                lebouton.setVerticalPosition();
	                lebouton.setHorizontalPosition();
	
					result.append("</td>");
				result.append("</tr>");
			result.append("</table>");
		
		result.append("</form>");

        result.append(board.printAfter());
          
	result.append("<center><br/>");
	result.append(lebouton.print());
	result.append("</br></center>");
	result.append("<script language=\"javascript\">document.axisManagerForm.Name.focus();</script>");
    return result.toString();
}

String displayComponentManageView(KmeliaSessionController kmelia, GraphicElementFactory gef, String componentId, String path, String mandatoryFieldSrc, MultiSilverpeasBundle resources, String translation) {
    NodeDetail nodeDetail = kmelia.getNodeHeader(componentId);
    StringBuffer result = new StringBuffer(1000);
    Board board = gef.getBoard();
    result.append(board.printBefore());
		
    result.append("<form name=\"axisManagerForm\" method=\"post\">");
		result.append("<input type=\"hidden\" name=\"Id\" value=\""+componentId+"\">");
		result.append("<table align=\"center\" cellpading=\"5\" cellspacing=\"5\" border=\"0\" width=\"100%\">");
			result.append("<tr>");
				result.append("<td>&nbsp;</td><td colspan=\"5\"  class=\"txtnav\"><b>"+kmelia.getString("ComponentInformations")+" </b></td>");
			result.append("</tr>");
            result.append("<tr>"); 
				result.append("<td width=\"20%\" class=\"txtlibform\">"+kmelia.getString("ComponentFather")+ " : </td>");
				result.append("<td>"); 
				result.append(path);
				result.append("</td>");
				result.append("<td>&nbsp;</td>");
				result.append("<td>&nbsp;</td>");
				result.append("<td>&nbsp;</td>");
				result.append("<td>&nbsp;</td>");
            result.append("</tr>");
            result.append(I18NHelper.getFormLine(resources, nodeDetail, translation));
            result.append("<tr>"); 
				result.append("<td width=\"20%\" class=\"txtlibform\">"+kmelia.getString("ComponentTitle")+" : </td>");
				result.append("<td>"); 
					result.append("<input type=\"text\" id=\"nodeNameValue\" name=\"Name\" value=\""+Encode.forHtml(nodeDetail.getName(translation))+"\" size=\"61\" maxlength=\"50\">&nbsp;<img alt=\"  \" src=\""+mandatoryFieldSrc+"\" border=\"0\"  width=\"5px\" height=\"5px\" />");
				result.append("</td>");
				result.append("<td>&nbsp;</td>");
				result.append("<td>&nbsp;</td>");
				result.append("<td>&nbsp;</td>");
				result.append("<td>&nbsp;</td>");
            result.append("</tr>");
            result.append("<tr>"); 
				result.append("<td width=\"20%\" class=\"txtlibform\">"+kmelia.getString("ComponentDescription")+" : </td>");
				result.append("<td>"); 
					result.append("<textarea id=\"nodeDesc\" name=\"Description\" cols=\"60\" rows=\"5\" wrap=\"PHYSICAL\">"+nodeDetail.getDescription(translation)+"</textarea>");
				result.append("</td>");
				result.append("<td colspan=\"4\">&nbsp;");
				result.append("</td>");
			result.append("</tr>");
            result.append("<tr>");
				result.append("<td colspan=\"6\" >( <img  alt=\" \"  border=\"0\" src=\""+mandatoryFieldSrc+"\" width=\"5px\" height=\"5px\" /> : "+kmelia.getString("ChampsObligatoires")+" ) </td>");
            result.append("</tr>");
          
            result.append("<tr>");
				result.append("<td colspan=\"6\">"); 

                ButtonPane lebouton = gef.getButtonPane();
                Button ajouterButton = gef.getFormButton(kmelia.getString("AddComponent"), "javaScript:addPositionToPosition('"+componentId+"')", false);
                Button validerButton = gef.getFormButton(kmelia.getString("Validate"), "javaScript:positionUpdate()", false);
                Button supprimerButton = gef.getFormButton(kmelia.getString("DeleteComponent"), "javaScript:positionDelete()", false);

                lebouton.addButton(validerButton);
                lebouton.addButton(ajouterButton);
                lebouton.addButton(supprimerButton);

                lebouton.setVerticalPosition();
                lebouton.setHorizontalPosition();

                result.append("</td>");
            result.append("</tr>");
   		 result.append("</table>");
	result.append("</form>");

    result.append(board.printAfter());
	result.append("<center><br>");
	result.append(lebouton.print());
	result.append("</br></center>");
	result.append("<script language=\"javascript\">document.axisManagerForm.Name.focus();</script>");
    return result.toString();
}

String displayPath(Collection path, boolean linked, int beforeAfter, String translation) {
      String linkedPathString = new String();
      String pathString = new String();
      int nbItemInPath = path.size();
      Iterator iterator = path.iterator();
      boolean alreadyCut = false;
      int i = 0;
      while (iterator.hasNext()) {
            NodeDetail nodeInPath = (NodeDetail) iterator.next();
            if (nodeInPath.getLevel() != 1) {
              if ((i <= beforeAfter) || (i + beforeAfter >= nbItemInPath - 1)){
                  linkedPathString +=
						  "<a href=\"javascript:onClick=topicGoTo('"+nodeInPath.getNodePK().getId()+"')\">"+Encode.forHtml(nodeInPath.getName(translation))+"</a>";
                  pathString += Encode.forHtml(nodeInPath.getName(translation));
                  if (iterator.hasNext()) {
                        linkedPathString += " > ";
                        pathString += " > ";
                  }
             } else {
                  if (!alreadyCut) {
                        linkedPathString += " ... > ";
                        pathString += " ... > ";
                        alreadyCut = true;
                  }
             }
             i++;
           }
      }
      if (linked)
          return linkedPathString;
      else
          return pathString;
}




String codeJSForTranslation(NodeDetail nodeDetail)
{
	String lang = "";
	String result = "";
	Iterator codes = nodeDetail.getTranslations().keySet().iterator();
	result += "<script language=\"javascript\">\n";
	while (codes.hasNext())
	{
		lang = (String) codes.next();
		result += "var name_"+lang+" = \""+WebEncodeHelper.javaStringToJsString(nodeDetail.getName(lang))+"\";\n";
		result += "var desc_"+lang+" = \""+WebEncodeHelper.javaStringToJsString(nodeDetail.getDescription(lang))+"\";\n";
	}
	result += "\n</script>";
	return result;
}

  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>(4);
    _jspx_dependants.put("/kmelia/jsp/checkKmelia.jsp", Long.valueOf(1731522246265L));
    _jspx_dependants.put("/kmelia/jsp/kmax_axisReport.jsp", Long.valueOf(1731522246266L));
    _jspx_dependants.put("uri:silverpeas.tags.viewGenerator", Long.valueOf(1782120262148L));
    _jspx_dependants.put("uri:silverpeas.tags.viewGenerator!/META-INF/viewGenerator.tld", Long.valueOf(1782120236000L));
  }

  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<>(75);
    _jspx_imports_classes.add("org.silverpeas.core.node.model.NodeDetail");
    _jspx_imports_classes.add("org.silverpeas.core.persistence.jdbc.DBUtil");
    _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.window.Window");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.tabs.TabbedPane");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.frame.Frame");
    _jspx_imports_classes.add("org.silverpeas.core.util.WebEncodeHelper");
    _jspx_imports_classes.add("org.silverpeas.core.i18n.I18NHelper");
    _jspx_imports_classes.add("java.io.PrintWriter");
    _jspx_imports_classes.add("java.io.IOException");
    _jspx_imports_classes.add("java.io.FileInputStream");
    _jspx_imports_classes.add("java.io.ObjectInputStream");
    _jspx_imports_classes.add("java.io.File");
    _jspx_imports_classes.add("java.text.SimpleDateFormat");
    _jspx_imports_classes.add("java.sql.SQLException");
    _jspx_imports_classes.add("java.net.URLEncoder");
    _jspx_imports_classes.add("java.util.List");
    _jspx_imports_classes.add("java.util.Collection");
    _jspx_imports_classes.add("java.util.Iterator");
    _jspx_imports_classes.add("java.util.Collections");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.GraphicElementFactory");
    _jspx_imports_classes.add("org.silverpeas.core.util.MultiSilverpeasBundle");
    _jspx_imports_classes.add("org.silverpeas.core.util.URLUtil");
    _jspx_imports_classes.add("org.silverpeas.kernel.bundle.ResourceLocator");
    _jspx_imports_classes.add("org.silverpeas.core.util.file.FileRepositoryManager");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.buttons.Button");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.buttonpanes.ButtonPane");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.board.Board");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.navigationlist.NavigationList");
    _jspx_imports_classes.add("org.silverpeas.core.web.util.viewgenerator.html.pagination.Pagination");
    _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.contribution.publication.model.PublicationDetail");
    _jspx_imports_classes.add("org.silverpeas.core.contribution.publication.model.PublicationPK");
    _jspx_imports_classes.add("org.silverpeas.core.contribution.publication.model.CompletePublication");
    _jspx_imports_classes.add("org.silverpeas.core.contribution.publication.model.ValidationStep");
    _jspx_imports_classes.add("org.silverpeas.core.node.model.NodePK");
    _jspx_imports_classes.add("org.silverpeas.core.node.model.NodeI18NDetail");
    _jspx_imports_classes.add("org.silverpeas.core.admin.user.model.UserDetail");
    _jspx_imports_classes.add("org.silverpeas.components.kmelia.control.KmeliaSessionController");
    _jspx_imports_classes.add("org.silverpeas.components.kmelia.KmeliaException");
    _jspx_imports_classes.add("org.silverpeas.components.kmelia.service.KmeliaHelper");
    _jspx_imports_classes.add("org.silverpeas.components.kmelia.jstl.KmeliaDisplayHelper");
    _jspx_imports_classes.add("org.silverpeas.core.comment.model.Comment");
    _jspx_imports_classes.add("org.silverpeas.core.contribution.content.wysiwyg.service.WysiwygController");
    _jspx_imports_classes.add("org.silverpeas.core.contribution.content.wysiwyg.WysiwygException");
    _jspx_imports_classes.add("org.silverpeas.core.ResourceReference");
    _jspx_imports_classes.add("org.silverpeas.kernel.util.StringUtil");
    _jspx_imports_classes.add("org.silverpeas.core.contribution.template.publication.PublicationTemplate");
    _jspx_imports_classes.add("org.silverpeas.core.silverstatistics.access.model.HistoryByUser");
    _jspx_imports_classes.add("org.silverpeas.components.kmelia.KmeliaConstants");
    _jspx_imports_classes.add("org.silverpeas.kernel.bundle.SettingBundle");
    _jspx_imports_classes.add("org.silverpeas.kernel.bundle.LocalizationBundle");
    _jspx_imports_classes.add("java.util.ArrayList");
    _jspx_imports_classes.add("org.owasp.encoder.Encode");
  }

  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/errorpage.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");
      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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");

	KmeliaSessionController kmeliaScc = (KmeliaSessionController) request.getAttribute("kmelia");
	GraphicElementFactory gef = (GraphicElementFactory) session.getAttribute("SessionGraphicElementFactory");

	if (kmeliaScc == null) {
	    // No session controller in the request -> security exception
	    String sessionTimeout = ResourceLocator.getGeneralSettingBundle().getString("sessionTimeout");
	    getServletConfig().getServletContext().getRequestDispatcher(sessionTimeout).forward(request, response);
	    return;
	}

	MultiSilverpeasBundle resources = (MultiSilverpeasBundle)request.getAttribute("resources");

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

	String routerUrl = URLUtil.getApplicationURL() + URLUtil.getURL("kmelia", spaceId, componentId);

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

	boolean kmaxMode 	= (componentId != null && componentId.startsWith("kmax"));
	boolean toolboxMode = (componentId != null && componentId.startsWith("toolbox"));
	boolean kmeliaMode 	= (componentId != null && componentId.startsWith("kmelia"));

  boolean isAccessGuest 	= kmeliaScc.getUserDetail().isAccessGuest();

	SettingBundle settings = ResourceLocator.getSettingBundle("org.silverpeas.kmelia.settings.kmeliaSettings");

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

String id = "";
String name = "";
String description = "";
String creationDate = "";
String creatorName = "";
String childId = "";
String profile = "admin";

//R�cup�ration des param�tres
String action 		= request.getParameter("Action");
String translation 	= (String) request.getAttribute("Language");

//Icons
String axisAddSrc = m_context + "/util/icons/create-action/add-axis.png";
String publicationSrc = m_context + "/util/icons/publication.gif";
String mandatoryFieldSrc = m_context + "/util/icons/mandatoryField.gif";

//Mise a jour de l'espace
if (action == null) {
	action = "KmaxViewAxis";
}

      out.write("\n\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n<title></title>\n");
      if (_jspx_meth_view_005flooknfeel_005f0(_jspx_page_context))
        return;
      out.write("\n<script type=\"text/javascript\" src=\"");
      out.print(m_context);
      out.write("/util/javaScript/i18n.js\"></script>\n<script type=\"text/javascript\">\n<!--\nvar axisAddWindow = window;\nvar componentAddWindow = window;\n\nfunction closeWindows() {\n    if (!axisAddWindow.closed && axisAddWindow.name == \"axisAddWindow\")\n        axisAddWindow.close();\n    if (!componentAddWindow.closed && componentAddWindow == \"componentAddWindow\")\n        componentAddWindow.close();\n}\n\nfunction axisAdd() {\n    url = \"kmax_addAxis.jsp\";\n    windowName = \"axisAddWindow\";\n	larg = \"600\";\n	haut = \"250\";\n    windowParams = \"directories=0,menubar=0,toolbar=0,alwaysRaised\";\n    if (!axisAddWindow.closed && axisAddWindow.name == \"axisAddWindow\")\n        axisAddWindow.close();\n    axisAddWindow = SP_openWindow(url, windowName, larg, haut, windowParams, false);\n}\n\nfunction axisUpdate() {\n  closeWindows();\n  var errorMsg = \"\";\n  var errorNb = 0;\n  var title = stripInitialWhitespace(document.axisManagerForm.Name.value);\n	if (isWhitespace(title)) {\n    errorMsg+=\"  - ");
      out.print(kmeliaScc.getString("TheField"));
      out.write(' ');
      out.write('\'');
      out.print(kmeliaScc.getString("AxisTitle"));
      out.write('\'');
      out.write(' ');
      out.print(kmeliaScc.getString("MustContainsText"));
      out.write("\\n\";\n    errorNb++;\n  }\n	if (!isValidTextArea(document.axisManagerForm.Description)) {\n    errorMsg+=\"  - ");
      out.print(kmeliaScc.getString("TheField"));
      out.write(' ');
      out.write('\'');
      out.print(kmeliaScc.getString("AxisDescription"));
      out.write('\'');
      out.write(' ');
      out.print(kmeliaScc.getString("ContainsTooLargeText"));
      out.write(' ');
      out.print(DBUtil.getTextAreaLength());
      out.write(' ');
      out.print(kmeliaScc.getString("Characters"));
      out.write("\\n\";\n    errorNb++;\n  }\n  var result = false;\n  switch(errorNb) {\n    case 0 :\n      result = true;\n      break;\n    case 1 :\n      errorMsg = \"");
      out.print(kmeliaScc.getString("ThisFormContains"));
      out.write(' ');
      out.write('1');
      out.write(' ');
      out.print(kmeliaScc.getString("Error"));
      out.write(" : \\n\" + errorMsg;\n      jQuery.popup.error(errorMsg);\n      break;\n    default :\n      errorMsg = \"");
      out.print(kmeliaScc.getString("ThisFormContains"));
      out.write(" \" + errorNb + \" ");
      out.print(kmeliaScc.getString("Errors"));
      out.write(" :\\n\" + errorMsg;\n      jQuery.popup.error(errorMsg);\n  }\n\n  if (result) {\n    document.managerForm.action = \"KmaxUpdateAxis\";\n    document.managerForm.AxisName.value = document.axisManagerForm.Name.value;\n    document.managerForm.AxisDescription.value = document.axisManagerForm.Description.value;\n    document.managerForm.AxisId.value = document.axisManagerForm.Id.value;\n    ");
 if (I18NHelper.isI18nContentActivated())  { 
      out.write("\n      document.managerForm.I18NLanguage.value = document.axisManagerForm.I18NLanguage[document.axisManagerForm.I18NLanguage.selectedIndex].value;\n    ");
 } 
      out.write("\n    if (document.getElementById('TranslationRemoveIt'))  {\n      document.managerForm.TranslationRemoveIt.value = document.getElementById('TranslationRemoveIt').value;\n    }\n    document.managerForm.submit();\n  }\n}\n\nfunction axisDelete() {\n	closeWindows();\n  var label = \"");
      out.print(kmeliaScc.getString("ConfirmDeleteAxis"));
      out.write(" ?\";\n  jQuery.popup.confirm(label, function() {\n		document.managerForm.action = \"KmaxDeleteAxis\";\n		document.managerForm.AxisId.value = document.axisManagerForm.Id.value;\n		document.managerForm.submit();\n  });\n}\n\nfunction axisManage(id) {\n	closeWindows();\n	document.managerForm.action = \"KmaxManageAxis\";\n	document.managerForm.Translation.value = \"");
      out.print(translation);
      out.write("\";\n    document.managerForm.AxisId.value = id;\n    document.managerForm.submit();\n}\n\nfunction positionManage(selectObject) {\n	closeWindows();\n	document.managerForm.action = \"KmaxManagePosition\";\n    selectObjectValues = selectObject.value.split(\"|\");\n    document.managerForm.PositionId.value = selectObjectValues[0];\n    document.managerForm.AxisName.value = selectObjectValues[1];\n		document.managerForm.Translation.value = \"");
      out.print(translation);
      out.write("\";\n    document.managerForm.submit();\n}\n\n\nfunction addPositionToPosition(axisId) {\n    url = \"kmax_addPositionToPosition.jsp?Action=KmaxView&AxisId=\"+axisId+\"&Translation=");
      out.print(translation);
      out.write("\";\n    windowName = \"componentAddWindow\";\n	larg = \"600\";\n	haut = \"250\";\n    windowParams = \"directories=0,menubar=0,toolbar=0,alwaysRaised\";\n    if (!componentAddWindow.closed && componentAddWindow.name == \"componentAddWindow\")\n        componentAddWindow.close();\n    componentAddWindow = SP_openWindow(url, windowName, larg, haut, windowParams, false);\n}\n\nfunction addPositionToAxis(axisId) {\n    url = \"kmax_addPositionToAxis.jsp?AxisId=\"+axisId+\"&Translation=");
      out.print(translation);
      out.write("\";\n    windowName = \"componentAddWindow\";\n	larg = \"600\";\n	haut = \"250\";\n    windowParams = \"directories=0,menubar=0,toolbar=0,alwaysRaised\";\n    if (!componentAddWindow.closed && componentAddWindow.name == \"componentAddWindow\")\n        componentAddWindow.close();\n	componentAddWindow = SP_openWindow(url, windowName, larg, haut, windowParams, false);\n}\n\nfunction positionUpdate() {\n	closeWindows();\n  var errorMsg = \"\";\n  var errorNb = 0;\n  var title = stripInitialWhitespace(document.axisManagerForm.Name.value);\n  if (isWhitespace(title)) {\n    errorMsg+=\"  - ");
      out.print(kmeliaScc.getString("TheField"));
      out.write(' ');
      out.write('\'');
      out.print(kmeliaScc.getString("ComponentTitle"));
      out.write('\'');
      out.write(' ');
      out.print(kmeliaScc.getString("MustContainsText"));
      out.write("\\n\";\n    errorNb++;\n  }\n  if (!isValidTextArea(document.axisManagerForm.Description)) {\n    errorMsg+=\"  - ");
      out.print(kmeliaScc.getString("TheField"));
      out.write(' ');
      out.write('\'');
      out.print(kmeliaScc.getString("ComponentDescription"));
      out.write('\'');
      out.write(' ');
      out.print(kmeliaScc.getString("ContainsTooLargeText"));
      out.write(' ');
      out.print(DBUtil.getTextAreaLength());
      out.write(' ');
      out.print(kmeliaScc.getString("Characters"));
      out.write("\\n\";\n    errorNb++;\n  }\n  var result = false;\n  switch(errorNb) {\n    case 0 :\n      result = true;\n      break;\n    case 1 :\n      errorMsg = \"");
      out.print(kmeliaScc.getString("ThisFormContains"));
      out.write(' ');
      out.write('1');
      out.write(' ');
      out.print(kmeliaScc.getString("Error"));
      out.write(" : \\n\" + errorMsg;\n      jQuery.popup.error(errorMsg);\n      break;\n    default :\n      errorMsg = \"");
      out.print(kmeliaScc.getString("ThisFormContains"));
      out.write(" \" + errorNb + \" ");
      out.print(kmeliaScc.getString("Errors"));
      out.write(" :\\n\" + errorMsg;\n      jQuery.popup.error(errorMsg);\n  }\n  if (result) {\n    document.managerForm.action = \"KmaxUpdatePosition\";\n    document.managerForm.PositionName.value = document.axisManagerForm.Name.value;\n    document.managerForm.PositionDescription.value = document.axisManagerForm.Description.value;\n    document.managerForm.PositionId.value = document.axisManagerForm.Id.value;\n    ");
 if (I18NHelper.isI18nContentActivated())  { 
      out.write("\n      document.managerForm.I18NLanguage.value = document.axisManagerForm.I18NLanguage[document.axisManagerForm.I18NLanguage.selectedIndex].value;\n    ");
 } 
      out.write("\n    if (document.getElementById('TranslationRemoveIt'))  {\n      document.managerForm.TranslationRemoveIt.value = document.getElementById('TranslationRemoveIt').value;\n    }\n    document.managerForm.submit();\n  }\n}\n\nfunction positionDelete() {\n	closeWindows();\n  var label = \"");
      out.print(kmeliaScc.getString("ConfirmDeleteComponent"));
      out.write(" ?\";\n  jQuery.popup.confirm(label, function() {\n    document.managerForm.action = \"KmaxDeletePosition\";\n    document.managerForm.PositionId.value = document.axisManagerForm.Id.value;\n    document.managerForm.submit();\n  });\n}\n\nfunction showTranslation(lang)\n{\n	showFieldTranslation('nodeNameValue', 'name_'+lang);\n	showFieldTranslation('nodeDesc', 'desc_'+lang);\n}\n\nfunction removeTranslation()\n{\n	axisUpdate();\n}\n-->\n</script>\n</head>\n<body id=\"");
      out.print(componentId );
      out.write("\" class=\"kmaxManager\" onunload=\"closeWindows()\">\n	");

if (action.equals("KmaxViewAxis") || action.equals("KmaxManageAxis") || action.equals("KmaxManagePosition")) {
	  Window window = gef.getWindow();

	  BrowseBar browseBar = window.getBrowseBar();
	  browseBar.setDomainName(kmeliaScc.getSpaceLabel());
	  browseBar.setComponentName(kmeliaScc.getComponentLabel(), "KmaxMain");
	  browseBar.setExtraInformation(kmeliaScc.getString("AdminExplaination"));
	  browseBar.setI18N("KmaxAxisManager?AxisId="+id, translation);

	  OperationPane operationPane = window.getOperationPane();
	  if (profile.equals("admin")) {
		  operationPane.addOperationOfCreation(axisAddSrc, kmeliaScc.getString("AddAxis"), "javascript:onClick=axisAdd()");
		  operationPane.addLine();
		  operationPane.addOperation(resources.getIcon("kmelia.modelUsed"), resources.getString("kmelia.ModelUsed"), "ModelUsed");
	  }

	  TabbedPane tabbedPane = gef.getTabbedPane();
	  tabbedPane.addTab(kmeliaScc.getString("Consultation"), "KmaxMain", false);
	  tabbedPane.addTab(kmeliaScc.getString("Management"), "KmaxAxisManager", true);

	  Frame frame = gef.getFrame();

	  out.println(window.printBefore());
	  
	  out.println(tabbedPane.print());

      out.write("\n	  ");
      if (_jspx_meth_view_005fareaOfOperationOfCreation_005f0(_jspx_page_context))
        return;
      out.write("\n	  ");
      //  view:frame
      org.silverpeas.core.web.util.viewgenerator.html.frame.FrameTag _jspx_th_view_005fframe_005f0 = new org.silverpeas.core.web.util.viewgenerator.html.frame.FrameTag();
      _jsp_getInstanceManager().newInstance(_jspx_th_view_005fframe_005f0);
      try {
        _jspx_th_view_005fframe_005f0.setPageContext(_jspx_page_context);
        _jspx_th_view_005fframe_005f0.setParent(null);
        int _jspx_eval_view_005fframe_005f0 = _jspx_th_view_005fframe_005f0.doStartTag();
        if (_jspx_eval_view_005fframe_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
          out.write('\n');

		out.println(displayAxisToAdmins(kmeliaScc, gef, translation));

	  if (action.equals("KmaxManageAxis")) {
	      String axisId = (String) request.getParameter("AxisId");
		    NodeDetail nodeDetail = kmeliaScc.getNodeHeader(axisId);
	      out.println(codeJSForTranslation(nodeDetail));
	      out.println(displayAxisManageView(kmeliaScc, gef, axisId, mandatoryFieldSrc, resources, translation));

	  } else if (action.equals("KmaxManagePosition")) {
	      String positionPath = (String) request.getParameter("PositionId");
		  String positionId = positionPath.substring(positionPath.lastIndexOf("/")+1, positionPath.length());
		    NodeDetail nodeDetail = kmeliaScc.getNodeHeader(positionId);
	      out.println(codeJSForTranslation(nodeDetail));
	      //get path to selected component
	      Collection path = kmeliaScc.getPath(positionId);
	      String pathStr = displayPath(path, false, 3, translation);
	      out.println(displayComponentManageView(kmeliaScc, gef, positionId, pathStr, mandatoryFieldSrc, resources, translation));
	  }

          out.write('\n');
          out.write('	');
        }
        if (_jspx_th_view_005fframe_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
          return;
        }
      } finally {
        org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_view_005fframe_005f0, _jsp_getInstanceManager());
      }
      out.write('\n');

	  out.println(window.printAfter());
}

      out.write('\n');
      out.write('\n');
      out.write("\n\n<form name=\"managerForm\" method=\"post\" action=\"\">\n	<input type=\"hidden\" name=\"AxisId\"/>\n	<input type=\"hidden\" name=\"AxisName\"/>\n	<input type=\"hidden\" name=\"AxisDescription\"/>\n	<input type=\"hidden\" name=\"PositionId\"/>\n	<input type=\"hidden\" name=\"PositionName\"/>\n	<input type=\"hidden\" name=\"PositionDescription\"/>\n	<input type=\"hidden\" name=\"NextAction\"/>\n	<input type=\"hidden\" name=\"Translation\"/>\n	<input type=\"hidden\" name=\"I18NLanguage\"/>\n	<input type=\"hidden\" name=\"TranslationRemoveIt\"/>\n</form>\n</body>\n</html>");
    } 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_005flooknfeel_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:looknfeel
    org.silverpeas.core.web.util.viewgenerator.html.LookAndStyleTag _jspx_th_view_005flooknfeel_005f0 = new org.silverpeas.core.web.util.viewgenerator.html.LookAndStyleTag();
    _jsp_getInstanceManager().newInstance(_jspx_th_view_005flooknfeel_005f0);
    try {
      _jspx_th_view_005flooknfeel_005f0.setPageContext(_jspx_page_context);
      _jspx_th_view_005flooknfeel_005f0.setParent(null);
      // /kmelia/jsp/kmax_axisManager.jsp(71,0) name = withCheckFormScript type = boolean reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_view_005flooknfeel_005f0.setWithCheckFormScript(true);
      int _jspx_eval_view_005flooknfeel_005f0 = _jspx_th_view_005flooknfeel_005f0.doStartTag();
      if (_jspx_th_view_005flooknfeel_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } finally {
      org.apache.jasper.runtime.JspRuntimeLibrary.releaseTag(_jspx_th_view_005flooknfeel_005f0, _jsp_getInstanceManager());
    }
    return false;
  }

  private boolean _jspx_meth_view_005fareaOfOperationOfCreation_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(null);
      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;
  }
}
