[jboss-user] [JBoss Portal] - Interportlet Communication (Again)

taiji3 do-not-reply at jboss.com
Thu Jul 13 13:33:34 EDT 2006

I have checked out all the threads on this topic and have not found the answer to my issue. I am running JBoss Portal 2.2 on Linux. As I am new to portlet development, I am attempting to make use of the freely available book by Hepper, et. al. which was never published by Manning. In Chapter 3, there is a project with two portlets, a Calendar portlet and a Todo portlet. The Calendar portlet has actionURL's for each date - when  you click a date, it sets the date value in a bean stored in the portlet session at application scope. The Todo portlet should read that date and display the date as well as any Todo's you have set up on that date.

The problem is that the Todo portlet only picks up the date when it has a mode change (view to edit and vice versa). I can click 4 or 5 dates in a row on the Calendar portlet with no change in the Todo portlet. Not even refreshing the page does anything. But if I put the Todo portlet in edit mode (or back to view mode), it displays the last date I clicked on the Calendar. So obviously the date is being set, but I have no idea why the Todo portlet won't see it unless the mode changes.

If anyone has any ideas, I would appreciate it. I am quite new to this whole portlet idea and there are precious few resources for portlet development out there. Also - I downloaded the HelloPortletIPC example, but I want to stick with JSR168 compliance. These portlets use jsps and the jstl tag libraries if that matters. I can post code if anyone wants to see it.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957824#3957824

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957824

More information about the jboss-user mailing list