You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2009/07/26 20:41:14 UTC

[jira] Commented: (WICKET-2399) To close ModalWindow with out AjaxTarget

    [ https://issues.apache.org/jira/browse/WICKET-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735408#action_12735408 ] 

Igor Vaynberg commented on WICKET-2399:
---------------------------------------

how do you expect your second thread to close the modal window? how will that javascript make it to the browser?

what you should do is add an ajaxtimerbehavior into your modal window and poll every x seconds to see if the thread is done, if it is close the window - and then you have your ajax target.

> To close ModalWindow with out  AjaxTarget
> -----------------------------------------
>
>                 Key: WICKET-2399
>                 URL: https://issues.apache.org/jira/browse/WICKET-2399
>             Project: Wicket
>          Issue Type: Wish
>            Reporter: Letunov Ilya
>            Priority: Minor
>
> In our project we have a problem. We need to execute a function in one tread and while it executing show a ModalWIndow with status in second tread, but when function complete we can't close modal window, because we haven't Ajaxtarget or cant create it and connect target to page. Can you help us to solve this problem? Maybe exist another way to make this function.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.