OutSystems Forge 日本語データベース

File Upload And Image Preview On ChooseFile

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

Forge英文サイト

2018-05-11 1.0.1 Frederico Sousa All All Widgets
このコンポーネントを使用すると、リンクやボタンを送信する必要なく、任意のファイルをサーバーにアップロードできます。 これは、2つの異なるボタン(保存するボタンとファイルをアップロードするボタン)を必要とせずに、サーバーのバリデーションを持つページでこれを使用できることを意味します(ajaxをリフレッシュして表示します)。 これにより、ユーザーはすべてを保存するために一度だけクリックするだけでなく、別のボタンをクリックしたときだけでなく、ユーザーがファイルを選択した直後に検証を行うことができます。 この他にも、アップロード時にアップロードされたファイル(画像の場合)のプレビューをJSで設定することもできます。
このコンポーネントを使用すると、リンクやボタンを送信する必要なく、任意のファイルをサーバーにアップロードできます。 これは、2つの異なるボタン(保存するボタンとファイルをアップロードするボタン)を必要とせずに、サーバーのバリデーションを持つページでこれを使用できることを意味します(ajaxをリフレッシュして表示します)。 これにより、ユーザーはすべてを保存するために一度だけクリックするだけでなく、別のボタンをクリックしたときだけでなく、ユーザーがファイルを選択した直後に検証を行うことができます。 この他にも、アップロード時にアップロードされたファイル(画像の場合)のプレビューをJSで設定することもできます。

[Overview]
With this component you can upload any file to the server without the need to use Submit links or buttons. This means you can use this on a page with server validations (and use ajax refreshes to show them) without the need of having 2 different buttons, one to save and one to upload the file. With this, the user only has to click once to save everything, and also you can do the validations to the file right then the user selects it, and not only when he clicks another button. Besides this, the component also can set a preview of the uploaded file (if it's an image) by JS when you upload.
[Detail]
With this component you can upload any file to the server without the need to use Submit links or buttons. This means you can use this on a page with server validations (and use ajax refreshes to show them) without the need of having 2 different buttons, one to save and one to upload the file. With this, the user only has to click once to save everything, and also you can do the validations to the file right then the user selects it, and not only when he clicks another button. Besides this, the component also can set a preview of the uploaded file (if it's an image) by JS when you upload.
戻る