BF [ 2992540 ] Grid/Panel not refreshed after process run

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2992540
This commit is contained in:
teo_sarca 2010-04-26 20:05:46 +00:00
parent b7f64013c8
commit 788947ce47
1 changed files with 6 additions and 0 deletions

View File

@ -106,6 +106,10 @@ import org.zkoss.zul.Menupopup;
* @author hengsin, hengsin.low@idalica.com * @author hengsin, hengsin.low@idalica.com
* @see FR [2887701] https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2887701&group_id=176962 * @see FR [2887701] https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2887701&group_id=176962
* @sponsor www.metas.de * @sponsor www.metas.de
*
* @author Teo Sarca, teo.sarca@gmail.com
* <li>BF [ 2992540 ] Grid/Panel not refreshed after process run
* https://sourceforge.net/tracker/?func=detail&aid=2992540&group_id=176962&atid=955896
*/ */
public abstract class AbstractADWindowPanel extends AbstractUIPart implements ToolbarListener, public abstract class AbstractADWindowPanel extends AbstractUIPart implements ToolbarListener,
EventListener, DataStatusListener, ActionListener, ASyncProcess EventListener, DataStatusListener, ActionListener, ASyncProcess
@ -2035,6 +2039,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
form.setAttribute(Window.MODE_KEY, Window.MODE_EMBEDDED); form.setAttribute(Window.MODE_KEY, Window.MODE_EMBEDDED);
form.setAttribute(Window.INSERT_POSITION_KEY, Window.INSERT_NEXT); form.setAttribute(Window.INSERT_POSITION_KEY, Window.INSERT_NEXT);
SessionManager.getAppDesktop().showWindow(form); SessionManager.getAppDesktop().showWindow(form);
onRefresh();
} }
else else
{ {
@ -2047,6 +2052,7 @@ public abstract class AbstractADWindowPanel extends AbstractUIPart implements To
dialog.setVisible(true); dialog.setVisible(true);
dialog.setPosition("center"); dialog.setPosition("center");
AEnv.showWindow(dialog); AEnv.showWindow(dialog);
onRefresh();
} }
} }
} // actionButton } // actionButton