Re: custom error page and nested form problem
Re: custom error page and nested form problem
- Subject: Re: custom error page and nested form problem
- From: Chuck Hill <email@hidden>
- Date: Wed, 22 Oct 2008 19:42:31 -0700
On Oct 22, 2008, at 1:31 PM, Oliver Scheel wrote:
I have a simple custom error page with a form inside to send an
error mail with user comments. When the exception occurs inside a
form WO complains about a nested form and the error form tag is not
generated. The error page is called via handleException() in the
application class.
To solve it, I do (in handleException):
context.setInForm(false);
Is this the intended way?
I think this might be a bug in Wonder. It is Wonder that complains
about the nested form and skips generating the tag. I am not sure if
it can see the exception and fix the problem or not. In the meantime,
your solution seems OK.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden