Just guessing... try getting rid of

  @Override
>      protected boolean wantOnSelectionChangedNotifications() {
>        return true;
>      }

Ernesto

On Wed, Nov 2, 2011 at 10:25 AM, Martin A <[email protected]> wrote:
> Hello,
>
> In a Page I have an AjaxCheckBox, as so:
>
>
>
>    form.add(new AjaxCheckBox("image1_whole", new
> PropertyModel<Boolean>(this, "image1Whole")) {
>
>      private static final long serialVersionUID = 1L;
>
>      @Override
>      protected void onUpdate(AjaxRequestTarget target) {
>        image1PreviewArea.setVisible(!image1PreviewArea.isVisible());
>
>        target.add(image1PreviewArea);
>      }
>
>      @Override
>      protected boolean wantOnSelectionChangedNotifications() {
>        return true;
>      }
>
>    });
>
> The component's onUpdate is never called. What am I missing?
>
> Thanks,
> Martin
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to