Home » Liferay Portal » English » x. Miscellaneous

Combination View Flat View Tree View
Threads [ Previous | Next ]
Amruta Naidu
Web Form Portlet embedded in Theme
April 24, 2013 12:06 AM

Amruta Naidu

Rank: New Member

Posts: 12

Join Date: April 23, 2013

Recent Posts

Hi all.....

I have created a theme with a web form portlet embedded in it.
Using following code:
$velocityPortletPreferences.setValue("portlet-setup-show-borders", "false")
$theme.runtime("1_WAR_webformportlet", "", $velocityPortletPreferences.toString())

I have made the web form portlet non instanceable by changing the liferay-portlet.xml file.

Now the web form is displayed on theme load but only one field and send button is shown.
If i add a new web form portlet from the tools category then its displaying the full web form portlet with all the fields,
i dont want two web forms on my page , that is the reason i made it non instanceable.
Please can anyone help me out with this.

I simply want the web form portlet embede in theme and to display all its fields.

OgbaOghene Ozoro
RE: Web Form Portlet embedded in Theme
September 16, 2013 11:45 AM

OgbaOghene Ozoro

Rank: New Member

Posts: 18

Join Date: March 19, 2012

Recent Posts


I am facing this same issue.

Please, did you find a workaround? Cheers, would really appreciate any help on this.