cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Wilkes <>
Subject org.apache.avalon.framework.CascadingRuntimeException: act is not a function in flow
Date Wed, 22 Oct 2003 01:02:14 GMT
Going off of these posts
I'm trying to use an action in my flowscript, which is exactly what
Frank posted:

  var ret = act("sendmailaction","",{'from':from ...});

However I keep on getting an error of "Original Exception: TypeError: act
is not a function."

I tried putting in "cocoon.act()" as I'm able to use the other functions
like sendPage from the 
javascript file where the function resides:

function act(type, src, param)
  if (type == undefined || src == undefined || param == undefined) {
    log.error("Signature does not match act(type,src,param)");
    return undefined;
  return  cocoon.callAction(type,src,param);

but for some reason I'm still getting the error.  Anyone else
experiencing this problem or used an Action in a flowscript?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message