package org.apache.jsp.common;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.commons.lang.StringUtils;
import com.edeal.frontline.controller.actions.ListAction;
import org.apache.commons.lang.StringUtils;
import com.edeal.frontline.navigation.EdealBigTabsNavigation;
import com.edeal.frontline.navigation.EdealBigTabsNavigation.BigTabsParams;
import java.util.Vector;
import com.edeal.frontline.navigation.WebUtils;
import com.edeal.frontline.Utils;
import com.edeal.frontline.navigation.FlRequest;
import com.edeal.frontline.ListBean;
import java.util.HashMap;

public final class tabs_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  static {
    _jspx_dependants = new java.util.ArrayList(1);
    _jspx_dependants.add("/WEB-INF/taglib.tld");
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.AnnotationProcessor _jsp_annotationprocessor;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.release();
    _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.release();
    _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, 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');

/******************************************************************************
 * Copyright (c) 2000-2005 e-Deal
 *
 * e-Deal S.A.
 * 55 rue Brillat Savarin
 * 75013 Paris
 * France
 *
 * T: +33 (0)1 53 80 80 30
 * F: +33 (0)1 73 01 69 77
 * http://www.e-deal.com
 * 
 * La diffusion de ce code source sous quelque forme que ce soit sans
 * l'autorisation de E-DEAL est interdite.
 *
 * Vous êtes autorisés à modifier ce code source uniquement pour votre usage
 * propre et sous réserve que les mentions de copyright demeurent intactes.
 *
 * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou
 * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour
 * responsable des dommages pouvant résulter de l'utilisation de ce code
 * source.
 ******************************************************************************/

      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");

final org.apache.commons.logging.Log loggerTabs = org.apache.commons.logging.LogFactory.getLog(getClass());
FlRequest flRequestTabs = new FlRequest(request);
EdealBigTabsNavigation ebtnTabs = new EdealBigTabsNavigation(flRequestTabs);

// The grid variables are duplicated here with different names because
// this file can be @included by list.jsp and list_criteria.jsp

// List code
String lcTabs = ebtnTabs.getListCode(); 

//Search criteria
String scTabs = ebtnTabs.getBigTabsParameterValue(BigTabsParams.SearchCriteria);

//Object uri
String ouTabs = StringUtils.defaultString(ebtnTabs.getBigTabsParameterValue(BigTabsParams.ObjectURI));

//The current selected tab
String selectedTabTabs = ebtnTabs.getBigTabsParameterValue(BigTabsParams.SelectedTab);

//Criteria tab name
String critTitleTabs = ebtnTabs.getBigTabsParameterValue(BigTabsParams.CriteriaListTitle);
if (critTitleTabs == null) {
	critTitleTabs = Utils.getMessage(session, "A2009", false, true, "Nouvelle recherche");
}

// Criteria uri
String cuTabs = ebtnTabs.getBigTabsParameterValue(BigTabsParams.CriteriaListURI);

// Name of the current object
String objTitleTabs = ebtnTabs.getBigTabsParameterValue(BigTabsParams.ObjectTitle);

// id
String idTabs = flRequestTabs.getRequestParameterOrAttribute("id");

// $$idx
String idx = flRequestTabs.getRequestParameterOrAttribute(lcTabs + "_$$idx");
if (idx != null && !"".equals(idx)) {
	idx = lcTabs + "_$$idx=" + idx;
} else {
	idx = null;
}
 idx = flRequestTabs.getSearchCriteria("$$idx", lcTabs, false);
		
// $$OrderBy
String orderby = (String)flRequestTabs.getSearchCriteria("$$OrderBy",lcTabs,false);

if (orderby != null && !"".equals(orderby)) {
	orderby = lcTabs + "_$$OrderBy=" + orderby;
} else {
	orderby = null;
}
// $$ReverseOrderBy
String reverseorderby = flRequestTabs.getSearchCriteria("$$ReverseOrderBy",lcTabs,false);
if (reverseorderby != null && !"".equals(reverseorderby)) {
	reverseorderby = lcTabs + "_$$ReverseOrderBy=" + reverseorderby;
} else {
	reverseorderby = null;
}

// "ignoreCriteria" is used for historique reasons, but it's really the critList tab
boolean ignoreCritList = ebtnTabs.isIgnoreCritList();
boolean isCritListTabSelected = ebtnTabs.isCritListTabSelected();
boolean isObjectTabSelected = ebtnTabs.isObjectTabSelected();
boolean displayCritList = ebtnTabs.isDisplayCritList();
boolean displayObject = ebtnTabs.isDisplayObject();

if (!isCritListTabSelected && !isObjectTabSelected) {
	if (displayCritList && !displayObject) {
		isCritListTabSelected = true;
	} else if (!displayCritList && displayObject) {
		isObjectTabSelected = true;
	} else {
		isCritListTabSelected = true;
	}
}

int nbTabs = ebtnTabs.numberOfDisplayedTabs();

boolean isFirstDisplayed = false;
int displayedTabs = 0;
boolean sharpCorner = "sharp".equalsIgnoreCase(flRequestTabs.getRequestParameterOrAttribute("corner"));

String objListToken = ebtnTabs.getBigTabsParameterValue(BigTabsParams.ObjectListToken);
HashMap<String, Vector<String>> hm = objListToken == null ? null : (HashMap<String, Vector<String>>)session.getAttribute(ListAction.OBJECT_LIST_ATTR);
Vector<String> iterIds = hm == null ? null : hm.get(objListToken);

ebtnTabs.setBigTabsParameterValue(BigTabsParams.SelectedTab, "0");
String tab1URL = StringUtils.isNotEmpty(cuTabs) ? cuTabs : "/list_criteria.fl";
tab1URL = flRequestTabs.computeURL(tab1URL, false, false, true);
int tmpIndex  = tab1URL.indexOf("?");
if (tmpIndex < 0) {
	tab1URL += "?";
}else if (tmpIndex<tab1URL.length()){
	tab1URL += "&";
}
tab1URL += ebtnTabs.getBigTabsParameterString();

ebtnTabs.setBigTabsParameterValue(BigTabsParams.SelectedTab, "1");
String tab2URL = ouTabs;
tab2URL = flRequestTabs.computeURL(tab2URL, false, false, true);
tmpIndex  = tab2URL.indexOf("?");
if (tmpIndex < 0) {
	tab2URL += "?";
}else if (tmpIndex<tab2URL.length()){
	tab2URL += "&";
}
tab2URL += ebtnTabs.getBigTabsParameterString();

ebtnTabs.revertBigTabsParamsValue(EdealBigTabsNavigation.BigTabsParams.SelectedTab);

String prevUrl = null;
String prevID = null;
String nextUrl = null;
String nextID = null;
if (iterIds != null && iterIds.size() > 0 && StringUtils.isNotEmpty(idTabs) && ebtnTabs.isObjectTabSelected()) {
	int idIdx = iterIds.indexOf(idTabs);
	String strippedUrl = ouTabs.indexOf('?') >= 0 ? ouTabs.substring(0, ouTabs.indexOf('?')) : ouTabs;

	if (idIdx > 0) {
		prevID = iterIds.get(idIdx - 1);
		prevUrl = strippedUrl + "?id=" + prevID;
		prevUrl = flRequestTabs.computeURL(prevUrl, false, false, true);
		prevUrl += "&" + ebtnTabs.getBigTabsParameterString();
	}
	
	if (idIdx < (iterIds.size() - 1) && idIdx != -1) {
		nextID = iterIds.get(idIdx + 1);
		nextUrl = strippedUrl + "?id=" + nextID;
		nextUrl = flRequestTabs.computeURL(nextUrl, false, false, true);
		nextUrl += "&" + ebtnTabs.getBigTabsParameterString();
	}
}

      out.write("</script>\n");
      out.write("\t<script language=\"javascript\">\n");
      out.write("\t");
if (!isCritListTabSelected) { 
      out.write("\n");
      out.write("\tfunction ");
      out.print( lcTabs );
      out.write("_gotoTab1() {\n");
      out.write("\t\tvar urlT1 = \"");
      out.print( tab1URL );
      out.write("&doList=1\";\n");
      out.write("\t\t\n");
      out.write("\t\ttry {\n");
      out.write("\t\t\turlT1 += \"&");
      out.print( lcTabs );
      out.write("_$$idx=\" + ");
      out.print( lcTabs );
      out.write("_page;\n");
      out.write("\t\t} catch (error) {\n");
      out.write("\t\t\turlT1 += \"");
      out.print( idx == null ? "" : ("&" + idx) );
      out.write("\";\n");
      out.write("\t\t}\n");
      out.write("\t\ttry {\n");
      out.write("\t\t\tif (myGrid_");
      out.print( lcTabs );
      out.write(") {\n");
      out.write("\t\t\t\tif (myGrid_");
      out.print( lcTabs );
      out.write(".getSortProperty(\"index\") != -1 && myGrid_");
      out.print( lcTabs );
      out.write(".getSortProperty(\"direction\") != \"none\") {\n");
      out.write("\t\t\t\t\turlT1 += \"&");
      out.print( lcTabs );
      out.write("_\";\n");
      out.write("\t\t\t\t\turlT1 += ( myGrid_");
      out.print( lcTabs );
      out.write(".getSortProperty(\"direction\") == \"descending\" ? \"$$ReverseOrderBy=\" : \"$$OrderBy=\" );\n");
      out.write("\t\t\t\t\turlT1 += myGrid_");
      out.print( lcTabs );
      out.write(".getSortProperty(\"index\");\n");
      out.write("\t\t\t\t}\n");
      out.write("\t\t\t}\n");
      out.write("\t\t} catch (error) {\n");
      out.write("\t");
	if (orderby != null) {	
      out.write("\n");
      out.write("\t\t\turlT1 += \"&");
      out.print( orderby );
      out.write("\";\n");
      out.write("\t");
	} else if (reverseorderby != null) {	
      out.write("\n");
      out.write("\t\t\turlT1 += \"&");
      out.print( reverseorderby );
      out.write("\";\n");
      out.write("\t");
	}	
      out.write("\n");
      out.write("\t\t}\n");
      out.write("\t\t\n");
      out.write("\t\t$(\".ongletgris a\").attr(\"href\",urlT1);\n");
      out.write("\t}\n");
      out.write("\t\n");
      out.write("\tif (typeof $ != 'undefined') {\n");
      out.write("\t\t$(document).ready(function(){\n");
      out.write("\t\t\t");
      out.print( lcTabs );
      out.write("_gotoTab1();\n");
      out.write("\t\t});\n");
      out.write("\t}\n");
      out.write("\t\n");
      out.write("\t");
}
	if (!isObjectTabSelected) {
      out.write("\n");
      out.write("\t\n");
      out.write("\tfunction ");
      out.print( lcTabs );
      out.write("_gotoTab2() {\n");
      out.write("\t\tvar urlT3 = \"");
      out.print( tab2URL );
      out.write("\";\n");
      out.write("\t\t\n");
      out.write("\t\ttry {\n");
      out.write("\t\t\turlT3 += \"&");
      out.print( lcTabs );
      out.write("_$$idx=\" + ");
      out.print( lcTabs );
      out.write("_page;\n");
      out.write("\t\t} catch (error) {\n");
      out.write("\t\t\turlT3 += \"");
      out.print( idx == null ? "" : ("&" + idx) );
      out.write("\";\n");
      out.write("\t\t}\n");
      out.write("\t\ttry {\n");
      out.write("\t\t\tif (myGrid_");
      out.print( lcTabs );
      out.write(") {\n");
      out.write("\t\t\t\tif (myGrid_");
      out.print( lcTabs );
      out.write(".getSortProperty(\"index\") != -1 && myGrid_");
      out.print( lcTabs );
      out.write(".getSortProperty(\"direction\") != \"none\") {\n");
      out.write("\t\t\t\t\turlT3 += \"&");
      out.print( lcTabs );
      out.write("_\";\n");
      out.write("\t\t\t\t\turlT3 += ( myGrid_");
      out.print( lcTabs );
      out.write(".getSortProperty(\"direction\") == \"descending\" ? \"$$ReverseOrderBy=\" : \"$$OrderBy=\" );\n");
      out.write("\t\t\t\t\turlT3 += myGrid_");
      out.print( lcTabs );
      out.write(".getSortProperty(\"index\");\n");
      out.write("\t\t\t\t}\n");
      out.write("\t\t\t}\n");
      out.write("\t\t} catch (error) {\n");
      out.write("\t");
	if (orderby != null) {	
      out.write("\n");
      out.write("\t\t\turlT3 += \"&");
      out.print( orderby );
      out.write("\";\n");
      out.write("\t");
	} else if (reverseorderby != null) {	
      out.write("\n");
      out.write("\t\t\turlT3 += \"&");
      out.print( reverseorderby );
      out.write("\";\n");
      out.write("\t");
	}	
      out.write("\n");
      out.write("\t\t}\n");
      out.write("\t\t\n");
      out.write("\t\t$(\".ongletgris a\").attr(\"href\",urlT3);\n");
      out.write("\t}\n");
      out.write("\t\n");
      out.write("\tif (typeof $ != 'undefined') {\n");
      out.write("\t\t$(document).ready(function(){\n");
      out.write("\t\t\t");
      out.print( lcTabs );
      out.write("_gotoTab2();\n");
      out.write("\t\t});\n");
      out.write("\t}\n");
      out.write("\t\n");
      out.write("\t");
}
      out.write("\n");
      out.write("\t\n");
      out.write("\tfunction previousInObjectList() {\n");
      out.write("\t\tsaveObjectBeforeLeaving('");
      out.print( prevUrl );
      out.write("', '");
      out.print( prevID );
      out.write("');\n");
      out.write("\t}\n");
      out.write("\t\n");
      out.write("\tfunction nextInObjectList() {\n");
      out.write("\t\tsaveObjectBeforeLeaving('");
      out.print( nextUrl );
      out.write("', '");
      out.print( nextID );
      out.write("');\n");
      out.write("\t}\n");
      out.write("\t\n");
      out.write("\tfunction saveObjectBeforeLeaving(urlToCall, nextID) {\n");
      out.write("\t\t// If we're editing, then check to see if the user has changed the page (only in edit/creation)\n");
      out.write("\t\tvar windowHref = window.location.href;\n");
      out.write("\t\tif (windowHref.indexOf('?') >= 0) {\n");
      out.write("\t\t\twindowHref = windowHref.substring(0, windowHref.indexOf('?')); \n");
      out.write("\t\t}\n");
      out.write("\t\t\n");
      out.write("\t\tif ((windowHref.indexOf('edit') >= 0 || windowHref.indexOf('create') >= 0) && testForExitChanges) {\n");
      out.write("\t\t\tdoExitConf = false;\n");
      out.write("\t\t\ttestForExitChanges();\n");
      out.write("\t\t\t\n");
      out.write("\t\t\tif (doExitConf) {\n");
      out.write("\t\t\t\tvar conf = confirm('");
      if (_jspx_meth_fl_005fgetMessage_005f0(_jspx_page_context))
        return;
      out.write("');\n");
      out.write("\t\t\t\tdoExitConf = false;\n");
      out.write("\t\t\t\tif (conf) {\n");
      out.write("\t\t\t\t\ttry {\n");
      out.write("\t\t\t\t\t\tvar formID = $(':input[name=\"type\"]').val() + '_form';\n");
      out.write("\t\t\t\t\t\t$('#' + formID).attr('action','");
      if (_jspx_meth_fl_005fwebapp_005f0(_jspx_page_context))
        return;
      out.write("/save_object_iteration_ajax.fl?nextID=' + nextID);\n");
      out.write("\t\t\t\t\t\tsubmit();\n");
      out.write("\t\t\t\t\t} catch (exception) {\n");
      out.write("\t\t\t\t\t\talert('Could not find form input \\'type\\': ' + exception);\n");
      out.write("\t\t\t\t\t}\n");
      out.write("\t\t\t\t\treturn;\n");
      out.write("\t\t\t\t}\n");
      out.write("\t\t\t}\n");
      out.write("\t\t}\n");
      out.write("\n");
      out.write("\t\twindow.location = urlToCall;\n");
      out.write("\t}\n");
      out.write("</script>\n");
      out.write("<table id=\"BTabs\" class=\"container\" cellpadding=\"0\">\n");
      out.write("\t<tr>");
 
		if (displayCritList) { 
			isFirstDisplayed = true;
			displayedTabs++;
			String bgClass = isCritListTabSelected ? "actif-pos-1" : "inactif-pos-1";
		
      out.write("\n");
      out.write("\t\t<td class=\"");
      out.print( bgClass );
      out.write("\" style=\"text-align: right\">&nbsp;</td>\n");
      out.write("\t\t<td class=\"");
      out.print( isCritListTabSelected ? "ongletblanc" : "ongletgris" );
      out.write('"');
      out.write('>');
 
			if (!isCritListTabSelected) { 
			
      out.write('<');
      out.write('a');
      out.write('>');
      out.print( critTitleTabs );
      out.write("</a>");
 
			}  else { 
			
      out.print( critTitleTabs );
 
			} 
		
      out.write("</td>");
 
			if (displayedTabs == nbTabs) { 
		
      out.write("\n");
      out.write("\t\t<td class=\"");
      out.print( isCritListTabSelected ? "actif-fin" : "inactif-fin");
      out.write("\">&nbsp;</td>");

			 } else { 
		
      out.write("\n");
      out.write("\t\t<td class=\"");
      out.print( bgClass = isCritListTabSelected ? "interActifInactif" :  "interInactifActif" );
      out.write("\" style=\"text-align: right\">&nbsp;</td>\n");
      out.write("\t\t\t");
}
		}

		if (displayObject) { 
			displayedTabs++;
			if (!isFirstDisplayed) { 
				isFirstDisplayed = true;
		
      out.write("\n");
      out.write("\t\t<td style=\"text-align: right; width: 15px\">");

				if (isObjectTabSelected) {
			
      out.write("<img src=\"");
      if (_jspx_meth_fl_005fwebapp_005f1(_jspx_page_context))
        return;
      out.write("/icons/nav/principal_onglet/ong_blanc_pos_1.gif\" style=\"width: 15px; height: 43px\">");

				} else {
			
      out.write("<img src=\"");
      if (_jspx_meth_fl_005fwebapp_005f2(_jspx_page_context))
        return;
      out.write("/icons/nav/principal_onglet/ong_grise_pos_1.gif\" style=\"width: 15px; height: 43px\">");

				}
		
      out.write("</td>");

			}
		
      out.write("\n");
      out.write("\t\t<td class=\"");
      out.print( isObjectTabSelected ? "ongletblanc" : "ongletgris" );
      out.write("\">\n");
      out.write("\t\t\t");
 if (nbTabs > 1) { 
      out.write("\n");
      out.write("\t\t\t\t");
 if (StringUtils.isNotEmpty(prevUrl)) { 
      out.write("\n");
      out.write("\t\t\t\t\t<a href=\"javascript:previousInObjectList()\" title=\"");
      if (_jspx_meth_fl_005fgetMessage_005f1(_jspx_page_context))
        return;
      out.write("\" style=\"display: inline;\"><img src=\"");
      if (_jspx_meth_fl_005fwebapp_005f3(_jspx_page_context))
        return;
      out.write("/icons/ico/flecheG.gif\" style=\"\"></a>\n");
      out.write("\t\t\t\t");
 } 
      out.write("\n");
      out.write("\t\t\t");
 }		

			if (!isObjectTabSelected) {
			
      out.write('<');
      out.write('a');
      out.write('>');
      out.print( objTitleTabs );
      out.write("</a>");

			} else {
			
      out.print( objTitleTabs );

			}

			if (nbTabs > 1) { 
      out.write("\n");
      out.write("\t\t\t");
 if (StringUtils.isNotEmpty(nextUrl)) { 
      out.write("\n");
      out.write("\t\t\t\t<a href=\"javascript:nextInObjectList()\" title=\"");
      if (_jspx_meth_fl_005fgetMessage_005f2(_jspx_page_context))
        return;
      out.write("\" style=\"display: inline;\"><img src=\"");
      if (_jspx_meth_fl_005fwebapp_005f4(_jspx_page_context))
        return;
      out.write("/icons/ico/flecheD.gif\"></a>\n");
      out.write("\t\t\t");
 }
			} 
      out.write("\t\t\n");
      out.write("\t\t</td>\n");
      out.write("\t\t<td class=\"");
      out.print( isObjectTabSelected ? "actif-fin" : "inactif-fin" );
      out.write("\">\n");
      out.write("\t\t");

		}
		
      out.write("\n");
      out.write("\t\t<td class=\"tabRightSpace\" style=\"width: 90%; text-align: right; background: transparent url(");
      if (_jspx_meth_fl_005fwebapp_005f5(_jspx_page_context))
        return;
      out.write("/icons/nav/principal_onglet/fd_cell.gif)\">\n");
      out.write("\t\t\t\n");
      out.write("\t\t</td>\n");
      out.write("\t\t<td class=\"");
      out.print( sharpCorner ? "finTabShort" : "finTab" );
      out.write("\" >&nbsp;</td>\n");
      out.write("\t</tr>\n");
      out.write("</table>\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else log(t.getMessage(), t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_fl_005fgetMessage_005f0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  fl:getMessage
    com.edeal.frontline.GetMessageTag _jspx_th_fl_005fgetMessage_005f0 = (com.edeal.frontline.GetMessageTag) _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.get(com.edeal.frontline.GetMessageTag.class);
    _jspx_th_fl_005fgetMessage_005f0.setPageContext(_jspx_page_context);
    _jspx_th_fl_005fgetMessage_005f0.setParent(null);
    // /common/tabs.jsp(263,24) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fl_005fgetMessage_005f0.setCode("M6153");
    // /common/tabs.jsp(263,24) name = alt type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fl_005fgetMessage_005f0.setAlt("Voulez vous sauver vos changements?");
    // /common/tabs.jsp(263,24) name = js type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fl_005fgetMessage_005f0.setJs("true");
    int _jspx_eval_fl_005fgetMessage_005f0 = _jspx_th_fl_005fgetMessage_005f0.doStartTag();
    if (_jspx_th_fl_005fgetMessage_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fjs_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f0);
    return false;
  }

  private boolean _jspx_meth_fl_005fwebapp_005f0(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  fl:webapp
    com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f0 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class);
    _jspx_th_fl_005fwebapp_005f0.setPageContext(_jspx_page_context);
    _jspx_th_fl_005fwebapp_005f0.setParent(null);
    int _jspx_eval_fl_005fwebapp_005f0 = _jspx_th_fl_005fwebapp_005f0.doStartTag();
    if (_jspx_th_fl_005fwebapp_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f0);
    return false;
  }

  private boolean _jspx_meth_fl_005fwebapp_005f1(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  fl:webapp
    com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f1 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class);
    _jspx_th_fl_005fwebapp_005f1.setPageContext(_jspx_page_context);
    _jspx_th_fl_005fwebapp_005f1.setParent(null);
    int _jspx_eval_fl_005fwebapp_005f1 = _jspx_th_fl_005fwebapp_005f1.doStartTag();
    if (_jspx_th_fl_005fwebapp_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f1);
    return false;
  }

  private boolean _jspx_meth_fl_005fwebapp_005f2(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  fl:webapp
    com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f2 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class);
    _jspx_th_fl_005fwebapp_005f2.setPageContext(_jspx_page_context);
    _jspx_th_fl_005fwebapp_005f2.setParent(null);
    int _jspx_eval_fl_005fwebapp_005f2 = _jspx_th_fl_005fwebapp_005f2.doStartTag();
    if (_jspx_th_fl_005fwebapp_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f2);
    return false;
  }

  private boolean _jspx_meth_fl_005fgetMessage_005f1(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  fl:getMessage
    com.edeal.frontline.GetMessageTag _jspx_th_fl_005fgetMessage_005f1 = (com.edeal.frontline.GetMessageTag) _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.get(com.edeal.frontline.GetMessageTag.class);
    _jspx_th_fl_005fgetMessage_005f1.setPageContext(_jspx_page_context);
    _jspx_th_fl_005fgetMessage_005f1.setParent(null);
    // /common/tabs.jsp(322,56) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fl_005fgetMessage_005f1.setCode("L65FE");
    // /common/tabs.jsp(322,56) name = alt type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fl_005fgetMessage_005f1.setAlt("Fiche précédent");
    int _jspx_eval_fl_005fgetMessage_005f1 = _jspx_th_fl_005fgetMessage_005f1.doStartTag();
    if (_jspx_th_fl_005fgetMessage_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f1);
    return false;
  }

  private boolean _jspx_meth_fl_005fwebapp_005f3(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  fl:webapp
    com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f3 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class);
    _jspx_th_fl_005fwebapp_005f3.setPageContext(_jspx_page_context);
    _jspx_th_fl_005fwebapp_005f3.setParent(null);
    int _jspx_eval_fl_005fwebapp_005f3 = _jspx_th_fl_005fwebapp_005f3.doStartTag();
    if (_jspx_th_fl_005fwebapp_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f3);
      return true;
    }
    _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f3);
    return false;
  }

  private boolean _jspx_meth_fl_005fgetMessage_005f2(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  fl:getMessage
    com.edeal.frontline.GetMessageTag _jspx_th_fl_005fgetMessage_005f2 = (com.edeal.frontline.GetMessageTag) _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.get(com.edeal.frontline.GetMessageTag.class);
    _jspx_th_fl_005fgetMessage_005f2.setPageContext(_jspx_page_context);
    _jspx_th_fl_005fgetMessage_005f2.setParent(null);
    // /common/tabs.jsp(334,51) name = code type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fl_005fgetMessage_005f2.setCode("L65FD");
    // /common/tabs.jsp(334,51) name = alt type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fl_005fgetMessage_005f2.setAlt("Fiche prochain");
    int _jspx_eval_fl_005fgetMessage_005f2 = _jspx_th_fl_005fgetMessage_005f2.doStartTag();
    if (_jspx_th_fl_005fgetMessage_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005ffl_005fgetMessage_0026_005fcode_005falt_005fnobody.reuse(_jspx_th_fl_005fgetMessage_005f2);
    return false;
  }

  private boolean _jspx_meth_fl_005fwebapp_005f4(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  fl:webapp
    com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f4 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class);
    _jspx_th_fl_005fwebapp_005f4.setPageContext(_jspx_page_context);
    _jspx_th_fl_005fwebapp_005f4.setParent(null);
    int _jspx_eval_fl_005fwebapp_005f4 = _jspx_th_fl_005fwebapp_005f4.doStartTag();
    if (_jspx_th_fl_005fwebapp_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f4);
      return true;
    }
    _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f4);
    return false;
  }

  private boolean _jspx_meth_fl_005fwebapp_005f5(PageContext _jspx_page_context)
          throws Throwable {
    PageContext pageContext = _jspx_page_context;
    JspWriter out = _jspx_page_context.getOut();
    //  fl:webapp
    com.edeal.frontline.WebappTag _jspx_th_fl_005fwebapp_005f5 = (com.edeal.frontline.WebappTag) _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.get(com.edeal.frontline.WebappTag.class);
    _jspx_th_fl_005fwebapp_005f5.setPageContext(_jspx_page_context);
    _jspx_th_fl_005fwebapp_005f5.setParent(null);
    int _jspx_eval_fl_005fwebapp_005f5 = _jspx_th_fl_005fwebapp_005f5.doStartTag();
    if (_jspx_th_fl_005fwebapp_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f5);
      return true;
    }
    _005fjspx_005ftagPool_005ffl_005fwebapp_005fnobody.reuse(_jspx_th_fl_005fwebapp_005f5);
    return false;
  }
}
