hi...


plz............. somebody help me..





i have defined  this function inside  center.java


but on success does not remove & then  attach properly.....

public class detailCallback implements AsyncCallback
{


         public  void  onFailure(Throwable thrbl)
         {
                 System.out.println(thrbl);
         }
         public  void onSuccess(Object  obj)
         {
                 detail  dt=(detail)obj;
System.out.print("hello");
RemovePanel();

centerPanelAttach();
 System.out.println("on success EmployeeCallback ="+dt.getRoll());


         }
        }


private Panel centerPanelAttach(){
        final Panel center=new Panel();
        final Label lbh=new Label("hi! this would be attaced after first
panel is removed");
        center.add(lbh);
        return center;

}
public void RemovePanel()
{
        pnl=centerPanel();
        pnl.removeAll();

        Label lbl=new Label("Panel Removed");

}
}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to