1 Reply Latest reply on Feb 6, 2012 9:25 PM by hoang_to

    The portlet PortletContext[local./nike-web.nikePortlet] doesn't support producing the event

    oyesiji77

      I am using GateIn 3.1.0 I am trying to implement IPC, in my portlet.xml I have

       

       

      <supported-publishing-event>

               <qname xmlns:jbp="http://www.cn.com">jbp:BookingEvent</qname>

      </supported-publishing-event>

       

       

      but anytime i want to send events i get

       

      portlet PortletContext[local./nike-web.nikePortlet] doesn't support producing the event

       

       

      This is my Java Code

       

      Please what am i doing wrong

      FacesContext  facesContext=FacesContext.getCurrentInstance();
      PortletResponse portletResponse=(PortletResponse) facesContext.getExternalContext().getResponse();
      StateAwareResponse stateAwareResponse=(StateAwareResponse) portletResponse;
      QName qname=new QName("http://www.cn.com","BookingEvent");
      stateAwareResponse.setEvent(qname, "hello");