You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by lu...@apache.org on 2004/09/25 22:28:55 UTC

cvs commit: jakarta-slide/src/share/org/apache/slide/search SearchToken.java

luetzkendorf    2004/09/25 13:28:55

  Modified:    src/share/org/apache/slide/search Tag:
                        SLIDE_2_1_RELEASE_BRANCH SearchToken.java
  Log:
  fix for bug 28140; pass slide context path tp new SlideUri ctro
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.6.2.1   +7 -6      jakarta-slide/src/share/org/apache/slide/search/SearchToken.java
  
  Index: SearchToken.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/search/SearchToken.java,v
  retrieving revision 1.6
  retrieving revision 1.6.2.1
  diff -u -r1.6 -r1.6.2.1
  --- SearchToken.java	28 Jul 2004 09:35:09 -0000	1.6
  +++ SearchToken.java	25 Sep 2004 20:28:55 -0000	1.6.2.1
  @@ -93,8 +93,9 @@
   		this.contentHelper = content;
   		this.structureHelper = structure;
   		this.maxDepth = maxDepth;
  -        this.slideContext = new SlideUri (requestUri);
  -        this.namespace = namespace;
  +      this.slideContext = SlideUri.createWithRequestUri(
  +              (String)token.getParameter("slideContextPath"), requestUri);
  +      this.namespace = namespace;
       }
       
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org