From: John W. <jwe...@us...> - 2004-05-28 20:30:13
|
Update of /cvsroot/dlese/dds-project/web/services In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7864/dds-project/web/services Modified Files: dds_services_script.js index.jsp Log Message: more ddsws Index: dds_services_script.js =================================================================== RCS file: /cvsroot/dlese/dds-project/web/services/dds_services_script.js,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** dds_services_script.js 27 May 2004 18:34:55 -0000 1.4 --- dds_services_script.js 28 May 2004 20:29:58 -0000 1.5 *************** *** 26,30 **** function mkGetRecordDDSWS(rt) { ! var fm = document.getRecordForm; //var format = fm.formats.options[fm.formats.selectedIndex].value; var identifier = trim(fm.identifier.value); --- 26,30 ---- function mkGetRecordDDSWS(rt) { ! var fm = document.getRecordFormDDSWS; //var format = fm.formats.options[fm.formats.selectedIndex].value; var identifier = trim(fm.identifier.value); *************** *** 131,135 **** set = "null"; ! var advanced = "off"; // If the advanced search is visible, get setting from the form: if(advanced == "on"){ --- 131,135 ---- set = "null"; ! var advanced = "on"; // If the advanced search is visible, get setting from the form: if(advanced == "on"){ Index: index.jsp =================================================================== RCS file: /cvsroot/dlese/dds-project/web/services/index.jsp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** index.jsp 28 May 2004 17:53:45 -0000 1.10 --- index.jsp 28 May 2004 20:29:58 -0000 1.11 *************** *** 5,9 **** <%@ page isELIgnored ="false" %> ! <jsp:useBean id="df" class="org.dlese.dpc.services.dds.action.form.DDSServicesForm"/> <%-- Set up some variables used in this page --%> --- 5,9 ---- <%@ page isELIgnored ="false" %> ! <jsp:useBean id="helperBean" class="org.dlese.dpc.services.dds.DDSServicesUIHelperBean" scope="application"/> <%-- Set up some variables used in this page --%> *************** *** 11,15 **** <c:set var="dateSelectOptions"> <option value='none'> -- No value -- </option> ! <c:forEach var="datePair" items="${df.utcDates}"> <option value='${datePair.date}'>${datePair.label}</option> </c:forEach> --- 11,15 ---- <c:set var="dateSelectOptions"> <option value='none'> -- No value -- </option> ! <c:forEach var="datePair" items="${helperBean.utcDates}"> <option value='${datePair.date}'>${datePair.label}</option> </c:forEach> *************** *** 200,203 **** --- 200,204 ---- <p> + <table cellpadding=3 cellspacing=0> *************** *** 242,246 **** <%-- GetRecord --%> ! <form name="getRecordForm" action='javascript:mkGetRecordDDSWS("rt=text")'> <tr> <td colspan=3 nowrap> --- 243,247 ---- <%-- GetRecord --%> ! <form name="getRecordFormDDSWS" action='javascript:mkGetRecordDDSWS("rt=text")'> <tr> <td colspan=3 nowrap> *************** *** 308,311 **** --- 309,313 ---- <tr> <td colspan=3> + <input type="hidden" name="rt" value="text"> <input type="hidden" name="verb" value="ListXmlFormats"> <input title="View the ListXmlFormats response" type="submit" value="ListXmlFormats"> *************** *** 330,333 **** --- 332,336 ---- <tr> <td colspan=3> + <input type="hidden" name="rt" value="text"> <input type="hidden" name="verb" value="ServiceInfo"> <input title="View the UrlCheck response" type="submit" value="Show service info"> *************** *** 353,362 **** <a href="http://dlese.org/oai/docs/index.html#odl">ODL web service</a> is being offered in DDS to provide backward-compatibility for clients that have been implemented ! using the ODLP interface. People who are developing new clients should use the DDSWebService interface shown above from now on. </p> <p>This ODL portal searches over the records found in the ! DDS, whereas the ODL portal included with DLESE's OAI data provider searches over the metadata exposed through OAI. </p> --- 356,366 ---- <a href="http://dlese.org/oai/docs/index.html#odl">ODL web service</a> is being offered in DDS to provide backward-compatibility for clients that have been implemented ! using thid ODLP interface. People who are developing new clients should use the DDSWebService interface shown above from now on. </p> <p>This ODL portal searches over the records found in the ! DDS, whereas the ODL portal included with DLESE's ! <a href="http://dlese.org/oai/">OAI data provider</a> searches over the metadata exposed through OAI. </p> *************** *** 451,454 **** --- 455,459 ---- </td> <td nowrap colspan=2> + <input type="hidden" name="rt" value="text"> <input type="text" name="identifier" size="30"> <input title="View the GetRecord response" type="button" value="view" onClick='mkGetRecord("rt=text")'> |