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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 107,533
» Latest member: good88direct
» Forum threads: 2,440
» Forum posts: 11,408

Full Statistics

Online Users
There are currently 1290 online users.
» 1 Member(s) | 1286 Guest(s)
Applebot, Bing, Google, good88direct

Latest Threads
issue with migrate delph ...
Forum: IntraWeb General Discussion
Last Post: PDSBILL
1 hour ago
» Replies: 1
» Views: 9
Sendig email form isapi d...
Forum: IntraWeb General Discussion
Last Post: lfeliz
5 hours ago
» Replies: 0
» Views: 13
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
Yesterday, 10:17 AM
» Replies: 1
» Views: 686
Strict CSP Implementation
Forum: IntraWeb General Discussion
Last Post: joelcc
11-02-2026, 08:28 PM
» Replies: 1
» Views: 158
Form doesn’t resize with ...
Forum: IntraWeb General Discussion
Last Post: BathDragonfly
10-29-2026, 09:48 AM
» Replies: 0
» Views: 127
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-29-2026, 07:38 AM
» Replies: 5
» Views: 633
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:31 AM
» Replies: 0
» Views: 202
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:30 AM
» Replies: 0
» Views: 183
IWDevTools
Forum: IntraWeb General Discussion
Last Post: AndreasK
10-26-2026, 01:19 PM
» Replies: 0
» Views: 215
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
10-19-2026, 09:24 PM
» Replies: 3
» Views: 826

 
  New property ServerController.SessionOptions.AllowSearchEngines
Posted by: JuergenS - 08-21-2019, 06:51 AM - Forum: IntraWeb General Discussion - Replies (17)

Hi,

I already use my own installed content handler for search engines along with the options
ServerController.SearchEngineOptions->RedirectToContentHandler and
ServerController.SearchEngineOptions->ContentHandlerPath.

Will that still work if I set ServerController.SessionOptions.AllowSearchEngines = false ?

What is the content of the build-in robots.txt file and where it will be located ?

Regards
JuergenS

Print this item

  IWLocker How To?
Posted by: ShaneStump - 08-20-2019, 07:26 PM - Forum: IntraWeb General Discussion - Replies (1)

Howdy All!

I have some places where I need to lock the form and so I have functions that basically implement the following (c++):

void ActivateFormLock(void)
{
  UnicodeString strJS = L"ActivateLock();";

  // Add java script to be executed!
  WebApplication->CallBackResponse->AddJavaScriptToExecute(strJS);
}


void ReleaseFormLock(void)
{
  // Javascript to lock form
  UnicodeString strJS = L"ReleaseLock();";

  // Add java script to be executed!
  WebApplication->CallBackResponse->AddJavaScriptToExecute(strJS);
}

The problem is the IWLocker isn't activated. What am I doing WRONG?

Thanks in advance,

Shane

Print this item

  IW 15.1.x error in TIWImageButton
Posted by: aimpera - 08-20-2019, 03:53 PM - Forum: IntraWeb General Discussion - Replies (3)

Hi,

I noticed a strange behavior
in Intraweb 15.1.x when I click on a TIWImageButton with no events defined, the browser does a submit event (a refresh).
Using a previous version (I tested iw 15.0.21) clicking does nothing, as expected.

What's wrong?
(To reproduce It's sufficient to put a TIWImageButton  in a empty form and compile with IW 15.0.x and 15.1.x)

Best Regards, Alfredo

Print this item

  Are old blog posts still accessible somewhere
Posted by: jeroen.rottink - 08-19-2019, 09:23 AM - Forum: IntraWeb General Discussion - Replies (1)

Hi,

In my documentation of converting an IW10 application to IW14 I came accross a lot of references to the old atozed/intraweb blog.
Links like http://www.atozed.com/intraweb/blog/20091102.en.aspx and http://www.atozed.com/intraweb/blog/20140508.EN.aspx. Are these blogs under another link still accessible?


Found it via http://web.archive.org

http://web.archive.org/web/2016080307484...08.EN.aspx

Print this item

  lambda functions with classic 32 bit Borland compiler ?
Posted by: JuergenS - 08-18-2019, 05:51 PM - Forum: IntraWeb General Discussion - Replies (14)

Hi,

the Intraweb Application Wizard creates by default a C++ project for the classic 32 bit Borland compiler,
but now the default compiler for Embarcadero RAD Studio 10.3.2 32 AND 64 bit  is CLANG.

The classic 32 bit Borland compiler does not provide C++11 lamda function support,
therefore gsession functions like Excecute() and LookUp() probably can not be used with this compiler.

Turning off the classic 32 bit compiler creates an error message in IWInit.hpp

namespace Iwinit
{
  extern Iwapplication::TIWApplication* __thread WebApplication;
}

Regards
JuergenS

Print this item

  TWMemo and caret position
Posted by: Nand__ - 08-17-2019, 09:58 AM - Forum: IntraWeb General Discussion - Replies (1)

Hello everybody,

is there a way to set the caret position in a TIWMemo control?

Print this item

  Help with Registered callback methods
Posted by: LeoBruno - 08-16-2019, 07:32 PM - Forum: IntraWeb General Discussion - Replies (3)

Hi:

I´m testing Intraweb 15.1 and

I need to get on server side (IWApplication) the result value from a javascript function executed on client side.

I have read this dodumentation http://docs.atozed.com/docs.dll/developm...015.1.html
and these threads https://www.atozed.com/forums/showthread.php?tid=498 , https://www.atozed.com/forums/thread-1134.html

Also IW CustomAjaxCall Demo.

But I find all very confusing, because i need the return values on server side.
So Why should I use a callback method, when all I need to do is to get a result value that is on the client side?
Also, I´m not sure if I got this right.

Here is what I have so far...

1- the CallBackMethod:

procedure TfrmBase.clbkGridSel(aParams: TStrings; out aResult: string);
begin
  aResult := aParams.Values['Selection'];
end;


2 - the registration of the callback method

procedure TfrmBase.IWAppFormCreate(Sender: TObject);
begin
  WebApplication.RegisterCallBack('clbkGridSel', clbkGridSel);
end;


How do I get, on server side, the aResult from the callback method to process this information?

I wrote this method to execute the callback on client side, but as you can see, It doesn´t help me to get the information.

function TfrmBase.GetSelecaoGrid: string;
begin
  WebApplication.
    CallBackResponse.
      AddJavaScriptToExecute('ajaxCall("clbkGridSel", "&Selection="  + GRIDCADUSUARIOGetSelected()');
end;

GRIDCADUSUARIOGetSelected() id the javascript function that will return the selected data.

In other words, what I need to accomplish, is to be able to call javascript "GRIDCADUSUARIOGetSelected() " from Server Side, and get it´s result value.

Print this item

  IW 15.1.3 ISAPI
Posted by: matija - 08-16-2019, 11:44 AM - Forum: IntraWeb General Discussion - Replies (8)

Do I need to have new DLLs (Atozed.Core, Intraweb, Intraweb.HTML, Itraweb.IWP) for the ISAPI version if you are using IW 15.1.3?

Because it doesn't work, I don't know why or where! In the previous version, the case still worked.

Print this item

  Want simple JS demo
Posted by: Kristy - 08-16-2019, 06:54 AM - Forum: IntraWeb General Discussion - Replies (26)

At Huh
Just want to show user time zone offset in IWEdit1.
IW demo seem too complicate that I did not get the right way to handle return.
What am I missing?


procedure TIWForm1.IWAppFormCreate(Sender: TObject);
begin
  Self.JavaScript.Add('function TZoffset(){'+ #13#10
  +'var d = new Date();'+ #13#10
  +'var tn = d.getTimezoneOffset();'+ #13#10
  +'document.getElementById("IWEDIT1").innerHTML = tn;'+ #13#10
  +'}');

IWedit1 is a way for return back the value to usersession variable only.

Thanks for help!
end;

Print this item

  Session memory leaks problem
Posted by: vg0005 - 08-15-2019, 08:36 PM - Forum: IntraWeb General Discussion - Replies (3)

Dear IW developers:
 
First of all, thank you for your creative work and tireless efforts.
 
However, I have found a memory-leakage problem which occurs each time when IW destroys a session. Even if it is a web page with only one button or no user codes at all (including all of your demos), when a session is destroyed, it only releases 1/10 of the memory it has consumed(15.1.3 is a little better but still far from satisfactory). For instance, it consumes approximately 1mb memory when a session starts and it spits back only 0.1mb memory when the session is killed.
 
Please use any one of your demos and evaluate the memory ‘black holes’. I usually set the sessiontimeout time to 1 minute to quicken the process but 10 minutes made no difference. I sincerely hope you could fix up the memory problem ASAP.
 
Thank you for your atention.
Ps: I used one of your demos named ‘Guess’. The pic below shows what I had in my TASKMANAGER:

Sorry I forgot to tell you the pic shows what I experienced with one of your IW demos called 'Guess'. You created this demo so I didn't post it as an attachment.



Attached Files Thumbnail(s)
   
Print this item