IPC which to be prefer : Public Render Parameters or Events
Internal Portlet Communication can be done in 2 ways,
1.Using Public Render Parameter
2.Using Events
Public Render Parameter : Liferay The way tagcloud and Blog communicates.
Using Public Render Parameter way we can pass only string
Using Events we can transfer any serializable objects
So using Events is the recommended way with jsr286.
1.Using Public Render Parameter
2.Using Events
Public Render Parameter : Liferay The way tagcloud and Blog communicates.
Using Public Render Parameter way we can pass only string
Using Events we can transfer any serializable objects
So using Events is the recommended way with jsr286.
Comments
Post a Comment