Forums de discussion

ABOUT MODULES

thumbnail
nithin rohak, modifié il y a 7 années.

ABOUT MODULES

New Member Publications: 10 Date d'inscription: 04/08/16 Publications récentes
HI, All
Please help me to find a way for the communication between the two modules, i know how to access the services but i want to know about how to access the one module jsp variables and functionality into another module. and how to find out a module id.

waiting for yours replay
thumbnail
David H Nebinger, modifié il y a 7 années.

RE: ABOUT MODULES

Liferay Legend Publications: 14919 Date d'inscription: 02/09/06 Publications récentes
You can't and you shouldn't.

Portlets themselves are (supposed to be) independent entities used to generate HTML fragments.

What you're asking to do here is a complete corruption of the core ideas and concepts behind portlet development and points to a completely broken design.

Whatever you're trying to do, there are proper ways to implement it that will not suffer from the problems your request would end up having.






Come meet me at the LSNA!
thumbnail
nithin rohak, modifié il y a 7 années.

RE: ABOUT MODULES

New Member Publications: 10 Date d'inscription: 04/08/16 Publications récentes
thanks for you are replay
But my problem is , i'am migrating the 6.2 code into liferay7, in 6.2 code for our requirement some permissions and roles are defined
in int.jsp according to that the pages have to display that int.jsp is globally accessible.
But in liferay7 how can i make my int.jsp as globally accessible,at least i have to use the int.jsp variables in to another jsp
please tell me if any another way to achieve this .
thumbnail
David H Nebinger, modifié il y a 7 années.

RE: ABOUT MODULES

Liferay Legend Publications: 14919 Date d'inscription: 02/09/06 Publications récentes
You can't. That is no longer supported.

Instead, each portlet will need to have it's own copy of the init.jsp file.






Come meet me at the LSNA!
thumbnail
nithin rohak, modifié il y a 7 années.

RE: ABOUT MODULES

New Member Publications: 10 Date d'inscription: 04/08/16 Publications récentes
Thanks for you'r replay
thumbnail
Kyle Joseph Stiemann, modifié il y a 7 années.

RE: ABOUT MODULES

Liferay Master Publications: 760 Date d'inscription: 14/01/13 Publications récentes
Hi Nithin,
I'm not sure if any of this will help, but you should look into inter-portlet communication or packaging multiple portlets in a single war. Those might be solutions to the problem you have.

- Kyle