on ‎2007 Jan 04 3:51 PM
Hi,
I am successfully downloading a PDF document, but the calling window never stops processing and displays <b>Wait...Your request is being processed</b>.
How can I prevent that?
Here is some coding from the OnInputProcessing event handler:
* some Browsers have caching problems when loading PDF format
runtime->server->response->set_header_field(
name = 'cache-control'
value = 'max-age=0' ).
* set file name
runtime->server->response->set_header_field(
name = 'content-disposition'
value = lv_filename ).
* finally display PDF format in Browser
runtime->server->response->set_data( data = l_pdf_xstring
length = l_pdf_len ).
navigation->response_complete( ).Thanks.
/Elvez
Request clarification before answering.
Hello Elvez,
this behavior is do to the <xhtmlb:protectDoubleSubmit> what can not be user together with download. As the browser where the protect is active is never reciving a repsonse from the server. >> It does not knows when to remove this element.
Please correct your page.
Best regards,
Dezso
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.