You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2005/08/31 20:40:35 UTC

svn commit: r265544 - /lenya/trunk/src/webapp/lenya/usecases/usecases.js

Author: thorsten
Date: Wed Aug 31 11:40:31 2005
New Revision: 265544

URL: http://svn.apache.org/viewcvs?rev=265544&view=rev
Log:
Fixed the cform integration. I needed to switch the position of the binding to make it possible to load values into the form

Modified:
    lenya/trunk/src/webapp/lenya/usecases/usecases.js

Modified: lenya/trunk/src/webapp/lenya/usecases/usecases.js
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/usecases/usecases.js?rev=265544&r1=265543&r2=265544&view=diff
==============================================================================
--- lenya/trunk/src/webapp/lenya/usecases/usecases.js (original)
+++ lenya/trunk/src/webapp/lenya/usecases/usecases.js Wed Aug 31 11:40:31 2005
@@ -141,9 +141,6 @@
                           evalFunc(form);
                        }
 
-                       // form template
-                       form.showForm(viewUri, {"usecase" : proxy});
-                       
                        // form binding
                        if (view.getCformBinding() != null){
                           var viewBind = "fallback://lenya/"+ view.getCformBinding();
@@ -166,6 +163,9 @@
 	                          evalFunc = new Function ("form",scriptString);
                               evalFunc(form);
 	                      }
+	                      
+	                      // form template
+                          form.showForm(viewUri, {"usecase" : proxy});
                        }
                     }
                     else{



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org