Skip to navigation Skip to content Skip to footer
There was a problem with a Velocity script
Page/default-decorator
ErrorInvocation of method 'include' in class com.prestosports.render.ContentEngineInvoker threw exception javax.servlet.ServletException: javax.servlet.ServletException: java.lang.NullPointerException at n9i1m5gk5ahoobhh/default-decorator[line 53, column 10]
Page source:
1: #if ($website.redesign)
2: ## NEW SITE 
3: 
4: #set ($pageClass = "internal-page")
5: #set ($showBookmark = true)
6: 
7: #if ($request.getAttribute("pageClass"))
8:   #set ($pageClass = $request.getAttribute("pageClass"))
9: #end
10: 
11: #if ($request.getAttribute("showBookmark") == false)
12:   #set ($showBookmark = false)
13: #end
14: 
15: <!DOCTYPE html>
16: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8" prefix="og: http://ogp.me/ns#"> <![endif]-->
17: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9" prefix="og: http://ogp.me/ns#"> <![endif]-->
18: <!--[if (gt IE 9)|!(IE)]><!--><html lang="en" class="${pageClass} no-js" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
19: 
20: <head>
21: <meta charset="UTF-8">
22: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5">
23: <title>$pageTitle</title>
24: 
25: ## OGP META TAGS
26: $!request.setAttribute("pageObj", $page)
27: $website.include("ogp-tags")
28: 
29: <script src="$website.cdn("/info/jquery.js")"></script>
30: <script src="$website.cdn("/info/modernizr.js")"></script>
31: 
32: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
33: <link rel="stylesheet" href="/css/styles.css" type="text/css" />
34: 
35: $website.include("analytics")
36: 
37: $!head
38: $website.include("analytics")
39: </head>
40: 
41: <body>
42: 
43: <div id="page" class="page clearfix">
44: <div class="wrapper clearfix">
45: 
46: ## HEADER
47: $website.include("site-header")
48: 
49: ## SECONDARY NAVIGATION
50: $website.includeAgain("navbar-secondary?tmpl=navbar-template&class=secondary-nav&moreAfter=6")
51: 
52: ## AD
53: $website.include("navbar-header-ads?class=header-ads-banner")
54: 
55: ## BODY CONTAINER
56: <div class="body-container clearfix">
57: 
58: ## BODY CONTENT
59: <main id="mainbody" class="mainbody clearfix" role="main">
60:     
61: ## RELATED LINKING - 20090930
62: #if (!($request.getAttribute("disable_related_links").length() > 0))
63: #set ($relatedPages = $page.relatedInSchedule)
64: #if ($relatedPages.size() > 1)
65: <div class="page-related-links clearfix">
66:  #foreach ($related in $relatedPages)
67:    #if ($velocityCount > 1) | #end
68:    #if ($related.id == $page.id)
69:       <strong>${related.mapLabel}</strong>
70:    #else
71:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
72:     #end
73:  #end
74: </div>
75: #end ## related > 1
76: #end ## disable
77: 
78: $body
79: 
80: ## BOOK MARK
81: #if ($showBookmark)
82:   $website.include("share-buttons")
83: #end
84: $wiki
85: 
86: </main> ## mainbody
87: </div> ## body-container
88: 
89: ## FOOTER    
90: $website.include("site-footer")
91: 
92: </div> ## wrapper
93: </div> ## page
94: 
95: $!wiki.su
96: 
97: ## ADDONS
98: <script src="/js/addons.js"></script>
99: 
100: $website.usage
101: $website.include("dropoff-scripts")
102: 
103: </body>
104: </html>
105: 
106: 
107: 
108: 
109: #else 
110: ## LIVE SITE 
111: 
112: 
113: #set ($pageClass = "internal-page")
114: #set ($showBookmark = true)
115: 
116: #if ($request.getAttribute("pageClass"))
117:   #set ($pageClass = $request.getAttribute("pageClass"))
118: #end
119: 
120: #if ($request.getAttribute("showBookmark") == false)
121:   #set ($showBookmark = false)
122: #end
123: 
124: <!DOCTYPE html>
125: <!--[if IE 7 ]>    <html lang="en" class="${pageClass} no-js ie7"> <![endif]-->
126: <!--[if IE 8 ]>    <html lang="en" class="${pageClass} no-js ie8"> <![endif]-->
127: <!--[if IE 9 ]>    <html lang="en" class="${pageClass} no-js ie9"> <![endif]-->
128: <!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="${pageClass} no-js"> <!--<![endif]-->
129: 
130: ####DISABLE RIGHT CLICK#####
131: #if ($wiki.valid())
132: #else
133: <script language=JavaScript>
134: <!--
135: 
136: //Disable right mouse click Script
137: //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
138: //For full source code, visit http://www.dynamicdrive.com
139: 
140: var message="Sorry, this function has been disabled.\n\n"; // Message for the alert box
141: 
142: ///////////////////////////////////
143: function clickIE4(){
144: if (event.button==2){
145: alert(message);
146: return false;
147: }
148: }
149: 
150: function clickNS4(e){
151: if (document.layers||document.getElementById&&!document.all){
152: if (e.which==2||e.which==3){
153: alert(message);
154: return false;
155: }
156: }
157: }
158: 
159: if (document.layers){
160: document.captureEvents(Event.MOUSEDOWN);
161: document.onmousedown=clickNS4;
162: }
163: else if (document.all&&!document.getElementById){
164: document.onmousedown=clickIE4;
165: }
166: 
167: document.oncontextmenu=new Function("alert(message);return false")
168: 
169: // --> 
170: </script>
171: 
172: #end
173: ####DISABLE RIGHT CLICK ENDS#####
174: 
175: <head>
176: <title>#if ($title.length() > 0)$title - #elseif ($page.title.length() > 0)$page.title - #end $website.profile.siteName</title>
177: 
178: <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
179: <script src="$website.cdn("/info/jquery.js")"></script>
180: <script src="$website.cdn("/info/modernizr.js")"></script>
181: 
182: <link rel="stylesheet" href="$website.cdn("/info/boilerplate.css")" type="text/css" />
183: <link rel="stylesheet" href="/css/styles-old.css" type="text/css" />
184: 
185: $!head
186: </head>
187: 
188: <body>
189: 
190: <div id="page">
191: 
192: ## STICKY GLOBAL NAV
193: <div class="sticky-nav">
194: <a href="/" class="sticky-logo">$website.profile.siteName</a>
195: $website.include("navbar-navigation?tmpl=navigation-template&showTitle=true&columnLimit=7&navContent=nav-content-template")
196: </div>
197: 
198: <div class="top-stripe">Stripe</div>
199: 
200: ## HEADER
201: $website.include("site-header")
202: 
203: <div id="wrapper">
204: 
205: ## SECONDARY NAVIGATION
206: $website.includeAgain("navbar-secondary?tmpl=navbar-secondary-template&linksLimit=9")
207: 
208: ## BODY CONTAINER
209: <div id="body-container" class="clearfix">
210: 
211: ## BODY CONTENT
212: <div id="mainbody" class="mainbody clearfix">
213: 
214: ## RELATED LINKING - 20090930
215: #if (!($request.getAttribute("disable_related_links").length() > 0))
216: #set ($relatedPages = $page.relatedInSchedule)
217: #if ($relatedPages.size() > 1)
218: <div class="page-related-links clearfix">
219:  #foreach ($related in $relatedPages)
220:    #if ($velocityCount > 1) | #end
221:    #if ($related.id == $page.id)
222:       <strong>${related.mapLabel}</strong>
223:    #else
224:       <a href="$related.url" #if ($website.isExternalLink($related.url)) target="_blank" #end>${related.mapLabel}</a>
225:     #end
226:  #end
227: </div>
228: #end ## related > 1
229: #end ## disable
230: 
231: $body
232: 
233: ## BOOK MARK
234: #if ($showBookmark)
235: $website.include("share-buttons")
236: #end
237: 
238: $wiki
239: 
240: </div> ## mainbody
241: </div> ## body-container
242: 
243: #if (!$isMobile)
244: <a href="$website.include("background-left?tmpl=random-headlines-template")" id="left-athlete" class="none"></a>
245: <a href="$website.include("background-right?tmpl=random-headlines-template")" id="right-athlete" class="none"></a>
246: #end
247: 
248: </div> ## wrapper
249: 
250: ## FOOTER    
251: $website.include("site-footer")
252: 
253: ## STICKY BAR
254: $website.include("/sticky-bar")
255: 
256: </div> ## page
257: 
258: $!wiki.su
259: 
260: #if (!$isMobile)
261: <script type="text/javascript" src="/js/athletes-bg.js"></script>
262: <script type="text/javascript" src="/js/sticky-nav.js"></script>
263: #end
264: 
265: $website.usage
266: $website.include("dropoff-scripts")
267: 
268: </body>
269: </html>
270: 
271: #end 
272: ## NEW SITE