updates for page management

This commit is contained in:
hjkhjk54 2012-06-22 17:56:02 +00:00
parent 7808d72eec
commit 9ca30d634a
8 changed files with 114 additions and 58 deletions

View file

@ -2,8 +2,12 @@
<#--Save to variable is sparqlResults -->
<#assign resultsExist = false/>
<#if sparqlResults?has_content>
<#if variableName?has_content>
<#assign resultsExist = true/>
<#--This will retrieve the results stored in the variable name being returned from the sparql query.
For example, if "results" was specified as the variable storing the sparql results, the value
of "results" will not be assigned to "sparqlResults" below. -->
<#assign sparqlResults = .globals[variableName]/>
</#if>
<h3>Sparql Query Results</h3>

View file

@ -4,7 +4,8 @@
<label id="variableLabel" for="variable">Variable Name<span class="requiredHint"> *</span></label>
<input type="text" name="saveToVar" size="20" value="" id="saveToVar" role="input" />
<label id="queryModelLabel" for="queryModel">Query Model</label>
<input type="text" name="queryModel" size="20" value="" id="queryModel" role="input" />
<#--Hiding query model for now-->
<input type="text" name="queryModel" size="20" value="" id="queryModel" role="input" style="display:none"/>
<label id="queryLabel" for="queryLabel"><span id="querySpan">Enter SPARQL query here</span><span class="requiredHint"> *</span></label>
<textarea id="query" name="query" cols="70" rows="15" style="margin-bottom:7px"></textarea>
</section>