• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: custom error page and nested form problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >custom error page and nested form problem (From: Oliver Scheel <email@hidden>)

  • Prev by Date: Re: Minifying Javascript during build
  • Next by Date: Re: help - subcomponent won't update
  • Previous by thread: custom error page and nested form problem
  • Next by thread: Re: custom error page and nested form problem
  • Index(es):
    • Date
    • Thread