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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-deploy/lists%40farol.pt
>>
>> This email sent to [email protected]
>
> _______________________________________________
> 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/anjo%40krank.net
>
> This email sent to [email protected]
_______________________________________________
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]