Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

RemoteObject FaultEvent, Alert, Cairngorm


Level 1

Hi All,

I am using the Cairngorm framework, Java for my online flex application. One of my screens has a search field, upon clicking enter an Event is dispatched and the corressponding Command class is called. This command class sends a RemoteObject request to one of the Java class methods which returns a list of items found.

When there is an error returned the FaultEvent method catches it and throws and Alert message to the user.

Now my problem is if any of the next search returns Fault, the Alert message pops up twice and keeps adding up every time a Fault is returned.

So for ex: if 4 times the search fails, the Alert message pops up 4 times.

This is very annonying and I am not able to figure it out exactly. Is it my code or something to do with Cairngorm?

Please suggest.



0 Replies