Re: Best way to refresh entire NestedTree

2019-12-29 Thread Martin Grigorov
Hi Chris, On Sun, Dec 29, 2019 at 11:22 AM Chris Colman wrote: > Sorry for the duplication. These messages did not appear in the mail > group until about 8 hours after they were posted. I thought I must have > This is because you are not subscribed to the mailing list and your messages are mode

Re: Best way to refresh entire NestedTree

2019-12-29 Thread Chris Colman
Actually - it's even easier than what I did before. So long as the ITreeProvider implement can change the source of its data then all that's required is an target.add() on the tree component! As per usual Wicket makes it really simple but I go looking for harder solutions :) On 29/12/2019 5

Re: Best way to refresh entire NestedTree

2019-12-29 Thread Chris Colman
Sorry for the duplication. These messages did not appear in the mail group until about 8 hours after they were posted. I thought I must have 'misdirected' the first one. Was there a problem with the mail group today? Anyway - I eventually worked out how to do it! The secret was in the source c

Best way to refresh entire NestedTree

2019-12-28 Thread Chris Colman
I have a UI layout where selection changes in one component need to result in a complete repopulation of the nodes in an associated NestedTree. Obviously I don't want to do a complete page refresh so I was wondering what the best way is to do an AJAX refresh of the entire NestedTree after I've

Best way to refresh entire NestedTree

2019-12-28 Thread chrisco
I have a UI layout where selection changes in one component need to result in a complete repopulation of the nodes in an associated NestedTree. Obviously I don't want to do a complete page refresh so I was wondering what the best way is to do an AJAX refresh of the entire NestedTree after I've tol