# HG changeset patch # User engler # Date 1055493599 -7200 # Node ID 8564a437843d549e9a6087a6690068762192db7b # Parent a32e8c80e2f2229c7049b43a0fc9d217aba32143 prototype annota diff -r a32e8c80e2f2 -r 8564a437843d client/digitallibrary/digilib.jsp --- a/client/digitallibrary/digilib.jsp Wed Jun 11 22:51:28 2003 +0200 +++ b/client/digitallibrary/digilib.jsp Fri Jun 13 10:39:59 2003 +0200 @@ -1,25 +1,6 @@ <%@ page language="java" %> <%! -/* -Copyright (C) 2003 WTWG, Uni Bern - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA - -Author: Christian Luginbuehl, 01.05.2003 , Version Alcatraz 0.3 -*/ // authentication stuff - robert // ----------------------------- // create DocumentBean instance for all JSP requests @@ -59,7 +40,7 @@ // level 3 representation hack - lugi - // it would be musch more interesting to check + // it would be much more interesting to check // if the sidebar is actually installed and in // the case it isn't - automatically do it. // however this requires client-side tests and @@ -135,8 +116,18 @@ client = "&dw=" + (innerWidth-30) + "&dh=" + (innerHeight-30); } - - location.replace(document.URL + client); +<% + if (dlRequest.isRDF()){ + String strAllParams=dlRequest.getAsString(); +%> + location.replace(document.URL+"?"+"<%=strAllParams%>" + client); +<% + }else{ +%> + location.replace(document.URL + client); +<% + } +%> } @@ -158,37 +149,41 @@ Digital Document Library - Alcatraz (Level 1) - + + + + + + + + - +
@@ -249,4 +244,4 @@ } // end switch -%> +%> \ No newline at end of file