| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 106,314
» Latest member: noillirk
» Forum threads: 2,434
» Forum posts: 11,394
Full Statistics
|
| Latest Threads |
IWDevTools
Forum: IntraWeb General Discussion
Last Post: AndreasK
Yesterday, 01:19 PM
» Replies: 0
» Views: 26
|
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
10-19-2026, 09:24 PM
» Replies: 3
» Views: 568
|
SpinBox Button Size
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 06:12 PM
» Replies: 0
» Views: 240
|
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 05:21 PM
» Replies: 0
» Views: 219
|
CSS in CGDevTools
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-13-2026, 04:12 PM
» Replies: 2
» Views: 653
|
Help with TIWPaintBox
Forum: IntraWeb General Discussion
Last Post: EmoPal
10-13-2026, 08:44 AM
» Replies: 0
» Views: 374
|
KanBan like behaviour
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
10-06-2026, 09:31 PM
» Replies: 6
» Views: 1,420
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
10-02-2026, 04:14 PM
» Replies: 1
» Views: 875
|
TIWSummernote Issue
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
09-30-2026, 07:34 PM
» Replies: 1
» Views: 536
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 907
|
|
|
| Http.sys and TIWCGJQPDFViewer error: Atozed or CGDevTools? |
|
Posted by: aimpera - 09-13-2018, 11:36 AM - Forum: IntraWeb General Discussion
- No Replies
|
 |
Hi,
TIWCGJQPDFViewer error message is: PDF.js v1.10.88 (build: c62a1938) Messagge: file origin does not match viewer's
when I use Indy it's ok, no errors.
When I use new http.sys the TIWCGJQPDFViewer does't find pdf file (see below why)
Test scenario:
Public port 3434 redirected on private port 3535 (intraweb app use 3535 port), on my public IP XXX.XXX.X
From a remote site open a browser session http://XXX.XXX.X:3434
UserSession
Code: function TIWUserSession.PreparePDF: string;
var ms : TMemoryStream;
begin
Result := TIWAppCache.NewTempFileName;
ms := TMemoryStream.Create;
try
ms.LoadFromFile('wwwroot/pdf/somePDFfile.pdf');
ms.SaveToFile( Result );
finally
ms.Free;
end;
Result := TIWAppCache.AddFileToCache(WebApplication, Result, TIWMimeTypes.GetAsString(mtPDF), IW.CacheStream.ctOneTime);
end;
MainForm
Code: procedure TIWForm1.IWCGJQButton1JQButtonOptionsClick(Sender: TObject; AParams: TStringList);
var pdfFName : string;
begin
pdfFName := ServerController.UserSession.PreparePDF;
with TiwFormPDFViewer.Create(WebApplication, pdfFName) do
Show;
end;
PDFViewerForm
Code: constructor TiwFormPDFViewer.Create(AOwner: TComponent; pdfFile : string; showPreview: boolean);
begin
inherited Create(AOwner);
IWCGJQPDFViewer1.JQPDFViewerOptions.PDFFileName := pdfFile;
end;
From the browser console (remember XXX.XXX.XXX.X is my public IP)
with Indy,
<iframe style="width:100%;height:100%;border:0;" src="/pdf/jq/pdf.js/web/viewer.pdfv?file=http%3A%2F%2FXXX.XXX.XXX.X%3A3434%2Fpdf%2F%24%2Ftemp%2FATZKckrBtj3fu~hbGXiCzjY-W"></iframe>
decoded URL: /pdf/jq/pdf.js/web/viewer.pdfv?file=http://XXX.XXX.XXX.X:3434/pdf/$/temp/ATZKckrBtj3fu~hbGXiCzjY-W
with Http.sys:
<iframe style="width:100%;height:100%;border:0;" src="/pdf/jq/pdf.js/web/viewer.pdfv?file=http%3A%2F%2FXXX.XXX.XXX.X%3A3535%2Fpdf%2F%24%2Ftemp%2FATZepIzsB8XUeYSw2FW6aToMG"></iframe>
decode URL: /pdf/jq/pdf.js/web/viewer.pdfv?file=http://XXX.XXX.XXX.X:3535/pdf/$/temp/ATZlW4ZM9l-U0sTMNVGxvk5Xa
3535 is the local port and obviusly the PDF viewer can't get pdf file (from a remote site must be used 3434 open port)
With Http.sys the url for the cache file is with same port of intraweb application (3535)
while with Indy the cache file is correctly build with requested port 3434
If I simply open my public port 3535 (without a redirect 3434->3535) all works as espected.
Sorry for long post but it's very complicated to explain
Alfredo.
Intraweb 15.0.10, CGDevTools 4.1.0.102
|
|
|
| New IWTreeView demo |
|
Posted by: Alexandre Machado - 09-12-2018, 09:36 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hi guys,
thanks to Pete d'Oronzio we have a very nice demo of new IWTreeView features, including full Async support.
https://github.com/Atozed/IntraWeb/edit/...eeViewDemo
* this demo requires IW 15.0.11+
Please be aware that this demo uses the standard built in images but they can be easily configured. Everything in this tree view can be customized, including:
- sub-captions of nodes, images of nodes and also plus/minus sign, font and background of nodes and children, transition effect, custom css classes (and styles) for each style used.
|
|
|
| Placeholder does not work IW15 |
|
Posted by: wadcompany - 09-12-2018, 01:24 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
Hello friends, I'm having a problem with IWDBEdit in the adminlte template with IW15. The placeholder is not working. I have already used the ExtraTagParams property in OnHTMLTag and have already tried it directly in the template. But in both cases it does not work, simply when rendering the placeholder is not rendered on the page.
Just to appear on IW14 did not have this problem. If anyone can give me a hand I appreciate it. Thank you.
Best regards
Wagner.
|
|
|
| Adding SSL/TLS to SMTP Email Sending |
|
Posted by: paulcoshott - 09-12-2018, 08:21 AM - Forum: Indy
- Replies (3)
|
 |
Hi All,
I have been sending emails using SMTP and Indy for a while now, but only using port 25, as I have not added support for SSL/TLS. I think I have to add a TIdSSLIOHandlerSocketOpenSSL component, but I'm not sure of the properties I need to set to get this to work with
- Implicit SSL on port 465
- Explicit SSL (TLS) on port 587
Could someone tell what I need to do to get this to work? Thanks for any help.
Cheers
Paul
|
|
|
| Can you avoid phone number links in Edge? |
|
Posted by: magosk - 09-11-2018, 01:59 PM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
We have a web application where we display phone numbers for informational purposes. MS Edge can transform text containing a phone number into a link. When this occurs in a grid where we have "row click", the web page hangs if you click the phone number link, and you have to refresh the page to get it working again. Is there any way to avoid this?
Best regards
Magnus Oskarsson
|
|
|
| Compose mail message |
|
Posted by: geremiah - 09-10-2018, 06:39 PM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
I would like to send an e-mail message from my intraweb application, composing it.
I'm using the mailto command with all the data needed for the message, and, for open it i use the webapplication.newwindow(), but, together with the message from the default mail client is opened another empty window too.
Is there a way for open only the mail client window with the mail message ?
Thank you.
|
|
|
| How to prevent a clickable cell in a grid refreshing the whole grid |
|
Posted by: Ian_F1 - 09-10-2018, 04:15 PM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Hi,
It would seem that clicking on a clickable cell in a TIWGrid causes the whole Grid to get refreshed. How do I stop this occurring?
Here's how to see my issue:
- Create a standalone Intraweb applicattion
- Drop a TIWGrid onto the form
- Add this to the OnCreate of the Form
Code: procedure TIWForm1.IWAppFormCreate(Sender: TObject);
var
i : Integer;
begin
IWGrid1.RowCount := 100;
for i := 0 to IWGrid1.RowCount-1 do
begin
iwgrid1.Cell[ i, 0 ].Text := i.ToString;
iwgrid1.Cell[ i, 0 ].Clickable := TRUE;
end; { for i := Low to IWGrid1.RowCount-1 do }
end;
(NOTE: The only reason to add so many rows is so you get a scrollbar)
Now run the application and open the browser and scroll down to the bottom of the grid and then click on a cell. The grid will scroll back to the first row which to me makes me think it's been completely refreshed? I'd like for the grid to just stay where it was before I clicked on it.
Many thanks in anticipation.
Ian.
|
|
|
|