PDA

View Full Version : get global attributes in POJO



woezelmann
Apr 6th, 2009, 06:59 AM
Hello,

I've got a portlet and I'm setting attributes this way:


protletRequest.getPortletSession().setAttribute("someName", someAttribute, PortletSession.APPLICATION_SCOPE);

is there a way to get this attribute in a POJO defined in my applicationContext.xml ?

Regards
Chris

woezelmann
Apr 7th, 2009, 03:15 AM
Nevermind, I solved it a different way...