Foros de discusión

Customise web form portlet

siva prasad, modificado hace 12 años.

Customise web form portlet

New Member Mensajes: 5 Fecha de incorporación: 6/01/12 Mensajes recientes
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
thumbnail
Achmed Tyrannus Albab, modificado hace 11 años.

RE: Customise web form portlet

Regular Member Mensajes: 158 Fecha de incorporación: 5/03/10 Mensajes recientes
click the cog button and customize it. if that is what you mean.
thumbnail
Amit Doshi, modificado hace 11 años.

RE: Customise web form portlet

Liferay Master Mensajes: 550 Fecha de incorporación: 29/12/10 Mensajes recientes
Directly modify in the source of Web Form Portlet and deploy it.
asif aftab, modificado hace 9 años.

RE: Customise web form portlet

Regular Member Mensajes: 123 Fecha de incorporación: 2/09/13 Mensajes recientes
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
thumbnail
Pankaj Kathiriya, modificado hace 9 años.

RE: Customise web form portlet

Liferay Master Mensajes: 722 Fecha de incorporación: 5/08/10 Mensajes recientes
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.