%-- Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) License Information: http://lamsfoundation.org/licensing/lams/2.0/ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA http://www.gnu.org/licenses/gpl.txt --%> <%@ page language="java"%> <%@ taglib uri="tags-bean" prefix="bean" %> <%@ taglib uri="tags-html" prefix="html" %> <%@ taglib uri="tags-logic" prefix="logic" %>
The first step in using the repository is to "log in" to a workspace with a tool name and indentification string. Generally each tool will have its own workspace. If the "log in" is successful, then a Ticket is returned. This ticket is used to access the workspace (get files, add new files, etc). In this demonstration, the ticket is placed in the session and the action classes get the ticket from the session and call the repository.
To start, either create your own workspace or log in to an existing workspace. If the JUNIT test data has been loaded into the database, then there will be a workspace "atoolWorkspace", with the tool name "atool" and indentification string "atool".
To create a new workspace, type in the new values in the fields below and click "createNewWorkspace". This will create the workspace and log you into the workspace.
Tool Name: | |
Indentification String (aka Password): | |
Workspace Name: |