Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 98,270
» Latest member: bavorconsulting
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 1500 online users.
» 5 Member(s) | 1492 Guest(s)
Applebot, Bing, Google, bavorconsulting, bellawilliam1, betanopolska, twin68commx1, v799scom

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 207
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 165
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 178
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 485
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 248
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 652
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 230
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,254
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 367
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 989

 
Question Creating and showing PDF
Posted by: David1 - 06-14-2022, 03:39 PM - Forum: IntraWeb General Discussion - Replies (2)

Hello,

I am using IW 15.2.57 and Delphi 11.1.
I would like to show a dinamically created pdf after a user select an invoice in a TIWjQDBGrid.
To create the pdf I am using the export feature of Fast-Report reporting tool.

I am using the following code:

Code:
    var AppPath: string := WebApplication.ApplicationPath;
    var CacheFileName: string := TIWAppCache.NewTempFileName();

    QryDeliveries.Close;
    QryOrder.Close;
    QryOrder.ParamByName('OrderNo').AsString := FSelectedOrderNo;
    QryOrder.Open;
    QryDeliveries.Open();

    Report.EngineOptions.EnableThreadSafe := True;
    Report.EngineOptions.DestroyForms := False;
    Report.LoadFromFile(Format('%sreports\Spedizioni.fr3', [AppPath]));

    try
        Report.PrepareReport;
        PDFExport.FileName := CacheFileName;
        Report.Export(PDFExport);
    finally
        Report.Clear;
    end;

    var Url: string := TIWAppCache.AddFileToCache(GGetWebApplicationThreadVar(), CacheFileName, 'application/pdf', ctOneTime);
    WebApplication.NewWindow(Url);

At the beginning selecting different invoice the pdf is correctly shown but after some selection the pdf report the same invoice without correctly update the invoice data basing on the selected invoice.

What I am doing wrong?

Thank you,
Davide

Print this item

  New interesting demo available
Posted by: Alexandre Machado - 06-11-2022, 01:12 AM - Forum: IntraWeb General Discussion - Replies (28)

Hi guys,

Recently I've been asked on how to enable the back button in an IntraWeb app and have it working as it was an HTML web site. I came up with this demo that I've just published showing  how to accomplish that (it requires some bits released on IW 15.2.57):

https://github.com/Atozed/IntraWeb/tree/...ltiPageApp

Key points:

- The application works as a Multi-page application, MPA (opposed to SPA, Single Page Application). MPA have multiple URLs (e.g http://yourdomain/newcustomer http://yourdomain/checkout, etc). On the contrary, traditional SPAs have a single URL

- One key difference between MPA and SPA is how they respond to the back button. In general, hitting the back button when in a SPA application will take you to another page, outside the scope of the application. On the other hand, MPAs respond correctly to back and forward buttons and will take you to the previous or next page in the browser history, inside the application scope. Also, URLs of a MPA app can be bookmarked

- This application makes use of content handlers to handle the URL addresses of the application. Each form has its own URL.

- There is no special code required other than the creation of the content handlers and setting a single property in the ServerController

- Everything should just work as expected. Have a look at the comments in the source code as it contains some important information on how to switch between forms and how to create the content handlers

Enjoy!  Big Grin

Print this item

  IntraWeb 15.2.57 is out!
Posted by: Alexandre Machado - 06-10-2022, 08:02 AM - Forum: IntraWeb General Discussion - Replies (3)

Hi guys,

there is a new update for IW, version 15.2.57. Unfortunately there was a regression bug in version 15.2.56, so please update.

There is some new stuff which enhances the way you can deal with browser's back button too! A demo will follow

enjoy!  Big Grin

Cheers,

Print this item

  HTTPSys Authenticatiom
Posted by: PaulWeem - 06-09-2022, 02:45 PM - Forum: IntraWeb General Discussion - Replies (2)

Hi all,

I am running an internal only application in HTTPSys and would like to authenticate users through Active Directory (Windows Integrated).

But what I try, the reported user is always "SYSTEM" (the user with which the service is started).

Is there a possibility to add Windows Integrated Authentication (like in IIS) to HTTPSys?

Delphi 11.1 with IW 15.2.26.

Cheers, Paul

Print this item

  IntraWeb 15.2.56 is out!
Posted by: Alexandre Machado - 06-07-2022, 09:54 AM - Forum: IntraWeb General Discussion - Replies (6)

Hi guys,

there's a new update available

https://www.atozed.com/2022/06/intraweb-15-2-56/

Enjoy  Big Grin

Print this item

  jira rest api generates 426 error
Posted by: pohukai - 06-06-2022, 08:11 PM - Forum: Indy - Replies (6)

I have a delphi app that uploads attachments directly to JIRA.  However, it is failing with a HTTP error of 426.

I'm at a loss as to what isn't set correctly and needs to be 'upgraded'.

Any ideas how to move forward?
Thanks




ssl.method := sslvSSLv23;
ssl.SSLOptions.SSLVersions := [sslvTLSv1, sslvTLSv1_1, sslvTLSv1_2];

output:

IdSSLIOHandlerSocketOpenSSL1Status:Resolving hostname xxxxxx-sandbox-603.atlassian.net.
IdSSLIOHandlerSocketOpenSSL1Status:Connecting to 104.192.142.19.
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "before/connect initialization"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:before/connect initialization
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "before/connect initialization"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:before/connect initialization
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSLv2/v3 write client hello A"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSLv2/v3 write client hello A
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSLv3 read server hello A"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSLv3 read server hello A
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSLv3 read server certificate A"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSLv3 read server certificate A
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSLv3 read server key exchange A"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSLv3 read server key exchange A
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSLv3 read server done A"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSLv3 read server done A
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSLv3 write client key exchange A"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSLv3 write client key exchange A
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSLv3 write change cipher spec A"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSLv3 write change cipher spec A
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSLv3 write finished A"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSLv3 write finished A
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSLv3 flush data"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSLv3 flush data
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSLv3 read server session ticket A"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSLv3 read server session ticket A
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSLv3 read finished A"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSLv3 read finished A
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSL negotiation finished successfully"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSL negotiation finished successfully
IdSSLIOHandlerSocketOpenSSL1StatusInfo:SSL status: "SSL negotiation finished successfully"
IdSSLIOHandlerSocketOpenSSL1StatusInfoEx:SSL negotiation finished successfully
IdSSLIOHandlerSocketOpenSSL1StatusInfo:Cipher: name = ECDHE-ECDSA-AES128-GCM-SHA256; description = ECDHE-ECDSA-AES128-GCM-SHA256 TLSv1.2 Kx=ECDH    Au=ECDSA Enc=AESGCM(128) Mac=AEAD
; bits = 128; version = TLSv1/SSLv3;
lHTTPStatus:Connected.
lHTTPConnected
lHTTPWorkBegin:4011
lHTTPWork:4011
lHTTPWorkEnd:1
lHTTPHeadersAvailable
lHTTPStatusBig Grinisconnecting.
lHTTPDisconnected
lHTTPStatusBig Grinisconnected.
exception:HTTP/1.1 426 Upgrade Required

Print this item

  IWFileUploader issue with text that contains apostrophes
Posted by: Mikhael - 06-06-2022, 10:44 AM - Forum: IntraWeb General Discussion - Replies (8)

Hello,

I have a problem with the IWFileUploader when I change one of the fields of TextStrings with a text that contains an apostrophe.
eg: IWFileUploader6->TextStrings->MultipleFileDropNotAllowedText = "Qu'un seul fichier !";
I still get an hourglass, the page comes up but becomes unresponsive.
I tried with \' and other combinations, but it doesn't work.
This happens when changing in the IDE or programmatically.
How to solve this?
Thanks in advance.

Print this item

  Unexpected page changes with button click
Posted by: chuck.lucas@fisglobal.com - 05-31-2022, 01:54 PM - Forum: IntraWeb General Discussion - Replies (11)

I am currently using Delphi 10.1 Berlin with IntraWeb 14.2.3...

I am trying to "update" an ancient application (written in IntraWeb 4) and have hit a problem. 

When the page with tabs initially renders, it looks perfect.  If a button is pressed (or something that actually causes the page to post), then the "tab section" of the page becomes "garbled".  Looking at the HTML/CSS source BEFORE and AFTER the button click shows portions of the CSS missing (such as width information).

Is there something I can do (besides upgrade, which is not an option) to resolve this?

Thanx,
Chuck

Print this item

  TIWBSCheckBox font size
Posted by: Comograma - 05-31-2022, 12:13 PM - Forum: IntraWeb General Discussion - No Replies

How can I change TIWBSCheckBox font size, not the check box square, but the label font-size?

Print this item

  IntraWeb 15.2.55 is out!
Posted by: Alexandre Machado - 05-27-2022, 12:24 AM - Forum: IntraWeb General Discussion - Replies (3)

Hey guys,

there is a new IntraWeb release available: https://www.atozed.com/2022/05/intraweb-15-2-55/

it also brings some exciting new stuff!

Enjoy!  Big Grin

Print this item