How can i override the methode -close window?

Developers
2010-06-23
2013-04-29
  • Mingmei Xia

    Mingmei Xia - 2010-06-23

    Hi, everyone,

    i have now a problem,  i can override  override the mechode cancel() to close a popup window, but  I can't override the Button (upper left "cross" of popup window) , the "cross"  is not working equal as cancel(). I tried to put break point anywhere , for example by back() or close(), but they are never called during the debug.   what can i do ?

    thank you very much

     
  • Mingmei Xia

    Mingmei Xia - 2010-06-23

    By the way, im  my case is the popup window ein CRUDInstance

     
  • Luca Garulli

    Luca Garulli - 2010-06-23

    Hi,
    you can implement the ViewCallback interface (CRUDInstance already does it) and implemente the onDispose() method. it will be called everytime the form is closed.

    bye,
    Lvc@

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks