"herveminko" wrote : Hi guys,
|
| After doing this, i want to retrieve my saved objects with the statement:
| ArrayList myObjects2 = session.get("obj");
|
|
I imagine you've solved this by now, but just in case you haven't:
Since you stored in in APPLICATION_SCOPE you must retrieve it with APPLICATION_SCOPE, so
to get the object back your code should look like
| session.getAttribute("obj", PortletSession.APPLICATION_SCOPE);
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008276#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...