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

Hi Patrick

The content of AttractionVoucher is just the basic header content for  
an empty component... No body content...
If I call super before the pdf download code then I get the double  
action but if I place the super after then I get a single call to the  
action method but the page is just HTML not PDF

Gino

On 5 Mar 2008, at 15:02, Patrick Middleton wrote:

>
> 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      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/ginokris% 
> 40mac.com
>
> This email sent to [EMAIL PROTECTED]


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.7.0 (Build 1012)
Charset: US-ASCII

wj8DBQFHzr1qTKoUwFtLxjwRAu+nAKDjdRGzjZgKZ2FpeWkNZ88GdUuqwwCgk5F6
4XNzHFLop0BjTfiBBtytNyQ=
=/OqK
-----END PGP SIGNATURE-----
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
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