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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 107,305
» Latest member: hitclub13app
» Forum threads: 2,438
» Forum posts: 11,403

Full Statistics

Online Users
There are currently 1598 online users.
» 0 Member(s) | 1594 Guest(s)
Applebot, Bing, Google, Internet Archive

Latest Threads
Strict CSP Implementation
Forum: IntraWeb General Discussion
Last Post: Mario Villalba
10-29-2026, 06:32 PM
» Replies: 0
» Views: 107
Form doesn’t resize with ...
Forum: IntraWeb General Discussion
Last Post: BathDragonfly
10-29-2026, 09:48 AM
» Replies: 0
» Views: 91
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-29-2026, 07:38 AM
» Replies: 5
» Views: 577
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:31 AM
» Replies: 0
» Views: 170
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:30 AM
» Replies: 0
» Views: 162
IWDevTools
Forum: IntraWeb General Discussion
Last Post: AndreasK
10-26-2026, 01:19 PM
» Replies: 0
» Views: 190
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
10-19-2026, 09:24 PM
» Replies: 3
» Views: 780
SpinBox Button Size
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 06:12 PM
» Replies: 0
» Views: 298
CSS in CGDevTools
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-13-2026, 04:12 PM
» Replies: 2
» Views: 762
Help with TIWPaintBox
Forum: IntraWeb General Discussion
Last Post: EmoPal
10-13-2026, 08:44 AM
» Replies: 0
» Views: 423

 
  IntraWeb Bootstrap and TFrame
Posted by: jindrich.volek - 08-20-2022, 09:59 AM - Forum: IntraWeb General Discussion - Replies (1)

Hi
I am at the start of developing intraweb bootstrap application. It should have about 8 pages with the same menu in the header. Do you think that it's good idea to use one frame with menu for each page, so the menu its going to be same for each page (it loads to TFrame)?
Thanks, Jindrich

Menu = IWBSNavBar+IWBSNavBarHeader+IWBSNavBar+IWBSNavBarCollapse

Print this item

  adding Access-Control-Allow-Origin header
Posted by: Boba TC - 08-20-2022, 04:37 AM - Forum: Indy - Replies (2)

Dear All;
with TIdHTTPServer, how do I add the "Access-Control-Allow-Origin" header?
My intuitive move with VCL was:

Code:
TIdHTTPServer *IdHTTPServer;
//...
void __fastcall
TForm1::IdHTTPServerHeadersAvailable(TIdContext *AContext, const UnicodeString AUri,
          TIdHeaderList *AHeaders, bool &VContinueProcessing)
{
  AHeaders->Add("Access-Control-Allow-Origin: *");
  VContinueProcessing = true;
}
but when I test it with simple HTML in web browser:
Code:
<!DOCTYPE HTML>
<HTML>
  <BODY>
    <BUTTON onclick="myFunction()" type="button">TEST</BUTTON>
    <SCRIPT>
      function myFunction(){
        let o = new XMLHttpRequest();
        //the IdHTTPServer is bound to "http://127.12.34.56:7890"
        o.open("GET", "http://127.12.34.56:7890/qwe", false);
        o.send();//No 'Access-Control-Allow-Origin' header is present ...
      };
    </SCRIPT>
  </BODY>
</HTML>
browser throws "No 'Access-Control-Allow-Origin' header is present...". The TIdHTTPServer server does get this request with no complains of any kind.
BTW, if I insert my URL "http://127.12.34.56:7890/qwe" into the browser's address bar and press Enter - everyone is happy even if the server does not add an extra header.
TIA/Boba

Print this item

  Where is the full set-up ?
Posted by: André Manin - 08-18-2022, 12:46 PM - Forum: IntraWeb General Discussion - Replies (3)

hello Alexandre
We purchased Intraweb for Delphi Alexandria.
How to get the complete installation setup?
We can't use a web installer.

best regards

Print this item

  Datatables with Ajax
Posted by: matija - 08-16-2022, 06:00 AM - Forum: IntraWeb General Discussion - Replies (1)

I have rawtext (IWLabel.Caption) for my json data.  

'{ "data": [ .... ] }'

I want this rawtext include in define of datatables (HTML template).

WebApplication.CallBackResponse.AddJavaScriptToExecuteAsCDATA('$(''#examples'').DataTable( {  "ajax": ' + rawtext + ',} );'); 

How? Recipe?

Print this item

  TIdHTTP error details
Posted by: Boba TC - 08-16-2022, 01:23 AM - Forum: Indy - Replies (4)

Dear All; when TIdHTTP::Get method throws out an EIdHTTPProtocolException, where do I find details of the error?
For instance:

Code:
TIdHTTP *IdHTTP;
AnsiString strURL="https://....";
//...
try{
  TMemoryStream *m = new TMemoryStream;
  IdHTTP->Get(strURL,m);
  m->SaveToFile("tst.txt");
  delete m;
}catch(EIdHTTPProtocolException &e){
  ShowMessage(e.Message);//shows "HTTP/1.1 400 Bad Request"
}
Thanks in advance. Boba.

Print this item

  need HTML editor component
Posted by: iwuser - 08-16-2022, 12:35 AM - Forum: IntraWeb General Discussion - Replies (3)

Is there anything built-in into IW, or any external compatible components that can offer rich text HTML editing functionality on IW served pages?

Or has anyone been using any external JS libraries in IW apps with any success, like "editor.js"?

I basically need to serve HTML documents to users from an IW application, in some kind of editor, allowing the users to edit them free-hand and then get the edited HTML back, so it can be saved on the server.

Print this item

  How to control application access using IWIpGeolocation
Posted by: Alexandre Machado - 08-15-2022, 10:30 PM - Forum: IntraWeb General Discussion - Replies (2)

I've just published a new demo showing how to use the new IWIPGeolocation classes to control application access based on IPGeolocation.

It uses LITERALLY 2 lines of code + 2 units added to the uses clause.

You can have it both ways: block access from certain countries or grant access only to certain countries.

Please check it out:

https://github.com/Atozed/IntraWeb/tree/...AccessDemo

Please notice:
- You *don't need* another 2 Gb library 
- You *don't need* to download and install a 2 Gb package just to get IPGeolocation
- You *don't need* to learn another "api" just to get this simple thing working

It is as simple as it can should be

Enjoy  Big Grin

Print this item

  gSession.Lookup vs gSession.Execute
Posted by: tasnim - 08-15-2022, 07:22 AM - Forum: IntraWeb General Discussion - Replies (1)

hi everyone

After checking SessionList, SessionLookup151 in demo some question arises

what is the difference between gSession.Lookup and gSession.Execute
it appear that both achieve the same result
are they different in session lock mechanism?
when should we use each of them?

thanks.

Print this item

  Issue with TIWBSTabControl since 15.2.61
Posted by: oystein.jakobsen@sas.no - 08-11-2022, 07:53 PM - Forum: IntraWeb General Discussion - Replies (3)

Since 15.2.61 I get an EReadError exception when executing apps containing TIWBSTabControl components. Rolling back to 15.2.60 fixes the issue.

Happens in D10.4.2. Not in D11.

Error details:

Exception message : Error reading IWBSTabControl1.ActiveTabFont.PxSize: Property PxSize does not exist
Depending on the error condition, it might be possible to restart the application.
Exception class : EReadError

Print this item

  Linker error in IW15.2.65
Posted by: JuergenS - 08-11-2022, 01:28 PM - Forum: IntraWeb General Discussion - Replies (12)

I get a linker error in Intraweb 15.2.65 with C++Builder 11.1  Huh

[ilink32 Fehler] Error: Nicht auflösbares externes 'InternetOpenW' referenziert von C:\ATOZED11\INTRAWEB 15\LIBD11W32\INTRAWEB_15_D11.LIB|IWUtils
[ilink32 Fehler] Error: Nicht auflösbares externes 'InternetOpenUrlW' referenziert von C:\ATOZED11\INTRAWEB 15\LIBD11W32\INTRAWEB_15_D11.LIB|IWUtils
[ilink32 Fehler] Error: Nicht auflösbares externes 'InternetReadFile' referenziert von C:\ATOZED11\INTRAWEB 15\LIBD11W32\INTRAWEB_15_D11.LIB|IWUtils
[ilink32 Fehler] Error: Nicht auflösbares externes 'InternetCloseHandle' referenziert von C:\ATOZED11\INTRAWEB 15\LIBD11W32\INTRAWEB_15_D11.LIB|IWUtils

Regards

Juergen

Print this item