The `<tc:file/>` create an input field with a choose directory button on the right.

<tc:file label="Upload" value="\#{uploadController.file1}"/>

You can filter files using the `<tc:validateFileItem/>` tag within the `<tc:file/>`. In the following example only images and PDF files are excepted.

Define a text with `placeholder` attribute

You can upload multiple files in one selection and request. Use the `multiple="true"` attribute.

Ajax can be activated by adding `<f:ajax/>` to the `<tc:file/>` tag.