# a popup not popping up

**URL:** <https://techcommunity.softwareag.com/t/a-popup-not-popping-up/57086>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Application-Composer\
**Created:** [April 27, 2006, 5:21pm UTC](https://techcommunity.softwareag.com/t/a-popup-not-popping-up/57086 "2006-04-27T17:21:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carsten\_Habicht](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@Carsten\_Habicht](https://techcommunity.softwareag.com/u/Carsten_Habicht)\
**Post date:** [April 27, 2006, 5:21pm UTC](https://techcommunity.softwareag.com/t/a-popup-not-popping-up/57086/1 "2006-04-27T17:21:20Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 27, 2006, 3:10pm UTC](https://techcommunity.softwareag.com/t/a-popup-not-popping-up/57086/2 "2006-04-27T15:10:39Z")

</div>

hi folks.

when trying to open a popup from a popupyesno just nothing happens, except that the popupyesno-window dissapears. it worked a few days ago, but it’s broken now. i don’t understand, what causes that effect.

relevant code looks similar to this:

```auto
  PopupYesNoModel pyn = (PopupYesNoModel) findModel(PopupYesNoModel.class);
  pyn.init("Es wurde kein Auftrag mit der Auftragsnummer "
      + aOrderNumber + "\nim Auftragsjahr "
      + aOrderYear + " gefunden.\nSoll ein Auftrag mit dieser"
      + " Auftragsnummer angelegt werden?",
      new YesCommandOpenCustomerSearch(this, aOrderNumber,
          aOrderYear), new ICommand() {
        public void execute() {/* Der NoCommand tut nichts... */
        }
      });
  this.openPopup("/HTMLBasedGUI/popupyesno.html");
```

and this:

[code]  
public class YesCommandOpenKundenSuche implements ICommand, CustomerSearchSelectionListener {  
…

```
/** ICommand-Implementierung */
public void execute() {
  CustomerSearchAdapter tKSA = (CustomerSearchAdapter) findModel(CustomerSearchAdapter.class);
  tKSA.initForOrderCreation(this);

  setPopupFeatures(-1, // x-position
      -1, // y-position
      900, // width
      730, // height
      "" // additional features as string (see PAGE-POPUPFEATURES docu)
  );
  setPopupTitle("Komplex als Kunden f

```

[eth2.txt](https://techcommunity.softwareag.com/uploads/short-url/3p4KgeHwPLgL0jTlaiBTQkgiDzZ.txt) (7.58 KB)

---

<div class="post-metadata">

**Author:** ![Carsten\_Habicht](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@Carsten\_Habicht](https://techcommunity.softwareag.com/u/Carsten_Habicht)\
**Post date:** [May 3, 2006, 8:08pm UTC](https://techcommunity.softwareag.com/t/a-popup-not-popping-up/57086/3 "2006-05-03T20:08:54Z")

</div>

the problem seems to relate to the method closePage().  
i wrote my own version of the PopupYesNo-window, which triggers the another popup. but the new window doesn’t appear when closePage() is called after the openPopup()-method. to work around this, i have to close the confirmation window manually after the popup-window is shown.

another solution could have been to use the the model-object that opened the PopupYesNo-window, to also open the desired second popup-window. that approach doesn’t seem to work, either.

don’t know if it’s a bug or a feature, but i’d appreciate to know a bit more about what happens, when one tries to open popup-windows using openPopup(). :o)

best regards  
carsten habicht

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:38pm UTC](https://techcommunity.softwareag.com/t/a-popup-not-popping-up/57086/4 "2021-04-02T14:38:24Z")

</div>


