Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
manasa chandri
Rendering the same view page in 3 portlet?
14 marzo 2012 5.58
Risposta

manasa chandri

Punteggio: Regular Member

Messaggi: 141

Data di Iscrizione: 27 settembre 2010

Messaggi recenti

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.
Joaquin Cabal
RE: Rendering the same view page in 3 portlet?
14 marzo 2012 7.34
Risposta

Joaquin Cabal

Punteggio: Junior Member

Messaggi: 49

Data di Iscrizione: 7 settembre 2009

Messaggi recenti

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
manasa chandri
RE: Rendering the same view page in 3 portlet?
14 marzo 2012 21.30
Risposta

manasa chandri

Punteggio: Regular Member

Messaggi: 141

Data di Iscrizione: 27 settembre 2010

Messaggi recenti

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.
Allegati: portlet.xml (4,0k), struts-config.xml (1,4k)
Joaquin Cabal
RE: Rendering the same view page in 3 portlet?
15 marzo 2012 6.37
Risposta

Joaquin Cabal

Punteggio: Junior Member

Messaggi: 49

Data di Iscrizione: 7 settembre 2009

Messaggi recenti

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.
manasa chandri
RE: Rendering the same view page in 3 portlet?
18 marzo 2012 22.42
Risposta

manasa chandri

Punteggio: Regular Member

Messaggi: 141

Data di Iscrizione: 27 settembre 2010

Messaggi recenti

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