Hi,

I have same problem. I'm using Struts 2 modular. 

When validation error occured the user object is changed on view is still
persisted ??

I don't know how to prevent this and I don't really understand how to change
opensessioninview for this.

Please, tell me exactly what I should do.

-taltun


mraible wrote:
> 
> I would debug your application and set a breakpoint in the cancel method.
> 
> Matt
> 
> On Thu, Dec 18, 2008 at 8:02 PM, Ernas Moethar <ern...@gmail.com> wrote:
> 
>> Hi,
>>
>> I am using appfuse with Struts basic archtype.
>>
>> I noticed that my application persisted object modification even
>> return "cancel" on  controller action, or when validation error occured.
>>
>> I tried to change hibernate flushMode to MANUAL, NEVER or COMMIT
>> but the problem still appearing. Anyone has an idea what causing this
>> and how to prevent that.
>>
>> Any help would really appreciated.
>>
>> --
>> Ernas Moethar
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
>> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Object-persisted-event-on-cancel-action-or-validation-error-tp21085013s2369p24517197.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Reply via email to