Strabon

changeset 495:87cac069e8e4

minor fixes in endpoint for Describe
author Babis Nikolaou <charnik@di.uoa.gr>
date Mon Jul 23 17:32:21 2012 +0300 (2012-07-23)
parents b51a8e33b86b
children db1950dca920
files endpoint/WebContent/store.jsp endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/DescribeBean.java endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/QueryBean.java
line diff
     1.1 --- a/endpoint/WebContent/store.jsp	Mon Jul 23 15:12:18 2012 +0300
     1.2 +++ b/endpoint/WebContent/store.jsp	Mon Jul 23 17:32:21 2012 +0300
     1.3 @@ -44,7 +44,7 @@
     1.4  	<td width="90" valign="top" bgcolor="#dfe8f0"> 
     1.5  		<TABLE border="0" cellspacing="0" cellpadding="0" width="165" id="navigation">
     1.6  			<tr><td width="90" class="style4"><a href="Query" class="navText">Query</a></td></tr> 
     1.7 -                        <tr><td width=\"90\" class=\"style4\"><a href=\"Describe\" class=\"navText\">Describe</a></td></tr>
     1.8 +			<tr><td width="90" class="style4"><a href="Describe?format=HTML" class="navText">Describe</a></td></tr>
     1.9  			<tr><td width="90" class="style4"><a href="javascript:history.go(0)" class="navText">Clear</a></td></tr> 
    1.10  		</TABLE>
    1.11  	</td>
     2.1 --- a/endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/DescribeBean.java	Mon Jul 23 15:12:18 2012 +0300
     2.2 +++ b/endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/DescribeBean.java	Mon Jul 23 17:32:21 2012 +0300
     2.3 @@ -157,7 +157,7 @@
     2.4                  }
     2.5          }
     2.6                  
     2.7 -                return reqFormat;
     2.8 +        return reqFormat;
     2.9      }
    2.10  
    2.11      @Override
    2.12 @@ -242,7 +242,7 @@
    2.13  		out.println("<td width=\"90\" valign=\"top\" bgcolor=\"#dfe8f0\"> ");
    2.14  		out.println("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"165\" id=\"navigation\"> ");
    2.15  		out.println("<tr><td width=\"90\" class=\"style4\"><a href=\"Query\" class=\"navText\">Query</a></td></tr> ");
    2.16 -        out.println("<tr><td width=\"90\" class=\"style4\"><a href=\"Describe\" class=\"navText\">Describe</a></td></tr> ");
    2.17 +        out.println("<tr><td width=\"90\" class=\"style4\"><a href=\"Describe?format=HTML\" class=\"navText\">Describe</a></td></tr> ");
    2.18  	}
    2.19  
    2.20  	protected static void appendHTML1b(PrintWriter out) {	
     3.1 --- a/endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/QueryBean.java	Mon Jul 23 15:12:18 2012 +0300
     3.2 +++ b/endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/QueryBean.java	Mon Jul 23 17:32:21 2012 +0300
     3.3 @@ -539,7 +539,7 @@
     3.4  		out.println("<td width=\"90\" valign=\"top\" bgcolor=\"#dfe8f0\"> ");
     3.5  		out.println("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"165\" id=\"navigation\"> ");
     3.6  		out.println("<tr><td width=\"90\" class=\"style4\"><a href=\"Query\" class=\"navText\">Query</a></td></tr> ");
     3.7 -                out.println("<tr><td width=\"90\" class=\"style4\"><a href=\"Describe\" class=\"navText\">Describe</a></td></tr> ");
     3.8 +		out.println("<tr><td width=\"90\" class=\"style4\"><a href=\"Describe?format=HTML\" class=\"navText\">Describe</a></td></tr> ");
     3.9  	}
    3.10  
    3.11  	protected static void appendHTML1b(PrintWriter out) {