Hello,

I'm using a recent nightly build of struts along with scaffolding and
the struts/contrib scaffolding code.

I've got a process bean that is responsible for updating a user's
password and if the user doesn't enter the same new password twice,
I want to return an error and go back to the same page.

I've tried ProcessResult.addMessage() but that doesn't add an error..
Just a message.

>From looking at the code for BaseAction and ProcessAction, the only way
that I'm seeing to actually add an error message is for it to be struts
1.0 and the saveErrors() method being called.

What's the proper procedure for saving an error message for struts 1.1?
Basically, I'm wanting BaseAction.isErrors() to get called in the 
execute() method after executeLogic, but I'm not clear on the proper
way to do this via scaffolding.

Thanks in advance,

-- 

Kirby Vandivort                      Theoretical and Computational Biophysics 
Email: [EMAIL PROTECTED]          3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/    University of Illinois
Phone: (217) 244-5711                405 N. Mathews Ave
Fax  : (217) 244-6078                Urbana, IL  61801, USA

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to