use CDATA when calling the insertTemplate...() javascript methods.
include contextURL parameter (part of token elimination)
include leading slash for default ascii view xsl (needs to work in cases where the doctype mapping is not found)
use the ROOT knb web application path of the search box and header inclusion.
use the configured knb site url rather than a hardcoded value for the redirect (since we have it in the properties now)
include leading slash in the default-style xsl pathNOTE: this should be corrected in all the qformat.xml files that the skins use
add servletURL parameter (part of token-eradication project)
add contextURL parameter (part of token-eradication project)
add support for FGDC document display for the knb skinsee bug 3146
based on what jing found with the sanparks search performance issue, his comment for sanparks applies for this saeon file too:"Changing search field from idinfo/keywords/theme/placekey to placekey"
use consistent table attributes (100% width and 0 cell spacing) so that KNB skin looks better when displaying fgdc documents
use "placekey" (without additional leading xpath) because that is in the indexPaths of the build properties (and is used for other searches.should improve performance....
Changes to remove ANT tokens for the turnkey install project
Changing search field from idinfo/keywords/theme/placekey to placekey
limit searching to "common" fields that are indexed.include checkbox to search all fields.see bug #3174
-add FGDC specifc fields for indexPath searching-limit FGDC data returned for the NCEAS skin to those that have "placekey" fields containing "National Center for Ecological Analysis and Synthesis"
Parameterize FGDC update/delete functions with the "enableFGDCediting" parameter.Stylesheets that include fgdc-root.xsl must now set the edit parameter to "true" if they wish to have the editing widgets displayed (true for sanparks and saeon skins but not for nceas)
Include the contextURL as a parameter for the transformer. Remove leading / from resultset paths
use {$contextURL} and {$cgi-prefix} param for absolute paths (instead of relative paths)
use {$contextURL} param for absolute paths (instead of relative paths)note: this file seems not to be used in metacat now.
display the docid.also just display the publication date as is since the existing parsing made too many assumptions about how the date would be formatted
use $sessionid to determine if the edit boxes are shown
reuse the fgdc-root.xsl for both nceas and sanparks skins (it is included in different containing stylesheets)note: still need to pin down the switch that [dis]allows editing of the the files
use contextURL parameter so that the "shortform" url for looking at documents actually works and pulls in the correct js and css files
add support for FGDC doctype display
Get rid of the ant tokens and the relative paths by using the context url and cgi prefix provided by the settings.jsp.Now the "short form" of urls will work with the iframe skins. sanparks and saeon can also be set as the "default" skin and the paths will resolve correctly....
include the contextURL parameter that is now being passed in by the DBTransform class.pass this value to the javascript that assembles the iframes
check for a leading "/" in the path when prepending the server context url.we don't want to step on toes of people that are using "semi" relative paths (they leave out the server part, but provide the rest of the path)
-use jsp rather than html files so hat the server context can be looked up on the fly (as well as additional options from the MetacatUtil class).-incorporate the use of relative paths in the XML configuration (doctype=>stylesheet mapping)
Note: still using ant tokens in the .cfg file used for perl...not sure how to convert that.
use cgi-prefix from build properties to configure the default skin for login.removed hardcoded "ldap.ecoinformatics.org" reference in the jsp and reads it from the metacat.properties file.
Note: still uses ant token from the build.properties file, but at least centralizes the spot where the token needs to be dealt with.
use the servlet context path to construct absolute paths to the various file locations
add servletContextUrl to make absolute paths from relative paths when constructing skins from the js/iframe template
add portnumber if not using 80
Change the relative path to use a function getServerName+getPortNumber+getContextPath. But there is still problem in default.js.
Turnkey installer modification: replaced and tokens with relative paths.
Turnkey installer modification: created HeaderViewDocs.jsp as a replacement for HeaderViewDocs.htm, because a call to MetacatUtil to get CGI-PREFIX is needed.Also replaced and tokens with relative paths.
Turnkey installer modification: created ESAHeader.jsp as a replacement for ESAHeader.htm, because a call to MetacatUtil to get CGI-PREFIX is needed.Also replaced and tokens with relative paths.
Turnkey installer modification: replace ant tokens with relative paths. Corrected path to css file.
Turnkey installer modification: replaced ant tokens with relative paths. Also corrected path to css file.
Turnkey installer modification: replace ant tokens with relative paths.
Turnkey installer modification: replace ant tokens with relative paths. Corrected wrong path to css file.
Turnkey installer modification: replace ant tokens with relative paths. Corrected some incorrect file paths.
Turnkey installer modification: replace ant token with relative path.
Turnkey installer modification: replaced ant token with relative path.
Turnkey installer modification: replaced ant tokens with relative paths. Corrected location to css file.
Turnkey installer modification: replaced ant tokens with use of "javax.servlet.http.HttpServletRequest".
Turnkey installer modification: replaced ant tokens with relative paths.
Turnkey installer modifications: replace ant tokens with relative paths.
Turnkey Installer modification: replaced ant tokens with relative paths.
Turnkey Installer modification: relative path.
Turnkey Installer modification: Initial checkin for account/index.html replacement. This replaces an html file with a jsp file, so that cgi-prefix can be obtained. It alsoincludes a few relative paths used in a html/jsp context. Since these are all tested they can be used as examples for other html and jsp files.
correct a typo for "repository" bug #3082
Turnkey installer modification: used relative paths which replaced ant tokens.
Turnkey installer modification: revised relative paths (which replaced ant tokens).
Turnkey installer modification: modified relative references.
Turnkey installer modification: added 'cgi-url' param, replace token 'cgi-prefix' with param 'cgi-url'.
add default value to 'cgi-url' param.
Turnkey installer modifications: add 'cgi-url' param via skin configs.
Turnkey installer modifications: Create a default skin.configs and add 'cgi-url' property. This will be used if no skin-specific config exists and willresult in a 'cgi-param' param in XSL transformations via DBTransform.
Turnkey installer modifications: add 'cgi-url' property. This will result in a 'cgi-param' param in XSL transformations via DBTransform.
Turnkey installer modifications: replace cgi-prefix tokens with 'cgi-url' param.
Removed the use of String.contains() to make it java 1.4 compliant.
replace relative urls (for stylesheets, js files, and even form actions) with absolute paths. yes, this means using ant tokens still.needed for using 'sanparks' as the default skin when deployed on dataknp.sanparks.org
Revise relative referances to skin directory
Revise relative referance to resultset-table.xsl
add support for selecting records for only one question from a set of one or more assessment response data files
Turnkey Installer modification: remove locale specific ant tokens with relative paths.
Removed "Last Modified July 10, 2007" section because it is static and people may think that it means the data package was last modified then.
Modified knb.xml to re-enable login.xsl processing for the registry workflow: after a 'login' request, the user will be correctly redirected to the registry form.
Metacat installer bug: replaced locale-specific ant tokens with runtime lookup.
remove that awful underline for links
add SANParks and SAEON affiliations
add sanparks and saeon affiliations
use color from background for highlight, tablehead text - more in keeping with the L+F
include cfg parameter to pull in correct skin format for cgi/ldap
comment out the dataset registration link (at least for now)
handle special case for searching both SANParks and SAEON (but not all of KNB)
height and width adjustments for rendering in IE
set the clientViewHelper object in the session so that login/logout link can be determined in the header iFrame.
adjust colors/formatting for EML display
comment out references to a standalone login page.get's dicey when the header says "log in" but you already are logged in....
make button consistent with other input L+F
localizing some more images, but also commenting out image urls that are [likely] not being used by the minimal number of css classes we are skimming from the SAEON plone skin