Re: How do you get a LoadableDetachableModel to load again
it may be possible that the model is loaded (getobject) is called before the object is removed, in which case you have to manually detach the model by calling .detach() on it - which will cause the list to be reloaded next time getobject() is called on it. -igor On Tue, Aug 26, 2008 at 9:35 PM, Warren Bell <[EMAIL PROTECTED]> wrote: > I have a page that displays a list of items backed by a > LoadableDetachableModel. The page allows you to delete one item from the > list and then shows the list less the item you just deleted. How do I get > the LoadableDetachableModel to load the list of items again after the one > item has been deleted? I want the page to go back to itself after the item > is deleted. I do not want to create a new page. > > -- > Thanks, > > Warren > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How do you get a LoadableDetachableModel to load again
Call modelchanged? Warren Bell wrote: I have a page that displays a list of items backed by a LoadableDetachableModel. The page allows you to delete one item from the list and then shows the list less the item you just deleted. How do I get the LoadableDetachableModel to load the list of items again after the one item has been deleted? I want the page to go back to itself after the item is deleted. I do not want to create a new page. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How do you get a LoadableDetachableModel to load again
I have a page that displays a list of items backed by a LoadableDetachableModel. The page allows you to delete one item from the list and then shows the list less the item you just deleted. How do I get the LoadableDetachableModel to load the list of items again after the one item has been deleted? I want the page to go back to itself after the item is deleted. I do not want to create a new page. -- Thanks, Warren - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]