You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2004/12/15 04:22:22 UTC

svn commit: r111923 - /lenya/branches/BRANCH_1_2_X/src/webapp/lenya/content/search/search-and-results.xsp

Author: gregor
Date: Tue Dec 14 19:22:21 2004
New Revision: 111923

URL: http://svn.apache.org/viewcvs?view=rev&rev=111923
Log:
Switched from deprecated resolver.resolve() to resolver.resolveURI()
Modified:
   lenya/branches/BRANCH_1_2_X/src/webapp/lenya/content/search/search-and-results.xsp

Modified: lenya/branches/BRANCH_1_2_X/src/webapp/lenya/content/search/search-and-results.xsp
Url: http://svn.apache.org/viewcvs/lenya/branches/BRANCH_1_2_X/src/webapp/lenya/content/search/search-and-results.xsp?view=diff&rev=111923&p1=lenya/branches/BRANCH_1_2_X/src/webapp/lenya/content/search/search-and-results.xsp&r1=111922&p2=lenya/branches/BRANCH_1_2_X/src/webapp/lenya/content/search/search-and-results.xsp&r2=111923
==============================================================================
--- lenya/branches/BRANCH_1_2_X/src/webapp/lenya/content/search/search-and-results.xsp	(original)
+++ lenya/branches/BRANCH_1_2_X/src/webapp/lenya/content/search/search-and-results.xsp	Tue Dec 14 19:22:21 2004
@@ -15,7 +15,7 @@
   limitations under the License.
 -->
 
-<!-- $Id: search-and-results.xsp,v 1.16 2004/07/12 03:28:22 michi Exp $ -->
+<!-- $Id$ -->
 
 <xsp:page language="java"
           xmlns:xsp="http://apache.org/xsp"
@@ -130,8 +130,8 @@
   <search-and-results>
     <xsp:logic>
       // Get sitemap path
-      org.apache.cocoon.environment.Source input_source=this.resolver.resolve("");
-      String sitemapPath=input_source.getSystemId();
+      org.apache.excalibur.source.Source input_source=this.resolver.resolveURI("");
+      String sitemapPath=input_source.getURI();
       sitemapPath=sitemapPath.substring(5); // Remove "file:" protocol
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org