0 Replies Latest reply on Nov 19, 2009 1:38 PM by ShankarFlex3

    RemoteObject FaultEvent, Alert, Cairngorm

    ShankarFlex3

      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.

       

       

      Thanks,

      Shankar.