• 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: Exceptions originting from non-existing DirectActions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exceptions originting from non-existing DirectActions


  • Subject: Re: Exceptions originting from non-existing DirectActions
  • From: Anjo Krank <email@hidden>
  • Date: Tue, 8 Feb 2011 11:41:34 +0100

DA.performActionNamed(String val) {
  try {super.performActionNamed(val)} catch(InvocationTargetException ex) {return new WOResponse();};
}
Am 08.02.2011 um 11:33 schrieb Henrique Gomes:

> It might help to give more information, page structure, what components, etc.
> I might wrong but either you have some binding wrong, or there's a bug in WO / whatever framework you are using.
> Trying to catch it might not be the best course of action.
>
> Henrique Gomes
>
>
> On Feb 8, 2011, at 9:49 AM, ute Hoffmann wrote:
>
>> Hallo,
>> I get sometimes Error Messages containing DirectActions which do not exist.
>>
>> Some of them happen when a page is not yet fully loaded and a javascript is executed
>> containing a image, then the image appears in a DirectAction call like this:
>>
>> FusszeielundImpressumaendern_b-poster.jpgAction()
>>
>> The image is in the page, but the Action not.
>>
>> Has someone an explanation for this and perhaps a solution to avoid this?
>>
>> Can one catch a java.lang.reflect.InvocationTargetException and if yes, where should I do this?
>> In DirectAction.java? In Application?
>> I would like to catch all Exceptions originating from non-existing DirectAction Calls if possible.
>>
>> Any insight appreciated
>>
>> Regards
>>
>> Ute
>>
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-deploy mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> _______________________________________________
> 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

 _______________________________________________
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: 
 >Exceptions originting from non-existing DirectActions (From: ute Hoffmann <email@hidden>)
 >Re: Exceptions originting from non-existing DirectActions (From: Henrique Gomes <email@hidden>)

  • Prev by Date: Re: Exceptions originting from non-existing DirectActions
  • Next by Date: AW: Exceptions originting from non-existing DirectActions
  • Previous by thread: Re: Exceptions originting from non-existing DirectActions
  • Next by thread: AW: Exceptions originting from non-existing DirectActions
  • Index(es):
    • Date
    • Thread