留言板
Customise web form portlet
Hi All,
How to customise the webform portlet of liferay?????
customise in the sense Adding a new button to upload the document or image........
saving the document in the database......modifying the send button to sent a alert to the given email or phone number etc....
please reply
Thanks
sivaprasad
How to customise the webform portlet of liferay?????
customise in the sense Adding a new button to upload the document or image........
saving the document in the database......modifying the send button to sent a alert to the given email or phone number etc....
please reply
Thanks
sivaprasad
Achmed Tyrannus Albab,修改在11 年前。
RE: Customise web form portlet
Regular Member 帖子: 158 加入日期: 10-3-5 最近的帖子
click the cog button and customize it. if that is what you mean.
Directly modify in the source of Web Form Portlet and deploy it.
Amit Doshi:
Directly modify in the source of Web Form Portlet and deploy it.
How to deploy web form portlet.
We are directly modifying the code of web form portlet but unable to deploy it.
After modification changes take place only if we restart server because it is not present as a custom portlet.
Is there any way to deploy web form portlet or we can create .war file from its source or the web form portlet which is present inside our web-apps folder.
This is plugin portlet so we can't override using hook.
I also tried to copy web form portlet from web apps to my newly custom portlet but getting lot of issues.
I hope for the positive response.
Thanks
There are two ways to achieve it.
1. Get web-form-portlet's source from https://github.com/liferay/liferay-plugins/tree/master/portlets/web-form-portlet and modify code and deploy it.
2. Create portlet(empty) using IDE and paste docroot folder from your liferay's directory tomcat/webapps/web-form-portlet. Then do code changes and deploy the portlet.
Hope this will help.
1. Get web-form-portlet's source from https://github.com/liferay/liferay-plugins/tree/master/portlets/web-form-portlet and modify code and deploy it.
2. Create portlet(empty) using IDE and paste docroot folder from your liferay's directory tomcat/webapps/web-form-portlet. Then do code changes and deploy the portlet.
Hope this will help.