You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by mp...@apache.org on 2003/12/18 08:43:16 UTC
cvs commit: cocoon-2.1/src/blocks/woody/samples/forms form2_bind_bean.xml form2_bind_xml.xml
mpo 2003/12/17 23:43:16
Modified: src/blocks/woody/samples/forms form2_bind_bean.xml
form2_bind_xml.xml
Log:
Updating samples to reflect the semantic change in binding files.
@read-only=true ==> @direction="load"
Revision Changes Path
1.7 +2 -2 cocoon-2.1/src/blocks/woody/samples/forms/form2_bind_bean.xml
Index: form2_bind_bean.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/form2_bind_bean.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- form2_bind_bean.xml 6 Nov 2003 22:58:36 -0000 1.6
+++ form2_bind_bean.xml 18 Dec 2003 07:43:16 -0000 1.7
@@ -10,8 +10,8 @@
<wb:context xmlns:wb="http://apache.org/cocoon/woody/binding/1.0" path="/" >
- <!-- the email value will not be saved because of the @readonly -->
- <wb:value id="email" path="email" readonly="true"/>
+ <!-- the email value will not be saved because of the @direction="load" -->
+ <wb:value id="email" path="email" direction="load"/>
<wb:value id="ipaddress" path="ipAddress"/>
<wb:value id="birthday" path="birthday"/>
<wb:value id="number" path="aNumber"/>
1.6 +2 -2 cocoon-2.1/src/blocks/woody/samples/forms/form2_bind_xml.xml
Index: form2_bind_xml.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/form2_bind_xml.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- form2_bind_xml.xml 18 Sep 2003 20:17:03 -0000 1.5
+++ form2_bind_xml.xml 18 Dec 2003 07:43:16 -0000 1.6
@@ -10,8 +10,8 @@
path="/data/wrapper/context" >
<wb:context path="info">
- <!-- the email value will not be saved because of the @readonly -->
- <wb:value id="email" path="email" readonly="true"/>
+ <!-- the email value will not be saved because of the @direction="load" -->
+ <wb:value id="email" path="email" direction="load"/>
<!-- jxpath binds to nodes as well as to attributes -->
<wb:value id="number" path="number/@value">