Thanks, Igor. It resolved.
 
When replace a component, the path should be correct.
For my application, the Label detailMsg is child of Border navomaticBorder,
so the code fragment must like this:
 
  Page p = this.getPage();
  Label newlabel = new Label("detailMsg"," Replaced ");
  p.replace(new LayoutBorder("navomaticBorder").add(newlabel)); 
 
 
But there is another derived question i got.
i want to hold tree state when right panel refreshed.It seems the whole page reloaded but not just content of right panel. Must i maintain the tree state manually?
 
I am still trying...
thanks

Reply via email to