User development, A new message was posted in the thread "How to set a request attribute in processEvent":
http://community.jboss.org/message/530616#530616 Author : antoine seilles Profile : http://community.jboss.org/people/natoine Message: -------------------------------------------------------------- My problem : I got an event, i process it with processEvent and i would like to set an attribute to the end of this process. How can i do it? public void processEvent(EventRequest request, EventResponse response) { Event event = request.getEvent(); if(event.getName().equals("selection")) { Selection _selection = (Selection) event.getValue(); //doesn't work request.getPortletSession().setAttribute("new_selection", _selection); //doesn't work this.getPortletContext().setAttribute("new_selection", _selection); //doesn't work request.setAttribute("new_selection", _selection); } } -------------------------------------------------------------- To reply to this message visit the message page: http://community.jboss.org/message/530616#530616
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user