Project

General

Profile

Statistics
| Revision:

metacat / src / edu / ucsb / nceas / metacat / clientview @ 3772

Name Size Revision Age Author Comment
ClientFgdcHelper.java 17.2 KB 3540 about 13 years barteau Converted some java 1.5 code to java 1.4 code. ...
ClientHtmlHelper.java 2.86 KB 3367 about 13 years barteau Changes to make java 1.4 compliant.
ClientView.java 10.2 KB 3456 about 13 years barteau Added property "metaFileDocId", and constant "U...
ClientViewBeanInfo.java 11.6 KB 3456 about 13 years barteau Added property "metaFileDocId", and constant "U...
ClientViewHelper.java 52.9 KB 3772 over 12 years ben leinfelder Enable file naming when returning a zip file of...

Latest revisions

# Date Author Comment
3772 03/20/2008 05:37 PM ben leinfelder

Enable file naming when returning a zip file of the requested documents.
File names for each docid are provided as additional parameters named by the actual docid value that they are providing a name for. An example query string might look like:

action=read&docid=doc.1.1&docid=doc.2.1&qformat=zip&doc.1.1=fileName1.txt&doc.2.1=fileName2.jpg...

3741 02/27/2008 08:42 AM ben leinfelder

if there is no clientViewBean in the session, insert a new one - saves us from nullPointerException when using this in skins that may not be aware of the bean uses.

3678 01/11/2008 03:44 PM ben leinfelder

prevent null pointer exception when there are no nodes found (just an empty list)

3625 11/30/2007 01:26 PM barteau

Fixed a couple of bugs: 1) Threw an error when updating a packages public access (lost the data files doc id's) and 2) returns a message after access is changed.
Both were fixed by not attempting to get a child text node from a text node.

3603 11/20/2007 04:17 PM barteau

Changed confirm.jspx to confirm.jsp

3602 11/20/2007 04:09 PM barteau

Modified redirect URL to navigate to a skin-specific confirmation page, rather than a common one.

3552 11/01/2007 01:56 PM barteau

Fixed bug with file updating (lost qformat value). Also fixed bug with message.

3540 10/29/2007 03:09 PM barteau

Converted some java 1.5 code to java 1.4 code. Removed usages of "String.contains()", "Node.getTextContent()" and "Node.setTextContent.

3539 10/29/2007 03:09 PM barteau

Converted some java 1.5 code to java 1.4 code. Removed usages of "String.contains()", "Node.getTextContent()" and "Node.setTextContent.
Wrote two new methods: 1) getTextContent, and 2) setTextContent, to emulate the org.w3c.dom implementation that ships with java 1.5.

3530 10/25/2007 05:01 PM barteau

Seperated web API code, from plain java code, by creating seperate constructors and handling Http stuff in just two methods: "clientRequest" and "handleDownloadResponse".
Results in using HttpServlet code in an isolated/thin layer, making it easier to test and reuse all other methods.

View revisions

Also available in: Atom