w
There was a problem with a Velocity script | |
Page | sports/mwaterpolo/2021-22/boxscores/related-links-template |
Error | Error invoking method 'get(java.lang.Integer)' in java.util.ArrayList at g5xpj7agcui7frapsports/mwaterpolo/2021-22/boxscores/related-links-template[line 54, column 66] |
Page source: |
1: #macro (printLinkAriaLabelRelatedLinks $event $label) 2: #if (!$event) 3: #set ($ariaLabel = $label) 4: #else 5: #set ($ariaLabel = "${event.sport} event: ${formatter.formatDate($event.date, 'MMMM d hh:mm a:')}") 6: #if ($event.neutralSite.length() > 0 || $event.home) 7: #set ($vsOrAt = "vs.") 8: #else 9: #set ($vsOrAt = "at") 10: #end 11: #if ($event.teams.size() > 1) 12: #set ($ariaLabel = "${ariaLabel} ${event.teams.get(0).name} ${vsOrAt} ${event.teams.get(1).name}:") 13: #elseif ($event.teams.size() == 1) 14: #set ($ariaLabel = "${ariaLabel} ${event.teams.get(0).name}:") 15: #end 16: #if ($event.neutralSite.length() > 0) 17: #set ($ariaLabel = "${ariaLabel} @ ${event.neutralSite}:") 18: #end 19: #set ($ariaLabel = "${ariaLabel} ${label}") 20: #end 21: aria-label="$ariaLabel" 22: #end ##printLinkAriaLabelRelatedLinks 23: 24: 25: ## RELATED LINKING 26: #if (!($request.getAttribute("disable_related_links").length() > 0)) 27: #if($request.getAttribute("relatedLinksContentPage")) 28: #set ($contentPage = $request.getAttribute("relatedLinksContentPage")) 29: #else 30: #set ($contentPage = $page) 31: #end 32: #set ($relatedPages = $contentPage.relatedInSchedule) 33: #if ($relatedPages.size() > 0) 34: ##disable related links from showing again 35: $request.setAttribute("disable_related_links", "y") 36: 37: #set ($printedLinks = {}) 38: #set ($eventLinks = []) 39: #set ($relatedEvents = $contentPage.schedule.getEventsWithLink($contentPage.url)) 40: #if (!$relatedEvents.isEmpty()) 41: #set ($relatedEvent = $relatedEvents[0]) 42: #if (!$relatedEvent.links.isEmpty()) 43: #set ($eventLinks = $relatedEvent.links) 44: #end 45: #end 46: 47: <div class="page-related-links d-flex justify-content-start align-items-center gap-2"> 48: #foreach ($related in $relatedPages) 49: #set ($linkText = $related.mapLabel) 50: #set ($linkUrl = $related.url) 51: #set ($linkMapType = $related.mapType) 52: #set ($linkFound = false) 53: #if (!$relatedEvents.isEmpty()) 54: #set ($link = $eventLinks[0]) 55: #foreach ($l in $eventLinks) 56: #if ($related.url == $l.url) 57: #set ($link = $l) 58: #set ($linkFound = true) 59: #end 60: #end 61: #end 62: #if ($linkFound == true) 63: #set ($linkText = $link.name) 64: #set ($linkUrl = $link.url) 65: #set ($linkMapType = $link.mapType) 66: #end 67: #set ($linkTypeCounter = 1) 68: #set ($linkTypeLabel = $linkText) 69: #if ($printedLinks.containsKey("${$linkText}")) 70: #set ($linkTypeCounter = $printedLinks.get("${linkText}") + 1) 71: #set ($linkTypeLabel = "${linkTypeLabel} ${linkTypeCounter}") 72: #end 73: #set ($ignore = $printedLinks.put($linkTypeLabel, $linkTypeCounter)) 74: 75: <a class="btn btn-primary btn-sm #if ($related.id == $contentPage.id) active #end " href="$related.url" #printLinkAriaLabelRelatedLinks($relatedEvent, $linkTypeLabel) #if ($website.isExternalLink($related.url)) target="_blank" #end> 76: #if ($linkMapType == "GA") ##gallery 77: <span class="far fa-images"></span> 78: #elseif ($linkMapType == "TI") ##tickets 79: <span class="fas fa-ticket-alt"></span> 80: #elseif($linkMapType == "RC") ##recap 81: <span class="fa fa-share"></span> 82: #elseif($linkMapType == "PR") ##preview 83: <span class="far fa-eye"></span> 84: #elseif($linkMapType == "LS") ##live stats 85: <span class="fas fa fa-eye"></span> 86: #elseif($linkMapType == "VI") ##video 87: <span class="fa fa-video-camera"></span> 88: #elseif($linkMapType == "AU") ## audio 89: <span class="fas fa-headphones-alt"></span> 90: #elseif($linkMapType == "DI") ##directions 91: <span class="fas fa-directions"></span> 92: #elseif($linkMapType == "BS") ##box scores 93: <span class="far fa-chart-bar"></span> 94: #elseif($linkMapType == "RE") ##results 95: <span class="fa fa-calculator"></span> 96: #elseif($linkMapType == "LI") ##custom link 97: <span class="fa fa-external-link"></span> 98: #end 99: <span class="recap-label">${linkText}</span> 100: </a> 101: #end 102: </div> 103: #end 104: #end ## disable 105: |
Orange Coast vs. Cuesta
@ Chula Vista
11/12/2021 at 11:15 AM
@ Chula Vista
11/12/2021 at 11:15 AM
Orange Coast
7 |
Cuesta
8 |
SCORING | 1 | 2 | 3 | 4 | FINAL |
---|---|---|---|---|---|
Orange Coast (0-1) | 1 | 3 | 0 | 3 | 7 |
Cuesta (28-6) | 2 | 3 | 3 | 0 | 8 |
SCORING SUMMARY | ||||
---|---|---|---|---|
-- 1st -- | Orange Coast | Cuesta | ||
Orange Coast | 00:00 | Dane Howell (Kyle Jolas ) | 1 | 0 |
Cuesta | 00:00 | UP - Johnny Northcutt (Eron Ray ) | 1 | 1 |
Cuesta | 00:00 | Danilo Vujovic (Eron Ray ) | 1 | 2 |
-- 2nd -- | Orange Coast | Cuesta | ||
Orange Coast | 00:00 | Dane Howell (unassisted) | 2 | 2 |
Orange Coast | 00:00 | Caden Carpenter (Dane Howell ) | 3 | 2 |
Orange Coast | 00:00 | Ethan Ross (unassisted) | 4 | 2 |
Cuesta | 00:00 | Dean Moody (Layne Porter ) | 4 | 3 |
Cuesta | 00:00 | UP - Jacob Sill (Danilo Vujovic ) | 4 | 4 |
Cuesta | 00:00 | Nick Taylor (Stash Perry ) | 4 | 5 |
-- 3rd -- | Orange Coast | Cuesta | ||
Cuesta | 00:00 | Dean Moody (Danilo Vujovic ) | 4 | 6 |
Cuesta | 00:00 | Johnny Northcutt (Dean Moody ) | 4 | 7 |
Cuesta | 00:00 | Johnny Northcutt (Danilo Vujovic ) | 4 | 8 |
-- 4th -- | Orange Coast | Cuesta | ||
Orange Coast | 00:00 | Kyle Jolas (Ethan Igloi ) | 5 | 8 |
Orange Coast | 00:00 | Dane Howell (Kyle Jolas ) | 6 | 8 |
Orange Coast | 00:00 | Dane Howell (Benjamin Matz ) | 7 | 8 |
Orange Coast |
# | PLAYER | POS | G | A | SH | STL | TO | ED | BLK |
---|---|---|---|---|---|---|---|---|---|
1D | Benjamin Matz * | 0 | 1 | 0 | 1 | 0 | 0 | 0 | |
2 | Garrett Gendron * | 0 | 0 | 0 | 4 | 0 | 0 | 0 | |
3 | Dane Howell * | 4 | 1 | 0 | 1 | 0 | 0 | 0 | |
5 | Joshua Edwards * | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
6 | Toby Jones | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
7 | Ethan Rose | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
8 | Kendrick Griffith | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
9 | Kyle Jolas * | 1 | 2 | 0 | 1 | 0 | 0 | 0 | |
11 | Caden Carpenter * | 1 | 0 | 0 | 2 | 0 | 0 | 1 | |
12 | Ethan Ross | 1 | 0 | 0 | 0 | 0 | 0 | 0 | |
13 | Bronson Garel | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
19 | Ethan Pranajaya * | 0 | 0 | 0 | 1 | 0 | 0 | 0 | |
20 | Ethan Igloi | 0 | 1 | 0 | 1 | 0 | 0 | 0 | |
TM | Team | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Totals | 7 | 5 | 0 | 11 | 0 | 0 | 1 |
# | GOALIES | GA | Qtrs | SV | SH |
---|---|---|---|---|---|
1D | Benjamin Matz (L, 0-1) | 8 | 4.0 | 8 | 16 |
Cuesta |
# | PLAYER | POS | G | A | SH | STL | TO | ED | BLK |
---|---|---|---|---|---|---|---|---|---|
1 | Colton Boyd * | 0 | 0 | 0 | 5 | 0 | 0 | 0 | |
2 | Danilo Vujovic | 1 | 3 | 4 | 4 | 3 | 0 | 0 | |
3 | Layne Porter * | 0 | 1 | 1 | 0 | 1 | 0 | 0 | |
4 | Grady Taylor | 0 | 0 | 1 | 0 | 0 | 0 | 0 | |
5 | Dean Moody * | 2 | 1 | 3 | 2 | 2 | 1 | 0 | |
6 | Eron Ray | 0 | 2 | 0 | 1 | 1 | 0 | 0 | |
7 | Nick Taylor * | 1 | 0 | 3 | 1 | 5 | 0 | 0 | |
8 | Eric Klang | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
9 | Garrett Paxton | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
10 | Jacob Sill * | 1 | 0 | 1 | 4 | 1 | 2 | 0 | |
11 | Joshua Halopoff * | 0 | 0 | 0 | 1 | 3 | 1 | 0 | |
15 | Daniel Rodriguez | 0 | 0 | 0 | 1 | 2 | 0 | 0 | |
16 | Johnny Northcutt | 3 | 0 | 5 | 1 | 2 | 1 | 0 | |
17 | Ronan Bailey * | 0 | 0 | 1 | 0 | 2 | 1 | 0 | |
18 | Stash Perry | 0 | 1 | 1 | 3 | 3 | 0 | 0 | |
TM | Team | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Totals | 8 | 8 | 20 | 23 | 25 | 6 | 0 |
# | GOALIES | GA | Qtrs | SV | SH |
---|---|---|---|---|---|
1 | Colton Boyd (W, 1-0) | 7 | 4.0 | 10 | 17 |
SHOTS | 1 | 2 | 3 | 4 | TOTAL |
---|---|---|---|---|---|
Orange Coast | 0 | 0 | 0 | 0 | 0 |
Cuesta | 0 | 0 | 0 | 0 | 0 |
SAVES | 1 | 2 | 3 | 4 | TOTAL |
---|---|---|---|---|---|
Orange Coast | 0 | 0 | 0 | 0 | 8 |
Cuesta | 0 | 0 | 0 | 0 | 10 |
EXCLUSION SUMMARY | |||
---|---|---|---|
-- 1st -- | |||
Cuesta | 04:36 | Layne Porter | Ejection |
Cuesta | 03:32 | Dean Moody | Ejection |
Cuesta | 02:27 | Dean Moody | Ejection |
Orange Coast | 01:36 | Bronson Garel | Ejection |
-- 2nd -- | |||
Cuesta | 06:58 | Eric Klang | Penalty |
Cuesta | 06:42 | Layne Porter | Ejection |
Orange Coast | 03:41 | Caden Carpenter | Ejection |
Cuesta | 01:30 | Daniel Rodriguez | Ejection |
Orange Coast | 01:09 | Kyle Jolas | Ejection |
Orange Coast | 00:04 | Kendrick Griffith | Ejection |
-- 3rd -- | |||
Cuesta | 05:18 | Layne Porter | Ejection |
Cuesta | 01:01 | Danilo Vujovic | Ejection |
-- 4th -- | |||
Cuesta | 05:40 | Stash Perry | Ejection |
Orange Coast | 03:43 | Dane Howell | Ejection |
Cuesta | 02:14 | Joshua Halopoff | Ejection |
Cuesta | 01:14 | Nick Taylor | Ejection |
OTHER INFORMATION |
---|
Game Length: 0:45 Attendance: 0 Officials and game personnel: Peter Schuler |
Starter * |
$referer.class