| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 879 online users. » 1 Member(s) | 875 Guest(s) Applebot, Bing, Google, bongdaconginfo1
|
| Latest Threads |
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 312
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 244
|
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 266
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 575
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 317
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 740
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 290
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,394
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 432
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,097
|
|
|
| IWBootstrap app and Apache |
|
Posted by: troberts - 10-20-2019, 09:01 AM - Forum: IntraWeb General Discussion
- Replies (8)
|
 |
I have an IWBootstrap app based on one of the bootstrap demos. I have compiled it as a service and configured it to run on port 44001 and it runs correctly when accessed directly via the LAN using the server's local IP address. It switches from desktop to mobile as required.
I am wanting to deploy it with Apache. In the conf file I have created a VirtualHost entry for it as follows:
<VirtualHost *:80>
ServerName mywebsite.com
ProxyPass / http://127.0.0.1:44001/ disablereuse=on
ProxyPassReverse / http://127.0.0.1:44001/
</VirtualHost>
I can browse to the website from outside, but the desktop version is always rendered. It does not switch to the mobile version when browsing to it from a mobile device. Any ideas?
|
|
|
| Pagination separator |
|
Posted by: Rassamaha78 - 10-19-2019, 11:06 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
I use IWBSList with BSListType = bsltPagination property. When there are a lot of pages, I would like to use a space - a separator between pages, for example:
1, 2, 3, 4 ... 50.
How can I add "..." between buttons ?
|
|
|
| TIWGrid + TIWBSButton |
|
Posted by: Rassamaha78 - 10-19-2019, 11:00 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
Hello. I am rewriting my project from regular IW to IWBootstrap (3).
I have a table (TIWGRid) in which several dynamic buttons are created, the code was like this:
Code: with grdGetNumber.Cell[ i, 4 ] do
begin
Control := TIWButton.Create( Self );
with TIWButton( Control ) do
begin
Caption := 'Buy';
Width := 60;
Height := 24;
Name := 'BTNGETNUMBER' + IntToStr( i );
OnAsyncClick := OnBuyKeyAsyncClick;
Tag := i;
end;
end;
Now I want to use TIWBSButton, I added Parent to the code:
Code: with TIWBSButton( Control ) do
begin
Parent := TWinControl( grdGetNumber );
BSButtonStyle := bsbsPrimary;
...
end;
The buttons on the page are displayed, but the page does not load to the end, the loading animation icon is constantly visible. How to add TIWBSButton to TIWGrid ?
|
|
|
| PRevenitng a session from being created in OnBeforeDIspatch |
|
Posted by: SWTwo6 - 10-17-2019, 04:28 PM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Next dumb question:
In IWXI, I could set handled to true in the OnBeforeDispatch (after sending a bit of html to the response) and it would end the session there and then.
When I'm trying to do the same in IW XV, it *does* run the code, but seems to run the OnBeforeDispatch multiple times for a single connection, before either erroring or just rendering the front page of my app - there is no Handled property for me to tell it to stop.
What should I be using instead? I want to generate different html based on which subdomain was used to connect, and not have to redirect the URL
(IW XI code:
Responded := false;
Response.StatusCode := 200;
DirList := TStringList.Create;
GetSubDirectories(IncludeTrailingPathDelimiter(ExtractFileDir(ParamStr(0)))
+ 'wwwroot\googlebot', DirList);
if DirList.count > 0 then
for x := 0 to DirList.count - 1 do
begin
if pos(UpperCase(ExtractFileName(ExcludeTrailingPathDelimiter
(DirList[x]))), UpperCase(Request.Host)) > 0 then
begin
mystrings := TStringList.Create;
mystrings.LoadFromFile(DirList[x] + '\index.html');
Response.ContentType := 'text/html';
Response.content := '';
for y := 0 to mystrings.count - 1 do
begin
Response.content := Response.content + mystrings[y] + #10#13;
end;
Response.SendResponse;
Responded := true;
break;
end
end;
if not Responded then
begin
Response.ContentType := 'text/html';
Response.content := html;
Response.SendResponse;
end;
)
|
|
|
| Access Violation when using Frames in IW15 |
|
Posted by: RichardS - 10-17-2019, 10:06 AM - Forum: IntraWeb General Discussion
- Replies (3)
|
 |
Hi - I am trying to track down an AV I get when using frames in an IW 15 application. These are inherited frames, and I have quite a number on the main IW form. The AV happens when a certain sequence of steps is followed.
The Delphi compiler simply tries to open IWApplication.pas when the error happens so of course I can't see quite what's going on, and if the error is in my construction or something in IW itself - my hunch is the latter, but perfectly possible I'm doing something wrong.
If I supply a zip of the source code with steps to reproduce, could somebody at AtoZed look at it for me? The application is confidential so would rather send it to you direct rather than upload here.
I've tried the latest IW 15.1.15 and on both Seattle and Rio IDEs with same results.
Thanks
Richard
|
|
|
| Publishing IW XV through a TMG 2010 firewal |
|
Posted by: SWTwo6 - 10-16-2019, 06:57 PM - Forum: IntraWeb General Discussion
- Replies (4)
|
 |
So, my latest adventure in thoroughly abusing Intraweb
I have a version in IW 11 that is published through a Microsoft Forefront 2010 TMG firewall, which works fine, but when I try to publish the same app produced in IW15 through the same firewall rules it's not working - the only js error I'm receiving is about the manifest.json file, but any buttons on my TMS grids - they just cause the website to hang, as if awaiting a response.
Does anyone know what is likely to have changed between IW XI and IW XV that I would need to update my firewall rules for?
|
|
|
| IW15 FileUplader and GetUploadedFileMimeType |
|
Posted by: cprmlao@hotmail.com - 10-16-2019, 01:37 PM - Forum: IntraWeb General Discussion
- Replies (20)
|
 |
Hi,
Intraweb XIV iwfileuploader demo has the next code.
It seems 'GetUploadedFileMimeType' is contained inm IWFileCheck.pas not present in the folder.
What is the equivalent to 'GetUploadedFileMimeType' in IW 15?
Regards, Luiz
Code: procedure TIWForm7.IWFileUploader5AsyncUploadCompleted(Sender: TObject;
var DestPath, FileName: string; var SaveFile, Overwrite: Boolean);
var
CurDir: string;
MimeType: string;
begin
// get the app path
CurDir := TIWAppInfo.GetAppPath;
MimeType := GetUploadedFileMimeType;
// save in the same application directory, with the same name of the original file. Overwrite if it already exists.
IWFileUploader5.SaveToFile(FileName, CurDir + FileName, True);
// Inform IWFileUploader that we are taking care of file saving ourselves
SaveFile := False;
end;
|
|
|
|