<%@ page session="true" import="java.io.File,java.io.FilenameFilter" contentType="text/html; charset=UTF-8"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.ObjectsBean" %> <%@ page import="java.util.Vector" %> <%@ page import="java.util.Hashtable" %> <%@ page import="java.net.URLEncoder" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <% FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); String webapp = context.getContextName(); Vector faqs = (Vector) flRequest.getAttribute("faqs"); if(faqs != null){ for(Hashtable faq : faqs){ String faqScore = (String)faq.get("FaqScore"); if(!Utils.isEmpty((String)faq.get("FaqScore"))){ faqScore += " avis"; } String faqTags = ""; if(!Utils.isEmpty((String)faq.get("FaqTags"))){ faqTags += "Mot(s) clé(s): " + faq.get("FaqTags"); } String faqData = ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ "
"+ "" + faq.get("FaqTitle") + " " +faq.get("FaqHasAttachment")+ faq.get("FaqStatus")+ " "+ "
"+faq.get("FaqPreview")+ "
"+ "
"+ ""+ faqScore+ ""+ " " + faq.get("FaqHasComment") + ""+ "
"+ "
" + faqTags + "
"+ "
"; out.append(faqData); } } out.println(); %>