| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-09-2026, 03:02 AM
» Replies: 0
» Views: 80
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 81
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 93
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 356
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 184
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 532
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 173
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,093
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 308
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 884
|
|
|
| IntraWeb 16.0.0 (and Lazarus support) is here! |
|
Posted by: Alexandre Machado - 11-01-2024, 09:20 AM - Forum: IntraWeb General Discussion
- Replies (19)
|
 |
Hi guys,
It's real!!!
IntraWeb now supports Lazarus IDE and Free Pascal Compiler. A single code base, the same solid product, the same features, now available in Lazarus. 
We have a new major version available for immediate download:
https://www.atozed.com/2024/11/intraweb-16-0-0/
Regarding Lazarus support:
- The same installer should be used for all supported IDEs (From RAD Studio 2009 to RAD Studio 12.2 and Lazarus 3.4 or 3.6)
- The same license can be used in any IDE, concurrently. You can use your active IW 15 license with IW 16 in Lazarus.
- All 4 application types are also available for Lazarus: Http.sys, ISAPI, SA-Indy, ASPX.
- IntraWeb for Lazarus must be installed on Lazarus for Windows, 64 bits
- Versions 3.4 (from FpcDeluxe) and 3.6 (Official) are both supported
- Free Pascal Compiler 3.2.2 is supported, x64 (x86_64-win64 target only)
- Linux targets are not supported ATM. It's in our roadmap and being developed.
- Please check our site for instructions/notes on how to install IntraWeb on Lazarus/FPC: https://www.atozed.com/intraweb/how-to-i...n-lazarus/
Enjoy!
|
|
|
| working with templates, the rules |
|
Posted by: iwuser - 10-29-2024, 09:37 AM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Is there a list of what type of HTML tags can be used with all the different types of IW controls? I.e.: what goes with what?
I'm trying to use a Bootstrap template with things like:
<div class="card">
<div class="card-body">
<div class="card-title d-flex align-items-start justify-content-between">
<div class="avatar flex-shrink-0">
<img
src="assets/img/user.png"
alt="Users"
class="rounded"
/>
</div>
<div class="dropdown">
<button
class="btn p-0"
type="button"
id="cardOpt3"
data-bs-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
>
<i class="bx bx-dots-vertical-rounded"></i>
</button>
<div class="dropdown-menu dropdown-menu-end" aria-labelledby="cardOpt3">
<a class="dropdown-item" href="javascript:void(0);">List</a>
<a class="dropdown-item" href="javascript:void(0);">Manage</a>
</div>
</div>
</div>
<span class="fw-semibold d-block mb-1">Users:</span>
{%lblUserCount class="card-title mb-2"%}
</div>
</div>
I want the image to be static, as it is. But ideally clickable. Do I have to replace the entire IMG with an IW component? Or wrap it into an <A></A> (and then if I do, how do I link that to an IW button, for example)?
And with classes/styles in the HTML, how can I link a button (or anything) back to <A>? And then can I push styles/classes back to HTML controls (whether I do or do not map them to anything from code)? Like the "active" below, when the next item is clicked:
[...]
<ul class="menu-inner py-1">
<li class="menu-item active">
<a href="index.html" class="menu-link">
<i class="menu-icon tf-icons bx bx-home-circle"></i>
<div data-i18n="Analytics">Dashboard</div>
</a>
</li>
<li class="menu-item">
<a href="javascript:void(0);" class="menu-link menu-toggle">
<i class="menu-icon tf-icons bx bx-layout"></i>
<div data-i18n="Layouts">Layouts</div>
</a>
[...]
Or does the entire structure need to be replaced with a Tab control for this?
It really needs another Guide, it's a whole new field...
|
|
|
| Encoding problem? |
|
Posted by: Justin Case - 10-27-2024, 08:27 PM - Forum: Indy
- Replies (7)
|
 |
My Client is failing to logon to my server now and I think this is an upgrade woe (I'm using 10.6.3.3)
The client sends a string command like this: logon¦<username>¦password
After being stumped as to it not working anymore, I ended up doing a debug and seeing that the clients TCP thread is sending it but the server isn't happy - and sends back a 400 quoting it with ? instead of ¦
So I went and debugged the server and the TIdCmdTCPServer.DoExecute function is reading it in as: logon?<username>?password
Clearly this is not what was sent however ¦ is turning into ?
In IdGlobal there is this function that the client calls when calling WriteLn():
Code: function ToBytes(const AValue: string; const ALength: Integer; const AIndex: Integer = 1;
ADestEncoding: IIdTextEncoding = nil
{$IFDEF STRING_IS_ANSI}; ASrcEncoding: IIdTextEncoding = nil{$ENDIF}
): TIdBytes; overload;
var
LLength: Integer;
{$IFDEF STRING_IS_ANSI}
LBytes: TIdBytes;
{$ENDIF}
begin
{$IFDEF STRING_IS_ANSI}
LBytes := nil; // keep the compiler happy
{$ENDIF}
LLength := IndyLength(AValue, ALength, AIndex);
if LLength > 0 then
begin
EnsureEncoding(ADestEncoding);
{$IFDEF STRING_IS_UNICODE}
SetLength(Result, ADestEncoding.GetByteCount(AValue, AIndex, LLength));
if Length(Result) > 0 then begin
ADestEncoding.GetBytes(AValue, AIndex, LLength, Result, 0);
end;
{$ELSE}
EnsureEncoding(ASrcEncoding, encOSDefault);
LBytes := RawToBytes(AValue[AIndex], LLength);
//LBytes is: (76, 111, 103, 111, 110, 166, 83, 97, 102, 102, 108, 101, 115, 166, 104, 111, 114, 97, 99, 101, 13, 10)
CheckByteEncoding(LBytes, ASrcEncoding, ADestEncoding);
//LBytes is: (76, 111, 103, 111, 110, 63, 83, 97, 102, 102, 108, 101, 115, 63, 104, 111, 114, 97, 99, 101, 13, 10)
Result := LBytes;
{$ENDIF}
end else begin
SetLength(Result, 0);
end;
end;
As you can see the bytes 166 are transformed into bytes 63. This never used to happen. Why does it happen now?
This seems to be triggered here:
Code: function TIdASCIIEncoding.GetBytes(const AChars: PIdWideChar; ACharCount: Integer;
ABytes: PByte; AByteCount: Integer): Integer;
var
P: PIdWideChar;
i : Integer;
begin
// TODO: decode UTF-16 surrogates...
P := AChars;
Result := IndyMin(ACharCount, AByteCount);
for i := 1 to Result do begin
// replace illegal characters > $7F
if UInt16(P^) > $007F then begin
//This next line seems to do it
ABytes^ := Byte(Ord('?'));
end else begin
ABytes^ := Byte(P^);
end;
//advance to next char
Inc(P);
Inc(ABytes);
end;
end;
Any ideas please?
Thanks
|
|
|
| Bug with TIdMessageBuilderHtml and TIdAttachmentFile |
|
Posted by: BartKindt - 10-27-2024, 07:08 PM - Forum: Indy
- Replies (2)
|
 |
I run into a real problem here.
I have just found out that when I create an HTML email using TIdMessageBuilderHtml and also want to attach a file using TIdAttachmentFile, the file attachment fails.
It does not make a difference in which order I do it.
Is there anything I can do to fix it?
Code: with TIdMessageBuilderHtml.Create do
try
PlainText.Text := PlainBody;
Html.Text := HTMLBody;
FillMessage(IdMessage);
finally
Free;
end;
TIdAttachmentFile.Create(IdMessage.MessageParts, AAttachment);
idMessage.SaveToFile('msg.eml');
When opening the saved file, no attachments. Obviousely also when I actually send it with SMTP.
|
|
|
| Contexts AThread? |
|
Posted by: Justin Case - 10-26-2024, 09:01 PM - Forum: Indy
- Replies (5)
|
 |
Just a quickie.. Indy 10.6.3.3..
Is there a way to access the AThread of TIdContext?
I've been unable to find it..
Thanks
JC
|
|
|
| Context.Connection.Socket.WriteInteger() not available? |
|
Posted by: Justin Case - 10-23-2024, 08:00 PM - Forum: Indy
- Replies (5)
|
 |
On the old version of Indy 10, I noticed that WriteInteger wasn't available - a bit of a pain when i was trying to send file sizes before sending files!
On this version (10.6.3.3) there is still no WriteInteger() procedure available yet it was in Indy 9 (and 8 I think too).
How can I get around this please?
Thanks
|
|
|
| Can I run TIdTCPServer inside a Context/Thread? |
|
Posted by: Justin Case - 10-23-2024, 06:30 PM - Forum: Indy
- Replies (3)
|
 |
Hi
Might sound like a daft question and you're probably thinking I'd be crazy to want to but I am working on a server that will be able to accept plugins to add extra functionality. As part of that, I would like to be able to run plugins as part of the main server program but also per user by creating a plugin loader inside the thread using the threads Data object to keep track of it.
I am using Max's TMxPluginLoader component / plugins.
What I would like to be able to do is for example, send a plugin to the server which has an FTP server for example or perhaps a SMTP server. I know that I could do that in the main program thread but I'd like to be able to also do this in a thread so that other users don't get access to the same plugin and mess things up.
Delphi logic and parent / descendant classes says this should be possible but as Indy is quite complex in nature server-wise, I thought I best check with the experts!
|
|
|
| firedac memTable syncronize IWjQDBGrid |
|
Posted by: guarasemini - 10-14-2024, 08:12 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hello everyone.
I use iw 15.5.9 and changed my grids to IWjQDBGrid but, i cant syncronize the selected row with my firedac memtable. I cant navegate like iwDBGrid. On iwDBGrid, i used the event onclick on the collumn to move my dataset with locate but i dont know how to do that with IWjQDBGrid.
I need that because i show some info and made some updates.
anyone can help me to syncronize firedac memTable with IWjQDBGrid ?
|
|
|
| Keep-alive forms don't work as expected |
|
Posted by: Blanca80 - 10-14-2024, 01:34 PM - Forum: IntraWeb General Discussion
- Replies (8)
|
 |
Hello,
We're experiencing some strange behaviour with the sessions on one of our clients. The program runs on an IIS and it's an ISAPI application connected to a database that basically manages the lawyer's files with some menus and forms that interact.
The client wants that the session they are working in will never expires until they don' close the window browser, and this can be hours with the browser opened but without user's interaction. To do so, we have setted all forms with the keep-alive true and lengthened the servercontroller sessiontimeout to 240 minutes.
If perhaps the applicaton remains an hour and the user comes back to the form and clicks on it, sometimes the application returns to the main page and starts another session instead of remaining to the form with same data they've leaved an hour ago, without errors and without closing the session.
If we look at the server we suspect that the previous session is still running, but impossible to reach, and surely a new session has been created.
I've recently changed sessioncookies to false but it's the same and i think usecookies it's mandatory as we work with sessions.
What else can we review?
Thank you very much.
|
|
|
|