You can also use the standard ValidationDelegate and call
setComponent(null) before calling record.  The *standard*
ValidationConstraint for this to pass in to the record method is
CONSISTENCY.  I use this for cases when, say, the login failed because
there's already an admin logged in to a single admin system.  Seems
like it should work for you.  You just need to show it somewhere
meaningful.

-Mike

On 3/14/06, Craig Hamilton <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a component that I can include in the html to show general
> validation messages?  I have a shopping cart, and need to say the credit
> card is declined for instance....how do I show that on the page, not tied
> to a specific input box?
>
> Thanks,
> Craig
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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

Reply via email to