Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hashmap or Bean on a Portlet Wire

 
Patrick Grimes
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using WebSphere Portal Version 6, and wanted to send a Hashmap or a Bean across the wire between JSR168 Struts Portlets.

I can do this quite simply with strings having no problems.

Does anyone have a code snippet that would detail the pieces that I might be missing? The most frequent message that I get is a ClassCastException on the receiving end portlet. I guess I'd need to see how the Sending portlet builds its object (bean or hashmap) and how that relates to the wsdl and the receiving portlet deconstruction.

I've been doing this: for about a week now!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic