An unexpected error has occured.
System.Exception:
Error processing template
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Message: Encountered "}" at line 64, column 147.
Was expecting one of:
"," ...
")" ...
<WHITESPACE> ...
<DOT> ...
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
StackTrace: at NVelocity.Runtime.Parser.Parser.Parse(TextReader reader, String templateName) in c:\Data\PlatinumIG\F1\WMS\references\NVelocity-castleproj\castleproject-MonoRail-98c93ac-NVelocity\src\NVelocity\Runtime\Parser\Parser.cs:line 190
at NVelocity.Runtime.RuntimeInstance.Parse(TextReader reader, String templateName, Boolean dumpNamespace) in c:\Data\PlatinumIG\F1\WMS\references\NVelocity-castleproj\castleproject-MonoRail-98c93ac-NVelocity\src\NVelocity\Runtime\RuntimeInstance.cs:line 658
at funeralOne.WMS2.View.VelocityHelper.ParseTemplate(String tplKey, String template) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\View\VelocityHelper.cs:line 265
at funeralOne.WMS2.View.VelocityHelper.ProcessTemplate(String filename, String tplKey, String templateContent, VelocityContext context, Boolean ignoreException) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\View\VelocityHelper.cs:line 88
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Source: NVelocity
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TargetSite: NVelocity.Runtime.Parser.Node.SimpleNode Parse(System.IO.TextReader, System.String)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
001: #if("$!{LocationId}" != "")
002: #set($locationIdToShow = $MathTools.ToInt($LocationId))
003: #else
004: #set($locationIdToShow = -1)
005: #end
006: #set($total = 0)
007: #if($Tools.ToBool($Website.Employees))
008: #set( $Filter = $Tools.Split($EmployeeIds, ",") )
009: #foreach($employee in $Website.Employees)
010: #set( $allowByLocationId = ($locationIdToShow == -1 || $employee.LocationIds.Contains($locationIdToShow)) )
011: #set( $currentEmployeeJobTitle = $employee.Title.ToLower().Trim().Replace(" ", "") )
012: #set( $allowByJobTitle = (!$Tools.ToBool($JobTitle) || $jobTitlesToShow.Contains($currentEmployeeJobTitle)))
013: #set( $allowByFilter = ($Filter.Count == 0 || $Filter.Contains($employee.EmployeeId.ToString())) )
014:
015: #if( $allowByLocationId && $allowByJobTitle && $allowByFilter )
016: #set($total = $total + 1)
017: #end
018: #end
019: #end
020:
021: #if (($total > 0 || $IsEditor) && ($ShowTitle == 'True' || $ShowTitle == 'true'))
022: <div class="widget widget-heading-group">
023: <div id="Staff" data-section="Our Staff" class="page-section"></div>
024: <div class="heading-group heading-group-small">
025: <h3 class="title">${Title}</h3>
026: #if ($Tools.ToBool("$!{Subtitle}") || $IsEditor)
027: <h4 class="subtitle">${Subtitle}</h4>
028: #end
029: </div>
030: </div>
031: #end
032:
033: #if($total > 0)
034: <div class="widget staff bg-${BackgroundColor}">
035:
036: <div class="staff-list staff-list--${Size}" id="OurStaff">
037: #if( $Size != "small")
038: <div class="row">
039: #else
040: <div class="staff-list-small">
041: #end
042:
043: #set($staffIndex = 0)
044: #foreach($employee in $Website.Employees)
045: #set( $allowByLocationId = ($locationIdToShow == -1 || $employee.LocationIds.Contains($locationIdToShow)) )
046: #set( $currentEmployeeJobTitle = $employee.Title.ToLower().Trim().Replace(" ", "") )
047: #set( $allowByJobTitle = (!$Tools.ToBool($JobTitle) || $jobTitlesToShow.Contains($currentEmployeeJobTitle)))
048: #set( $allowByFilter = ($Filter.Count == 0 || $Filter.Contains($employee.EmployeeId.ToString())) )
049:
050: #if( $allowByLocationId && $allowByJobTitle && $allowByFilter )
051: #set($staffIndex = $staffIndex+1)
052:
053: #if( $Size != "small")
054: <div class="col-lg-3 col-sm-4 col-xs-6">
055: #else
056: <div class="member-box">
057: #end
058: <div tabindex="0" role="button" class="staff-member #if($$employee.Biography.Length > 0)open-popup#end">
059: <div class="member-photo">
060: <img
061: data-lazy
062: src="$Tools.GenerateBlankGif(385, 473)"
063: data-src="${employee.PhotoResized(385,473)}"
064: alt="$!{Tools.ToHtmlAttribute($Tools.StripTags($employee.FullName)}"
065: width="385"
066: height="473"
067: aria-hidden="true"
068: />
069: </div>
070: <div class="member-info">
071: <h3 class="member-name notranslate">${employee.FullName}</h3>
072: <h5 class="member-job-title">$!{employee.Title}</h5>
073: #if($$employee.Biography.Length > 0)
074: <button class="read-bio" tabindex="-1">Read Bio</button>
075: #end
076: </div>
077: <p class="member-bio" style="display: none;">
078: ${Tools.NewLineToBr($employee.Biography)}
079: </p>
080: </div>
081: </div>
082: #end
083: #end
084: </div>
085: </div>
086:
087: <div class="staff-modal hidden" id="OurStaffPopup" style="display:none;">
088: <div class="staff-info modal-inline">
089: <div class="row">
090: <div class="col-sm-3">
091: <div class="member-photo">
092: <img class="img-responsive" alt="" width="385" height="473">
093: </div>
094: </div>
095: <div class="col-sm-7">
096: <h3 class="member-name"></h3>
097: <h5 class="member-job-title"></h5>
098: <p class="member-bio"></p>
099: </div>
100: </div>
101: </div>
102: </div>
103: </div>
104: #elseif($IsEditor)
105: <div class="we-editor-only" style="display:none;"><p class="we-no-items-found">No employees to list.</p></div>
106: #end
107:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
at funeralOne.WMS2.View.VelocityHelper.ProcessTemplate(String filename, String tplKey, String templateContent, VelocityContext context, Boolean ignoreException) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\View\VelocityHelper.cs:line 207
at funeralOne.WMS2.View.VelocityHelper.ProcessTemplate(String tplKey, String templateContent, VelocityContext context, Boolean ignoreException) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\View\VelocityHelper.cs:line 52
at funeralOne.WMS2.JsonConfig.InternalRenderWidget(RenderContext renderContext, VelocityContext context, Dictionary`2 widgetTypes, String widgetType, Dictionary`2 contents) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\JsonConfig.cs:line 1313
at funeralOne.WMS2.JsonConfig.GetWidgetHtml(RenderContext renderContext, VelocityContext context, Dictionary`2 widgetTypes, String widgetType, Dictionary`2 contents) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\JsonConfig.cs:line 1141
at funeralOne.WMS2.JsonConfig.RenderWidgetSync(RenderContext renderContext, VelocityContext context, Dictionary`2 widgetTypes, String widgetType, Dictionary`2 contents) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\JsonConfig.cs:line 1169
at funeralOne.WMS2.JsonConfig.RenderSync(RenderContext renderContext, String widgetGroupName) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\JsonConfig.cs:line 1037
at funeralOne.WMS2.JsonConfig.Render(RenderContext renderContext, String widgetGroupName) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\JsonConfig.cs:line 1076
at funeralOne.WMS2.View.Wms2Processor.RenderPage(Nullable`1 elementId, String designTemplateElementData, String pageContent, Page page, String pageName, String sectionName, Nullable`1 sectionId) in C:\azbuildagent\_work\368\s\funeralOne.WMS\WMS2\View\Wms2Processor.cs:line 1578
at funeralOne.WMS.Web.Handler.WmsPagesHandler.ProcessRequest(HttpRequest Request, HttpResponse Response, Int32 sectionId, Int32 pageId) in C:\azbuildagent\_work\368\s\funeralOne.WMS\Web\Handler\WmsPagesHandler.cs:line 253
at funeralOne.WMS.Web.Handler.WmsPagesHandler.ProcessRequest(HttpContext context) in C:\azbuildagent\_work\368\s\funeralOne.WMS\Web\Handler\WmsPagesHandler.cs:line 45
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
- Please try refreshing the page and trying again.
- If the problem persists, please notify the website owner.
- The administrators of this website have been notified of this error.