InternalPageBanner

Ιπποδρομίες

RacesContentDisplay

    Εκδότης Αντικειμένων

    null ΙΠΠΟΔΡΟΜΙΑ 08-09-2019
    Ένα σφάλμα εμφανίστηκε κατά την επεξεργασία του προτύπου.
    The following has evaluated to null or missing:
    ==> tableOfWeights  [in template "20099#20135#33619" at line 96, column 18]
    
    ----
    Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
    ----
    
    ----
    FTL stack trace ("~" means nesting-related):
    	- Failed at: #if tableOfWeights.getData() != ""  [in template "20099#20135#33619" at line 96, column 13]
    ----
    1<style> 
    2    .races-content-display, 
    3    .portlet-asset-publisher .portlet-body .h2{ 
    4        display: none; 
    5
    6     
    7    .announcement-container { 
    8		padding-top: 30px; 
    9	    padding-bottom: 30px; 
    10	    width: 100%; 
    11
    12	 
    13	.announcement-date { 
    14		background-color: #21263c; 
    15		color: #fff; 
    16		padding: 2px 25px 2px 5px; 
    17		width: max-content;  
    18		position:relative; 
    19		margin-bottom: 20px; 
    20
    21	 
    22	.announcement-date-corner { 
    23		border-right: 15px solid transparent; 
    24	    border-top: 28px solid #21263c; 
    25	    display: block; 
    26	    position: absolute; 
    27	    top: 0; 
    28	    right: -15px; 
    29
    30	 
    31	.announcement-container ul { 
    32		padding: 20px 0 10px; 
    33		list-style: none; 
    34
    35	 
    36	.announcement-container ul li { 
    37		margin-bottom: 10px; 
    38		color: #21263c; 
    39		font-weight: 600; 
    40		font-size: 18px; 
    41
    42	 
    43	.announcement-container ul li a { 
    44		color: #21263c; 
    45		font-weight: 600; 
    46		font-size: 18px; 
    47
    48	 
    49	.content-title { 
    50        color: #21263c; 
    51        font-size: 30px; 
    52        font-weight: 600;  
    53
    54     
    55    .content-separator { 
    56        border-top: 3px solid #21263c; 
    57        width: 60%; 
    58        margin: 25px 0;  
    59
    60</style> 
    61 
    62<#assign originalLocale = .locale> 
    63<#setting locale = localeUtil.getDefault()> 
    64<#assign raceDate_Data = getterUtil.getString(raceDate.getData())>  
    65<#if validator.isNotNull(raceDate_Data)> 
    66    <#assign raceDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", raceDate_Data, locale)>  
    67</#if>  
    68 
    69 
    70<div class="row"> 
    71    <div class="col-md-12 announcement-container"> 
    72        <div class="announcement-date"> 
    73            | ${dateUtil.getDate(raceDate_DateObj, "dd MMMM yyyy", locale)} <div class="announcement-date-corner"></div> 
    74        </div>    
    75         
    76        <div class="content-title"> 
    77            ${.vars['reserved-article-title'].data} 
    78        </div> 
    79         
    80        <hr class="content-separator"/> 
    81         
    82        <ul> 
    83            <#if handicapping.getData() != ""> 
    84                <li> 
    85                    <#if getterUtil.getBoolean(handicapping.handicappingFlipbook.getData())>   
    86                        <#assign tmparray = handicapping.getData()?split("/")> 
    87                        <#assign lastEl = tmparray?last> 
    88                         <a href="/view-file?uuid=${lastEl?split("?")?first}" target="_blank"> ΙΣΟΖΥΓΙΣΜΟΣ</a> 
    89                    <#else> 
    90                        <a href="${handicapping.getData()}" target="_blank"> ΙΣΟΖΥΓΙΣΜΟΣ</a> 
    91                    </#if> 
    92                     
    93                </li> 
    94            </#if> 
    95             
    96            <#if tableOfWeights.getData() != ""> 
    97                <li> 
    98                    <#if getterUtil.getBoolean(tableOfWeights.tableOfWeightsFlipbook.getData())>   
    99                        <#assign tmparray = tableOfWeights.getData()?split("/")> 
    100                        <#assign lastEl = tmparray?last> 
    101                         <a href="/view-file?uuid=${lastEl?split("?")?first}" target="_blank"> ΠΙΝΑΚΑΣ ΒΑΡΩΝ </a> 
    102                    <#else> 
    103                        <a href="${tableOfWeights.getData()}" target="_blank"> ΠΙΝΑΚΑΣ ΒΑΡΩΝ </a> 
    104                    </#if> 
    105                </li> 
    106            </#if> 
    107             
    108            <#if schedule.getData() != ""> 
    109                <li> 
    110                    <#if getterUtil.getBoolean(schedule.scheduleFlipbook.getData())> 
    111                        <#assign tmparray = schedule.getData()?split("/")> 
    112                        <#assign lastEl = tmparray?last> 
    113                         <a href="/view-file?uuid=${lastEl?split("?")?first}" target="_blank"> ΠΡΟΓΡΑΜΜΑ</a> 
    114                    <#else> 
    115                        <a href="${schedule.getData()}" target="_blank"> ΠΡΟΓΡΑΜΜΑ </a> 
    116                    </#if> 
    117                </li> 
    118            </#if> 
    119             
    120            <#if results.getData() != ""> 
    121                <li> 
    122                    <#if getterUtil.getBoolean(results.resultsFlipbook.getData())>  
    123                        <#assign tmparray = results.getData()?split("/")> 
    124                        <#assign lastEl = tmparray?last> 
    125                         <a href="/view-file?uuid=${lastEl?split("?")?first}" target="_blank"> ΑΠΟΤΕΛΕΣΜΑΤΑ</a> 
    126                    <#else> 
    127                        <a href="${results.getData()}" target="_blank"> ΑΠΟΤΕΛΕΣΜΑΤΑ </a> 
    128                    </#if> 
    129                </li> 
    130            </#if> 
    131        </ul> 
    132    </div> 
    133</div>