Ah.. do you repaint the page after your ajax button call? ** Martin
2009/7/29 Gajo Csaba <[email protected]>: > This is what the link does in Wicket's source code: > > new Link(linkId) { > private static final long serialVersionUID = 1L; > > @Override > public void onClick() { > setSelectedTab(index); // <----- > } > }; > > > This is my code: > /** Click on the Delete button */ > private void deleteBtnClick(AjaxRequestTarget target, Form<?> form) { > TabbedPanel tabPanel = ((HomePage)getWebPage()).getTabbedPanel(); > tabPanel.setSelectedTab(0); // <------- > } > > Wicket's code works, mine doesn't. I've tried with a button and an > ajaxfallbacklink... Maybe I really should redirect to the same page with > another parameter, like you did. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
