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:
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 (7.58 KB)