public void processAction(ActionRequest request, ActionResponse response) throws PortletException, IOException {
String eventKey = request.getParameter("eventKey");
String eventValue = request.getParameter("eventValue");
ExampleEvent exampleEvent = new ExampleEvent();
exampleEvent.setKey(eventKey);
exampleEvent.setValue(eventValue);
request.setAttribute("exampleEvent", exampleEvent);
response.setEvent(new QName("http://gatein.portal.samples.org", "exampleEvent"), exampleEvent);
}