im not that familiar with the tree component, so maybe someone else can answer this.

generally wicket components manage their own state, so when your page is refreshed the tree should look the same.

-Igor


On 11/2/05, Alex Chew <[EMAIL PROTECTED]> wrote:
 
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