radio group stated not updated via AJAX. Possible bug?

2010-12-30 Thread Ernesto Reinaldo Barreiro
Hi, Apologies for the somewhat lengthy e-mail. Consider the following situation 1-I have a form with a RadioGroup, several Radio buttons, an AJAX submit button and some AJAX links that fetch information that can be used to repaint the form and the RadioGroup. In simplified code more or less

Re: radio group stated not updated via AJAX. Possible bug?

2010-12-30 Thread Ernesto Reinaldo Barreiro
I forgot to mentions this is with wicket 1.4.x. Ernesto On Thu, Dec 30, 2010 at 1:53 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, Apologies for the somewhat lengthy e-mail. Consider the following situation 1-I have a form with a RadioGroup, several Radio buttons, an AJAX

Re: radio group stated not updated via AJAX. Possible bug?

2010-12-30 Thread Igor Vaynberg
call clearinput() on the radiogroup so it refreshes based on new model value you set. -igor On Thu, Dec 30, 2010 at 4:57 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: I forgot to mentions this is with wicket 1.4.x. Ernesto On Thu, Dec 30, 2010 at 1:53 PM, Ernesto Reinaldo Barreiro

Re: radio group stated not updated via AJAX. Possible bug?

2010-12-30 Thread Ernesto Reinaldo Barreiro
Igor, Thanks for your answer. Yes, I thought about that possibility but somehow it seems weird to me that you have to call clearinput() to get the component update its state based on the model value: in particular because other form components do not need that trick to work properly. Would the

Re: radio group stated not updated via AJAX. Possible bug?

2010-12-30 Thread Igor Vaynberg
all components need that after they have been submitted once. how is component to know that you have updated its model object? have you called component.modelchanged()? clearinput() will do the same as that. -igor On Thu, Dec 30, 2010 at 6:46 AM, Ernesto Reinaldo Barreiro reier...@gmail.com

AjaxLazyLoadPanel and back button

2010-12-30 Thread flavius
I'm using the AjaxLazyLoadPanel to load images I'm generating from reports. When I'm on a page with the AjaxLazyLoadPanel, click a link to another page (like a BookmarkablePageLink) and then click back, the image that was generated is still in place. However, if I submit a form that's on

TreeTabel and file download

2010-12-30 Thread Anton Bessonov
Hello list, I'm trying to implement small file browser and I use TreeTable. PropertyTreeColumn shows file names and I can get (newCell - getTreeTable().getTreeState().isNodeSelected(node)) java.io.File. Now, I'm need force to download file after click on the file name. Any suggestions?