bruno 2003/07/24 05:41:20
Modified: src/blocks/woody/samples/flow binding_example.js
Log:
initialise birthday field on Form2Bean sample
Revision Changes Path
1.7 +1 -0 cocoon-2.1/src/blocks/woody/samples/flow/binding_example.js
Index: binding_example.js
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/flow/binding_example.js,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- binding_example.js 24 Jul 2003 08:27:45 -0000 1.6
+++ binding_example.js 24 Jul 2003 12:41:20 -0000 1.7
@@ -91,6 +91,7 @@
bean.setPhoneCountry("32");
bean.setPhoneZone("2");
bean.setPhoneNumber("123456");
+ bean.setBirthday(new java.util.Date());
var contact = new Packages.org.apache.cocoon.woody.samples.Contact();
contact.setId("1");
contact.setFirstName("Herman");