The example explains page linking and IPC.
I found following problems on cr2
1) In page linking following line in example has problem
PortalNode linkToNode = thisNode.resolve("../default");
linkToNode gives null when i print it.
That is why the window appers blank.so i put comment for page linking
Now the dragDown list of colors appears as in example but clicking on button it gives exception
javax.servlet.ServletException: No window state has been provided org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:386) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
But the example works in beta-1 without having any issue .
Can you test with the latest from trunk ? I see no issue with it so i guess it has been fixed.
I have installed fresh copy of beta1 and cr2 from zip. I tried both portletsSwap example as well as test page example.
The portletsSwap example (HelloworldIPC) is not working in cr2 but it is working in beta1.
The test page example (as per your url) is worikng in cr2 but not in beta1.
The example on portletswap is made for JBoss Portal 2.4 (The current GA version) so this is not unexpected.
The test page has been fixed between beta1 and cr2.