cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript woody2.js
Date Sat, 17 Jan 2004 14:55:17 GMT
vgritsenko    2004/01/17 06:55:17

  Modified:    src/blocks/woody/java/org/apache/cocoon/woody/binding
                        JavaScriptJXPathBinding.java
               src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript
                        woody2.js
  Log:
  Braces, kill tabs.
  
  Revision  Changes    Path
  1.6       +7 -4      cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/JavaScriptJXPathBinding.java
  
  Index: JavaScriptJXPathBinding.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/binding/JavaScriptJXPathBinding.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- JavaScriptJXPathBinding.java	11 Jan 2004 20:51:16 -0000	1.5
  +++ JavaScriptJXPathBinding.java	17 Jan 2004 14:55:17 -0000	1.6
  @@ -84,8 +84,9 @@
       }
   
       public void doLoad(Widget frmModel, JXPathContext jctx) {
  -
  -        if (this.loadScript == null) return;
  +        if (this.loadScript == null) {
  +            return;
  +        }
   
           Widget widget = frmModel.getWidget(this.id);
   
  @@ -115,7 +116,9 @@
       }
   
       public void doSave(Widget frmModel, JXPathContext jctx) throws BindingException {
  -        if (this.saveScript == null) return;
  +        if (this.saveScript == null) {
  +            return;
  +        }
   
           Widget widget = frmModel.getWidget(this.id);
   
  
  
  
  1.5       +5 -5      cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript/woody2.js
  
  Index: woody2.js
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/java/org/apache/cocoon/woody/flow/javascript/woody2.js,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- woody2.js	23 Dec 2003 11:06:45 -0000	1.4
  +++ woody2.js	17 Jan 2004 14:55:17 -0000	1.5
  @@ -141,11 +141,11 @@
           var formContext = 
               Packages.org.apache.cocoon.woody.flow.javascript.WoodyFlowHelper.getFormContext(cocoon,
this.locale);
   
  -		// Prematurely add the bizData as a request attribute so that event listeners can use
it
  -		// (the same is done by cocoon.sendPage())
  -		cocoon.request.setAttribute(Packages.org.apache.cocoon.components.flow.FlowHelper.CONTEXT_OBJECT,
bizData);
  +        // Prematurely add the bizData as a request attribute so that event listeners can
use it
  +        // (the same is done by cocoon.sendPage())
  +        cocoon.request.setAttribute(Packages.org.apache.cocoon.components.flow.FlowHelper.CONTEXT_OBJECT,
bizData);
   
  -		finished = this.form.process(formContext);
  +        finished = this.form.process(formContext);
           
           // Additional flow-level validation
           if (finished && this.form.isValid()) {
  
  
  

Mime
View raw message