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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 107,521
» Latest member: iwinclubplus1
» Forum threads: 2,438
» Forum posts: 11,405

Full Statistics

Online Users
There are currently 1453 online users.
» 2 Member(s) | 1446 Guest(s)
Applebot, Bing, Facebook, Google, Yandex, iwinclubplus1, taivideodouyinvn

Latest Threads
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
6 hours ago
» Replies: 1
» Views: 676
Strict CSP Implementation
Forum: IntraWeb General Discussion
Last Post: joelcc
Yesterday, 08:28 PM
» Replies: 1
» Views: 152
Form doesn’t resize with ...
Forum: IntraWeb General Discussion
Last Post: BathDragonfly
10-29-2026, 09:48 AM
» Replies: 0
» Views: 119
Rerendering CG Tab Contro...
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-29-2026, 07:38 AM
» Replies: 5
» Views: 607
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:31 AM
» Replies: 0
» Views: 200
Simply replacing the IW i...
Forum: IntraWeb General Discussion
Last Post: DidierMenant
10-28-2026, 10:30 AM
» Replies: 0
» Views: 181
IWDevTools
Forum: IntraWeb General Discussion
Last Post: AndreasK
10-26-2026, 01:19 PM
» Replies: 0
» Views: 211
SSL Revisited
Forum: IntraWeb General Discussion
Last Post: rlebeau
10-19-2026, 09:24 PM
» Replies: 3
» Views: 813
SpinBox Button Size
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-19-2026, 06:12 PM
» Replies: 0
» Views: 310
CSS in CGDevTools
Forum: IntraWeb General Discussion
Last Post: MikeComb
10-13-2026, 04:12 PM
» Replies: 2
» Views: 780

 
  New IntraWeb updates available
Posted by: Alexandre Machado - 07-12-2019, 11:57 AM - Forum: IntraWeb General Discussion - No Replies

New update for IW 15 branch:  https://www.atozed.com/2019/07/intraweb-15-0-24/


New update for IW 14 branch:  https://www.atozed.com/2019/07/intraweb-14-2-12/


Later today we are going to release a new release with several exciting new features, IW 15.1! Stay tuned!

Enjoy!   Smile

Print this item

  IW App with Bootstrap 4 Demo!
Posted by: ShaneStump - 07-12-2019, 04:56 AM - Forum: IntraWeb General Discussion - Replies (6)

Howdy All!

I finally (after 3 extra months of committee decisions) have my new web reservations up on our demo site (it is in beta and demo mode).

Please let me know what you think:

VTS Web Reservations Version 3 (Demo)

The web app is responsive and will work with mobile/tablet/desktop browsers!

All the best,

Shane

Print this item

  IdHTTP Post problem
Posted by: BartKindt - 07-11-2019, 10:46 PM - Forum: Indy - Replies (1)

I am trying to post weather data to the OpenWeatherMap API server.
They use a RESTful server (API 3.0).
The documentation on this is totally incomplete.

Using a third-party program called 'ARC' and a lot of research, I discovered that in addition to adding the KEY to the URL, it is also required that *before* the HTTP Request the same KEY is send, which in this ARC program is called an 'Action', with a 'Name' and a 'value'.
In another application reference on the Internet the same name+value where added in what was called the 'Params' of this application.

The only Params I have been able to find in the IdHTTP Client is here:

IdHTTP1.Request.Authentication.Params.AddValue('appid',APIKey);

But this cannot be done because the 'Authentication' is not created.
And when I try to create it manually, I get a
[dcc32 Warning] Unit1.pas(224): W1020 Constructing instance of 'TIdAuthentication' containing abstract method 'TIdAuthentication.DoNext'

I am not even sure if this is the right location for this 'name' + 'Key'.

The OpenWeatherMap API does not do any negotiation; When the HTTP Post is not excactly correct, it just gives a '400' and disconnects.

OnAuthorisation and OnSelectAuthorisation are never called.

How am I to add these values to the HTTP Post, *before* the body containing JSON data is send?

Print this item

  IW17 progress
Posted by: joelcc - 07-10-2019, 06:20 PM - Forum: IntraWeb 17 - Replies (6)

I was just wondering if there is an eta on when iw17 might be released.

Print this item

  Advice about where put a code to websocket
Posted by: cprmlao@hotmail.com - 07-10-2019, 03:08 PM - Forum: IntraWeb General Discussion - Replies (5)

Hi,
I have many iw forms, all inherited from a standard iwform(TIWFormStd).
I have a MasterTemplate html to all my IWForms.
I have my websocket server component in servercontroller module(I don´t know  if this is the better place)
I need the websocket client available in all forms, because my app has a chat to users.
In that MasterTemplate, I have the next script code to connect to websocket server:

Code:
<script>
   function wschat()
    {
        if (!ws || ws.state()!='open'){
          ws = new sgcWebSocket('ws://127.0.0.1:5414/auth/url/admin/1234');
        }

       ws.on('open', function(evt){
          console.log(ws.state())
        });   
        ws.on('message', function(evt){
          console.log(evt.message)
        })
       
   }
    wschat()
</script>

My problem is that when I open a new iwform, I allways release the old iwform. As the old form is released, the websocket connection in the frontend  is  destroyed as well and recreated when the new IWForm is active.

I´d like to know some suggestions about where I can put the websocket client code to avoid  it.

Regards, Luiz

Print this item

  IdDateTimeStamp gives strange result
Posted by: jollytall - 07-09-2019, 10:20 AM - Forum: Indy - Replies (1)

I might have missed something, but tried a very simple code:

procedure TForm1.Button1Click(Sender: TObject);
  begin
  IdDateTimeStamp1.SetFromTDateTime(Now);
  memo1.lines.add(DateTimeToStr(Now));
  memo1.lines.add(IdDateTimeStamp1.AsISO8601Calendar);
  end;


and got the result:

9-7-19 12:06:56
2020-8-10T12:06:56,

i.e. the Year, the Month and the Day are all +1 compared to the real one. I tried other dates and always this offset.

Any idea?

I use Debian 9, Gnome 3.22.2, Lazarus 2.0.2., FPC 3.0.4, on 64 bit.

Print this item

  on resize for regions?
Posted by: pete@pdmagic.com - 07-07-2019, 09:40 PM - Forum: IntraWeb General Discussion - Replies (2)

Standard HTML+JS only provides resize events for windows and frames. However Intraweb also resizes controls using the align functionality.  (e.g. when a splitter is used)

There are a couple of places where I've embedded content that needs to be notified of resize so they can redraw themselves. I've got the following code in one such place:

Code:
window.resize(function(){
          CurDgm.PanZoom.resize();
          CurDgm.PanZoom.fit();
          CurDgm.PanZoom.center();
    });


That code works as expected when the browser is resized.  However, when a splitter is used that causes the containing region to change size, that function will not be called.

Is there an IW event handler I can hook to to call this code when a region changes size?


Thanks!

Print this item

  debug isapi application
Posted by: ronaldobim - 07-06-2019, 07:52 PM - Forum: IntraWeb Dúvidas Gerais - Replies (1)

Alguém que usa isapi e consegue debugar a aplicação no iis ?

Print this item

  IWListbox on mobile browser as Listbox?
Posted by: wieczy - 07-06-2019, 07:24 PM - Forum: IntraWeb General Discussion - Replies (4)

Hi,

IWListboxes on mobile Browsers rendered as "selectboxes" (ig. on iPad or iPhone). Is it possible to suppress this behavior so that the IWListboxes  appear as really Listboxes?

Any hints are welcome.

Greetings

wieczy.

Print this item

  Play IP camera stream in Intraweb.
Posted by: thiagorod - 06-30-2019, 06:19 AM - Forum: IntraWeb General Discussion - Replies (6)

Hello,

Is it possible to open IP cameras streams using a standard Intraweb component? If affirmative, which one? I would like to have it playing in a defined box on the form, and to just launching media player. 

Regards,

Print this item