WebMarkupContainer wmc = new WebMarkupContainer("foobar");
wmc.add(dataview);
wmc.setOutputMarkupId(true);... target.add(wmc); ... On 9/5/07, Craig Lenzen <[EMAIL PROTECTED]> wrote: > > Is there a refresh method on webmarkupcontainer? > > -Craig > > > igor.vaynberg wrote: > > > > put it into a webmarkupcontainer and refresh that isntead > > > > -igor > > > > > > On 9/5/07, Craig Lenzen <[EMAIL PROTECTED]> wrote: > >> > >> > >> What is the best way to go about refreshing a DataView after an ajax > >> request. > >> > >> Here is my situation, I have a page with a table on it backed by a > >> DataView, > >> the header of the page has a link that opens a modal window to add a new > >> item to the underlying list. When the modal window closes the list > >> should > >> refresh with the new row. > >> > >> I have an reference to the DataView object and I can add it to the > >> AjaxRequestTarget but that doesn't trigger a refresh. I could simply > >> call > >> setItemsPerPage with the original value but is there a better way. If I > >> were to extend the DataView it would be nice to provide some sort of > >> refresh > >> method. > >> > >> -Craig > >> -- > >> View this message in context: > >> http://www.nabble.com/DataView-Refresh-tf4387125.html#a12507801 > >> Sent from the Wicket - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/DataView-Refresh-tf4387125.html#a12508500 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta3/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
