ModalWindow supports only AJAX behavior.

You must add OnChangeAjaxBehavior onto the dropdown and NOT
wantOnSelectionChangedNotifications().

dropdown.add(new OnchangeAjaxBehavior() {
  onUpdate() {... }
});

**
Martin

2009/8/7 Petr Fejfar <[email protected]>:
> Hi all,
>
> I have a DropDownChoice on a panel within ModalWindow
> and once I return true from wantOnSelectionChangedNotifications()
> method and its value is changed, a browser shows dialog asking
> for confirmation to continue:
>
>   "Reloading this page will cause the modal window to disappear"
>
> Please, could somebody advice me what I am missing?
>
>
> Thanks, Petr
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

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

Reply via email to