--- On Wed, 10/15/08, David C. Hicks wrote:
> We are using the "simple" theme primarily, but even if the page won't 
> report errors shouldn't the action fail if it is validating and I give 
> it bad data on purpose?

Yes, but you never actually said specifically what was or wasn't happening, so 
I had to guess.

> Our main layout has a <s:actionerror/> tag that should get 
> any reported validation, though.

Didn't know that either.

> We're just not relying on the theme to insert that tag for us.

None of the default shipping themes would; the themes that show error messages 
put the messages inline with the form fields.

The first thing I'd try is creating a XxxController-add-validation.xml and see 
if that works, since you've defined an alias for the action class. (Where Xxx 
is whatever that controller class was called.)

Are you using zero-config?

Dave


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

Reply via email to