You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Robert Clarke <r....@bilk.ac.uk> on 2004/02/11 16:40:16 UTC

Calling sendmail action from flowscript

Hi,
I'm using cocoon 2.1.3 and would like to call sendmail from flowscript. I
have a working sendmail action in my sitemap. However, when I try to use the
act function in my flow I get:

TypeError: act is not a function

Which suggests there's a resource that I should be including. I'm going
round in circles trying to work out what that thing is.

Any pointers regarding my no doubt simple mistake would be a huge help.

Please help, my project is nearly finished!

Thanks,
Rob

#############
Robert Clarke
 
Web Systems Developer
Bradford College
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Calling sendmail action from flowscript

Posted by Jan Hoskens <jh...@schaubroeck.be>.
What you're saying suggests that you're calling the function act() that does
not exist in your flowscript. Maybe you have to call it through the cocoon
object: cocoon.act(), as with the sendpage and other's(as on the wiki page:
http://wiki.cocoondev.org/Wiki.jsp?page=Flow)

Hope this helps,
Greetz,
Jan

----- Original Message ----- 
From: "Robert Clarke" <r....@bilk.ac.uk>
To: <us...@cocoon.apache.org>
Sent: Wednesday, February 11, 2004 4:40 PM
Subject: Calling sendmail action from flowscript


> Hi,
> I'm using cocoon 2.1.3 and would like to call sendmail from flowscript. I
> have a working sendmail action in my sitemap. However, when I try to use
the
> act function in my flow I get:
>
> TypeError: act is not a function
>
> Which suggests there's a resource that I should be including. I'm going
> round in circles trying to work out what that thing is.
>
> Any pointers regarding my no doubt simple mistake would be a huge help.
>
> Please help, my project is nearly finished!
>
> Thanks,
> Rob
>
> #############
> Robert Clarke
>
> Web Systems Developer
> Bradford College
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org