Hi, I have a tab panel that has two tabs. The tabs are Ajaxified using some examples I found here and in the web. Basically in the tab panel we did this: @Override protected WebMarkupContainer newLink(String linkId, final int index) { final WebMarkupContainer c = new TabbedIndicatingAjaxLink(linkId, index); final BrowserTab tab = ((BrowserTab) getTabs().get(index)); c.setEnabled(tab.isEnabled()); return c; }
and TabbedIndicatingAjaxLink has this (among other changes): @Override public void onClick(AjaxRequestTarget target) { setSelectedTab(index); if (target != null) { target.addComponent(CustomAjaxTabbedPanel.this); } onAjaxUpdate(target); } Everything works just fine. The problem is with the ListMultipleChoice. Each tab has this list and the list is used with PropertyModel. The data of the model is only set when I press the submit (as expected). So what happens is that I select some values and then go to another tab and when going back to the first one, the selection disappears. I want to keep the selection. Is there a way of doing it? Like listening to the clicks or something? Thanks, Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary