You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by sy...@apache.org on 2002/02/05 18:15:14 UTC

cvs commit: xml-cocoon2/src/scratchpad/src/org/apache/cocoon/treeprocessor/sitemap SelectNode.java

sylvain     02/02/05 09:15:14

  Modified:    src/scratchpad/src/org/apache/cocoon/treeprocessor/sitemap
                        SelectNode.java
  Log:
  Fix bug #6249
  Corrected typo that causes exception in compose()
  
  Revision  Changes    Path
  1.5       +2 -2      xml-cocoon2/src/scratchpad/src/org/apache/cocoon/treeprocessor/sitemap/SelectNode.java
  
  Index: SelectNode.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/src/org/apache/cocoon/treeprocessor/sitemap/SelectNode.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SelectNode.java	4 Feb 2002 14:39:53 -0000	1.4
  +++ SelectNode.java	5 Feb 2002 17:15:14 -0000	1.5
  @@ -82,7 +82,7 @@
   /**
    *
    * @author <a href="mailto:sylvain@apache.org">Sylvain Wallez</a>
  - * @version CVS $Id: SelectNode.java,v 1.4 2002/02/04 14:39:53 cziegeler Exp $
  + * @version CVS $Id: SelectNode.java,v 1.5 2002/02/05 17:15:14 sylvain Exp $
    */
   
   public class SelectNode extends SimpleSelectorProcessingNode
  @@ -119,7 +119,7 @@
   
       public void compose(ComponentManager manager) throws ComponentException {
   
  -        setSelector((ComponentSelector)manager.lookup(Selector.ROLE));
  +        setSelector((ComponentSelector)manager.lookup(Selector.ROLE + "Selector"));
   
           // Get the selector, if it's ThreadSafe
           this.threadSafeSelector = (Selector)this.getThreadSafeComponent();
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org