Author: snoopdave
Date: Fri Apr  7 12:47:35 2006
New Revision: 392371

URL: http://svn.apache.org/viewcvs?rev=392371&view=rev
Log:
Fixes problem that occurs when posting immediately after a delete

Modified:
    
incubator/roller/trunk/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java

Modified: 
incubator/roller/trunk/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java
URL: 
http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java?rev=392371&r1=392370&r2=392371&view=diff
==============================================================================
--- 
incubator/roller/trunk/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java
 (original)
+++ 
incubator/roller/trunk/src/org/roller/presentation/weblog/actions/WeblogEntryFormAction.java
 Fri Apr  7 12:47:35 2006
@@ -582,11 +582,12 @@
                 return mapping.findForward("access-denied");
             }
         } catch (Exception e) {
-            throw new ServletException(e);
+            throw new ServletException(e); 
         }
         
         // need to reset all values to empty (including 'id')
         actionForm = new WeblogEntryFormEx();
+        actionForm.reset(mapping, request);
         request.setAttribute(mapping.getName(), actionForm);
         return create(mapping, actionForm, request, response);
     }


Reply via email to