Hi,

I have the following setting in my cocoon application:
User fills in a form and submits it. Then an email will be created and sent
to the user. Additionally the user gets a confirmation message in his
browser. 

I use woody, flow and jxtemplate for this approach. After submitting a form
a java class is called from the flow javascript. In this class I plan to
send the email with java mail. I plan to send html mail and produce the html
to be sent also with cocoon. 

How I do this best? My idea is to use cocoon cli interface within my java
class to prodcue the html for javamail. I use the cocoonwrapper class for
that. Now my problem is how do I pass user information from my java class to
the cli cocoon instance in order to customize the prodcued email with what
the user sent in the form? I also plan to use jxtemplate. I miss something
like the bizdata attribute which you can use to pass a java object to
jxtemplate when you call it from flowscript. Sure I could use
request-parameters but how do i pass more complex java objects with that?

Thanks very much for sending your suggestions.

Boris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to