<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <% /****************************************************************************** * 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. ******************************************************************************/ %> <%@page session="true"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="java.util.Date" %> <%@ page import="java.util.Vector" %> <%@ page import="java.util.Hashtable" %> <%@ page import="java.util.LinkedHashMap" %> <%@ page import="java.util.Iterator" %> <%@ page import="java.util.Map" %> <%@ page import="java.util.Calendar" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.FlLocale" %> <%@ page import="com.edeal.frontline.ActorBean" %> <%@ page import="com.edeal.frontline.grid.functions.FaqHeaderSyntaxActions" %> <%@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()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); DataDictionary dico = context.getDataDictionary(); String width = "750"; String height = flRequest.getRequestParameterOrAttribute("height"); String id = FAQ.getFaqID(); String title = ""; try{ title = FAQ.getFaqTitle(); }catch(FieldNotInitializedException e){ title = ""; } String content = ""; try{ content = FAQ.getFaqResponse(); }catch(FieldNotInitializedException e){ content = ""; } String fahID = FAQ.getFaqFahID(); Boolean deleteMode = Boolean.valueOf(flRequest.getRequestParameterOrAttribute("deleteMode")); String score = flRequest.getRequestParameterOrAttribute("score"); int nbComments = Integer.parseInt(flRequest.getRequestParameterOrAttribute("nbComments")); String tags = flRequest.getRequestParameterOrAttribute("tags"); String category = flRequest.getRequestParameterOrAttribute("category"); String subCategory = flRequest.getRequestParameterOrAttribute("subCategory"); String catID = flRequest.getRequestParameterOrAttribute("catID"); String subCatID = flRequest.getRequestParameterOrAttribute("catLev1"); String crtID = flRequest.getRequestParameterOrAttribute("crtID"); Vector attachedFilesID = (Vector)flRequest.getAttribute("attachedFilesID"); Vector attachedFilesName = (Vector)flRequest.getAttribute("attachedFilesName"); Vector internalContacts = (Vector)flRequest.getAttribute("internalContacts"); Vector relatedFaqs = (Vector)flRequest.getAttribute("relatedFaqsList"); String author = (String)flRequest.getRequestParameterOrAttribute("author"); String manager = (String)flRequest.getRequestParameterOrAttribute("manager"); String status = (String)flRequest.getRequestParameterOrAttribute("status"); String hasAttachment = (String)flRequest.getRequestParameterOrAttribute("hasAttachment"); String audiences = (String)flRequest.getRequestParameterOrAttribute("audiences"); %>