Re: Ponder: Validation exception catch?

Jean-François Veillette <[email protected]> Wed, 29 May 2013 08:53:03 -0400
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
> I have a ERXStateless Login page.
> I want to show the validation error:
> Validation failed on an object [null] with keypath = null and exception: Login failed: Invalid credentials
> 
> How do I access that from ERXStatelessComponent?

Could use either request user info dictionary (request().userInfo().set(..)) or thread storage (ERXThreadStorage) to put error information in invokeAction, then read it back in appendToResponse.

jfv

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1

_______________________________________________
Wonder-disc mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wonder-disc