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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to