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.


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.


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 . but even though indicator is showed, i can still
click on that button and get exception.
(i use AutoHotKey script for fast clicking, but if some lag occurs, it is
easily possible even for human to click twice... wicket 1.4.9)

any solutions?

thanks.


V.