| There was a problem with a Velocity script |
| Page | /headlines-template-coaches |
| Error | Invocation of method 'sortedBy' in class com.prestosports.content.HeadlinesSorter threw exception java.lang.UnsupportedOperationException: ComparatorChains must contain at least one Comparator @ headlines-template-coaches[1,34] |
| Page source: |
1: #foreach ($bioinfo in $headlines.sortedBy("custom1"))
2: #set ($bio = $bioinfo.getDataAsObject().getAttributes())
3: <table class="bio">
4: <tr>
5: <td class="bio-name" colspan="2">
6: $!bio.get("full_name")
7: </td>
8: </tr>
9: ## INCLUDE PHOTO
10: <tr>
11: <td valign="top">
12: #foreach ($headshot in $bioinfo.publishedHeadshots)
13: <img src="$headshot.url?max_width=100"></td>
14: #end
15: <td class="bio-data" valign="top">
16: $!bio.get("title")
17: <br>
18: $!bio.get("organization")
19: <br>
20: $!bio.get("college")
21: <br>
22: $!bio.get("custom2")
23: <br>
24: <a href="mailto:$!bio.get("email_address")">$!bio.get("email_address")</a>
25: <br>
26: $!bio.get("phone1")</td>
27: <br>
28: <br>
29: ## #if ($bio.get("college") && $bio.get("custom2") ),#end
30: </tr>
31: </table>
32: ## INCLUDE BRIEF
33: #set ($briefbio = "${bioinfo.url}-brief")
34: $website.include($briefbio)
35: <br>
36: #end
37: <br><br>
38: $wiki
39:
40:
|