Re: Help with Double Action Method
Re: Help with Double Action Method
- Subject: Re: Help with Double Action Method
- From: Gino Pacitti <email@hidden>
- Date: Wed, 5 Mar 2008 15:33:32 +0000
-----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@hidden
> England (MIME welcome)
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40mac.com
>
> This email sent to email@hidden
-----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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden