here is my code
MarkupContainer dataTableContainer= new
WebMarkupContainer("dataTableContainer");
dataTableContainer.setOutputMarkupId(true);
dataTableContainer.add(doSearch?getDataPanel("dataTable",dataTableDTO):new
EmptyPanel("dataTable"));
and In OnSubmit method of a form I set doSearcto true call
target.addComponent("dataTableContainer");
I was expecting to see the component returned from
getDataPanel("dataTable",dataTableDTO) and not empty panel ,
to debug I know a RefreshingView populateItem method gets called but in a
WebMarkupContainer which method gets called for ajax requests ?