cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject svn commit: r158073 - cocoon/blocks/core/forms/trunk/samples/swan/forms/binding_binding.xml
Date Fri, 18 Mar 2005 14:31:10 GMT
Author: tim
Date: Fri Mar 18 06:31:08 2005
New Revision: 158073

URL: http://svn.apache.org/viewcvs?view=rev&rev=158073
Log:
Fix swan binding editor by remembering to disable 'view' widget.

Modified:
    cocoon/blocks/core/forms/trunk/samples/swan/forms/binding_binding.xml

Modified: cocoon/blocks/core/forms/trunk/samples/swan/forms/binding_binding.xml
URL: http://svn.apache.org/viewcvs/cocoon/blocks/core/forms/trunk/samples/swan/forms/binding_binding.xml?view=diff&r1=158072&r2=158073
==============================================================================
--- cocoon/blocks/core/forms/trunk/samples/swan/forms/binding_binding.xml (original)
+++ cocoon/blocks/core/forms/trunk/samples/swan/forms/binding_binding.xml Fri Mar 18 06:31:08
2005
@@ -196,6 +196,8 @@
     <fb:javascript id="view-selector" path="." direction="load">
       <fb:load-form>
         widget.setValue("edit");
+        // View is selected by buttons.
+        widget.setState(Packages.org.apache.cocoon.forms.formmodel.WidgetState.DISABLED);
       </fb:load-form>
     </fb:javascript>
   </fb:class>



Mime
View raw message