Hi,
Yes you can do the processing for the form in the onSubmit of the ajax submit
button, then just replace the current panel with the new one.
- outside your onSubmit hold a reference to your current panel:
final Component thisPanel = this;
- inside your onSubmit after processing the data:
Hi Steve,
First off I'd like to thank you, you helped me get really close to the
issue, however the panel doesn't seem to be replaced. A new panel is
created above the old one :\ Here is what I came up with
final Panel image = new AjaxLazyLoadPanel(image) {
/**
* Makes object
Hi Everyone,
I was wondering if someone could point to the right direction
(examples, classes) for the following scenario:
I have a few text fields inside a panel, when one of the text fields
is changed, I'd like to call a method with updates a panel within the
current panel.
Currently I have
Ok, I think I'm getting somewhere after a few hours, I have two
textfields, when the user hits the ajax submit button, the panel
should be replaced with a new panel. I'm thinking that
onSubmit(AjaxRequestTarget target, Form? form)
should be able to take the input of the textfields and call the