commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/latka/src/java/org/apache/commons/latka/jelly HttpTag.java SuiteTag.java SessionTag.java
Date Sat, 06 Jul 2002 07:36:49 GMT
dion        2002/07/06 00:36:49

  Modified:    latka/src/java/org/apache/commons/latka/jelly HttpTag.java
                        SuiteTag.java SessionTag.java
  Log:
  Used id as variable name
  
  Revision  Changes    Path
  1.6       +8 -5      jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/HttpTag.java
  
  Index: HttpTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/HttpTag.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- HttpTag.java	4 Jul 2002 16:43:36 -0000	1.5
  +++ HttpTag.java	6 Jul 2002 07:36:49 -0000	1.6
  @@ -137,7 +137,10 @@
               SessionTag.class);
           HttpMultiClient client = sessionTag.getHttpClient();
           client.executeMethod(urlMethod);
  -        getContext().setVariable("request", urlMethod);
  +        if (getId() != null) {
  +            getContext().setVariable(getId(), urlMethod);
  +        }
  +        invokeBody(xmlOutput);
       }
   
       //--------------------------------------------------------------------------
  
  
  
  1.6       +5 -5      jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/SuiteTag.java
  
  Index: SuiteTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/SuiteTag.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- SuiteTag.java	6 Jul 2002 03:02:33 -0000	1.5
  +++ SuiteTag.java	6 Jul 2002 07:36:49 -0000	1.6
  @@ -103,7 +103,7 @@
               getContext().setVariable("http.proxyPort", 
                   String.valueOf(getProxyPort()));
           }
  -        xmlOutput.write(getBodyText());
  +        invokeBody(xmlOutput);
       }
       
       //--------------------------------------------------------------------------
  
  
  
  1.5       +4 -4      jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/SessionTag.java
  
  Index: SessionTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/latka/src/java/org/apache/commons/latka/jelly/SessionTag.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- SessionTag.java	6 Jul 2002 03:02:04 -0000	1.4
  +++ SessionTag.java	6 Jul 2002 07:36:49 -0000	1.5
  @@ -98,7 +98,7 @@
               _httpClient = new HttpMultiClient();
           }
           
  -        xmlOutput.write(getBodyText());
  +        invokeBody(xmlOutput);
       }
       
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message