Holger Knublauch
Committed by Bob DuCharme

Adjusted GRAPH URI to point to graph containing the table templates

...@@ -147,7 +147,7 @@ OPTIONAL { ...@@ -147,7 +147,7 @@ OPTIONAL {
147 </ui:forEach> --> 147 </ui:forEach> -->
148 148
149 <p>template test start</p> 149 <p>template test start</p>
150 - <ddrswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlows" /> 150 + <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlows" />
151 <p>template test end</p> 151 <p>template test end</p>
152 152
153 </ui:group> 153 </ui:group>
......
...@@ -2,13 +2,13 @@ ...@@ -2,13 +2,13 @@
2 <ui:if ui:condition="{= spr:rowCount(?rs) &gt; 0 }"> 2 <ui:if ui:condition="{= spr:rowCount(?rs) &gt; 0 }">
3 <div> 3 <div>
4 <hr /> 4 <hr />
5 - <ui:setContext ui:queryGraph="&lt;http://www.reportinghub.no/ep/spin/ddr-tables&gt;"> 5 + <ui:setContext ui:queryGraph="&lt;http://www.reportinghub.no/ep/spin/mpr-tables&gt;">
6 <h2>{= ui:label(?template) }</h2> 6 <h2>{= ui:label(?template) }</h2>
7 </ui:setContext> 7 </ui:setContext>
8 <table class="ddrTable" letrs:hrs="{# 8 <table class="ddrTable" letrs:hrs="{#
9 SELECT ?header ?left 9 SELECT ?header ?left
10 WHERE { 10 WHERE {
11 - GRAPH &lt;http://www.reportinghub.no/ep/spin/ddr-tables&gt; { 11 + GRAPH &lt;http://www.reportinghub.no/ep/spin/mpr-tables&gt; {
12 ?template rhspin:tableHeaders ?list . 12 ?template rhspin:tableHeaders ?list .
13 ?list &lt;http://jena.hpl.hp.com/ARQ/list#member&gt; ?str . 13 ?list &lt;http://jena.hpl.hp.com/ARQ/list#member&gt; ?str .
14 BIND (fn:starts-with(?str, '*') AS ?left) . 14 BIND (fn:starts-with(?str, '*') AS ?left) .
......