Project

General

Profile

« Previous | Next » 

Revision 3702

Added by barteau over 16 years ago

Turnkey installer modification: replaced ant tokens with use of "javax.servlet.http.HttpServletRequest".

View differences:

lib/style/skins/default/settings.jsp
1
<%@ page errorPage="jsperrorpage.html" %>
1
<%@ page errorPage="jsperrorpage.html"  import="javax.servlet.http.*" %>
2 2
<!--
3 3
  *   '$RCSfile$'
4 4
  *     Authors: Matthew Brooke
......
31 31
// GLOBAL CONSTANTS FOR KNB PORTAL PAGE /////////////////////////////////////
32 32

  
33 33
	// URL of metacat to be used for login & searching:
34
	String      METACAT_URL           = "@systemidserver@@servlet-path@";
34
	String      METACAT_URL           = request.getContextPath() + "/metacat";
35 35

  
36 36
	// CONTEXT NAME of metacat installed:
37
	String      CONTEXT_NAME          = "@html-path@";
37
	String      CONTEXT_NAME          = request.getContextPath();
38 38

  
39
  //String      relativeRoot          = ".";
40 39
	// label for logout form button when user *is* logged in:
41 40
	String      LOGOUT_LABEL          = "Logout";
42 41

  
......
59 58
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"creator/individualName/surName\"\\>\n"
60 59
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"creator/organizationName\"\\>\n"
61 60
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/title\"\\>\n"
62
//              +"<input type=\"hidden\" name=\"returnfield\"   value=\"title\"\\>\n"
63 61
              +"<input type=\"hidden\" name=\"returnfield\"   value=\"keyword\"\\>\n"
64 62
              +"<input type=\"hidden\" name=\"returndoctype\" value=\"-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN\"\\>\n"
65 63
              +"<input type=\"hidden\" name=\"returndoctype\" value=\"-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN\"\\>\n"

Also available in: Unified diff