You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2011/04/18 11:29:46 UTC

svn commit: r1094397 [3/3] - in /chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings: ./ src/main/java/org/apache/chemistry/opencmis/server/impl/atompub/ src/main/java/org/apache/chemistry/opencmis/server/impl/browser/...

Added: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/web/index.html
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/web/index.html?rev=1094397&view=auto
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/web/index.html (added)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/web/index.html Mon Apr 18 09:29:45 2011
@@ -0,0 +1,73 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!-- 
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+-->
+<html>
+<head>
+<title>OpenCMIS Browser Binding</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<link rel="stylesheet" type="text/css" href="../css/opencmis.css"/>
+</head>
+<body>
+
+<h1>OpenCMIS Web Interface</h1>
+
+<ul>
+<li><a href="demo.html">Demo Page</a></li>
+<li><a href="createdocument.html">Create Document Demo Page</a></li>
+<li><a href="createfolder.html">Create Folder Demo Page</a></li>
+<li><a href="../browser">Repository Infos</a></li>
+</ul>
+
+<table>
+<tr>
+<th></th>
+<th>access by object id</th>
+<th>access by path</th>
+</tr>
+<tr>
+<td>Object Data (object id 100 [root folder])</td>
+<td><a href="../browser/A1/root?objectId=100&selector=object">browser/A1/root?objectId=100&selector=object</a></td>
+<td><a href="../browser/A1/root/?&selector=object">browser/A1/root/?selector=object</a></td>
+</tr>
+<tr>
+<td>Object Data (object id 133 [document in root folder])</td>
+<td><a href="../browser/A1/root?objectId=133&selector=object">browser/A1/root?objectId=133&selector=object</a></td>
+<td><a href="../browser/A1/root/My_Document-0-1?selector=object">browser/A1/root/My_Document-0-1?selector=object</a></td>
+</tr>
+<tr>
+<td>Content (object id 133 [document in root folder])</td>
+<td><a href="../browser/A1/root?objectId=133">browser/A1/root?objectId=133</a></td>
+<td><a href="../browser/A1/root/My_Document-0-1">browser/A1/root/My_Document-0-1</a></td>
+</tr>
+<tr>
+<td>Folder children (object id 100 [root folder])</td>
+<td><a href="../browser/A1/root?objectId=100">browser/A1/root?objectId=100</a></td>
+<td><a href="../browser/A1/root/">browser/A1/root/</a></td>
+</tr>
+<tr>
+<td>Folder children (object id 101 [folder in root folder])</td>
+<td><a href="../browser/A1/root?objectId=101">browser/A1/root?objectId=101</a></td>
+<td><a href="../browser/A1/root/My_Folder-0-0">browser/A1/root/My_Folder-0-0</a></td>
+</tr>
+</table>
+
+</body>
+</html>
\ No newline at end of file

Propchange: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/web/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/web/opencmis.js
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/web/opencmis.js?rev=1094397&view=auto
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/web/opencmis.js (added)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/web/opencmis.js Mon Apr 18 09:29:45 2011
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+function createGUID() {
+	return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
+		var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
+		return v.toString(16);
+	});
+}
\ No newline at end of file

Propchange: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/web/opencmis.js
------------------------------------------------------------------------------
    svn:eol-style = native