Fórum

Rendering the same view page in 3 portlet?

thumbnail
manasa chandri, modificado 12 Anos atrás.

Rendering the same view page in 3 portlet?

Regular Member Postagens: 152 Data de Entrada: 28/09/10 Postagens Recentes
Hi ,

I have developed one struts plugin portlet.

I have configured 3 portlets in portlet-xml and liferay-portlet.xml and liferay-display.xml.

I have added these 3 portlets in one page, for that 3 portlets view is different.

one portlet name called abcd, in abcd portlet clicked the button, it is reflecting the other 2 portlets also i.e., 3 portlets rendering same view page.

Anybody suggest me

Thanks In Advance.
thumbnail
Joaquin Cabal, modificado 12 Anos atrás.

RE: Rendering the same view page in 3 portlet?

Regular Member Postagens: 106 Data de Entrada: 07/09/09 Postagens Recentes
Hi Manasa, Could you public the portlet.xml text? and the struts-config.xml text?
If you are using differents views and differents portlet classes, the portlets views should be differents too
thumbnail
manasa chandri, modificado 12 Anos atrás.

RE: Rendering the same view page in 3 portlet?

Regular Member Postagens: 152 Data de Entrada: 28/09/10 Postagens Recentes
Hi,

Thank you for giving reply.

I am using different view pages and different portlet classes.i have attached files to this mail.Please find the attached files.



Thank you in advance.
thumbnail
Joaquin Cabal, modificado 12 Anos atrás.

RE: Rendering the same view page in 3 portlet?

Regular Member Postagens: 106 Data de Entrada: 07/09/09 Postagens Recentes
I think you should have three differents projects, one per portlet , and every project with his own struts-config.xml file.

I donn't know if you can put more than one portlet using the same struts-config file.
thumbnail
manasa chandri, modificado 12 Anos atrás.

RE: Rendering the same view page in 3 portlet?

Regular Member Postagens: 152 Data de Entrada: 28/09/10 Postagens Recentes
Hi,


Thank you for giving reply

No, 3 portlet are in one project.

I wrote the only one struts-config for 3 portlet's.

Thanks & Regards,
Manasa.chandri