I did someting similar but with 3 contents (or more).
With 2 pages where you will change just one, you can use links like:
'default' is a page and 'Content' is a CMSWindowPortlet.
Thank you for your answer. From the URL, how do we specify the page needs to be opened in the second window ?
Window 1 (Portlet -1) : It has various links. On click of a link href, I want to open the page in Window 2.
/portal/MyPortal/default/Content?action=2&uri=/ItemN/index.html Is there any way to specify 'target' window the above link should be opened ?
Thanks for your time.
'Content' is the name of the second window that will open the content.
In this case it must be a CMSPortletWindow instance created with a blank page.
This portlet reads 'uri' parameter and load it from CMS repo.
The browser url address will be changed to the link address.
(it is possible to use IPC to change CMSPortletWindow content without changing the browser url)