You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ha...@apache.org on 2002/12/19 11:34:47 UTC

cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/modules/input DigestMetaModule.java MapMetaModule.java XMLMetaModule.java

haul        2002/12/19 02:34:47

  Modified:    src/java/org/apache/cocoon/components/modules/input
                        DigestMetaModule.java MapMetaModule.java
                        XMLMetaModule.java
  Log:
  last round of missing global config options
  
  Revision  Changes    Path
  1.10      +2 -1      xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/DigestMetaModule.java
  
  Index: DigestMetaModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/DigestMetaModule.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- DigestMetaModule.java	17 Dec 2002 14:53:16 -0000	1.9
  +++ DigestMetaModule.java	19 Dec 2002 10:34:47 -0000	1.10
  @@ -83,6 +83,7 @@
       public void configure(Configuration config) throws ConfigurationException {
   
           this.inputConf = config.getChild("input-module");
  +        this.defaultInput = this.inputConf.getAttribute("name", this.defaultInput);
           this.defaultAlgorithm = this.inputConf.getAttribute("algorithm",this.defaultAlgorithm);
           this.defaultProvider = this.inputConf.getAttribute("provider",this.defaultProvider);
           this.defaultSalt = this.inputConf.getAttribute("salt",this.defaultSalt);
  
  
  
  1.8       +2 -1      xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/MapMetaModule.java
  
  Index: MapMetaModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/MapMetaModule.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- MapMetaModule.java	17 Dec 2002 14:53:16 -0000	1.7
  +++ MapMetaModule.java	19 Dec 2002 10:34:47 -0000	1.8
  @@ -77,6 +77,7 @@
       public void configure(Configuration config) throws ConfigurationException {
   
           this.inputConf = config.getChild("input-module");
  +        this.defaultInput = this.inputConf.getAttribute("name", this.defaultInput);
           this.objectName = this.inputConf.getAttribute("object",this.objectName);
           this.parameter = this.inputConf.getAttribute("parameter",this.parameter);
       }
  
  
  
  1.9       +2 -1      xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/XMLMetaModule.java
  
  Index: XMLMetaModule.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/modules/input/XMLMetaModule.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- XMLMetaModule.java	17 Dec 2002 14:53:16 -0000	1.8
  +++ XMLMetaModule.java	19 Dec 2002 10:34:47 -0000	1.9
  @@ -138,6 +138,7 @@
       public void configure(Configuration config) throws ConfigurationException {
   
           this.inputConf = config.getChild("input-module");
  +        this.defaultInput = this.inputConf.getAttribute("name", this.defaultInput);
           this.rootName = this.inputConf.getAttribute("root",this.rootName);
           this.ignore = this.inputConf.getAttribute("ignore",this.ignore);
           this.use = this.inputConf.getAttribute("use",this.use);
  
  
  

----------------------------------------------------------------------
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