On 5 Mar 2008, at 13:59, Gino Pacitti wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All

I have a component actton method that is calling a second component
(not nested) and the result is the action method being called twice
in the first component and also appendToResponse twice....
...

Although the PDF is appearing it seems to call downloadPDF twice?

Has anyone an explanation or link to find out why this is happening....

This is Tiger 5.3 WO and safari...

GIno

What's the HTML content like defined in the component template for AttractionVoucher? What happens if, in your AttractionVoucher.appendToResponse(,) , you call super.appendToResponse(r, c) before doing the other stuff to set the response's content to the PDF?

--
Patrick Middleton
OneStep Solutions plc
351 London Road             Phone: +44 (0)1702 426400
Hadleigh                    Fax:   +44 (0)1702 556855
Essex. SS7 2BT              Email: [EMAIL PROTECTED]
England                            (MIME welcome)

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to