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: |
Crafton Hills at Citrus
@ Glendora, CA (Citrus Pool )
9/30/2021 at 5:00 PM
@ Glendora, CA (Citrus Pool )
9/30/2021 at 5:00 PM
Crafton Hills
7 |
Citrus
23 |
SCORING | 1 | 2 | 3 | 4 | FINAL |
---|---|---|---|---|---|
Crafton Hills (0-4, 0-3) | 2 | 0 | 3 | 2 | 7 |
Citrus (7-1, 0-0) | 9 | 4 | 5 | 5 | 23 |
SCORING SUMMARY | ||||
---|---|---|---|---|
-- 1st -- | Crafton Hills | Citrus | ||
Citrus | 07:40 | Ian Tauer (unassisted) | 0 | 1 |
Citrus | 06:58 | Breck Weiny (Peter Herrera ) | 0 | 2 |
Citrus | 06:07 | Peter Herrera (unassisted) | 0 | 3 |
Citrus | 05:50 | Peter Herrera (unassisted) | 0 | 4 |
Citrus | 05:29 | Jullian Nichols (Peter Herrera ) | 0 | 5 |
Citrus | 04:35 | Thomas Woolrich (Cole Jerry ) | 0 | 6 |
Citrus | 03:57 | Jullian Nichols (Ian Tauer ) | 0 | 7 |
Citrus | 02:56 | Ian Tauer (unassisted) | 0 | 8 |
Citrus | 02:23 | Ian Tauer (Jullian Nichols ) | 0 | 9 |
Crafton Hills | 01:07 | Leif Tillman (unassisted) | 1 | 9 |
Crafton Hills | 00:23 | Luis Zubiate (Paul Lopez ) | 2 | 9 |
-- 2nd -- | Crafton Hills | Citrus | ||
Citrus | 07:41 | Peter Herrera (Matty Roebuck ) | 2 | 10 |
Citrus | 06:24 | Ian Tauer (unassisted) | 2 | 11 |
Citrus | 05:41 | Peter Herrera (Abram Villegas ) | 2 | 12 |
Citrus | 04:24 | Cole Jerry (Breck Weiny ) | 2 | 13 |
-- 3rd -- | Crafton Hills | Citrus | ||
Crafton Hills | 06:36 | Paul Lopez (Tim Gawlik ) | 3 | 13 |
Citrus | 05:22 | Peter Herrera (Matty Roebuck ) | 3 | 14 |
Citrus | 04:49 | Jullian Nichols (Anthony Manzano ) | 3 | 15 |
Citrus | 04:00 | Ian Tauer (unassisted) | 3 | 16 |
Citrus | 01:25 | Jullian Nichols (Andres Hernandez ) | 3 | 17 |
Crafton Hills | 01:09 | Luis Zubiate (unassisted) | 4 | 17 |
Citrus | 00:49 | Matty Roebuck (Ian Tauer ) | 4 | 18 |
Crafton Hills | 00:28 | Luis Zubiate (Jason Velasquez ) | 5 | 18 |
-- 4th -- | Crafton Hills | Citrus | ||
Crafton Hills | 06:10 | Angel Espinoza (Luis Zubiate ) | 6 | 18 |
Citrus | 05:51 | Cole Jerry (Breck Weiny ) | 6 | 19 |
Citrus | 04:11 | Thomas Woolrich (Breck Weiny ) | 6 | 20 |
Citrus | 02:42 | Abram Villegas (Eddie Nava ) | 6 | 21 |
Citrus | 02:05 | Thomas Woolrich (Ian Tauer ) | 6 | 22 |
Crafton Hills | 01:41 | Jason Velasquez (unassisted) | 7 | 22 |
Citrus | 00:51 | Thomas Woolrich (unassisted) | 7 | 23 |
Crafton Hills |
# | PLAYER | POS | G | A | SH | STL | TO | ED | BLK |
---|---|---|---|---|---|---|---|---|---|
1 | Quentin Whaley | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
1A | Diego Augilar * | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
TM | Team | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Totals | 7 | 4 | 0 | 0 | 0 | 0 | 0 |
# | GOALIES | GA | Qtrs | SV | SH |
---|---|---|---|---|---|
1 | Quentin Whaley | 9 | 2.0 | 0 | 9 |
1A | Diego Augilar (L, 0-0) | 14 | 2.0 | 0 | 14 |
Totals | 23 | 4.0 | 0 | 23 |
Citrus |
# | PLAYER | POS | G | A | SH | STL | TO | ED | BLK |
---|---|---|---|---|---|---|---|---|---|
1B | Eric Ramirez * | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
2 | Matty Roebuck * | 1 | 2 | 3 | 1 | 0 | 0 | 0 | |
3 | Cole Jerry | 2 | 1 | 3 | 0 | 1 | 1 | 0 | |
4 | Andres Hernandez | 0 | 1 | 2 | 0 | 0 | 2 | 0 | |
5 | Jullian Nichols * | 4 | 1 | 4 | 2 | 0 | 0 | 0 | |
7 | Peter Herrera * | 5 | 2 | 6 | 3 | 0 | 1 | 0 | |
10 | Thomas Woolrich | 4 | 0 | 3 | 0 | 1 | 0 | 0 | |
12 | Abram Villegas * | 1 | 1 | 2 | 3 | 0 | 2 | 0 | |
15 | Eddie Nava | 0 | 1 | 0 | 0 | 0 | 0 | 0 | |
16 | Ian Tauer * | 5 | 3 | 8 | 4 | 0 | 1 | 0 | |
17 | Breck Weiny * | 1 | 3 | 4 | 2 | 0 | 0 | 1 | |
18 | Anthony Manzano | 0 | 1 | 2 | 1 | 2 | 0 | 0 | |
TM | Team | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
Totals | 23 | 16 | 37 | 16 | 4 | 7 | 1 |
# | GOALIES | GA | Qtrs | SV | SH |
---|---|---|---|---|---|
1B | Eric Ramirez (W, 0-0) | 7 | 4.0 | 8 | 15 |
SHOTS | 1 | 2 | 3 | 4 | TOTAL |
---|---|---|---|---|---|
Crafton Hills | 4 | 2 | 8 | 6 | 20 |
Citrus | 13 | 7 | 8 | 9 | 37 |
SAVES | 1 | 2 | 3 | 4 | TOTAL |
---|---|---|---|---|---|
Crafton Hills | 0 | 0 | 0 | 0 | 0 |
Citrus | 2 | 4 | 1 | 1 | 8 |
EXCLUSION SUMMARY | |||
---|---|---|---|
-- 1st -- | |||
(no penalties) | |||
-- 2nd -- | |||
Crafton Hills | 05:48 | Domenick Hoff | Ejection |
Citrus | 05:25 | Matty Roebuck | Ejection |
Crafton Hills | 04:37 | Paul Lopez | Ejection |
Citrus | 00:09 | Thomas Woolrich | Ejection |
-- 3rd -- | |||
Crafton Hills | 07:35 | Tim Gawlik | Ejection |
Crafton Hills | 06:05 | Luis Zubiate | Ejection |
Crafton Hills | 04:00 | Jason Velasquez | Penalty |
Crafton Hills | 00:10 | Josiah Hemsley | Ejection |
-- 4th -- | |||
Citrus | 06:55 | Ian Tauer | Ejection |
Citrus | 04:50 | Abram Villegas | Ejection |
Crafton Hills | 00:52 | Diego Augilar | Penalty |
OTHER INFORMATION |
---|
Game Length: 1:00 Attendance: 35 Officials and game personnel: Brian Cone |
Starter * |
$referer.class