Skip to Content
author's profile photo Former Member
Former Member

epcftoolbox in PDK problem: myReceiver.isReceived() returns false

Hallo all,

I am trying to implement eventing between multiple iviews useing epcftoolbox. I followed the pdk example and the implementation seemed to work the first time I ran it. But then the behaviour of the eventing implementation became unpredictable: e.g. it worked 3 times and quit working afterwards, finally it quit working completely without me having made changes to the code.

Right now I try to figure out why myReceiver.isReceived() returns false although both methods getContext()/getWrappedContext() in the sender and the receiver class are packed with the paramters sent. Below I inserted the code.

In addition tomcat throws some error messages I do not understand:

- Warning: Double flush detected

- Http10: Parse error, empty line

Did anyone make the same experiences? If yes, I would appreciate it greatly if you could share how you dealt with them. Thanks a lot in advance!



P.S.: Before I invest to much time in this - is it right that epcftoolbox is not supported in EP 5? Should I better use the EPCM methodes in the jsps?



sender class -



  • Create output. Called once per request.


public void doProcessBeforeOutput() throws PageException {

... IEpcfToolbox myServ =

(IEpcfToolbox) request.getService(IEpcfToolbox.KEY);

IClientEventSender mySender =

myServ.getClientEventSender(request, XURN, XEVENT);

Form myForm = this.getForm(); // get the form from DynPage

GridLayout grid = new GridLayout(1, 1);


grid.addComponent(1, 1, setUpTabStrip());


if (text != null) {

mySender.setParameter("PARTNER", text);


text = null;





receiver class -


public void doProcessBeforeOutput() throws PageException {

... Form myForm = this.getForm(); // get the form from DynPage

IEpcfToolbox myServ = (IEpcfToolbox) request.getService(IEpcfToolbox.KEY);

IClientEventReceiver myReceiver =

myServ.getClientEventReceiver(request, XURN, XEVENT);



myReceiver.setWaitingMessage("Waiting for events ...");

if (myReceiver.isReceived()) {




} else {




Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 21, 2003 at 06:45 PM

    EPCF toolbox just creates the javascript code for EPCF/EPCM.

    EPCF toolbox is supported from EP5SP5 on. If you encounter a bug, please open a OSS mesage.

    Second possibilty is to code it yourself without support from EPCF toolbox classes.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.