<%@ page session="true" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="org.apache.commons.lang.StringUtils" %> <%@ page import="com.edeal.frontline.*" %> <%@ page import="com.edeal.frontline.navigation.*" %> <%@ page import="org.apache.commons.logging.*" %> <%@ page import="java.util.Iterator" %> <%@ page import="com.edeal.frontline.FieldBean" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="java.util.Hashtable" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.navigation.WebUtils" %> <%@ page import="com.edeal.frontline.helper.custom.FieldHelper" %> <%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); // Recuperation du FlRequest FlRequest flRequest = new FlRequest(request); String root = flRequest.getParameter("root"); String name = flRequest.getParameter("name"); String field = flRequest.getParameter("field"); logger.debug("call the jsp for root:" + root); logger.debug("call the jsp for name sql:" + name); // Recuperation du context FlContext context = flRequest.getContext(); String json = ""; if (StringUtils.isEmpty(name) && !StringUtils.isEmpty(field)) { json = FieldHelper.getJsonTreeviewFirstTime(session, context, root, field); } else { json = FieldHelper.getJsonTreeview(session, context, root, name); } %> <%= json %>