Hi, I'm having trouble figuring out the following problem.
I have a div (coupled to a WebMarkupContainer) containing a form and a list. The list is populated with a DataView, which gets its data from a SortableDataProvider that I have implemented according to the repeater examples provided on wicket-library.com. What I want to do is to change the sort order based on a user selection from a DropDownChoice in the form. I've used an AjaxFormComponentUpdatingBehavior to listen to the dropdown's onchange event. In the onUpdate() method I change the sortparam in the dataprovider according to the selection and then add the container div to the AjaxRequestTarget. What I expect to happen is that the DataView updates to reflect the new sort order. What actually happens is that the DataView completely disappears from the page! (The Wicket Ajax Debug window shows me that the spot where the list should be in the HTML within the ajax-response is indeed empty.) I've already set the outputmarkupid and the outputmarkupplaceholdertag properties on the container to true but that makes no difference. Any ideas are appreciated! regards, -- Reinout van Schouwen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
