Reputation: 93
I need to create a page with two portlets. The first one will need to change the url source of the second iframe portlet on click. However, the requirement is that the page should not be reloaded.
Is it possible to implement? If yes, then how?
I read from iframe documentation that the page can be changed, but it requires the page to be reloaded.
Upvotes: 0
Views: 2192
Reputation: 749
Personally, I prefer doing it Ajax way rather than iframe, in JSR 268 Inter portlet communication can be achieved. for more details, you can visit this link.
http://www.liferay.com/community/wiki/-/wiki/Main/Inter-portlet+communication
Upvotes: 2