Hi, I have problem with updating my page with Ajax after redirecting to some new page. I have page with list view. In this list view I have some links to audio records represented by AjaxLinks. If I click to the AjaxLink, user is redirected to new "_blank" page that sends him an audie record. After this all other links are disabled (nothing happens when the link is clicked). So the user can download just one audio and then he must reload the page. This is very incomfortable.
Here are some code snippets: this is one of the links I placed to the list view AjaxLink recordLink = new AjaxLink ("recordLink") { @Override public void onClick (AjaxRequestTarget target) { // check if the requested file exist String requestedFilePath = Configuration.getConfigItem(Configuration.RECORD_PATH) + callRecord.getRecordPath(); File requestedFile = new File (requestedFilePath); if (requestedFile.exists()) { // I think I need to do this, but when I use setResponsePage this line is probably ignored target.addComponent(parentComponent); PageParameters pp = new PageParameters(); pp.put (REQUESTED_FILE, callRecord.getRecordPath()); // set response page to the page that provide the audio download setResponsePage (SendFile.class, pp); } } }; HTML: <td> <wicket:enclosure> <a wicket:id="recordLink" target="_blank" wicket:message="title:record"><wicket:message key="record"/></a> </wicket:enclosure> </td> As you see I open each audio download on new page. So I expected that I can continue working with my main page without any restrictions. But after first click on the recordLink AjaxLink othe AjaxLinks on the page are "disabled". Do anyone have some experieces with similar problem. I have no ideas what I am doing wrong. Please help. Milan --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org