<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%> <%@ taglib uri='http://java.sun.com/jsp/jstl/fmt' prefix='fmt'%> <%@ page language="java" contentType="text/html; charset=UTF-8" %> <%@page pageEncoding="UTF-8" %> <% request.setCharacterEncoding("UTF-8"); response.setCharacterEncoding("UTF-8"); %> CMS Berlin - Supporting Programme & Events${pageSubtitle}
Navigation | Page content | Additional information

Page content
<%@ page buffer="2000kb"%> <%@ page import="com.tsystems.eventdb.business.*" %> <%@ page import="com.tsystems.eventdb.util.*" %> <%@ page import="com.tsystems.vip.connect.RepositoryURL" %> <%@ page import="com.tsystems.vip.connect.RequestParameter" %> <%@ page import="javax.servlet.jsp.jstl.core.LoopTagStatus" %> <%@ page import="java.util.*" %> <%@ page import="java.io.PrintWriter" %> <%@ page import="com.tsystems.eventdb.client.view.EventSuche2" %> <%@ page import="com.tsystems.eventdb.client.view.EventCategoryComparator" %> <%@ page import="com.tsystems.eventdb.client.view.SearchFormComparator" %> <%@ page import="de.adesso.messeberlin.util.EscapeUtils" %> <%@ page import="org.apache.commons.lang.StringUtils" %> <%@ page import="org.apache.log4j.Logger" %> <%@ page session="true" %> <%@ page isELIgnored="false" %> <%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%> <%@ taglib uri='http://java.sun.com/jsp/jstl/fmt' prefix='fmt'%> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> <%! static private final Logger logger = Logger.getLogger("index.html"); %> <%/*--------------------*/ /*--- Declarations ---*/ /*--------------------*/%> <%/* CMS-variables */%> <%/* Declarations in JSTL */%> <%/* pageSize = 12 ? */%> <%---- Initialization for local operation (without FirstSpirit) ----%> <%-- c:if test="${currentLanguage ne 'de'}"><%--D0215--%> <%--D0281--%> <%--D0281--%> <% /*--------------------*/ /*--- Declarations ---*/ /*--------------------*/ boolean local = Boolean.parseBoolean((String) pageContext.getAttribute( "local" )); String currentLanguage = ( String ) pageContext.getAttribute( "currentLanguage" ); String professional_search = ( String ) pageContext.getAttribute( "professional_search" ); String spFairId = ( String ) pageContext.getAttribute( "spFairId" ); String spAdditionalFairId = ( String ) pageContext.getAttribute( "spAdditionalFairId" ); String st_error = ( String ) pageContext.getAttribute( "st_error" ); String strUrlPattern = ( String ) pageContext.getAttribute( "strUrlPattern" ); String strUrlEventDetail = ( String ) pageContext.getAttribute( "strUrlEventDetail" ); String strUrlMerkliste = ( String ) pageContext.getAttribute( "strUrlMerkliste" ); String strUrlPersonenDetail = ( String ) pageContext.getAttribute( "strUrlPersonenDetail" ); String strUrl = ( String ) pageContext.getAttribute( "strUrl" ); String displayLocationFilter = ( String ) pageContext.getAttribute( "displayLocationFilter" ); String displayCatchwordFilter = ( String ) pageContext.getAttribute( "displayCatchwordFilter" ); String displayTimeFilter = ( String ) pageContext.getAttribute( "displayTimeFilter" ); String strURLexport = ( String ) pageContext.getAttribute( "strURLexport" ); String headline = ( String ) pageContext.getAttribute( "headline" ); String subHeadline = ( String ) pageContext.getAttribute( "subHeadline" ); String descriptionText = ( String ) pageContext.getAttribute( "descriptionText" ); String catNameToIgnore = ( String ) pageContext.getAttribute( "catNameToIgnore" ); String strZeroSearch = ( String ) pageContext.getAttribute( "strZeroSearch" ); String strTerminmerkliste = ( String ) pageContext.getAttribute( "strTerminmerkliste" ); String strPageSize = ( String ) pageContext.getAttribute( "strPageSize" ); String strdisplayHighlights = ( String ) pageContext.getAttribute( "strdisplayHighlights" ); String strPreview = ( String ) pageContext.getAttribute( "strPreview" ); String strMerkenTitle = ( String ) pageContext.getAttribute( "strMerkenTitle" ); String strNotMerkenTitle = ( String ) pageContext.getAttribute( "strNotMerkenTitle" ); String strCategoryFfilter = ( String ) pageContext.getAttribute( "strCategoryFfilter" ); String st_page_size = ( String ) pageContext.getAttribute( "st_page_size" ); String st_highlights = ( String ) pageContext.getAttribute( "st_highlights" ); int pageSize = Integer.parseInt(( String ) pageContext.getAttribute( "pageSize" )); boolean displayHighlights = Boolean.parseBoolean((String) pageContext.getAttribute( "displayHighlights" )); boolean globalPreview = Boolean.parseBoolean((String) pageContext.getAttribute( "globalPreview" )); long pageId = Long.parseLong(( String ) pageContext.getAttribute( "pageId" )); String globalLanguage = ( String ) pageContext.getAttribute( "globalLanguage" ); %> <%-- EventDB row Start --%>
<% List catList = new ArrayList(); if(strCategoryFfilter.startsWith("$CMS_")){ //add more elements //catList.add("Vorträge"); } else { /*-- Disable this code for localhost --*/ catNameToIgnore = "Press dates"; if (catNameToIgnore != null && !catNameToIgnore.trim().isEmpty()) { catList.add(catNameToIgnore); } catNameToIgnore = "Supporting Programme"; if (catNameToIgnore != null && !catNameToIgnore.trim().isEmpty()) { catList.add(catNameToIgnore); } /**/ } /*---- ----*/ strUrlEventDetail = strUrlEventDetail.replace(strUrlPattern,""); strUrlMerkliste = strUrlMerkliste.replace(strUrlPattern,""); strUrlPersonenDetail = strUrlPersonenDetail.replace(strUrlPattern,""); strUrl = strUrl.replace(strUrlPattern,""); headline = EscapeUtils.escapeHtml(headline); subHeadline = EscapeUtils.escapeHtml(subHeadline); descriptionText = EscapeUtils.escapeHtmlEntities(descriptionText); /*----------------*/ /*-------END------*/ /*----------------*/ try { %> <%-- EventDB Start --%>
<% request.setCharacterEncoding("UTF-8"); final SearchParameter searchParameter = SearchParameter.getInstance( request, pageId); searchParameter.setFindPressDateEventsOnly( false ); searchParameter.setInSearchEval( InSearchEvalEnum.FIND_INSEARCH_TRUE_ONLY ); final String spSearchTerm = searchParameter.getSearchTerm() != null ? EscapeUtils.escapeHtml(searchParameter.getSearchTerm()) : ""; final String spCatchword = searchParameter.getCatchword() != null ? EscapeUtils.escapeHtml(searchParameter.getCatchword()) : ""; if (!spAdditionalFairId.isEmpty()) spFairId += "," + spAdditionalFairId; if( professional_search.equals("[1]") ) { searchParameter.setProfiSearch(true); } for(int i = 0; i < catList.size(); ++i) { searchParameter.addCatNameToIgnore(catList.get(i)); } searchParameter.setSearchTerm(spSearchTerm); searchParameter.setCatchword(spCatchword); searchParameter.setLanguage(currentLanguage); searchParameter.setFairId(spFairId); // category inputs searchParameter.setCatShow( true ); // category search dropdown (simple and prof form) // location inputs searchParameter.setLocShowInSimpleForm( "true" ); searchParameter.setLocShowInProfiForm(displayLocationFilter); // catchword inputs searchParameter.setCatchwordShowInSimpleForm( "true" ); searchParameter.setCatchwordShowInProfiForm(displayCatchwordFilter); // date inputs searchParameter.setDateShowInSimpleForm( "false" ); searchParameter.setDateShowInProfiForm( "true" ); // time inputs searchParameter.setTimeShowInSimpleForm( "false" ); searchParameter.setTimeShowInProfiForm( displayTimeFilter ); // country inputs searchParameter.setCountryShowInSimpleForm( "false" ); searchParameter.setCountryShowInProfiForm( "true" ); searchParameter.setShowPersons( true ); searchParameter.addDocumentCategoryToShow( "Eventbild" ); // enable Eventbild shown on result page boolean firstSearch = searchParameter.isFirstSearch(); if(strZeroSearch.equals("true") ) { firstSearch = false; searchParameter.setFirstSearch(false); } EventSuche2 beanEventSuche2 = new EventSuche2(); RequestParameter rp = new RequestParameter(); rp.setMultipleParameter( false ); rp.setSkipEmptyParameter( true ); rp.setParameterMap( request.getParameterMap() ); RepositoryURL urlDetail = new RepositoryURL( "" ); urlDetail.setMultipleParameter( false ); urlDetail.setSkipEmptyParameter( true ); urlDetail.setBCodedAmpersand(); urlDetail.setParameterMap( request.getParameterMap() ); urlDetail.removeAllParamEndsWith1( "Show" ); urlDetail.removeParameter1( "merkenId" ); //urlDetail.removeParameter1( "lang" ); urlDetail.removeParameter1("profiSearch"); urlDetail.removeParameter1("action"); urlDetail.removeParameter1("kategorie"); urlDetail.removeParameter1("suchestart"); RepositoryURL urlZoom = new RepositoryURL( "" ); urlZoom.setMultipleParameter( false ); urlZoom.setSkipEmptyParameter( true ); urlZoom.setBCodedAmpersand(); urlZoom.removeParameter1( "merkenId" ); urlZoom.removeParameter1( "lang" ); RepositoryURL urlWatchList = new RepositoryURL( "" ); urlWatchList.setMultipleParameter( false ); urlWatchList.setSkipEmptyParameter( true ); urlWatchList.setBCodedAmpersand(); urlWatchList.setParameterMap( request.getParameterMap() ); urlWatchList.removeAllParamEndsWith1( "Show" ); urlWatchList.removeParameter1( "lang" ); urlWatchList.removeParameter1("profiSearch"); urlWatchList.removeParameter1("action"); urlWatchList.removeParameter1("kategorie"); urlWatchList.removeParameter1("suchestart"); RepositoryURL urlPerson = new RepositoryURL( "" ); urlPerson.setMultipleParameter( false ); urlPerson.setSkipEmptyParameter( true ); urlPerson.setBCodedAmpersand(); urlPerson.setParameterMap( request.getParameterMap() ); urlPerson.removeAllParamEndsWith1( "Show" ); urlPerson.removeParameter1( "merkenId" ); urlPerson.removeParameter1( "lang" ); RepositoryURL ru1 = new RepositoryURL(""); ru1.setMultipleParameter(false); ru1.setSkipEmptyParameter(true); ru1.setBCodedAmpersand(); ru1.setStrURL(strURLexport); ru1.setParam1("lang", currentLanguage); urlDetail.setStrURL(strUrlEventDetail); urlWatchList.setStrURL(strUrlMerkliste); urlPerson.setStrURL(strUrlPersonenDetail); pageContext.setAttribute("firstSearch", firstSearch); String strDateFormat = "dd.MM.yyyy"; String dateFormateShort = "M/d/yy"; String dateFormateLong = "MMMM dd, yyyy"; if ( searchParameter.isEnglishLanguage() ) { searchParameter.setLocale( Locale.ENGLISH ); } /*--D0281--*/ if (globalLanguage.equals("de")) { strDateFormat = "dd.MM.yyyy"; dateFormateShort = "dd.MM.yy"; dateFormateLong = "dd. MMMM yyyy"; %><% } else if (globalLanguage.equals("en")) { strDateFormat = "MM/dd/yyyy"; dateFormateShort = "M/d/yy"; dateFormateLong = "MMMM dd, yyyy"; %><% } else if (globalLanguage.equals("es")) { strDateFormat = "MM/dd/yyyy"; dateFormateShort = "M/d/yy"; dateFormateLong = "MMMM dd, yyyy"; %><% } else if (globalLanguage.equals("zh")) { strDateFormat = "MM/dd/yyyy"; dateFormateShort = "M/d/yy"; dateFormateLong = "MMMM dd, yyyy"; %><% } else if (globalLanguage.equals("it")) { strDateFormat = "MM/dd/yyyy"; dateFormateShort = "M/d/yy"; dateFormateLong = "MMMM dd, yyyy"; %><% } java.text.SimpleDateFormat shortFormat = new java.text.SimpleDateFormat( "yyyy-MM-dd" ); boolean briefDescription = !rp.isParam("noBriefDescription"); String strSession = rp.isParam("stati") ? "useSession=false" : "useSession=true"; // hinzuf?gen nach auswahl Link merken if (request.getParameter("merkenId") != null) { long merkenId = Long.parseLong( request.getParameter( "merkenId" ) ); try { EventDate selectED = EventFactory.createEventManager( "" ).getSimpleEventDate( merkenId ); if (request.getParameter("demark") == null) { beanEventSuche.addEventDate(selectED); session.setAttribute("eventSammler", "true"); } else { beanEventSuche.getEventSammler().remove(selectED); if(beanEventSuche.getEventSammler().isEmpty()) {session.setAttribute("eventSammler", "false");} } } catch (ObjectNotFoundException e) { %>

Could not find Event Date with id: %=merkenId%

<% } } ShowResultSettings showResultSettings = ShowResultSettings.getInstance( request, pageId ); showResultSettings.setPageSize(pageSize); /* prepare Search form */ SearchFormValues searchForm = ( SearchFormValues ) request.getSession( true ).getAttribute( "searchFormValues" + pageId ); /*-- WorkARound: Kategorie, Ort wechselt nicht mit der Sprache. --*/ if(searchForm != null) { List categories = searchForm.getCategories(); if(categories != null && categories.size() > 0 && !currentLanguage.equals(categories.get(0).getLanguage()) ) { searchForm.setCategories(null); } List locations1 = searchForm.getLocations(); if(locations1 != null && locations1.size() > 0 && !currentLanguage.equals(categories.get(0).getLanguage()) ) { searchForm.setLocations(null); } } searchForm = beanEventSuche2.getSearchFormValues( searchForm, searchParameter ); request.getSession().setAttribute( "searchFormValues", searchForm ); //execute search SearchResult searchResult = null; searchResult = beanEventSuche2.executeSearch( searchParameter, showResultSettings ); searchResult.setInstance( request, pageId ); int iSearchResult = searchResult.getPages(); java.text.SimpleDateFormat shortFormatDE = new java.text.SimpleDateFormat( "dd.MM.yyyy" ); %> <%-- TB: integrierte Terminmerkliste mit dyn. Benennung --%> <% String tmpsln = ( String ) request.getSession().getAttribute( "strTerminmerkliste" ); if ( tmpsln == null || tmpsln.trim().length() == 0 ) { if ( searchResult != null ) { List eqrl = searchResult.getEvents(); if ( eqrl != null && eqrl.size() > 0 ) { tmpsln = ( ( EventQueryResult ) eqrl.get( 0 ) ).getSelectionListName(); if ( tmpsln != null && tmpsln.trim().length() > 0 ) { strTerminmerkliste = tmpsln; } } } request.getSession().setAttribute( "strTerminmerkliste", strTerminmerkliste ); } %> <%-- Suche Start --%> <%-- --%> <%-- st_show_searchForm --%> <%-- Highlights Start --%>
<%-- ================================================== Highlights ================================================== --%> <%-- Highlights Headline Start --%>

<%-- Highlights Headline End --%>
<% EventQueryResult event = ( EventQueryResult ) pageContext.getAttribute( "event" ); urlDetail.setParam1( "eventDateId", Long.toString( event.getEventQueryResultPK().getDateId() ) ); urlZoom.setParam1( "eventId", Long.toString( event.getEventQueryResultPK().getEventId() ) ); urlZoom.setParam1( "eventDateId", Long.toString( event.getEventQueryResultPK().getDateId() ) ); urlZoom.setParam1( "lang", event.getLang() ); urlZoom.setParam1( "fairID", Long.toString( event.getFairId() ) ); %> <%-- H-Item Start--%>
<%-- H-Title Start --%>
<%-- Title --%>

${event.eventTitle}

<% Iterator iter = beanEventSuche.getEventSammler().iterator(); pageContext.setAttribute("merkenTitle", strMerkenTitle); pageContext.setAttribute("merkenClass", ""); String deMarkPrm = ""; while ( iter.hasNext() ) { EventDate merkEventDate = ( EventDate ) iter.next(); if ( merkEventDate.getId() == event.getEventQueryResultPK().getDateId() ) { pageContext.setAttribute("merkenTitle", strNotMerkenTitle); pageContext.setAttribute("merkenClass", "-active"); deMarkPrm = "&demark=yes"; //this param is only used to change url to force reload of page break; } } ru1.setParam1("eventDateId", "" + event.getEventQueryResultPK().getDateId()); %> ${merkenTitle}
<%-- H-Title End --%>
<%-- Image Start --%> <%Document doc = ( Document ) pageContext.getAttribute( "doc" );%> <%-- Image End --%>
<%-- List Start --%>

<%-- Category --%> : <% final String categoryName = event.getCatName().contains("\u00A7$") ? StringUtils.substringAfter(event.getCatName(), "\u00A7$") : event.getCatName(); out.print( categoryName ); %>
<%-- Date --%> : <% String startDateStr = shortFormat.format( ( ( EventQueryResult ) pageContext.getAttribute( "event" ) ).getStartDate() ); String endDateStr = shortFormat.format( ( ( EventQueryResult ) pageContext.getAttribute( "event" ) ).getEndDate() ); if ( !startDateStr.equalsIgnoreCase( endDateStr ) ) { %> - <% } %>
<%-- time --%> : <%=event.getEventDateDescription()%>
: <%=event.getTimeString()%> 
<%-- Location --%> : <%=event.getLocName()%>

<%-- List End --%> <%-- SubTitle --%>

<%=event.getEventSubtitle()%>

<%-- Text Start --%> <% if ( event.getShowHighLight() == 1 && event.getEventHighLight() != null && event.getEventHighLight().length() > 0 ) { out.println( event.getEventHighLight() ); } SortedMap> hm_me = new TreeMap>(); int keyi_me = 0; %> <% final EventPerson person = ( EventPerson ) pageContext.getAttribute( "person" ); final String key = person.getCategory(); SortedMap vallist = hm_me.get( key ); if (vallist == null) { vallist = new TreeMap(); hm_me.put(key, vallist); } String personKey = person.getLastName() + person.getFirstName() + keyi_me; vallist.put( personKey, person ); ++keyi_me; %> <% Iterator keyit_me = hm_me.keySet().iterator(); String lastCatName_me = ""; while ( keyit_me.hasNext() ) { String cat = ( String ) keyit_me.next(); SortedMap vallist = hm_me.get( cat ); Iterator valIt = vallist.keySet().iterator(); boolean newCat = true; %>

<% if(!lastCatName_me.equals(cat)) { %><%=EscapeUtils.escapeHtml(cat)%>:
<% } while ( valIt.hasNext() ) { if ( newCat ) { newCat = false; } else { %>

<% } String valKey = ( String ) valIt.next(); EventPerson person = vallist.get( valKey ); String title = person.getTitle() != null && !"".equals( person.getTitle() ) ? person.getTitle() : ""; String function = person.getFunction() != null && !"".equals( person.getFunction() ) ? person.getFunction() : ""; String comp1 = person.getCompanyOne() != null && !"".equals( person.getCompanyOne() ) ? person.getCompanyOne() : ""; String comp2 = person.getCompanyTwo() != null && !"".equals( person.getCompanyTwo() ) ? person.getCompanyTwo() : ""; // Personen URL urlPerson.setParam1( "personId", Long.toString( person.getEventPersonPK().getPersonId() ) ); %> <% if ( title.length() > 0 ) { out.print( title ); }%> <% if ( person.getFirstName().length() > 0 && person.getFirstName().compareTo( person.getLastName() ) != 0 ) { out.print( person.getFirstName() ); } %> <%=person.getLastName()%>, <%= EscapeUtils.escapeHtml(function).trim()%><% if ( function.length() > 0 ) { if ( comp1.length() > 0 ) { out.print( ", " ); } else { out.print( "" ); } } out.print( EscapeUtils.escapeHtml(comp1.trim()) ); if ( comp2.length() > 0 ) { out.print( ", " + EscapeUtils.escapeHtml(comp2.trim()) ); }%>
<% %>

<% } lastCatName_me = cat; } %>
<%-- Text End --%>
<%-- Image Start --%>
<%Document doc = ( Document ) pageContext.getAttribute( "doc" );%> <%-- defining formats --%> <%--col-2 (upright) --%> <%-- defining other things --%> <%-- Bildformat --%> <%-- Smartphone --%> <%-- Widescreen --%> <%-- Screen --%> <%-- Tablet --%> <%-- Link (Anfang) --%> title="${titleText}" > <%-- Bild (responsive) --%> title="${altText}" data-imgsrc="${urlpictureColWidthWidescreen}"> <c:choose><c:when test= 0}">${altText}" title="${altText}" > <%-- Link (Ende) --%> <%-- image formats end --%> <%-----------------------%>
<%-- Image End --%>
<%-- List Start --%>

<%-- Category --%> <% final String categoryName = event.getCatName().contains("\u00A7$") ? StringUtils.substringAfter(event.getCatName(), "\u00A7$") : event.getCatName(); out.print( categoryName ); %>
<%-- Date --%> <% String startDateStr = shortFormat.format( ( ( EventQueryResult ) pageContext.getAttribute( "event" ) ).getStartDate() ); String endDateStr = shortFormat.format( ( ( EventQueryResult ) pageContext.getAttribute( "event" ) ).getEndDate() ); if ( !startDateStr.equalsIgnoreCase( endDateStr ) ) { %> - <% } %>
<%-- Time --%> <%=event.getEventDateDescription()%>
<%=event.getTimeString()%> 
<%-- Location --%> <%=event.getLocName()%>

<%-- List End --%> <%-- SubTitle --%>

<%=event.getEventSubtitle()%>

<%-- Text Start --%> <% if ( event.getShowHighLight() == 1 && event.getEventHighLight() != null && event.getEventHighLight().length() > 0 ) { out.println( event.getEventHighLight() ); } SortedMap> hm_me = new TreeMap>(); int keyi_me = 0; %> <% final EventPerson person = ( EventPerson ) pageContext.getAttribute( "person" ); final String key = person.getCategory(); SortedMap vallist = hm_me.get( key ); if (vallist == null) { vallist = new TreeMap(); hm_me.put(key, vallist); } String personKey = person.getLastName() + person.getFirstName() + keyi_me; vallist.put( personKey, person ); ++keyi_me; %> <% Iterator keyit_me = hm_me.keySet().iterator(); String lastCatName_me = ""; while ( keyit_me.hasNext() ) { String cat = ( String ) keyit_me.next(); SortedMap vallist = hm_me.get( cat ); Iterator valIt = vallist.keySet().iterator(); boolean newCat = true; %>

<% if(!lastCatName_me.equals(cat)) { %><%=EscapeUtils.escapeHtml(cat)%>:
<% } while ( valIt.hasNext() ) { if ( newCat ) { newCat = false; } else { %>

<% } String valKey = ( String ) valIt.next(); EventPerson person = vallist.get( valKey ); String title = person.getTitle() != null && !"".equals( person.getTitle() ) ? person.getTitle() : ""; String function = person.getFunction() != null && !"".equals( person.getFunction() ) ? person.getFunction() : ""; String comp1 = person.getCompanyOne() != null && !"".equals( person.getCompanyOne() ) ? person.getCompanyOne() : ""; String comp2 = person.getCompanyTwo() != null && !"".equals( person.getCompanyTwo() ) ? person.getCompanyTwo() : ""; // Personen URL urlPerson.setParam1( "personId", Long.toString( person.getEventPersonPK().getPersonId() ) ); %> <% if ( title.length() > 0 ) { out.print( title ); }%> <% if ( person.getFirstName().length() > 0 && person.getFirstName().compareTo( person.getLastName() ) != 0 ) { out.print( person.getFirstName() ); } %> <%=person.getLastName()%>, <%= EscapeUtils.escapeHtml(function).trim()%><% if ( function.length() > 0 ) { if ( comp1.length() > 0 ) { out.print( ", " ); } else { out.print( "" ); } } out.print( EscapeUtils.escapeHtml(comp1.trim()) ); if ( comp2.length() > 0 ) { out.print( ", " + EscapeUtils.escapeHtml(comp2.trim()) ); }%>
<% %>

<% } lastCatName_me = cat; } %>
<%-- Text End --%>
<%-- H-Item End --%>
<%-- --%> <%-- enf of show highlights --%> <%-- Highlights End --%>
<%-- --%> <%-- search-result 1 Start --%>
<%-- --%> <%-- Headline --%>

(<%=searchResult.getCount() %> )

<%-- page-navigation --%>
<%-- st_show_searchForm --%> <%-- start sortForm --%> <%-- ======================================================================== Sortierung ======================================================================== --%>
" name="formular2">
<%-- st_show_searchForm --%> <%-- end sort form --%> <%-- D0006 --%> <%-- D0105 --%> <%-- search-result 2 Start --%> <%LoopTagStatus status = ( LoopTagStatus ) pageContext.getAttribute( "status" ); EventQueryResult event = ( EventQueryResult ) pageContext.getAttribute( "event" ); urlDetail.setParam1( "eventDateId", Long.toString( event.getEventQueryResultPK().getDateId() ) ); urlDetail.setParam1( "pageTitle", event.getEventTitle() ); //urlDetail.setParam1( "lang", event.getLang() ); //urlDetail.setParam1( "fairID", Long.toString( event.getFairId() ) ); urlDetail.removeParameter1("fairID"); urlDetail.removeParameter1("useSession"); urlDetail.removeParameter1("page"); urlDetail.removeParameter1("veranstaltungsort"); urlDetail.removeParameter1("sortstart"); urlDetail.removeParameter1("sortselection"); urlDetail.removeParameter1("starttime"); urlDetail.removeParameter1("endtime"); urlDetail.removeParameter1("enddate"); urlDetail.removeParameter1("startdate"); urlDetail.removeParameter1("demark"); %> <%-- do not show empty result entries. therefor we will additionally do all checks before the block --%> <%-- Zwischenüberschriften D0006 --%> <% String sDate = shortFormat.format( ( ( EventQueryResult ) pageContext.getAttribute( "event" ) ).getStartDate() ); %>

<%-- D0105 --%> <%-- end D0105 --%> <%-- Item Start --%>
evenodd ${cssEvent}">
evenodd eventdb-search-result-break ${cssEvent}"> <%-- Image --%> <%Document doc = (Document) pageContext.getAttribute("doc");%> <%-- defining formats --%> <%-- defining other things --%> <%-- Bildformat --%> <%-- Smartphone --%> <%-- Widescreen --%> <%-- Screen --%> <%-- Tablet --%> <%-- Link (Anfang) --%> title="${titleText}" > <%-- Bild (responsive) --%>
title="${altText}" data-imgsrc="${urlpictureColWidthWidescreen}"> <c:choose><c:when test= 0}">${altText}" title="${altText}" >
<%-- Link (Ende) --%>
<%-- image formats end --%> <%-----------------------%>
<%-- Kategorie D0006 --%> <% final String categoryName = event.getCatName().contains("\u00A7$") ? StringUtils.substringAfter(event.getCatName(), "\u00A7$") : event.getCatName(); final long categoryID = event.getCatId(); %>
<%=categoryName %>
<%-- Title --%>

<%=event.getEventTitle()%>

<%-- SubTitle --%>

<%=event.getEventSubtitle()%>

<%-- TextHeader --%>


<% String startDateStr1 = shortFormat.format( ( ( EventQueryResult ) pageContext.getAttribute( "event" ) ).getStartDate() ); String endDateStr1 = shortFormat.format( ( ( EventQueryResult ) pageContext.getAttribute( "event" ) ).getEndDate() ); if ( !startDateStr1.equalsIgnoreCase( endDateStr1 ) ) { %> - <% } %> <%=event.getEventDateDescription()%> <%=event.getTimeString()%> 

<%=event.getLocName()%>

<%=event.getEventDescription()%>

<%-- Iconlist --%>
<% Iterator iter = beanEventSuche.getEventSammler().iterator(); pageContext.setAttribute("merkenTitle", strMerkenTitle); pageContext.setAttribute("merkenClass", ""); String deMarkPrm = ""; while ( iter.hasNext() ) { EventDate merkEventDate = ( EventDate ) iter.next(); if ( merkEventDate.getId() == event.getEventQueryResultPK().getDateId() ) { pageContext.setAttribute("merkenTitle", strNotMerkenTitle); pageContext.setAttribute("merkenClass", "-active"); deMarkPrm = "&demark=yes"; //this param is only used to change url to force reload of page ru1.setParam1("eventDateId", "" + merkEventDate.getId()); break; } } ru1.setParam1("eventDateId", "" + event.getEventQueryResultPK().getDateId()); %> ${merkenTitle}
<%-- Iconlist Ende --%> <%-- Item End --%>
<%-- --%> <%-- page-navigation --%>
<%-- search-result2 End --%> <%-- search-result1 End --%>
<%-- --%> <%-- EventDB End --%>
<%-- --%> <%-- Linkliste Start --%> <%-- Linkliste End --%> <% } catch(Exception e) { logger.error(e); out.print( "

" + st_error + "

" ); if(globalPreview){ out.print( "

" + e.getClass().getSimpleName() + ": " + e.getMessage() + "

" ); out.print( "

" + application.getRealPath(request.getServletPath()) + "

" ); e.printStackTrace( new PrintWriter( out ) ); } out.print( "
" ); } %> <%-- allow the crawler to skip this form --%> <%--skip the formular--%>
<%@ page import="java.net.URLEncoder" %><% String track_headline = ( String ) pageContext.getAttribute("et_headline"); String set_headline = URLEncoder.encode(track_headline, "UTF-8").replace("+", "%20"); %>