Primefaces FileUpload Extensions筛选器

问题描述

| 我只需要在对话框中查看一些扩展名列表,甚至不必选择它们作为文件的可能变体。使用p:FileUpload。       

解决方法

        根据《 Primefaces开发指南2.2》,   allowTypes-用半冒号分隔的文件扩展名列表。 以下是fileUpload组件标签的属性。     

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...