cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r552994 - /cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/flow/binding_example.js
Date Tue, 03 Jul 2007 21:47:12 GMT
Author: reinhard
Date: Tue Jul  3 14:47:12 2007
New Revision: 552994

URL: http://svn.apache.org/viewvc?view=rev&rev=552994
Log:
OutputKeys.INDENT accepts "yes" or "no"

Modified:
    cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/flow/binding_example.js

Modified: cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/flow/binding_example.js
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/flow/binding_example.js?view=diff&rev=552994&r1=552993&r2=552994
==============================================================================
--- cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/flow/binding_example.js
(original)
+++ cocoon/trunk/blocks/cocoon-forms/cocoon-forms-sample/src/main/resources/COB-INF/flow/binding_example.js
Tue Jul  3 14:47:12 2007
@@ -5,9 +5,9 @@
  * The ASF licenses this file to You under the Apache License, Version 2.0
  * (the "License"); you may not use this file except in compliance with
  * the License.  You may obtain a copy of the License at
- * 
+ *
  *      http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS,
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -84,7 +84,7 @@
     bean.addContact(contact);
     bean.addDrink("Maes");
     bean.addDrink("Leffe");
-    
+
     form.load(bean);
     form.showForm("form2-display-pipeline");
     form.save(bean);
@@ -140,7 +140,7 @@
             outputStream = source.getOutputStream();
             var transformerHandler = tf.newTransformerHandler();
             var transformer = transformerHandler.getTransformer();
-            transformer.setOutputProperty(Packages.javax.xml.transform.OutputKeys.INDENT,
"true");
+            transformer.setOutputProperty(Packages.javax.xml.transform.OutputKeys.INDENT,
"yes");
             transformer.setOutputProperty(Packages.javax.xml.transform.OutputKeys.METHOD,
"xml");
             transformerHandler.setResult(new Packages.javax.xml.transform.stream.StreamResult(outputStream));
 



Mime
View raw message