</form>
</td>
</tr>
+ <tr>
+ <th colspan="2" align="left">Search Engine URL</th>
+ </tr>
+ <tr>
+ <td>
+ <form name="searchengineURL">
+ <script>
+ var defaultValue = '<uwobo:key name="searchengineURL"/>';
+ document.write('<input type="text" value="' + defaultValue + '" size="50"/>');
+ </script>
+ </form>
+ </td>
+ <td>
+ <form>
+ <select onChange="selectSearchEngineURL(this)">
+ <option value="">---</option>
+ <option value="localhost">localhost</option>
+ <option value="mowgli.cs.unibo.it">mowgli</option>
+ <option value="marcello.cs.unibo.it">marcello</option>
+ </select>
+ </form>
+ </td>
+ <td>
+ <form>
+ <input type="button" value="Check" onClick="window.open(getSearchEngineURL() + 'help')"/>
+ </form>
+ </td>
+ </tr>
<tr>
<th colspan="2" align="left">RDFly URL</th>
</tr>
return document.proofcheckerURL.elements[0].value;
}
+function getSearchEngineURL()
+{
+ return document.searchengineURL.elements[0].value;
+}
+
function getDrawGraphURL()
{
return document.draw_graphURL.elements[0].value;
'¶m.uri_set_queueURL=' + escape(getURISetQueueURL()) +
'¶m.draw_graphURL=' + escape(getDrawGraphURL()) +
'¶m.proofcheckerURL=' + escape(getProofCheckerURL()) +
+ '¶m.searchengineURL=' + escape(getSearchEngineURL()) +
'¶m.rdflyURL=' + escape(getRdflyURL()) +
'¶m.interfaceURL=' + escape(getInterfaceURL()) +
'¶m.naturalLanguage=' + escape(getNaturalLanguage()) +
}
}
+function selectSearchEngineURL(ss)
+{
+ if (ss.selectedIndex == 0) {
+ document.searchengineURL.elements[0].value = "";
+ } else {
+ document.searchengineURL.elements[0].value = "http://" + ss.options[ss.selectedIndex].value + ":58085/";
+ }
+}
+
function selectDrawGraphURL(ss)
{
if (ss.selectedIndex == 0) {