| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 101,345
» Latest member: On88cash
» Forum threads: 2,428
» Forum posts: 11,381
Full Statistics
|
| Latest Threads |
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
Yesterday, 04:14 PM
» Replies: 1
» Views: 428
|
KanBan like behaviour
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
10-01-2026, 09:21 PM
» Replies: 4
» Views: 149
|
TIWSummernote Issue
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
09-30-2026, 07:34 PM
» Replies: 1
» Views: 67
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:33 PM
» Replies: 1
» Views: 500
|
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-21-2026, 05:31 PM
» Replies: 2
» Views: 570
|
How can I get started? Do...
Forum: CrossTalk General Discussion
Last Post: taggame
09-17-2026, 03:17 AM
» Replies: 2
» Views: 4,317
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 398
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 773
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 453
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 991
|
|
|
| customize Application time-out message |
|
Posted by: wieczy - 11-07-2024, 02:35 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
Hi,
how can I customize the application time-out message? This message appears when the user uses an expired link and the server has been restartet.
WebApplication->GotoURL() does not work at this point because there is no WebApplication (== NULL).
Does anyone have an idea?
Greetings wieczy
|
|
|
| IW16 and TMSiwPro |
|
Posted by: davidbaxter - 11-05-2024, 11:59 PM - Forum: IntraWeb General Discussion
- Replies (2)
|
 |
The new install of IW16 has blown away all the TMSiwPro components. TMS doesn't support them anymore, but they're still very good. Has anyone else encountered this and (hopefully) have a work-around?
|
|
|
| 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!
|
|
|
|