Fórum

Web Form Portlet embedded in Theme

thumbnail
Amruta Naidu, modificado 10 Anos atrás.

Web Form Portlet embedded in Theme

New Member Postagens: 12 Data de Entrada: 24/04/13 Postagens Recentes
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())
$velocityPortletPreferences.reset()

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.

Thanks....
OgbaOghene Ozoro, modificado 10 Anos atrás.

RE: Web Form Portlet embedded in Theme

New Member Postagens: 18 Data de Entrada: 19/03/12 Postagens Recentes
Hello,

I am facing this same issue.

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

Thanks.