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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 89,799
» Latest member: b52dealz
» Forum threads: 2,417
» Forum posts: 11,353

Full Statistics

Online Users
There are currently 459 online users.
» 4 Member(s) | 452 Guest(s)
Applebot, Bing, Google, b52dealz, Ea88betcasino, hitclub5cyou, qh88qhicu

Latest Threads
Simply convert PeerIp to ...
Forum: Indy
Last Post: DidierMenant
Yesterday, 03:50 PM
» Replies: 2
» Views: 129
New CGDevTools build is a...
Forum: CGDevTools
Last Post: lfeliz
Yesterday, 12:03 AM
» Replies: 2
» Views: 1,322
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-02-2026, 04:21 PM
» Replies: 3
» Views: 127
IW 16.2.0 Missing librari...
Forum: IntraWeb General Discussion
Last Post: JuergenS
07-31-2026, 09:44 AM
» Replies: 6
» Views: 1,208
Datatables question
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
07-28-2026, 04:34 AM
» Replies: 2
» Views: 210
CSS file not reloading af...
Forum: IntraWeb General Discussion
Last Post: CharlieDunn
07-27-2026, 08:27 PM
» Replies: 1
» Views: 345
Intraweb components missi...
Forum: IntraWeb General Discussion
Last Post: valmeras
07-27-2026, 03:18 PM
» Replies: 3
» Views: 342
Image question on tiwjqdb...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
07-17-2026, 05:18 PM
» Replies: 6
» Views: 4,815
IW 16.1.9 Invalid propert...
Forum: IntraWeb General Discussion
Last Post: Blanca80
07-17-2026, 08:06 AM
» Replies: 7
» Views: 2,348
Bootstrap5
Forum: IntraWeb General Discussion
Last Post: Alexandre Machado
07-17-2026, 03:38 AM
» Replies: 2
» Views: 692

 
  connect css file to IWImage
Posted by: mazluta - 07-13-2020, 08:59 AM - Forum: IntraWeb General Discussion - Replies (6)

how can i connect the css file to the IWImage

how the IW will generate the connection between the css file and the image - by name? by id?

Print this item

  can not see full background image
Posted by: mazluta - 07-12-2020, 09:15 AM - Forum: IntraWeb General Discussion - Replies (8)

hi.
i add image to the form.background.filename

i add login.css to stylesheet.filename (alsow put it in css property)

body  {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-family: Arial, Helvetica, sans-serif;
}

.menuContainer{
font-size: 15px !important;
}


the image (in chrom) cut by half and view just the lowersection of the image.
in firefox - all fine.

Print this item

  working with template
Posted by: mazluta - 07-11-2020, 05:32 PM - Forum: IntraWeb General Discussion - Replies (3)

i create small template for log in : login.html

<html>
<body>
    <p> Wellcome  </p>
    <p> {%MainRegion.edUserCode%} User Name </p>
    <p> {%MainRegion.edPassword%} Password </p>
    <p> {%MainRegion.sbLogIn%} </p>
</body>
</html>


the form includ :

1 main region
2 field on the form.
1 button.
1 TIWTemplateProcessorHTML connectent to "login.html"
alsow connected to the - LayoutMgr of the form

the screen stack in chrom and firefox

Print this item

  OnURLRequest not working
Posted by: fatersoft - 07-10-2020, 06:47 PM - Forum: IntraWeb General Discussion - Replies (1)

hi
How to get the data posted by another program
IWAppFormURLRequest
It doesn't work
In other words
how to get webapplication.Request.ContentFields

in the 15.1 is true
in the 15.2 is not working


procedure TmainForm.IWAppFormURLRequest(aSender: TIWAppForm;
  aRequest: THttpRequest);
begin
    IWMemo1.Lines.Text webapplication.Request.ContentFields.Text;

end;
It doesn't work in 15.2

Print this item

  Control the close button of the browser ("X")
Posted by: a.palladino - 07-10-2020, 10:51 AM - Forum: IntraWeb General Discussion - Replies (2)

Hi,
Is it possible to block the closing of the browser ("X" button) before all the tasks are completed? (similar to the VCL forms OnCloseQuery event)
Thanks.

Print this item

  Scale application to screen
Posted by: davidbaxter - 07-09-2020, 05:00 PM - Forum: IntraWeb General Discussion - Replies (4)

What is the best practice to scale a form/application to the browser's screen size? I've looked and tried examples of Bootstrap, but the component selection is limited and I was not successful in modifying the examples to my need. All I really need to do is display a text message in a color and size of my choosing nicely in the center of the screen, be it iPhone, android, tablet, or laptop. Thanks.

Print this item

  Session is already locked - Causes instability
Posted by: reallyethical - 07-09-2020, 09:28 AM - Forum: IntraWeb General Discussion - Replies (14)

One of our senior developers is working on an Intraweb app which we are trialing with around 2000 end users per day. On occasions, the handled exception shown below is raised. This would be fine however it leads to approximately 20% of users experiencing a continual timeout waiting on the return of any callback submissions. 

It is important to note it is not all users, or just ones connected after the event that is affected and it always follows on from one of these exceptions. 

It would appear it is from the aSync Callback taking time to complete on a slow connection so the button does not disable quickly enough and though the process lock is in place for the callback if they click it enough before it disables the button then it raises the Exception. 

We have worked around this by adding in an onClick javascript setting 'disabled = true' by directly referencing the button within the DOM, thus client-side. This is just a little labor-intensive and I would have expected it to be experienced by others. The callback is a aSync event and not just a form submission as we have to ensure that certain data is processed before submitting.

As such my questions would simply be:

1) Why does the Exception then affect a percentage of other users and make the platform unstable?

2) Is it possible within Intraweb to automatically force a client-side disable of buttons without having to manually create the javascript to disable or is the technology always designed to be server-side via the aSync callbacks? 

3)  As we are still getting the error (I assume by the user refreshing via the command line) is there any way to ensure it does not affect others.

Thank you in advance for sharing your thoughts. 


-------------------
Exception message  : Session is already locked.
Session ID is invalid.
Exception class    : ESessionAlreadyLocked
Session ID        : xl6wwk6EmwwelmrhI0sdUSvmaNa
Exception details  : UrlPath=/$/callback
Exception address  : 00000000008ECD79
Exception Time    : 2020-07-08 15:19:17.966
------------------------------------------------------------------------------------------------------------------------
//REDACTED
Compiler Version  : 300
//REDACTED
IntraWeb Version  : 15.2.3
Multi-session      : True
//REDACTED
Session count      : 489
//REDACTED
Request PathInfo  : /0~0fvmTbdG-jD5jbI2S4~oC2G4a/$/callback
Request Method    : POST
Request User Agent : Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Mobile/15E148 Safari/604.1
Cookies Count      : 1

Print this item

  New demo showing advanced IWEdit types
Posted by: Alexandre Machado - 07-09-2020, 06:03 AM - Forum: CrossTalk General Discussion - No Replies

Hi guys,

here is a new demo online showing a few new fancy things that you can do with your existing IWEdit controls.

No need to reinvent the wheel or use anything else:

http://intraweb.net.br/iwedit/

The source code is on github:

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

Enjoy!

Print this item

  Service stuck at Starting
Posted by: DavidChiq - 07-08-2020, 08:20 PM - Forum: IntraWeb General Discussion - Replies (3)

I have a Standalone Application (Indy) that runs fine when compiled as an application but when compiled as a service (TIWStart.Execute(False); ) the service starts, the IWServerControllerBaseConfig runs and exits, the IWServerControllerBaseCreate runs and exits.  There are timers on the form and they run and execute, but the Service never shows in the service manager as Running, only sits at Starting, and browser connections cannot be made to the service.  Any ideas?  What has to finish for the service to be "started"?

BTW, This was an update to a service that has been in operational use for 5 years.  It is to be version 2.3 but this is the first time I have had this issue.  I made updates but can't figure out what could be causing it - and when I disable some changes or replace the items with what was used before it still happens.  I can compile version 2.2 with the new Intraweb and it runs as a service fine, so it isn't an Intraweb issue.  I just don't know what to look for that would cause it to not tell Windows it was loaded but that doesn't cause an issue when compiled and run as an app.
 
Thanks
David

Print this item

  iwdbgrid e funções javascript
Posted by: DeboraMezz - 07-08-2020, 07:07 PM - Forum: IntraWeb Dúvidas Gerais - Replies (9)

Olá Pessoal,

  Sou nova no intraweb por isso já antecipo a falta de conhecimento, eis meu problema:

  Fiz uma tabela usando html para montar o cabeçalho e chamei o restante pela procedure TemplatesUnknownTag, e ainda usei uma função em jscript usando a jquery que faz com que seja possível editar os dados diretamente na tabela "salvando" as alterações com o clique do Enter não uso nenhum edit e nem button no delphi para fazer essa edição, porém agora não sei exatamente como fazer para o delphi receber as alterações e fazer os updates no banco, pensei em usar algum evento da iwdbgrid, como onHTMLtag ou onRenderCell, porém não achei nenhum documento que explicasse bem como funciona esses eventos, assim venho aqui pedir uma luz!

  Agradeço a oportunidade e aguardo um retorno!

Print this item