Primefaces FileUpload扩展过滤器 [英] Primefaces FileUpload Extensions Filter
本文介绍了Primefaces FileUpload扩展过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我只需要查看对话框中的一些扩展名列表,甚至不要选择它们作为文件的可能变体。使用p:FileUpload。
I need to view only some list of extensions in the dialog not even choosing them as a possible variant of file. Using p:FileUpload.
推荐答案
根据Primefaces开发指南2.2,
Per the Primefaces Development Guide 2.2,
allowTypes - 以冒号分隔的文件扩展名列表接受。
allowTypes - Semi colon separated list of file extensions to accept.
以下是属性fileUpload组件标签。
The following is an attribute of the fileUpload component tag.
这篇关于Primefaces FileUpload扩展过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文