[Stripes-users] Method handleValidationErrors and Wiki...

2008-12-22 Thread Héctor López
Hi all. Just noticed (after scratching my head for a couple hours) that I had misunderstood the statement “is invoked when validation fails” in the Validation Reference wiki. Can I have a wiki user to try to clarify it? User: hlopf Mail: hector.lo...@unileon.es Thanks. ---

Re: [Stripes-users] Method handleValidationErrors and Wiki...

2008-12-22 Thread marijan milicevic
Hi Hector, I am not a writer of this entry but I believe it means method will be invoked when validation not passes (fails). So, lets say you have a form that contains some validation errors, normally, user will be presented with your form and validation errors. However, if you implement Vali

Re: [Stripes-users] Method handleValidationErrors and Wiki...

2008-12-22 Thread Héctor López
Thanks for the reply. My error was to believe that handleValidationErrors was called “when validation fails”, when, in fact, the method is called “whenever there are ValidationErrors in the actionbeancontext” (as clearly stated in the javadoc, btw). This can seem the same at first sight, but th

Re: [Stripes-users] Method handleValidationErrors and Wiki...

2008-12-22 Thread marijan milicevic
shot in the dark(haven's used this before): could it be because validation errors are still present..? what happens when you try: * public* Resolution handleValidationErrors(ValidationErrors errors) *throws* Exception { String event = getContext().getEventName(); // First validat

Re: [Stripes-users] Method handleValidationErrors and Wiki...

2008-12-22 Thread Héctor López
Fortunately, they are :), let me try to show the big picture: I was using the same action to paint the edit screen and to persist edited data (different events). The jsp accesses user collections and I need to pass through an action before painting the screen. I needed the errors for reporting

Re: [Stripes-users] preventing a browser from saving form data?

2008-12-22 Thread Chris Cheshire
Thanks muchly Freddy :) By using the autocomplete="off" and the dynattr tld, I have solved this problem (at least until the browsers change the way they treat this non-standard parameter). Chris On Fri, Dec 19, 2008 at 4:08 PM, Freddy Daoud wrote: >> On >> a stripes note, I tried using the non-