Look at OnChangeAjaxBehavior

On Mon, May 20, 2019 at 4:13 PM Sibgha Nazir <sibgha...@gmail.com> wrote:

> Hi,
>
> I am not able to trigger the on change event of the drop down in the
> wicket.
>
> In the class DPanel,java, I am simply trying to print on the console when
> the change event has occured.
>
>         dropdown.add(*new* AjaxFormComponentUpdatingBehavior("onchange") {
>
>             /**
>
>              *
>
>              */
>
>             *private* *static* *final* *long* *serialVersionUID* =
> -6744838136235652577L;
>
>
>             *protected* *void* onUpdate(AjaxRequestTarget target) {
>
>                 System.*out*.println("Changed");
>
>
>             }
>
>         });
>
> Need Help. Following is my quick start application.
> https://github.com/Sibgha360/dropdownexample.git
>
> Thanks
>


-- 
Regards - Ernesto Reinaldo Barreiro

Reply via email to