Re: Ponder: Validation exception catch?

Ramsey Gurley <[email protected]> Tue, 28 May 2013 17:50:11 -0700
Newsgroups gmane.comp.web.webobjects.wonder-disc
Message-ID <[email protected]>
It would be ill advised to try to create a ERXStatelessComponent top level page component. Since stateless components call reset() on every step of the component lifecycle, your login validation error would be long gone from the page by the time you reach appendToResponse.

Maybe an ERXNonSynchronizing or ERXComponent would be better for your needs?

Ramsey

On May 28, 2013, at 3:36 PM, James Cicenia wrote:

> 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?
> 
> Thanks
> James
> 
> 
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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