Hi to all. I'm working on a project using Struts 1.1 because those are
client requirements. I override RequestProcessor and some of it's methods.
like processRoles, processActionPerform, and so on. I want to implement a
logic like Struts 2 Preparable interface, where if you implement in your
You only call prepareAfter if there aren't validation errors--if there are,
it won't be called.
On Fri, Sep 17, 2010 at 4:48 PM, Oscar oscar.kalde...@gmail.com wrote:
Hi to all. I'm working on a project using Struts 1.1 because those are
client requirements. I override RequestProcessor and
But doesn't exist a way to do that? I mean, execute super.processValidate()
and execute code after that? Because it will be useful to prepare stuff
after you do something in the action, for example, insert something in the
action and after prepare a list of items or something like that.
2010/9/17
...
Of course you can execute code after that.
*You're* executing code after that--but when there are validation errors the
code you'll execute is the check to see if there were validation errors and
the type check.
On Fri, Sep 17, 2010 at 5:51 PM, Oscar oscar.kalde...@gmail.com wrote:
But
But i understand that, if there are validation errors, in this line:
boolean resValidacion = super.processValidate(request, response, form,
mapping);
resValidacion will be false, but instead that looks like the execution
breaks in that point and redirects to input
2010/9/17 Dave Newton
I'm skeptical--does the superclass throw an exception?
On Fri, Sep 17, 2010 at 6:26 PM, Oscar oscar.kalde...@gmail.com wrote:
But i understand that, if there are validation errors, in this line:
boolean resValidacion = super.processValidate(request, response, form,
mapping);
resValidacion
No, i was looking in the stack trace but there's no exception, just
redirects to input page.
2010/9/17 Dave Newton davelnew...@gmail.com
I'm skeptical--does the superclass throw an exception?
On Fri, Sep 17, 2010 at 6:26 PM, Oscar oscar.kalde...@gmail.com wrote:
But i understand that, if
7 matches
Mail list logo