cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niket Anand" <niketan...@networkprograms.com>
Subject saving a generated pdf file in server side
Date Mon, 16 Dec 2002 14:19:32 GMT
Hello All,
Can anybody help me out of this problem?

A screen is divided in two frames:-
Top frame shows PDF generated by pattern using XSL:FO
Bottom frame contains button for sending opened PDF (in top frame) through Mail. We are using
JavaMail API integrated with JBoss. Actually I want to send the Pdf through Mail, when a user
want to see
PDF and submit Mail PDF button.

How can I save and send opened PDF through mail as attachment or 
How can I save opened PDF at server side on click of Submit button in bottom frame?

Thanks,
Niket
 
----- Original Message ----- 
From: "Niket Anand" <niketanand@networkprograms.com>
To: <cocoon-users@xml.apache.org>
Sent: Saturday, December 14, 2002 8:50 PM
Subject: Re: saving a generated pdf file in local directory


> Hello Joerg,
> How come I save the opened PDF(in top frame) at server side at certain
> folder such that I can send mail with attached PDF on click of button in
> bottom frame?
> Thanks for helping me.
> Niket
> ----- Original Message -----
> From: "Joerg Heinicke" <joerg.heinicke@gmx.de>
> To: <cocoon-users@xml.apache.org>
> Sent: Saturday, December 14, 2002 8:05 PM
> Subject: Re: saving a generated pdf file in local directory
> 
> 
> > Hmm, what about a request like
> > http://localhost/cocoon/sendmail?pdf=myreport.pdf&email=myemail@foo.bar.
> > On the server you can do your processing. But I can't help you further,
> > I did not never used JavaMail.
> >
> > Joerg
> >
> > Niket Anand wrote:
> > > Sorry Joerg,
> > > I want to disturb you again.
> > > The actual scenario is like that:-
> > > A screen is divided in two frames:-
> > > Top frame shows PDF generated by pattern using XSL:FO
> > > Bottom frame contains button for sending opened PDF (in top frame)
> through
> > > Mail. We are using JavaMail API integrated with JBoss.
> > > Actually I want to send the Pdf through Mail, when a user want to see
> PDF
> > > and submit Mail PDF button.
> > > Does it possible in Cocoon?
> > > Thanks,
> > > Niket
> > > ----- Original Message -----
> > > From: "Joerg Heinicke" <joerg.heinicke@gmx.de>
> > > To: <cocoon-users@xml.apache.org>
> > > Sent: Saturday, December 14, 2002 7:44 PM
> > > Subject: Re: saving a generated pdf file in local directory
> > >
> > >
> > >
> > >>Remove the plugin from your browser. Or use right click and use
> > >>something like "Save link target as ...".
> > >>
> > >>It's not a Cocoon related problem, only one with browser usage.
> > >>
> > >>And please don't post such questions to developer list. From there you
> > >>won't get no answer relating to the usage of Cocoon. Therefore the users
> > >>list exists.
> > >>
> > >>Regards,
> > >>
> > >>Joerg
> > >>
> > >>Niket Anand wrote:
> > >>
> > >>>Hi All,
> > >>>I have a link in a screen, on click of that it will open new browser
> and
> > >
> > > a
> > >
> > >>>pipeline pattern would be called on that browser displaying a pdf
> report
> > >>>using XSL:FO.
> > >>>Instead of having this I want like this....
> > >>>When I click on that link, a dialog box or folder/directory selector
> > >
> > > popup
> > >
> > >>>window opens and ask for desired directory on which the generated PDF
> > >
> > > file
> > >
> > >>>can be saved.
> > >>>How can I do this?
> > >>>Actually how can I allow the physical pdf file to save in local
> > >
> > > directory
> > >
> > >>>using cocoon-2.0 WITHOUT OPENING IN new BROWSER?
> > >>>Pls reply if it needs more clarification.
> > >>>Thanks,
> > >>> Niket
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question  has not already been answered in the
> > FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>

Mime
View raw message