How to read a simple object?
1. Get the Shared Map from the portlet request or Jahia session.
Map map = (Map) portletRequest.getAttribute("jahiaSharedMap");
2. Get the object in the Shared Map during the portlet action phase or from a Jahia template.
Date date = (Date)map.get("date");

