<% final Encoder encoder = ESAPI.encoder(); final MarketingEvent event = (MarketingEvent)request.getAttribute("event"); final List errors = (List)request.getAttribute("errors"); %> <%! final DateFormat dateTimeFormat = SimpleDateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT); %> <%@ page import="java.text.DateFormat" %> <%@ page import="java.text.SimpleDateFormat" %> <%@ page import="java.util.List" %> <%@ page import="org.owasp.esapi.ESAPI"%> <%@ page import="org.owasp.esapi.Encoder"%> <%@page import="com.insightguru.giraffe.server.utils.TextUtil"%> <%@page import="com.insightguru.giraffe.server.domain.MarketingEvent"%> <%@page import="com.insightguru.giraffe.server.domain.MarketingEventType"%> <%@page import="com.insightguru.giraffe.server.controller.MarketingEventController"%> <%@ include file="../components/contentType.jsp" %> <%@ include file="../components/commonMeta.jsp" %> <%@ include file="../components/commonHead.jsp" %>

Edit/Create an Event

<% if(errors != null) { %>
<% for(String error : errors) { %> <%= error %>
<% } %>
<% } %>
Type
Date (MM/DD/YY) "/>
Company Symbol (optional) "/>
Title
Description (optional)
Link (optional)
<% if(event.getId() != null) { %> <% } %> Cancel