AjaxButton in ModalWindow

2011-05-25 Thread Vojtěch Krása
Hi, i have AjaxButton which closes ModalWindow, but if i click twice on that button, exception is thrown: org.apache.wicket.WicketRuntimeException: Submit Button buttonOK... is not visible i've tried IndicatingAjaxButton and implementing IAjaxIndicatorAware and AjaxIndicatorAppender

Re: AjaxButton in ModalWindow

2011-05-25 Thread Vojtěch Krása
it seems that https://issues.apache.org/jira/browse/WICKET-3087 pretty much fixed it. but sometimes, window is displayed more than once, and only button at the last window works and other throw exception.. but it may be due to my implementation... V.

Re: AjaxButton in ModalWindow

2011-05-25 Thread Vojtěch Krása
fixed. :-) before opening new window is good to call ModalWindow.closeCurrent(AjaxRequestTarget.get()); V.