<%/****************************************************************************** * Copyright (c) 2000-2006 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" %> <%@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(); String id = null; String pricingID = null; String str = null; try { id = PricingLine.getID(); } catch (FieldNotInitializedException fnie) { } try { pricingID = PricingLine.getPrlPricing(); } catch (FieldNotInitializedException fnie) { } boolean isProduct = false; try{ str = PricingLine.getPrlPrdID(); }catch(FieldNotInitializedException fnie) { } if (str!=null) {isProduct=true;} float price = -1; boolean havePrice = false; try{ price = PricingLine.getPrlVariationAbs(); }catch(FieldNotInitializedException fnie) { } if (price!=-1) {havePrice=true;} String saved = flRequest.getRequestParameterOrAttribute("saved"); String idParent=null; try { idParent = PricingLine.getPrlPricing(); } catch (FieldNotInitializedException fnie) { } %> " ou="<%= \"/edit_pricing.fl\" + (id != null ? \"?id=\" + id : \"\") %>">
"/>
<% if (isProduct){ %> "/> <% } else { %> "/> <% } if (havePrice) { %> <% } else { %> <% } %>
" nbPix="30">