OutSystems Forge 日本語データベース

RefreshAfterDownload

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2015-07-06 1.0.0 J. 9.0.1.3 All All
- ファイルをダウンロードした後にAjax-refreshを通知する。 - ファイルが実際にダウンロードされるまでユーザーインターフェイスをブロックする方法。
特徴  jQuery Cookieプラグイン  jQuery BlockUIプラグイン 主な利点 ユーザーがボタン/リンクをクリックしてファイルをダウンロードすると、プラグイン「BlockUI」を使用してユーザーインターフェイスが「ブロック」され、サーバーがクッキーと共にファイルを送信するとブロックされなくなります 。 その時点で、OsNotifyをサーバーに送り返し、ダウンロードが完了したことを通知し、必要な処理を実行できます。 たとえば、テーブルをリフレッシュする、別のページに移動するなど

[Overview]
Example espace to show: -how to do an Notify (and afterwards) an Ajax-refresh after a file-download. - how to block the user-interface until the file is actually downloaded
[Detail]
Feature List jQuery Cookie plugin jQuery BlockUI plugin Main Benefits When a users clicks on a button/link to download a file, the user-interface will be "blocked" by using the plugin "BlockUI" and will be unblocked, when the server sends the response (and thus the file) with a cookie. At that moment, we will sent a OsNotify back to the server, to notify the download has finished and you can do whatever you want. for example, refresh a table, move to another page etc.
戻る