本文介绍了如何支持Web形式的Liferay 7中的文件上传?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要Liferay Web表单的简单扩展,以增强文件附件到Liferay 7 Web表单中存储的数据中的功能.
I need a simple extension for Liferay web form to enahance file attachment to data flled in a liferay 7 web form.
还需要将此文件作为电子邮件的附件发送给注册用户.
Also need to sent this file as an attachment with the email to the registered user.
我知道如何在liferay 6.2中实现此功能,但不了解liferay7.我正在使用liferay 7 GA-5 CE.
I know how to achieve this functionality in liferay 6.2 but not about liferay 7. I am using liferay 7 GA-5 CE.
任何帮助表示赞赏.
推荐答案
您需要创建自定义表单字段类型插件,请在创建表单字段类型.并按照以下步骤操作,
You need to create a custom form field type plugin, please find liferay wiki here Creating Form Field Type. and follow below steps,
- 将输入类型更改为大豆文件路径中的文件是
- Change input type to file in soy file path is
希望这会对您有所帮助.
Hope this will help you.
这篇关于如何支持Web形式的Liferay 7中的文件上传?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!