The problem is now even more complicated as PanelA is not getting refreshed
from PanelB at once. But when I do some operation in PanelB again, PanelA is
then refreshed...

Here is PanelB:

Public class PanelB{


public PanelB(PanelA panelA) {
PostDeleteButtonPanel postDeleteButtonPanel = new PostDeleteButtonPanel(
                                                "postDeleteButtonPanel", 
postForm) {

                                        
                                        protected void 
onConfirm(AjaxRequestTarget target) {
                                                try {
//                                                      some operation
                                                        if (target != null)
                                                                
*target.add(panelA);*

                                                } catch (Exception exception) {
                                                        
exception.printStackTrace();
                                                }

                                        }

                                };

}
}



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Need-help-in-refreshing-panel-tp4652014p4652016.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to