You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/04/26 17:47:43 UTC

svn commit: r532784 - /lenya/trunk/src/modules/editors/java/src/org/apache/lenya/cms/editors/forms/FormsEditor.java

Author: andreas
Date: Thu Apr 26 08:47:43 2007
New Revision: 532784

URL: http://svn.apache.org/viewvc?view=rev&rev=532784
Log:
Forms editor: advance before executing, otherwise the last change is not saved

Modified:
    lenya/trunk/src/modules/editors/java/src/org/apache/lenya/cms/editors/forms/FormsEditor.java

Modified: lenya/trunk/src/modules/editors/java/src/org/apache/lenya/cms/editors/forms/FormsEditor.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/editors/java/src/org/apache/lenya/cms/editors/forms/FormsEditor.java?view=diff&rev=532784&r1=532783&r2=532784
==============================================================================
--- lenya/trunk/src/modules/editors/java/src/org/apache/lenya/cms/editors/forms/FormsEditor.java (original)
+++ lenya/trunk/src/modules/editors/java/src/org/apache/lenya/cms/editors/forms/FormsEditor.java Thu Apr 26 08:47:43 2007
@@ -182,6 +182,8 @@
 
     protected void doExecute() throws Exception {
         super.doExecute();
+        
+        advance();
 
         List errors = (List) getParameter(VALIDATION_ERRORS);
         if (errors != null) {



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