jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edgarp...@apache.org
Subject svn commit: r549116 - in /jackrabbit/trunk/contrib/jcr-navigator: ./ src/main/java/org/apache/jackrabbit/browser/ src/main/java/org/apache/jackrabbit/browser/command/ src/main/webapp/ src/main/webapp/WEB-INF/ src/main/webapp/browser/
Date Wed, 20 Jun 2007 14:18:23 GMT
Author: edgarpoce
Date: Wed Jun 20 07:18:22 2007
New Revision: 549116

URL: http://svn.apache.org/viewvc?view=rev&rev=549116
Log:
jcr-navigator, add dependency to geronimo's dojo webapp. deployment documentation.

Added:
    jackrabbit/trunk/contrib/jcr-navigator/README.txt
    jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/WEB-INF/repository.xml
Removed:
    jackrabbit/trunk/contrib/jcr-navigator/DOJOLICENSE.txt
Modified:
    jackrabbit/trunk/contrib/jcr-navigator/   (props changed)
    jackrabbit/trunk/contrib/jcr-navigator/pom.xml
    jackrabbit/trunk/contrib/jcr-navigator/src/main/java/org/apache/jackrabbit/browser/JcrLoginFilter.java
    jackrabbit/trunk/contrib/jcr-navigator/src/main/java/org/apache/jackrabbit/browser/command/ReadMultipartRequest.java
    jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/WEB-INF/web.xml
    jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/browser/index.jsp
    jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/login.jsp

Propchange: jackrabbit/trunk/contrib/jcr-navigator/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Jun 20 07:18:22 2007
@@ -1,3 +1,5 @@
-
 target
 work
+.classpath
+.deployment
+.project

Added: jackrabbit/trunk/contrib/jcr-navigator/README.txt
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-navigator/README.txt?view=auto&rev=549116
==============================================================================
--- jackrabbit/trunk/contrib/jcr-navigator/README.txt (added)
+++ jackrabbit/trunk/contrib/jcr-navigator/README.txt Wed Jun 20 07:18:22 2007
@@ -0,0 +1,14 @@
+1- download and deploy dojo webapp 
+   download from
+   http://www.ibiblio.org/maven2/org/apache/geronimo/applications/geronimo-dojo/1.2-beta/
+   rename to dojo.war
+   and deploy in a webapp server
+
+2. package and deploy jcr-navigator
+
+3. Add a user to the container with the role "user"
+   e.g. in tomcat add the following lines to TOMCAT_HOME/conf/tomcat-users.xml
+  <role rolename="user"/>
+  <user username="jackrabbit" password="jackrabbit" roles="user"/>
+
+ 4. Start tomcat and login to the navigator app with the user "jackrabbit" and the password
"jackrabbit"
\ No newline at end of file

Modified: jackrabbit/trunk/contrib/jcr-navigator/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-navigator/pom.xml?view=diff&rev=549116&r1=549115&r2=549116
==============================================================================
--- jackrabbit/trunk/contrib/jcr-navigator/pom.xml (original)
+++ jackrabbit/trunk/contrib/jcr-navigator/pom.xml Wed Jun 20 07:18:22 2007
@@ -27,13 +27,13 @@
 	<!-- POM Identification -->
 
 	<groupId>org.apache.jackrabbit</groupId>
-	<artifactId>jcr-browser</artifactId>
-	<version>1.1-SNAPSHOT</version>
+	<artifactId>jcr-navigator</artifactId>
+	<version>1.4-SNAPSHOT</version>
 	<packaging>war</packaging>
 
-	<name>JCR Browser</name>
+	<name>JCR Navigator</name>
 
-	<description>JCR Browser</description>
+	<description>JCR Navigator</description>
 
 	<!-- Dependencies -->
 
@@ -50,7 +50,7 @@
 			<groupId>javax.jcr</groupId>
 			<artifactId>jcr</artifactId>
 			<version>1.0</version>
-			<scope>provided</scope>
+			<scope>compile</scope>
 		</dependency>
 
 		<dependency>
@@ -100,14 +100,14 @@
 		<dependency>
 			<groupId>org.apache.jackrabbit</groupId>
 			<artifactId>jackrabbit-core</artifactId>
-			<version>1.1-SNAPSHOT</version>
-			<scope>provided</scope>
+			<version>${pom.version}</version>
+			<scope>compile</scope>
 		</dependency>
 
 		<dependency>
 			<groupId>org.apache.jackrabbit</groupId>
 			<artifactId>jackrabbit-jcr-server</artifactId>
-			<version>1.1-SNAPSHOT</version>
+			<version>${pom.version}</version>
 			<scope>compile</scope>
 			<exclusions>
 				<exclusion>
@@ -128,7 +128,7 @@
 		<dependency>
 			<groupId>org.apache.jackrabbit</groupId>
 			<artifactId>jackrabbit-webdav</artifactId>
-			<version>1.1-SNAPSHOT</version>
+			<version>${pom.version}</version>
 			<scope>compile</scope>
 			<exclusions>
 				<exclusion>
@@ -149,7 +149,7 @@
 		<dependency>
 			<groupId>org.apache.jackrabbit</groupId>
 			<artifactId>jackrabbit-webapp</artifactId>
-			<version>1.1-SNAPSHOT</version>
+			<version>${pom.version}</version>
 			<scope>compile</scope>
 			<exclusions>
 				<exclusion>
@@ -171,7 +171,7 @@
 		<dependency>
 			<groupId>org.apache.jackrabbit</groupId>
 			<artifactId>jcr-commands</artifactId>
-			<version>1.1-SNAPSHOT</version>
+			<version>${pom.version}</version>
 			<scope>compile</scope>
 			<exclusions>
 				<exclusion>
@@ -192,7 +192,7 @@
 		<dependency>
 			<groupId>org.apache.jackrabbit</groupId>
 			<artifactId>jcr-taglib</artifactId>
-			<version>1.1-SNAPSHOT</version>
+			<version>${pom.version}</version>
 			<scope>compile</scope>
 			<exclusions>
 				<exclusion>

Modified: jackrabbit/trunk/contrib/jcr-navigator/src/main/java/org/apache/jackrabbit/browser/JcrLoginFilter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-navigator/src/main/java/org/apache/jackrabbit/browser/JcrLoginFilter.java?view=diff&rev=549116&r1=549115&r2=549116
==============================================================================
--- jackrabbit/trunk/contrib/jcr-navigator/src/main/java/org/apache/jackrabbit/browser/JcrLoginFilter.java
(original)
+++ jackrabbit/trunk/contrib/jcr-navigator/src/main/java/org/apache/jackrabbit/browser/JcrLoginFilter.java
Wed Jun 20 07:18:22 2007
@@ -34,7 +34,8 @@
 import org.apache.jackrabbit.command.CommandHelper;
 
 /**
- * Filter stores the jcr session in http session. It also synchronizes
+ * Filter stores the jcr session in http session. It also synchronizes the
+ * access to a jcr session.
  */
 public class JcrLoginFilter implements Filter {
 

Modified: jackrabbit/trunk/contrib/jcr-navigator/src/main/java/org/apache/jackrabbit/browser/command/ReadMultipartRequest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-navigator/src/main/java/org/apache/jackrabbit/browser/command/ReadMultipartRequest.java?view=diff&rev=549116&r1=549115&r2=549116
==============================================================================
--- jackrabbit/trunk/contrib/jcr-navigator/src/main/java/org/apache/jackrabbit/browser/command/ReadMultipartRequest.java
(original)
+++ jackrabbit/trunk/contrib/jcr-navigator/src/main/java/org/apache/jackrabbit/browser/command/ReadMultipartRequest.java
Wed Jun 20 07:18:22 2007
@@ -35,13 +35,12 @@
 	/** max upload size */
 	private String maxSize = "3000000";
 
-	@SuppressWarnings("unchecked")
 	public boolean execute(Context ctx) throws Exception {
 		// Configure file upload
 		JcrServletWebContext servletCtx = (JcrServletWebContext) ctx;
 		FileItemFactory itemFactory = new DiskFileItemFactory();
 		ServletFileUpload fileUpload = new ServletFileUpload(itemFactory);
-		fileUpload.setSizeMax(Integer.valueOf(this.maxSize));
+		fileUpload.setSizeMax(Long.valueOf(this.maxSize).longValue());
 
 		// parse request
 		List items = fileUpload.parseRequest(servletCtx.getRequest());
@@ -66,7 +65,8 @@
 	}
 
 	/**
-	 * @param maxSize the maxSize to set
+	 * @param maxSize
+	 *            the maxSize to set
 	 */
 	public void setMaxSize(String maxSize) {
 		this.maxSize = maxSize;

Added: jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/WEB-INF/repository.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/WEB-INF/repository.xml?view=auto&rev=549116
==============================================================================
--- jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/WEB-INF/repository.xml (added)
+++ jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/WEB-INF/repository.xml Wed Jun
20 07:18:22 2007
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+   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.
+  -->
+<!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 1.2//EN"
+    "http://jackrabbit.apache.org/dtd/repository-1.2.dtd">
+<Repository>
+  <!--
+  virtual file system where the repository stores global state
+  (e.g. registered namespaces, custom node types, etc.)
+  -->
+  <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+    <param name="path" value="${rep.home}/repository"/>
+  </FileSystem>
+
+  <!--
+      security configuration
+  -->
+  <Security appName="Jackrabbit">
+    <!--
+        access manager:
+        class: FQN of class implementing the AccessManager interface
+    -->
+    <AccessManager
+        class="org.apache.jackrabbit.core.security.SimpleAccessManager">
+      <!-- <param name="config" value="${rep.home}/access.xml"/> -->
+    </AccessManager>
+
+    <LoginModule class="org.apache.jackrabbit.core.security.SimpleLoginModule">
+      <!-- anonymous user name ('anonymous' is the default value) -->
+      <param name="anonymousId" value="anonymous"/>
+    </LoginModule>
+  </Security>
+
+  <!--
+  Example Cluster configuration.
+  -->
+  <!--
+  <Cluster id="node1">
+      <Journal class="org.apache.jackrabbit.core.cluster.FileJournal">
+          <param name="directory" value="${rep.home}/../shared/journals" />
+          <param name="revision" value="${rep.home}/revision.log" />
+      </Journal>
+  </Cluster>
+  -->
+  
+  <!--
+  location of workspaces root directory and name of default workspace
+  -->
+  <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default"/>
+
+  <!--
+  workspace configuration template:
+  used to create the initial workspace if there's no workspace yet
+  -->
+  <Workspace name="${wsp.name}">
+    <!--
+    virtual file system of the workspace:
+    class: FQN of class implementing FileSystem interface
+    -->
+    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+      <param name="path" value="${wsp.home}"/>
+    </FileSystem>
+    <!--
+    persistence of the workspace:
+    class: FQN of class implementing PersistenceManager interface
+    -->
+    <PersistenceManager
+        class="org.apache.jackrabbit.core.state.obj.ObjectPersistenceManager"/>
+    <!--
+    Search index and the file system it uses.
+    -->
+    <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
+      <param name="path" value="${wsp.home}/index"/>
+      <param name="respectDocumentOrder" value="false"/>
+      <param name="resultFetchSize" value="100"/>
+      <param name="supportHighlighting" value="true"/>
+      <param name="extractorPoolSize" value="2"/>
+      <param name="extractorTimeout " value="10"/>
+      <param name="maxFieldLength" value="1000000"/>
+      <param name="textFilterClasses" value="org.apache.jackrabbit.extractor.PlainTextExtractor,org.apache.jackrabbit.extractor.MsWordTextExtractor,org.apache.jackrabbit.extractor.MsExcelTextExtractor,org.apache.jackrabbit.extractor.MsPowerPointTextExtractor,org.apache.jackrabbit.extractor.PdfTextExtractor,org.apache.jackrabbit.extractor.OpenOfficeTextExtractor,org.apache.jackrabbit.extractor.RTFTextExtractor,org.apache.jackrabbit.extractor.HTMLTextExtractor,org.apache.jackrabbit.extractor.XMLTextExtractor"/>
+      <param name="excerptProviderClass" value="org.apache.jackrabbit.core.query.lucene.DefaultHTMLExcerpt"/>
+    </SearchIndex>
+  </Workspace>
+
+  <!--
+  Configures the versioning
+  -->
+  <Versioning rootPath="${rep.home}/version">
+    <!--
+    Configures the filesystem to use for versioning for the respective
+    persistence manager
+    -->
+    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
+      <param name="path" value="${rep.home}/version"/>
+    </FileSystem>
+
+    <!--
+    Configures the persistence manager to be used for persisting version state.
+    Please note that the current versioning implementation is based on
+    a 'normal' persistence manager, but this could change in future
+    implementations.
+    -->
+    <PersistenceManager
+        class="org.apache.jackrabbit.core.state.obj.ObjectPersistenceManager"/>
+
+  </Versioning>
+
+
+  <!--
+  Search index for content that is shared repository wide
+  (/jcr:system tree, contains mainly versions)
+
+  The same parameters are supported as in the search index configuration
+  inside the workspace definition element.
+
+  This element is optional. If omitted, the /jcr:system tree will not be
+  indexed and no results will be returned for that tree!
+  -->
+  <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
+    <param name="path" value="${rep.home}/repository/index"/>
+  </SearchIndex>
+</Repository>

Modified: jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/WEB-INF/web.xml?view=diff&rev=549116&r1=549115&r2=549116
==============================================================================
--- jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/WEB-INF/web.xml (original)
+++ jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/WEB-INF/web.xml Wed Jun 20 07:18:22
2007
@@ -67,6 +67,86 @@
 
         <load-on-startup>1</load-on-startup>
     </servlet>
+
+    <!-- ====================================================================== -->
+    <!-- R E P O S I T O R Y   S T A R T U P  S E R V L E T                     -->
+    <!-- ====================================================================== -->
+    <servlet>
+        <servlet-name>RepositoryStartup</servlet-name>
+        <description>
+            Repository servlet that starts the repository and registers it to JNDI ans RMI.
+            If you already have the repository registered in this appservers JNDI context,
+            or if its accessible via RMI, you do not need to use this servlet.
+        </description>
+        <servlet-class>org.apache.jackrabbit.j2ee.RepositoryStartupServlet</servlet-class>
+
+        <init-param>
+            <param-name>repository-config</param-name>
+            <param-value>/WEB-INF/repository.xml</param-value>
+            <description>the repository config location</description>
+        </init-param>
+
+        <init-param>
+            <param-name>repository-home</param-name>
+            <param-value>jackrabbit/repository</param-value>
+            <description>the repository home</description>
+        </init-param>
+
+        <init-param>
+            <param-name>repository-name</param-name>
+            <param-value>jackrabbit.repository</param-value>
+            <description>Repository Name under which the repository is registered via
JNDI/RMI</description>
+        </init-param>
+
+        <!--
+            the following 3 parameters deal with registering the repository to
+            a RMI registry. if all parameters are omitted, the repository will
+            not be registered.
+        -->
+        <init-param>
+            <param-name>rmi-port</param-name>
+            <param-value>0</param-value>
+            <description>
+                The RMI port for registering the repository in the RMI Registry.
+                If equals 0, the default port is used.
+            </description>
+        </init-param>
+        <init-param>
+            <param-name>rmi-host</param-name>
+            <param-value>localhost</param-value>
+            <description>
+                The RMI host for registering the repository in the RMI Registry.
+                If equals "" or missing, the default host is used.
+            </description>
+        </init-param>
+        <init-param>
+            <param-name>rmi-uri</param-name>
+            <param-value></param-value>
+            <description>
+                The RMI uri for registering the repository in the RMI Registry.
+                If missing, the uri is composed using the other rmi parameters
+                and will have the format: //{rmi-host}:{rmi-port}/{repository-name}
+            </description>
+        </init-param>
+
+        <!--
+            JNDI environment variables for creating the initial context
+            (all init parameters starting with java.naming.* will be added to the initial
context environment).
+        -->
+        <init-param>
+            <param-name>java.naming.provider.url</param-name>
+            <param-value>http://www.apache.org/jackrabbit</param-value>
+        </init-param>
+        <!--
+        <init-param>
+            <param-name>java.naming.factory.initial</param-name>
+            <param-value>org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory</param-value>
+        </init-param>
+        -->
+        
+        <load-on-startup>2</load-on-startup>
+    </servlet>
+        
 	<!-- ====================================================================== -->
 	<!-- R E P O S I T O R Y   S E R V L E T                                    -->
 	<!-- ====================================================================== -->
@@ -82,103 +162,14 @@
 		</servlet-class>
 		<init-param>
 			<param-name>repository-name</param-name>
-			<param-value>java:comp/env/jcr/repository</param-value>
+			<param-value>jackrabbit.repository</param-value>
 			<description>
 				Repository Name that is used to retrieve it via JNDI
 			</description>
 		</init-param>
-		<!-- init-param>
-			<param-name>java.naming.provider.url</param-name>
-			<param-value>http://www.apache.org/jackrabbit</param-value>
-		</init-param>
-		<init-param>
-			<param-name>java.naming.factory.initial</param-name>
-			<param-value>
-				org.apache.jackrabbit.core.jndi.BindableRepositoryFactory
-			</param-value>
-		</init-param -->
 		<load-on-startup>3</load-on-startup>
 	</servlet>
-	<!-- ====================================================================== -->
-	<!-- W E B D A V  S E R V L E T                                              -->
-	<!-- ====================================================================== -->
-	<servlet>
-		<servlet-name>Webdav</servlet-name>
-		<description>
-			The webdav servlet that connects HTTP request to the
-			repository.
-		</description>
-		<servlet-class>
-			org.apache.jackrabbit.j2ee.SimpleWebdavServlet
-		</servlet-class>
-		<init-param>
-			<param-name>resource-path-prefix</param-name>
-			<param-value>/repository</param-value>
-			<description>
-				defines the prefix for spooling resources out of the
-				repository.
-			</description>
-		</init-param>
-		<!--
-			Optional parameter to define the value of the 'WWW-Authenticate' header
-		-->
-		<!--
-			<init-param>
-			<param-name>authenticate-header</param-name>
-			<param-value>Basic realm="Jackrabbit Webdav Server"</param-value>
-			<description>
-			Defines the value of the 'WWW-Authenticate' header.
-			</description>
-			</init-param>
-		-->
-		<!--
-			Parameter used to configure behaviour of webdav resources such as:
-			- destinction between collections and non-collections
-			- resource filtering
-		-->
-		<init-param>
-			<param-name>resource-config</param-name>
-			<param-value>/WEB-INF/config.xml</param-value>
-			<description>
-				Defines various dav-resource configuration parameters.
-			</description>
-		</init-param>
-		<load-on-startup>4</load-on-startup>
-	</servlet>
-	<!-- ====================================================================== -->
-	<!-- W E B D A V  S E R V E R  S E R V L E T                                  -->
-	<!-- ====================================================================== -->
-	<servlet>
-		<servlet-name>JCRWebdavServer</servlet-name>
-		<description>
-			The webdav servlet that connects HTTP request to the
-			repository.
-		</description>
-		<servlet-class>
-			org.apache.jackrabbit.j2ee.JCRWebdavServerServlet
-		</servlet-class>
-		<!--
-			Optional parameter to define the value of the 'WWW-Authenticate' header
-		-->
-		<!--
-			<init-param>
-			<param-name>authenticate-header</param-name>
-			<param-value>Basic realm="Jackrabbit Webdav Server"</param-value>
-			<description>
-			Defines the value of the 'WWW-Authenticate' header.
-			</description>
-			</init-param>
-		-->
-		<init-param>
-			<param-name>resource-path-prefix</param-name>
-			<param-value>/server</param-value>
-			<description>
-				defines the prefix for spooling resources out of the
-				repository.
-			</description>
-		</init-param>
-		<load-on-startup>5</load-on-startup>
-	</servlet>
+
 	<!-- ====================================================================== -->
 	<!-- C O M M A N D S  S E R V L E T                                         -->
 	<!-- ====================================================================== -->
@@ -190,11 +181,12 @@
 		</servlet-class>
 		<init-param>
 			<param-name>jndi.properties</param-name>
-			<param-value></param-value>
+			<param-value>
+			</param-value>
 		</init-param>
 		<init-param>
 			<param-name>jndi.address</param-name>
-			<param-value>java:comp/env/jcr/repository</param-value>
+			<param-value>jackrabbit.repository</param-value>
 		</init-param>
 		<init-param>
 			<param-name>catalog</param-name>
@@ -233,14 +225,6 @@
 	<!-- S E R V L E T   M A P P I N G                                          -->
 	<!-- ====================================================================== -->
 	<servlet-mapping>
-		<servlet-name>Webdav</servlet-name>
-		<url-pattern>/repository/*</url-pattern>
-	</servlet-mapping>
-	<servlet-mapping>
-		<servlet-name>JCRWebdavServer</servlet-name>
-		<url-pattern>/server/*</url-pattern>
-	</servlet-mapping>
-	<servlet-mapping>
 		<servlet-name>JCR commands</servlet-name>
 		<url-pattern>/command/*</url-pattern>
 	</servlet-mapping>
@@ -273,12 +257,14 @@
 	</env-entry>
 	<env-entry>
 		<env-entry-name>jcr/jndi/properties</env-entry-name>
-		<env-entry-value></env-entry-value>
+		<env-entry-value>
+			i=i
+		</env-entry-value>
 		<env-entry-type>java.lang.String</env-entry-type>
 	</env-entry>
 	<env-entry>
 		<env-entry-name>jcr/jndi/address</env-entry-name>
-		<env-entry-value>java:comp/env/jcr/repository</env-entry-value>
+		<env-entry-value>jackrabbit.repository</env-entry-value>
 		<env-entry-type>java.lang.String</env-entry-type>
 	</env-entry>
 	<!--  Traverser -->

Modified: jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/browser/index.jsp
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/browser/index.jsp?view=diff&rev=549116&r1=549115&r2=549116
==============================================================================
--- jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/browser/index.jsp (original)
+++ jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/browser/index.jsp Wed Jun 20 07:18:22
2007
@@ -9,7 +9,7 @@
 	//djConfig.debugAtAllCosts = true;
 </script>
 
-<script type="text/javascript" src="<c:url value="/dojo/dojo.js"/>"></script>
+<script type="text/javascript" src="/dojo/dojo.js"></script>
 <script type="text/javascript" src="<c:url value="/browser/custom.js"/>"></script>
 
 <script language="JavaScript" type="text/javascript">
@@ -24,7 +24,7 @@
 	dojo.require("dojo.widget.TreeNodeV3");
 	dojo.require("dojo.widget.TreeBasicControllerV3");
 	dojo.require("dojo.widget.TreeLoadingControllerV3");
-	dojo.require("dojo.widget.TreeEmphaseOnSelect");	
+	dojo.require("dojo.widget.TreeEmphasizeOnSelect");	
 	dojo.require("dojo.widget.TreeSelectorV3");	
 	dojo.require("dojo.widget.TreeDeselectOnDblselect");	
 	dojo.require("dojo.widget.TreeContextMenuV3");
@@ -108,7 +108,7 @@
 <div dojoType="TreeLoadingControllerV3" widgetId="treeController" RpcUrl="tree.jsp"></div>
 <div dojoType="TreeSelectorV3" widgetId="selector"></div>	
 <div dojoType="TreeDeselectOnDblselect" selector="selector"></div>
-<div dojoType="TreeEmphaseOnSelect" selector="selector"></div>
+<div dojoType="TreeEmphasizeOnSelect" selector="selector"></div>
 <div dojoType="TreeContextMenuV3" toggle="explode" contextMenuForWindow="false" widgetId="treeContextMenu">
 	<div dojoType="TreeMenuItemV3" widgetId="treeContextMenuAddNode" caption="Add node" onClick="showDialog('node/addnode');"></div>
 	<div dojoType="TreeMenuItemV3" widgetId="treeContextMenuRemove" caption="Remove" onClick="showDialog('node/remove');"
iconSrc="<c:url value="/images/x.gif"/>"></div>

Modified: jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/login.jsp
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/login.jsp?view=diff&rev=549116&r1=549115&r2=549116
==============================================================================
--- jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/login.jsp (original)
+++ jackrabbit/trunk/contrib/jcr-navigator/src/main/webapp/login.jsp Wed Jun 20 07:18:22 2007
@@ -28,10 +28,7 @@
 	<tr>
 		<td height="350" width="50%">
 		<h4>Welcome</h4>
-		<ul>
-			<li>user: jackrabbit</li>
-			<li>password: jackrabbit</li>
-		</ul>
+		
 		</td>
 		<td>
 		<div id="roundMe">



Mime
View raw message